Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 136

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Ex.
M100 is the block stop mode bit and M101 is the block PAUSE/RESART bit.
Block0
If M0 is turned on during execution of the above action, the PAUSE instruction is executed and the block PAUSE/RESTART bit (M101) of Block0 is turned on but
the execution continues to the end of the action, so Y0 is turned on.
When M2 is on, the block stop mode bit is turned on even after execution of the PAUSE instruction and, after the actions are all executed, a stop request is
executed in stop mode after transition.
• If the RST instruction (Deactivating a step) is executed while the block is stopped, the specified step relay is turned off.
However, the monitor of the engineering tool keeps showing the active status and changes to inactive when the block is
restarted. The same is also true when the instruction is executed while the block is stopped by turning on SM325 (holding
the coil output when the block is stopped), but the coil output is not turned off.
• The SET instruction (Activating a step) is executed immediately even while the block is stopped and the specified step relay
is turned on. The display on the monitor of the engineering tool also shows the active status. However, the action is
executed only after the block is restarted.
Ex.
Block PAUSE/RESTART when the RST instruction (Deactivating a step) is used
M0
PAUSE
M1
RST
BL0\S0
M2
RSTART
• If the block stop mode bit (stop after transition mode) is turned off while a step in a state that is waiting to stop operation
after transition exists, the step remains in that state. To immediately stop after clearing this state, restart the block and issue
a stop request again while the block stop mode bit is off.
• When the step transition destination is an end step in stop after transition mode, end step processing is executed and
therefore the step is not put in the stopped state.
• To check that a stop request has been issued, monitor the block list display of the engineering tool or monitor the bit that
has been set in the block PAUSE/RESTART bit. However, whether the step is in stop state or operating to wait to stop
cannot be checked from the monitor of the engineering tool.
• The stop after transition state can be cleared by turning off the block PAUSE/RESTART bit or executing the RESTART
instruction before the transition becomes TRUE. If a restart request is issued while steps that is already stopped and steps
that is waiting to stop operations coexist, the former starts and the latter continues the operation. The stop request is
cleared.
8 SFC PROGRAM
134
8.5 SFC Setting
SM400
RST
M0
PAUSE
M101
M2
SET
(1) When M0 is turned on, block 0 is stopped.
(2) When M1 is turned on, a termination request is executed for step No. 0 and BL0\S0 of the step relay is turned
BL0
off but step No. 0 is left active on the monitor of the engineering tool.
(3) BL0\S0 is turned off, so Y0 is also turned off.
(4) When M2 is turned on while M0 and M1 are off, block 0 restarts and step No. 0 ends.
BL0\S0
Y0
BL0
M100
BL0
Y0
M100

Advertisement

Table of Contents
loading

Table of Contents