beautypg.com

Executing an operation n times – IAI America PSEL User Manual

Page 307

background image




297

Part 2 Programs

23. Executing an Operation N times


Description


Execute a specific operation n times.

Example of Use


The actuator moves back and forth between P1 and P2 ten times, and then the program ends.
Use a CPEQ command to compare the number of times the movement has been actually repeated,
against 10.
It is assumed that homing has been completed.

Application program




















Reference


The same operation can also be performed using a DWEQ command.