Programming a movement until event detection. Schneider Electric Software PLC Application-Specific Functions, Axis control, Junior/Pro, 4.5, PL7 Junior/Pro - Premium PLC Application-specific functions - Axis control
Anúncio
Anúncio
Programming
Programming a movement until event detection
Instruction The instruction for movement until event detection is as follows:
Instruction
Movement until event detection without stop
Instruction code
11
Icon
Movement until event detection with stop 10
Event
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).
The awaited event can be: l a rising or falling edge (depending on the choice made in the Event field in the configuration screen) on dedicated event input, associated with the channel which controls the axis, l a rising edge of the EXT_EVT bit (%Qxy.i.10) generated by the program.
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.
TLX DS 57 PL7 xxE
129
Programming
Examples Example 1: SMOVE %CH102.0 (1,90,11,2000000,3000,0)
Speed (mm / min) Event
3000
Position (microm)
0
2000000
Example 2: SMOVE %CH102.0 (1,90,10,3000000,2000,16#1000)
Speed (mm / min)
Event
(activating
EVT task).
2000
0
3000000
Position (microm)
130
TLX DS 57 PL7 xxE
Download
Anúncio