FX
/FX
/FX
PLC User's Manual - Positioning Control Edition
3G
3U
3UC
Built-in Positioning Functions
M53
Waiting for
1 scan time
M8029
"Execution completion" flag
M8340
Y000
Outputting
M8000
RUN monitor
M54
Waiting for
1 scan
time
M8029
"Execution completion" flag
M8340
Y000
Outputting
M8000
RUN monitor
*5.
To stop the positioning operation, be sure to insert the stop contact before the positioning instruction
so that the STL instruction cannot be turned off (reset) until the "pulse output monitor" flag (M8340 (for
Y000)) is turned off.
*6.
To prevent simultaneous activation of positioning instructions, the instruction activation timing should
be delayed by 1 scan time.
B - 160
X030
*5
FNC 159
DDRVA
Stop
command
Designation
of absolute
position
M53
Waiting for 1 scan time
X030
*5
FNC 159
DDRVA
Stop
command
Designation
of absolute
position
M54
Waiting for 1 scan time
12.3 Programs for Forward/Reverse Rotation (Step Ladder (STL) Program)
STL
K500000
K100000
Y000
Output
Pulse
pulse
output
frequency
destination
number
SET
RST
STL
K100
K100000
Y000
Output
Pulse
pulse
output
frequency
destination
number
SET
RST
12 Examples of Programs
S12
Positioning in forward rotation
direction
Moves to absolute position
Y004
500000 using the drive to
Absolute instruction.
Rotation
(Y004=ON)
direction
signal
"Forward rotation positioning
M12
completion" flag
Ends the positioning
operation in the forward
S12
rotation direction.
(Self-reset)
*6
Waiting for 1 scan time
M53
S13
Positioning in reverse rotation
direction
Moves to absolute position
Y004
100 using the drive to
Absolute instruction.
Rotation
(Y004=OFF)
direction
signal
"Reverse rotation positioning
M13
completion" flag
Ends the positioning
operation in the reverse
S13
rotation direction.
(Self-reset)
*6
M54
Waiting for 1 scan time
RET
END