Download Print this page

Chapter 6 Sequence Instructions - Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

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.
Ladder diagram
(s)
LD
(s)
LDI
AND
ANI
OR
(s)
(s)
ORI
FBD/LD
In the FBD/LD language, contact is used as well as the Ladder diagram.
Setting data
■Descriptions, ranges, and data types
Operand
Remarks
(s)
Device used as contact
■Applicable devices
Operand
Bit
X, Y, M, L, SM,
F, B, SB, S
(s)
6 SEQUENCE INSTRUCTIONS
104
6.1 Contact Instructions
(s)
(s)
Word
T, ST, C, D, W,
U\G
SD, SW, R
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;
Range
Double word Indirect
specification
Z
LC
LZ
Data type
Data type (label)
Bit
ANY_BOOL
Constant
K, H
E
$
Others
(DX)

Hide quick links:

Advertisement

loading