104
6 SEQUENCE INSTRUCTIONS
6.1 Contact Instructions
6
SEQUENCE INSTRUCTIONS
6.1
Contact Instructions
Operation start, series connection, parallel connection
LD, LDI, AND, ANI, OR, ORI
• LD: NO contact operation start instruction/LDI: NC contact operation start instruction
These instructions capture the ON/OFF information of the device specified by (s), and use that as the operation result.
• AND: NO contact series connection instruction/ANI: NC contact series connection instruction
These instructions capture the ON/OFF information of the device specified by (s), AND with the operation result so far, and
use the result as the operation result.
• OR: NO contact parallel connection instruction/ORI: NC contact parallel instruction
These instructions capture the ON/OFF information of the device specified by (s), OR with the operation result so far, and use
the result as the operation result.
Setting data
■
Descriptions, ranges, and data types
■
Applicable devices
Ladder diagram
Structured text
This becomes a assignment statement, operator, control syntax, etc.
In the ST language, there are sometimes no instructions (symbols) that
directly correspond to contacts such as LD, AND, and OR.
When programming using assignment statements, express as shown in the
following example.
Example
Y1:=(X0 OR X1) AND X2 AND NOT X3;
Y2:=NOT X4 OR NOT X5;
FBD/LD
In the FBD/LD language, contact is used as well as the Ladder diagram.
Operand
Remarks
Range
Data type
Data type (label)
(s)
Device used as contact
Bit
ANY_BOOL
Operand
Bit
Word
Double word Indirect
specification
Constant
Others
(DX)
X, Y, M, L, SM,
F, B, SB, S
T, ST, C, D, W,
SD, SW, R
U
\G
Z
LC
LZ
K, H
E
$
(s)
(s)
(s)
(s)
(s)
(s)
(s)
LD
LDI
AND
ANI
OR
ORI
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......