Programming a Movement Until Event Detection
(Original Document)
Instruction
The instruction for movement until event detection is as follows:
Instruction
Instruction code
Icon
Movement until event detection without stop
11
Movement until event detection with stop
10
Instructions 11 and 10 are similar to instructions 01 and 09, with command end on detection of an event (or command end on position entered if event has not been detected).
Event
The awaited event can be:
It is mandatory to define the Position parameter. If the event is not been detected, the command finishes when this position has been reached.
Instructions 11 and 10 can activate an event task on detection of an event, if bit 12 of parameter M is set to 1.
Examples
Example 1: SMOVE (AXIS_CH0,1,90,11,2000000,3000,0) AXIS_CH0 of type T_AXIS_STD
Example 2: SMOVE (AXIS_CH0,1,90,10,3000000,2000,16#1000) AXIS_CH0 of type T_AXIS_STD