FX
3G
/FX
3U
/FX
3UC
PLC User's Manual - Positioning Control Edition
Built-in Positioning Functions
12 Examples of Programs
12.3 Programs for Forward/Reverse Rotation (Step Ladder (STL) Program)
B - 159
A
Common Items
B
Built-in
Positioning
Functions
Apx.
Example
Connection
12.3 Programs for Forward/Reverse Rotation (Step Ladder (STL) Program)
12.3.1 Example Program
Positioning operation will be performed using the absolute positioning method as shown in the following chart:
→ For details on input/output assignment, refer to Section 12.1.
The following program uses the step ladder (STL) instruction.
100
Origin
Output pulse frequency:
100,000 Hz
Acceleration/deceleration time:
100 ms
500,000
Enables the zero return
operation with CLEAR signal
outputting function. (CLEAR
signal: Y020)
Performs zero return in the
forward rotation direction.
Operation is stopped.
M8000
M8342
M5
S0
Zero
return
S10 S11 S12 S13 M8349
JOG
(+)
JOG
(-)
Positioning
in forward
rotation
direction
Positioning in
reverse
rotation
direction
Stoppage of Y0
pulse
outputting
operation
M8000
RUN monitor
RUN monitor
X020
Stops outputting Y000 pulses.
(Immediate stop) Refer to
Section 4.7.2.
M8349
X014
Immediate stop
Servo ready
M10RST
M12RST
M13RST
M8343
M8344
X026
Forward rotation limit
X027
Reverse rotation limit
Resets the "zero return
completion" flag.
Resets the "forward rotation
positioning completion" flag.
Resets the "reverse rotation
positioning completion" flag.
Reverse limit (Y000)
M8341
D8464H0020
FNC 12
MOVP
M8464
Forward limit (Y000)