Mitsubishi Electronics FX3U Coffeemaker User Manual


 
FX
3G
/FX
3U
/FX
3UC
PLC User's Manual - Positioning Control Edition
Built-in Positioning Functions
12 Examples of Programs
12.2 Programs for Forward/Reverse Rotation (Relay Ladder Program)
B - 156
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:
For details on input/output assignment, refer to Section 12.1.
The following program is a relay ladder program.
*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.
For the related devices, refer to Section 4.1 to Section 4.4.
100
Origin
Output pulse frequency:
100,000 Hz
Acceleration/deceleration time:
100 ms
500,000
X020
Stops outputting Y000
pulses. (Immediate stop)
Refer to Subsection 4.7.2.
Enables the origin return
operation with CLEAR signal
outputting function. (CLEAR
signal: Y020)
Performs origin return in the
forward rotation direction.
M8349
M8341
X014
Immediate stop
Servo ready
M8000
Initial pulse
M8342
M8002
D8343K100000
FNC 12
DMOV
D8345K1000
FNC 12
MOV
D8346K50000
FNC 12
DMOV
D8348K100
FNC 12
MOV
D8349K100
FNC 12
MOV
Sets the maximum speed.
100,000(Hz)
D8344,D8343
Sets the origin return speed.
50,000(Hz)
D8347,D8346
Sets the acceleration time.
100(ms)
D8348
Sets the deceleration time.
100(ms)
D8349
Sets the creep speed.
1,000(Hz)
D8345
M8000
RUN monitor
RUN monitor
*1
*1
*1
*1
M10RST
M12RST
M13RST
M8343
M8344
X026
Forward rotation limit
X027
Reverse rotation limit
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)
*1
D8464H0020
FNC 12
MOVP
M8464