4 - 106 4 - 106
4 SFC PROGRAM CONFIGURATION
MELSEC-Q
(2) Executing S(P).SFCTCOMR instruction, SM735 of the special relay (SFC comment readout
instruction executing flag) turns ON.
Confirms whether or not S(P).SFCTCOMR instruction is executed by SM735.
(3) In case comments are not set into active steps, "2DH(-)" is stored to the comment area (word
length of 32 characters).
(4) Read comments are stored in ascending order of the step No.
(5) Comments are read from the comment file specified when S(P).SFCTCOMR is executed.
(6) Comments to read with S(P).SFCTCOMR, comments of transition condition associated with
active steps of
with when S(P).SFCTCOMR instruction is executed.
Because of this, step comments to be activated after S(P).SFCTCOMR execution can not be
read.
: As coil retention step at a status of retaining coil output or operation retention step retaining
operation condition (without transition check) is not active step, a comment cannot be read.
(7) Reading comment is performed at END processing for a scan that has executed
S(P).SFCTCOMR instruction.
The number of comments specified at n3 is read per END processing.
Comments that are not read per END processing are followed to the next END processing.
Reading comments for transition conditions (maximum: the number specified at n2) associated
with active steps is completed, the device specified at
D2
turns ON for 1 scan.
0000
H
END 0 END 0 END 0END 0 END 0
D1
ON
OFF
Sequence program
Total number of transition
conditions ( +0)
Number of transition
conditions that have
read comments ( +1)
Comment ( + 2 to)
D2
Specified device at
D1
D1
S(P).SFCTCOMR instruction executed
Previous value
Indefinite value
Comment readout completed
Comment readout
Current value
1 scan
Previous value Current value
Previous value Current value
Current value
Current value
0000
H