Sfc Program Instructions - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

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

Advertisement

2.9

SFC Program Instructions

SFC control instructions
■Checking the status of a step
Instruction symbol
LD [S/BL\S]
LDI [S/BL\S]
AND [S/BL\S]
ANI [S/BL\S]
OR [S/BL\S]
ORI [S/BL\S]
■Checking the status of a block
Instruction symbol
LD [BL]
LDI [BL]
AND [BL]
ANI [BL]
OR [BL]
ORI [BL]
■Batch-reading the status of steps
Instruction symbol
MOV [K4S/BL\K4S]
MOVP [K4S/BL\K4S]
DMOV [K8S/BL\K8S]
DMOVP [K8S/BL\K8S]
BMOV [K4S/BL\K4S]
BMOVP [K4S/BL\K4S]
■Starting a block
Instruction symbol
SET [BL]
■Ending a block
Instruction symbol
RST [BL]
2 CPU MODULE INSTRUCTIONS
128
2.9 SFC Program Instructions
Processing details
Outputs the status (active or inactive) of the specified step as the operation result. (Normally open
contact instruction)
Outputs the status (active or inactive) of the specified step as the operation result. (Normally closed
contact instruction)
Performs an AND operation between the status (active or inactive) of the specified step and the
previous operation result(s), and output the operation result. (Normally open contact series
connection instruction)
Performs an AND operation between the status (active or inactive) of the specified step and the
previous operation result(s), and output the operation result. (Normally closed contact series
connection instruction)
Performs an OR operation between the status (active or inactive) of the specified step and the
previous operation result(s), and output the operation result. (Single normally open contact parallel
connection instruction)
Performs an OR operation between the status (active or inactive) of the specified step and the
previous operation result(s), and output the operation result. (Single normally closed contact
parallel connection instruction)
Processing details
Outputs the status (active or inactive) of the specified block as the operation result. (Normally open
contact instruction)
Outputs the status (active or inactive) of the specified block as the operation result. (Normally
closed contact instruction)
Performs an AND operation between the status (active or inactive) of the specified block and the
previous operation result(s), and output the operation result. (Normally open contact series
connection instruction)
Performs an AND operation between the status (active or inactive) of the specified block and the
previous operation result(s), and output the operation result. (Normally closed contact series
connection instruction)
Performs an OR operation between the status (active or inactive) of the specified block and the
previous operation result(s), and output the operation result. (Single normally open contact parallel
connection instruction)
Performs an OR operation between the status (active or inactive) of the specified block and the
previous operation result(s), and output the operation result. (Single normally closed contact
parallel connection instruction)
Processing details
Batch-reads (in units of 16-bit binary data) the status (active or inactive) of steps in the specified
block, and stores the read data in the specified device.
Batch-reads (in units of 32-bit binary data) the status (active or inactive) of steps in the specified
block, and stores the read data in the specified device.
Batch-reads (in units of the specified number of words starting from the specified step) the status
(active or inactive) of steps in the specified block.
Processing details
Activates the specified block, and executes a step sequence starting from an initial step.
Processing details
Deactivates the specified block.
Reference
Page 1411 LD, LDI,
AND, ANI, OR, ORI
[S/BL\S]
Reference
Page 1414 LD, LDI,
AND, ANI, OR, ORI
[BL]
Reference
Page 1416 MOV(P)
[K4S/BL\K4S]
Page 1419 DMOV(P)
[K8S/BL\K8S]
Page 1422 BMOV(P)
[K4S/BL\K4S]
Reference
Page 1425 SET [BL]
Reference
Page 1427 RST [BL]

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents