An event is a programmable condition, which once set, is monitored for occurrence. You can do the following actions in relation with an event:
A) | Change the motion mode and/or the motion parameters, when the event occurs |
B) | Stop the motion when the event occurs |
Remark: The programmed event is automatically erased if the event is reached, if the timeout for the wait is reached or if a new event is programmed.
Only a single event can be programmed at a time. The table below presents all the events with their mnemonic and a short description.
If you want to change the motion mode and/or the motion parameters when an event occurs, you must do the following:
• | Program/define one of the above events |
• | Set the new motion mode and/or the motion parameters |
• | Set one of the TML commands: UPD! (Update on event) or STOP, which will become effective when the programmed event occurs |
Once an event is programmed the TML program execution is halted, until the event occurs. During this period, only the TML commands received via a communication channel are processed. You may specify the time limit for the wait. If the monitored event doesn’t occur in the time limit set, then the wait loop is interrupted, the event checking is reset and the TML program continues with the next instruction.
|