Programs For Forward/Reverse Rotation (Relay Ladder 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.2

Programs for Forward/Reverse Rotation (Relay Ladder Program)

12.2.1 Example Program

Positioning operation will be performed using the absolute positioning method shown in the following chart:
The following program is a relay ladder program.
X020
Immediate stop
X014
Servo ready
X026
Forward rotation limit (NC contact)
X027
Reverse rotation limit (NC contact)
M8000
RUN monitor
M8000
RUN monitor
M8002
Initial pulse
*1.
If the initial values (maximum speed, acceleration/deceleration time, zero return speed, creep speed)
can be used, it is not necessary to create the program.
*2.
Change contacts in the program to NO contacts when using NO contact type limit switches.
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:
*2
*2
*1
*1
*1
*1
*1
For the related devices, refer to Section 4.1 to Section 4.4.
12.2 Programs for Forward/Reverse Rotation (Relay Ladder 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
FNC 12
K100000
D8343
DMOV
FNC 12
K1000
D8345
MOV
FNC 12
K50000
D8346
DMOV
FNC 12
K100
D8348
MOV
FNC 12
K100
D8349
MOV
12 Examples of Programs
Stops outputting Y000
pulses. (Immediate stop)
Refer to Subsection 4.7.2.
Resets the "origin return
completion" flag.
Resets the "forward rotation
positioning completion" flag.
Resets the "reverse rotation
positioning completion" flag.
Forward rotation limit (Y000)
Reverse rotation limit (Y000)
Enables the origin return
operation with CLEAR signal
outputting function. (CLEAR
signal: Y020)
Performs origin return in the
forward rotation direction.
Sets the maximum speed.
100,000(Hz)D8344,D8343
Sets the creep speed.
1,000(Hz)D8345
Sets the origin return speed.
50,000(Hz)D8347,D8346
Sets the acceleration time.
100(ms)D8348
Sets the deceleration time.
100(ms)D8349
B - 165
A
B
Apx.

Advertisement

Table of Contents
loading

Table of Contents