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 - 161
A
Common Items
B
Built-in
Positioning
Functions
Apx.
Example
Connection
*3. To stop the positioning operation, be sure to insert the stop contact before the positioning instruction so that STL
instruction cannot be turned off (reset) until the "pulse output monitor" flag (M8340 (for Y000)) is turned off.
*4. To prevent simultaneous activation of positioning instructions, the instruction activation timing should be delayed by 1
scan time.
M8340
Y000
Outputting
M50
Waiting for
1 scan time
X022
JOG(+)
M51
Zero return
Zero return instruction with
DOG search function
(CLEAR signal: Y020)
"Zero return completion" flag
End of zero return
(Self-reset)
Ends the JOG(+) operation.
(Self-reset)
Performs the jogging
operation in the "-" direction
using the drive to Increment
instruction.(Y004=OFF)
Ends the JOG(-) operation.
(Self-reset)
Performs the jogging
operation in the "+" direction
using the drive to Increment
instruction.(Y004=ON)
S0STL
Y004Y000
M10SET
S0RST
S10RST
M50
Waiting for
1 scan time
M8029
"Execution completion" flag
X004X010
FNC 150
DSZR
Rotation
direction
signal
Pulse
output
destination
number
Zero-
phase
signal
Near-
point
signal
M50
S10STL
Y004Y000K30000K999999
FNC 158
DDRVI
Rotation
direction
signal
Pulse
output
destination
number
Output
pulse
frequency
Number of output
pulses (maximum
value in "+"
direction)
M51
S11STL
JOG(-)
Y004Y000K30000K-999999
FNC 158
DDRVI
Rotation
direction
signal
Pulse
output
destination
number
Output
pulse
frequency
Number of
output pulses
(maximum value
in "-" direction)
S11RST
M52
Waiting for 1 scan time
M8000
RUN monitor
M8340
Y000
Outputting
M51
Waiting for 1 scan time
Waiting
for 1 scan
time
M8000
RUN monitor
X23
JOG(-)
M52
Waiting for
1 scan time
M8340
Y000
Outputting
M52
Waiting for
1 scan time
M8000
RUN monitor
*4
*4
*4
Zero returnJogging operation
JOG(+)
Waiting for 1 scan time
Waiting for 1 scan time
X030
*3
Stop
command
X030
*3
Stop
command
X030
*3
Stop
command
M5
Operation
stopped
M10
"Zero return
completion" flag
Resets the "forward rotation
positioning completion" flag.
Resets the "reverse rotation
positioning completion" flag.
Enters the reverse rotation
positioning state (S13).
M12RST
M13RST
S13SET
Positioning
in reverse
rotation
direction
X025