4 - 42 4 - 42
4 SFC PROGRAM CONFIGURATION
MELSEC-Q
(3) Specify the step as described below.
(a) In the case of SFC program
1) Use "Sn" when specifying the step in the current block.
2) Use "BLm\Sn" when specifying the step in another block in the SFC program.
(b) In the case of sequence program
1) Use "BLm\Sn" when executing the step activation check instruction.
2) 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 number is not specified for the Basic model QCPU and
Universal model QCPU.
(4) If the transition condition in question does not exist in the SFC program, it will remain OFF.
REMARKS
As the “Sn” device is treated as a virtual device, the contact on the monitor of a peripheral
device does not turn ON/OFF. If the internal device is ON, the coil instruction is switched ON
for operations.
[Program Examples]
(1) The following program checks the status of step 5 in block 3 and turns ON Y20 when step 5
becomes active.
When step is designated by operation output of block 3
aS5
oY20
When step is designated by operation output of other than block 3
aBL 3\S
oY20
When step is designated by sequence program
BL3\S5
Y20