EasyManuals Logo

Mitsubishi Q Series Programming Guide

Mitsubishi Q Series
194 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #140 background imageLoading...
Page #140 background image
4 - 101 4 - 101
4 SFC PROGRAM CONFIGURATION
MELSEC-Q
(11) While SFC program is not executed, reading comments is not performed even if executing
S(P).SFCSCOMR instruction.
Executing S(P).SFCSCOMR instruction at a status without SFC program being executed, 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.
(12) With S(P). SFCSCOMR instruction, comments for the normal SFC program can be read.
Comments of a SFC program to control program execution are not read.
Executing S(P).SFCSCOMR instruction specifying a SFC program for program execution
control, 0 is stored to "the total number of transit conditions (
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.
(13) S(P).SFCSCOMR instruction cannot be executed simultaneously with S(P).SFCSCOMR
instruction or S(P).SFCTCOMR instruction.
Executing S(P).SFCSOMR, and if S(P).SFCSCOMR instruction or S(P).SFCTCOMR
instruction is executed before reading comments completed, the 2nd instruction will be de-
activated.
REMARKS
(1) Make sure to use comments to be read with S(P).SFCSCOMR after the device
specified at
D2
turns ON.
Comments to be read before the device specified at
D2
turns ON become an
indefinite value.
(2) If the number of steps is larger than that of comments (n3) read in a single scan,
the active step comments are divided into the number to be read in a single scan.
Counting the total number of steps is also performed with the same comment
number (n3) for 1 scan.
In case transition conditions are remained without being counted when reading
comments completed, the counting will be continued for the remained.
Because of this, the number of scans calculated in the following formula is
required.
(Comments to be actually stored are the same points stored in (
D1
+1)
The number of scans until S(P).SFCSCOMR
instruction completed
The total number of steps
(
D1 +0)
The number of comments
to be read at 1 scan (n3)
: It becomes a round-up below the decimal point.
(3) Make sure to perform "batch write of SFC program in RUN status" or "write of
comment file in RUN status" with a status of S(P).SFCSCOMR instruction not
being executed.
In addition, make sure not to execute S(P).SFCSCOMR during "batch write of
SFC program in RUN status" or "write of comment file in RUN status".

Table of Contents

Other manuals for Mitsubishi Q Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi Q Series and is the answer not in the manual?

Mitsubishi Q Series Specifications

General IconGeneral
I/O PointsUp to 4096 points
CommunicationEthernet, RS-232, RS-485
I/O ModulesDigital, Analog, Specialized
Programming LanguageFunction Block Diagram, Structured Text
Power Supply24V DC, 100-240V AC
Operating Temperature0°C to 55°C
Shock Resistance147 m/s2 acceleration, 3 times in each of X, Y, and Z directions
Program CapacityUp to 252K steps

Related product manuals