MELSEC FX PLC positioning Learning to Use the FX Family for Positioning Control
FX Positioning Control Systems 4 - 9
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.
413040da.eps
Fig. 4-5:
Program example (3)
M50 X004
STL S0
FNC 156
DZRN
K50000 K1000 X005 Y000
SET M10
RST S0
RST S0
M50
RST S20
STL S20
FNC 159
DDRVA
K500000 K100000 Y000 Y004
SET M11
RST
S20
M8029
M8340 M50
M8147 M50
M8000
M51 X004
M8340 M51
M8147 M51
M8000
M51
M8029
Waiting for
1 scan time
Stop
command
Zero return
start speed
Creep speed Near-point
signal
Pulse
output
destination
number
"Execution completion" flag
Y000
Outputting
Waiting for
1 scan time
Use this for FX
3G, FX3GC, FX3GE, FX3S and FX3U(C) PLCs
Use this for FX
1S and FX1N PLCs
Y000
Outputting
Waiting for
1 scan time
RUN monitor
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 forward rotation direction
Zero return