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.3 Programs for Forward/Reverse Rotation (Step Ladder (STL) Program)
B - 162
*5. To stop the positioning operation, be sure to insert the stop contact before the positioning instruction
so that the STL instruction cannot be turned off (reset) until the "pulse output monitor" flag (M8340 (for
Y000)) is turned off.
*6. To prevent simultaneous activation of positioning instructions, the instruction activation timing should
be delayed by 1 scan time.
M8340
Y000
Outputting
M53
Waiting for 1 scan time
Moves to absolute position
500000 using the drive to
Absolute instruction.
(Y004=ON)
"Forward rotation positioning
completion" flag
Ends the positioning
operation in the forward
rotation direction.
(Self-reset)
S12STL
Y004Y000
M12SET
S12RST
M53
Waiting for
1 scan time
M8029
"Execution completion" flag
K100000K500000
FNC 159
DDRVA
Rotation
direction
signal
Pulse
output
destination
number
Output
pulse
frequency
Designation
of absolute
position
M53
M13SET
M54
M8000
RUN monitor
M8340
Y000
Outputting
M54
Waiting for 1 scan time
*6
*6
Positioning in forward rotation directionPositioning in reverse rotation direction
S13RST
RET
END
Ends the positioning
operation in the reverse
rotation direction.
(Self-reset)
S13STL
Positioning in reverse rotation
direction
Y004Y000
M54
Waiting for
1 scan
time
K100000K100
FNC 159
DDRVA
Rotation
direction
signal
Pulse
output
destination
number
Output
pulse
frequency
Designation
of absolute
position
"Reverse rotation positioning
completion" flag
Moves to absolute position
100 using the drive to
Absolute instruction.
(Y004=OFF)
M8029
"Execution completion" flag
M8000
RUN monitor
Positioning in forward rotation
direction
Waiting for 1 scan time
Waiting for 1 scan time
X030
*5
Stop
command
X030
*5
Stop
command