Programs For Forward/Reverse Rotation (Step Ladder (Stl) Program; Example Program - Mitsubishi Electric Melsec-F FX3GC Series User Manual

Hide thumbs Also See for Melsec-F FX3GC Series:
Table of Contents

Advertisement

FX
/FX
/FX
/FX
/FX
3S
3G
3GC
3U
3UC
Built-in Positioning Functions
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:
The following program uses the step ladder (STL) instruction.
X020
Immediate stop
X014
Servo ready
X026
Forward rotation limit (NC contact)
X027
Reverse rotation limit (NC contact)
M8000
RUN monitor
M8000
RUN monitor
S0
S10
S11
Zero
JOG
JOG
return
(+)
(-)
*1.
Change contacts in the program to NO contacts when using NO contact type limit switches.
B - 168
PLC User's Manual - Positioning Control Edition
For details on input/output assignment, refer to Section 12.1.
Output pulse frequency:
100
Origin
Acceleration/deceleration time:
*1
*1
S12
S13
Positioning
Positioning in
in forward
reverse
rotation
rotation
direction
direction
12.3 Programs for Forward/Reverse Rotation (Step Ladder (STL) Program)
500,000
100,000 Hz
100 ms
M8349
RST
M10
RST
M12
RST
M13
M8343
M8344
FNC 12
H0020
D8464
MOVP
M8464
M8341
M8342
M8349
M5
Stoppage of Y0
pulse
outputting
operation
12 Examples of Programs
Stops outputting Y000 pulses.
(Immediate stop) Refer to
Section 4.7.2.
Resets the "zero return
completion" flag.
Resets the "forward rotation
positioning completion" flag.
Resets the "reverse rotation
positioning completion" flag.
Forward limit (Y000)
Reverse limit (Y000)
Enables the zero return
operation with CLEAR signal
outputting function. (CLEAR
signal: Y020)
Performs zero return in the
forward rotation direction.
Operation is stopped.

Advertisement

Table of Contents
loading

Table of Contents