Mitsubishi MELSEC-Q Series Programming Manual page 171

Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

4 SFC PROGRAM CONFIGURATION
[Operation Errors]
• When a comment file specified at execution of S(P).SFCTCOMR instruction does not existed
...................................................................................................................................Error No. 2410
• When SFC block No. specified at n1 is other than 0 to 319
...................................................................................................................................Error No. 4100
• When the number of readout comment specified at n2 is other than 0 to 256
...................................................................................................................................Error No. 4100
• When the number of readout comments in a single scan specified at n3 is other than 0 to 256
...................................................................................................................................Error No. 4100
• When the number of readout comments specified at n2 exceeds the device range of D1
...................................................................................................................................Error No. 4101
• When the S(P).SFCTCOMR instruction is executed to the comment file in the ATA card or SD
memory card .............................................................................................................Error No. 4130
[Program Example]
(1) This program reads 2 comments associated with steps being activated at the SFC block No.1
when X1 is turned ON, and stores those to the storage device after D0. (The number of
comment to be read in a single scan is also set in 2.)
An interlock ladder to execute "batch write of SFC program in RUN status", "online change
(inactive block)", and "write of comment file in RUN status" is included in the following program.
[Ladder Mode]
Write execution command
in RUN status
Comment readout instruction
executing flag
Execution command of
SP.SFCTCOMR instruction
[Procedure for "batch writes of SFC program in RUN status", "online change (inactive block)", or "write of
1) Turns ON the X0 (write execution command in RUN status).
2) M0 (write enable flag in RUN status) is turned ON when SP.SFCTCOMR instruction is
deactivated.
3) Turns OFF the X0 (write execution command in RUN status).
4) Performs "batch write of SFC program in RUN status", "online change (inactive block)", or
"write of comment file in RUN status".
5) Turns OFF the M0 (write enable flag in RUN status) in the device test of the programming
tool.
6) SP.SFCTCOMR instruction is executed again when M0 (write enable flag in RUN status) is
turned OFF.
4 - 113
[List Mode]
Write enable flag
Steps
in RUN status
Instruction Device
comment file in RUN status"]
4 - 113

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-l seriesMelsec-qna seriesMelsec q series

Table of Contents