Execution of operation n times – IAI America XSEL-QX User Manual
Page 431

407
Appendix
24. Execution of Operation n Times
Description
Execute a specific operation n times.
Example of Use
The actuator repeats going back and forth between P1 and P2 10 times, after which the program ends.
Use a CPEQ command to compare the number of times the operation has actually been repeated, against
10.
It is assumed that home return has been completed.
Application Program
Reference
You can also perform the same operation using a DWEQ command.
Set a speed.
Clear a variable.
Move to P1
Move to P2.
Increment variable 1 by 1.
Check the number of times the
operation has been repeated.
Go to TAG1 if the number is
less than 10.
End of program
This manual is related to the following products: