Mitsubishi Electric MELSEC-Q Series Programming Manual page 139

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

Advertisement

Program Example
• This program reads 2 comments 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.
When step is designated by sequence program
• Procedure for "batch writes of SFC program in RUN status" or "write of comment file in RUN status"
1.
Turns ON the X0 (write execution command in RUN status).
2.
M0 (write enable flag in RUN status) is turned ON when SP.SFCSCOMR 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 SFC PROGRAM CONFIGURATION
4.8 SFC Comment Readout Instruction
4
137

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-l series

Table of Contents