4 - 65 4 - 65
4 SFC PROGRAM CONFIGURATION
MELSEC-Q
High Performance
Basic
QCPU
PLC CPU
Process
CPU
Applicable
CPU
Redundant
CPU
Universal
4.4.11 Block switching instruction (BRSET)
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
Expansion
SFC
Other
Data
Type
Sequence
Program
Step
Transition
Condition
Block Step
Transition
Condition
S
BIN16
BRSET
S
[Function]
(1) Switches the target block number of the SFC control instruction that specifies only a step (Sn)
and transition condition (TRn) to the number set for the device designated by
S
.
(2) Although “BLm\Sn” or “BLm/TRn” may be used as the instruction device when designating the
destination block number, only a constant (K, H) may be designated at the “m” of “BLm”,
thereby fixing the designation destination.
When block switching is executed by this BRSET instruction, a word device can be used for
indirect designation, index modification, etc.
(3) The effective operation range when block switching occurs (by BRSET instruction) varies
according to the program being run at the time, as shown below.
1) When this instruction is executed in a sequence program, target block switching is valid
from instruction execution to SFC execution.
At the next scan, the target block is block 0 as the default until the instruction is executed
again.