WVDU                Set and wait event when the vector distance is equal or under a 32-bit value or the value of a long variable

Syntax                        

WVDU value32

Wait Vector Distance Under value32

WVDU VAR32

Wait Vector Distance Under VAR32

 

OperandsVAR32: long variable

value32: 32-bit long immediate value

PlaceTMLOnline

Binary code

WVDU

DescriptionSets the event condition and halts the execution of the TML program from motion controller until the vector distance is equal or under the specified value or the value of 32-bit variable. 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 vector distance <= value32, respectively VAR32. 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.