WTR                Set and wait event when the slave’s target is reached

Syntax                        

WTR (Slave)

Wait Target Reached

 

OperandsSlave: slave axis monitored for event occurrence

PlaceTMLOnline

Binary code

WTR

DescriptionSets the event condition and halts the execution of the TML program from motion controller until the slave axis reaches the target position. After you have programmed an event, you can do the following actions:
Change the motion mode and/or the parameters when the event occurs, with command UPD!
Stop the motion when the event occurs, with command STOP.

The programmed event is automatically erased when the event occurs or if the timeout for wait expires.

 

ExecutionActivates the monitoring of the event when target reached. The motion controller application remains in a loop until the event occurs or it timeouts. This operation erases a previous programmed event that has occurred.