EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-F Series - SFC Control Instructions

Mitsubishi Electric MELSEC iQ-F Series
128 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
Loading...
94
8 SFC PROGRAM
8.3 SFC Control Instructions
8.3 SFC Control Instructions
SFC control instructions are used to check a block or step operation status (active/inactive), or to execute a forced start, end
or others. If SFC control instructions are used, SFC programs can be controlled from the actions of sequence programs and
SFC programs.
Instruction List
The following table lists the SFC control instructions.
*1 When using in a sequence program, block 0 is the target block. When using in a SFC program, current block is the target block.
For details on the SFC control instructions, refer to the following.
MELSEC iQ-F FX5 Programming Manual (Instructions, Standard Functions/Function Blocks)
Precautions
Do not use the SFC control instructions in interrupt programs.
Execute the SFC control instruction only when SM321 (Start/stop SFC program) is on.
When using the SFC control instruction, set "SFC Program Setting" to "Use".
When using the SFC program, do not specify the step relay to the instructions other than the SFC control instruction. If the
step relay is specified to the instructions other than the SFC control instruction, the program may perform an unintended
operation.
When "SFC Program Setting" is set to "Not to Use", the instructions which specify the step by using the step relay without
block specification (such as LD [S] and MOV(P) [KnS]) operate as the normal instructions.
In the case of the CPU module not corresponding to the SFC program, when the current value is read/written to the step
relay with block specification (BL\S) by the engineering tool, the current value is read/written to the step relay (S)
without block specification. (Page 118 Added and Changed Functions)
Instruction name Instruction symbol Processing
Checking the status of a step LD, LDI, AND, ANI, OR, ORI [S]
*1
Checks whether a specified step is active or inactive.
LD, LDI, AND, ANI, OR, ORI [BL\S]
Checking the status of a block LD, LDI, AND, ANI, OR, ORI [BL] Checks whether a specified block is active or inactive.
Batch-reading the status of steps MOV(P) [KnS]
*1
Batch-reads (in units of 16-bit binary data) the status (active or inactive)
of steps in a specified block, and stores the read data in a specified
device. (Kn: K1 to K4)
MOV(P) [BL\KnS]
DMOV(P) [KnS]
*1
Batch-reads (in units of 32-bit binary data) the status (active or inactive)
of steps in a specified block, and stores the read data in a specified
device. (Kn: K1 to K8)
DMOV(P) [BL\KnS]
BMOV(P) [KnS]
*1
Batch-reads (in units of the specified number of words starting from a
specified step) the status (active or inactive) of steps in a specified
block. (Kn: K1 to K4)
BMOV(P) [BL\KnS]
Starting a block SET [BL] Activates the specified block individually and executes a step
sequence starting from the initial step.
Ending a block RST [BL] Deactivates the specified block.
Activating a step SET [S]
*1
Activates the specified step.
SET [BL\S]
Deactivating a step RST [S]
*1
Deactivates the specified step.
RST [BL\S]
Step start/end instruction OUT [S]
*1
Activates/deactivates the specified step.
OUT [BL\S]
ZRST(P) [S]
*1
Deactivates all specified steps collectively.
ZRST(P)[BL\S]
Example: When the current value is read to BL5\S12
- CPU module corresponding to the SFC program: The current value of BL5\S12 is read.
- CPU module not corresponding to the SFC program: The current value of S12 is read.

Other manuals for Mitsubishi Electric MELSEC iQ-F Series

Related product manuals