by has » Mon Nov 20, 2006 9:27 am
by has
Mon Nov 20, 2006 9:27 am
Thanks for the information but i tried and it loop again and again.... i just want the sensor to loop, not the play motion action.....
(what i write in my program)
in BCP dialog:
LOAD endvalue 10
LOAD counter 1
IF counter > endvalue THEN JUMP exitloop
IF 103:27 > 45 THEN LOAD PLAY MOTION 29(my work)
COMPUTE counter = counter + 1
JUMP loop
exitloop;
What does the endvalue do?
my scenario:
item moved by conveyor and sensor to sense and stop the conveyor.
After it stop, motor 15 were to activate(done in motion editor ,play motion page 29)after it done with motion play, the conveyor were activated to move again.
Thanks for the information but i tried and it loop again and again.... i just want the sensor to loop, not the play motion action.....
(what i write in my program)
in BCP dialog:
LOAD endvalue 10
LOAD counter 1
IF counter > endvalue THEN JUMP exitloop
IF 103:27 > 45 THEN LOAD PLAY MOTION 29(my work)
COMPUTE counter = counter + 1
JUMP loop
exitloop;
What does the endvalue do?
my scenario:
item moved by conveyor and sensor to sense and stop the conveyor.
After it stop, motor 15 were to activate(done in motion editor ,play motion page 29)after it done with motion play, the conveyor were activated to move again.