MELSEC FX PLC positioning Learning to Use the FX Family for Positioning Control
FX Positioning Control Systems 4 - 11
To stop the positioning operation, be sure to insert the stop contact before the positioning instruction so
that STL instruction cannot be turned off (reset) until "pulse output monitor" flag (M8340 or M8147 (for
Y000)) is turned off.
To prevent simultaneous activation of positioning instructions, the instruction activation timing should be
delayed by 1 scan time.
413050da.eps
Fig. 4-6:
Program example (4)
Number Description
Positioning in reverse rotation direction
Moves to absolute position 100 using the drive to absolute instruction. (Y004 = OFF)
"Reverse rotation positioning completion" flag
Ends the positioning operation in the reverse rotation direction. (Self-reset)
Waiting for 1 scan time
Tab. 4-9:
Description of the program example in fig. 4-6
M52
X004
M8029
M8340
M52
M8147
M52
M8000
STL S21
FNC 159
DDRVA
K100 K100000 Y000 Y004
SET M12
RST S21
RST S21
M52
RET
END
Waiting for
1 scan time
Stop
command Designation
of absolute
position
Output
pulse
frequency
Pulse
output
destination
number
Rotation
direction
signal
"Execution completion" flag
Use this for FX
3G, FX3GC, FX3GE, FX3S and FX3U(C) PLCs
Y000
Outputting
Waiting for
1 scan time
Use this for FX
1S and FX1N PLCs
Y000
Outputting
Waiting for
1 scan time
RUN monitor
Positioning in reverse rotation direction