Programs For Forward/Reverse Rotation (Relay Ladder Program; 12.2.1 Example Program - Mitsubishi Electric FX3S Series User Manual

Hide thumbs Also See for FX3S Series:
Table of Contents

Advertisement

FX
/FX
/FX
3S
3G
3GC
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.
*2.
Downloaded from
ManualsNet.com
/FX
/FX
PLC User's Manual - Positioning Control Edition
3U
3UC
Origin
*2
*2
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.
Change contacts in the program to NO contacts when using NO contact type limit switches.
search engine
12.2 Programs for Forward/Reverse Rotation (Relay Ladder Program)
For details on input/output assignment, refer to Section 12.1.
500,000
Output pulse frequency:
100,000 Hz
100
Acceleration/deceleration time:
100 ms
RST
RST
RST
FNC 12
H0020
MOVP
*1
FNC 12
K100000
DMOV
*1
FNC 12
K1000
MOV
*1
FNC 12
K50000
DMOV
*1
FNC 12
K100
MOV
*1
FNC 12
K100
MOV
For the related devices, refer to Section 4.1 to Section 4.4.
12 Examples of Programs
Stops outputting Y000
pulses. (Immediate stop)
M8349
Refer to Subsection 4.7.2.
Resets the "origin return
M10
completion" flag.
Resets the "forward rotation
M12
positioning completion" flag.
Resets the "reverse rotation
M13
positioning completion" flag.
Forward rotation limit (Y000)
M8343
M8344
Reverse rotation limit (Y000)
Enables the origin return
D8464
operation with CLEAR signal
outputting function. (CLEAR
signal: Y020)
M8464
M8341
Performs origin return in the
M8342
forward rotation direction.
Sets the maximum speed.
D8343
100,000(Hz)D8344,D8343
Sets the creep speed.
D8345
1,000(Hz)D8345
Sets the origin return speed.
D8346
50,000(Hz)D8347,D8346
D8348
Sets the acceleration time.
100(ms)D8348
Sets the deceleration time.
D8349
100(ms)D8349
A
B
Apx.
B - 165

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3g seriesFx3gc seriesFx3u seriesFx3uc series

Table of Contents