Syntax
WVDO value32
|
Wait Vector Distance Under value32
|
WVDO VAR32
|
Wait Vector Distance Under VAR32
|
Operands | VAR32: long variable |
value32: 32-bit long immediate value
Binary code
Description | Sets the event condition and halts the execution of the TML program from motion controller until the vector distance is equal or over 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.
Execution | Activates 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. |
|