Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 163

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

Advertisement

Setting data
■Description, range, data type
Operand
Description
(s)
Device used as a contact
• In safety programs executed by the Safety CPU, only safety devices and safety labels of data types described in the table
can be used.
■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB,
FX, FY
(s)
• In safety programs executed by the Safety CPU, only the following safety devices and constants can be used.
Operand
Bit
SA\X, SA\Y, SA\M, SA\SM, SA\B
(s)
Processing details
■LD, LDI
• LD is a normally open contact operation start instruction and LDI is a normally closed contact operation start instruction.
These instructions read the on/off information
*1 When a bit of a word device is specified, the instruction outputs on or off according to the status (1 or 0) of the specified bit.
■AND, ANI
• AND is a normally open contact series connection instruction and ANI is a normally closed contact series connection
instruction. These instructions read the on/off information
previous operation result, and output the operation result.
*1 When a bit of a word device is specified, the instruction outputs on or off according to the status (1 or 0) of the specified bit.
• Note the following when creating or displaying a program using the engineering tool (in ladder edit mode).
• Write mode: When the AND and ANI instructions are connected in series, a ladder with up to 24 steps can be created.
• Read mode: When the AND and ANI instructions are connected in series, a ladder with up to 24 steps can be displayed. If there are more than 24 steps, up
to 24 steps are displayed.
■OR, ORI
• OR is a single normally open contact parallel connection instruction and ORI is a single normally open contact parallel
connection instruction. These instructions read the on/off information
with the previous operation result, and output the operation result.
*1 When a bit of a word device is specified, the instruction outputs on or off according to the status (1 or 0) of the specified bit.
• Note the following when creating or displaying a program using the engineering tool (in ladder edit mode).
• Write mode: Up to 23 OR and ORI instructions can be connected consecutively.
• Read mode: Up to 23 OR and ORI instructions connected consecutively can be displayed. A ladder with more than 23 instructions cannot be displayed
correctly.
• Specify a bit in a word device in hexadecimal. (For example, specify "D0.0B" for b11 in D0.)
Operation error
There is no operation error.
Word
J\
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
Word
SA\T, SA\ST, SA\C, SA\D, SA\W, SA\SD
*1
of the specified bit device, and output it as the operation result.
Range
Data type
Bit
Double word
Z
LT, LST,
LZ
LC
*1
of the specified bit device, perform an AND operation with the
*1
of the specified bit device, perform an OR operation
Data type (label)
ANY_BOOL
Indirect
Constant
Others
specification
(DX)
K, H
E
$
Constant
K, H
5 SEQUENCE INSTRUCTIONS
5.1 Contact Instructions
5
161

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents