!ALPU Set event when the load absolute position is equal or under a 32-bit long value or the value of a long variable |
Syntax
value32: 32-bit long immediate value Binary code
The programmed event is automatically erased when the event occurs or if the timeout for the WAIT! command expires. Remark: After setting UPD! or STOP! you need to wait until the programmed event occurs using WAIT!, otherwise, the program will continue with the next instructions that may override the event monitoring.
Example //Change speed command when load absolute position is <= 10 rev //Position feedback: 500 lines encoder (2000 counts/rev) !ALPU 20000;//Set event: when load absolute position is <= 10 rev CSPD = 13.3333;//new slew speed command = 500[rpm] UPD!; //execute on event WAIT!;//Wait until the event occurs
|