4 - 103 4 - 103
4 SFC PROGRAM CONFIGURATION
MELSEC-Q
1: First five digits of serial No. are 07012 or later.
High Performance
Basic
QCPU
PLC CPU
Process
CPU
Applicable
CPU
Redundant
CPU
2: First five digits of serial No. are 07032 or later.
Universal
4.8.2 SFC transition comment readout instruction (S(P). SFCTCOMR)
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\Sn
Other
Sn
Data
Type
Sequence
Program
Step
Transition
Condition
Block Step
Transition
Condition
n1
D1
3
n2
n3
BIN16
D2
3
Bit
3: Local device cannot be used.
S.SFCTCOMR n1 D1 n2 n3 D2 SP.SFCTCOMR n1 D1 n2 n3 D2
[Set Data]
Set Data Meaning Range
n1
Indicates block No. of an SFC program that read comments or device number where
block No. is stored.
0 to 319
D1
Indicates the first number of device that stores comment read.
6
n2
Indicates the device number where the number of comments to read or the number of
comments is stored.
0 to 256
4
n3
Indicates the number of comments to read in a single scan or device number where the
number of comments is stored.
0 to 256
5
D2
Indicates a device that turns ON for 1 scan at completion of the instruction.
4: when specifying 0, it is processed as 256.
5: when specifying 0, it is processed as 1.