Technical Forum

Motion Control System SIMOTION

Case Instruction is not done after For or while loop

Thread Starter: tomorrow   Started: 6/14/2012 1:20 PM   Replies: 2

« Previous thread Next thread »
Page 1 of 1 (3 items)
  6/14/2012, 1:20 PM
Joined 4/20/2010
Last visit: 4/17/2013
Posts: 31
Rating:
Rated: Outstanding [3.33 out of 5 / rated 3 time(s)]. (3) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
Dear @ all

I have the Problem that a normal mathematical instruction and my CASE instruction is not performed by the SIMOTION. Only if I comment the FOR Instruction that is done before my following instructions will be executed. I already replaced the For instruction with a WHILE loop but same behavior like the FOR loop. attached you will see what I mean...
I'm using Scout 4.2.1 and SIMOTION D435
Does somebody have a workaround or solution for me?

Thanks

Attachment: caseonline.jpg  (17 Downloads)

Top
  6/18/2012, 11:25 AM
Joined 9/23/2005
Last visit: 5/13/2013
Posts: 286
Rating:
Rated: Outstanding [3.53 out of 5 / rated 17 time(s)]. (17) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 

It looks to me like endless loop. Your program stays there and doesn't go further.

Top
  6/19/2012, 7:49 AM
Joined 4/20/2010
Last visit: 4/17/2013
Posts: 31
Rating:
Rated: Outstanding [3.33 out of 5 / rated 3 time(s)]. (3) 
Rated: no ratings [0 out of 5 / rated 0 time(s)]. (0) 
yaeh I had the problem that I could not see the value of the variable so that I had to change them and look after them in the watch table... because of the not correct value I got time out in the task and the following instruction did not work...
Top
Page 1 of 1 (3 items)
Actions