4 - 62 4 - 62
4 SFC PROGRAM CONFIGURATION
MELSEC-Q
High Performance
Basic
QCPU
PLC CPU Process
CPU
Applicable
CPU
Redundant
CPU
Universal
4.4.9 Forced transition EXECUTE & CANCEL instructions (s, r)
Usable Devices Programs Using Instructions Execution Site
Internal Device
(System, User)
Link Direct
J
\
SFC Program
Bit Word
File
Register
R
Bit Word
Intelligent
Function
Module
U
\G
Index
Z
Constant
K, H
Expansion
SFC
BLm\TRn
Other
TRn
Data
Type
Sequence
Program
Step
Transition
Condition
Block Step
Transition
Condition
D
Device
name
n is the transition condition No.
s (TRn)
D
n is the transition condition No.
r (TRn)
D
m is the block No.
s (BLm\TRn)
D
m is the block No.
r (BLm\TRn)
D
[Function]
(1) Forced transition EXECUTE instruction (s)
(a) A specified transition condition in a specified block is forcibly satisfied, and an unconditional
transition is executed at the step which precedes the condition.
(Condition image by instruction execution)
Transition condition & aSM324 | Always ON
User setting
Continuous transition prevention
(b) After execution of the instruction, the forced transition status remains effective until a reset
instruction is executed.
(2) Forced transition CANCEL instruction (r)
(a) Cancels the forced transition setting (designated by SET instruction) at a transition
condition, and restores the transition condition ladder created by the user.
(3) Specify the transition condition as described below.
(a) In the case of SFC program
• Use "TRn" when specifying the transition condition in the current block.
• Use "BLm \TRn" when specifying the transition condition in another block.
(b) In the case of sequence program
• Use "BLm \TRn" when executing the forced transition EXECUTE/CANCEL instruction in
the sequence program.
• When the block number is not specified, specify the block number with the BRSET
instruction.
However, the BRSET instruction cannot be used for the Basic model QCPU and
Universal model QCPU.
"Block 0" is set when the block nomber is not specified for the Basic model QCPU and
Universal model QCPU.