4 - 100 4 - 100
4 SFC PROGRAM CONFIGURATION
MELSEC-Q
(8) The operation when a command of S(P).SFCSCOMR instruction is in ON status at
S(P).SFCSCOMR instruction execution completed is as follows.
(a) S.SFCSCOMR instruction re-executes when a command for S.SFCSCOMR instruction is
in ON status.
END 0 END 0 END 0END 0 END 0
OFF
ON
S.SFCSCOMR S.SFCSCOMR S.SFCSCOMR
Sequence program
Command for
S.SFCSCOMR
instruction
S.SFCSCOMR
instruction
Reading comments
Execution
(starts to read
comment)
Execution
Execution
(completes to read
comment)
Execution
(starts to read
comment)
Execution
(b) Even if a command for SP.SFCSCOMR instruction turns ON, SP.SFCSCOMR instruction
is not executed.
END 0 END 0 END 0END0 END0
OFF
ON
S.SFCSCOMR S.SFCSCOMR S.SFCSCOMR
Sequence program
Command for
SP.SFCSCOMR
instruction
SP.SFCSCOMR
instruction
Reading comments
Execution
(starts to read
comment)
Execution
Execution
(completes to read
comment)
(9) For the comment files to be used with S (P). SFCSCOMR, set them at "PC file setting" of PC
parameter or at "file set instruction (QCDSET(P)) for comments".
Executing S(P). SFCSCOMR without setting the comment file to use, 0 is stored to "the total
number of steps (
D1
+0)" and "the number of steps that have read comments (
D1
+1)"
At this time, the device specified in
D2
turns ON for 1 scan.
(10) With S(P).SFCSCOMR instruction, comments stored in the following memories can be read.
• SRAM card (drive 1)
• Flash card (drive 2)
• Standard ROM (drive 4)
The comments stored in the ATA card cannot be read.
Executing S(P).SFCSCOMR instruction when the comments stored in the ATA card is set, an
operation error (error code: 4130) occurs.