Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 30

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

Advertisement

 Instruction symbol
• An instruction symbol followed by parentheses indicates multiple instructions. For example, "GRY(P)(_U)" indicates four
instructions: GRY, GRYP, GRY_U, and GRYP_U.
Instruction symbol
Instruction symbol followed by "(P)"
Instruction symbol followed by "(_U)"
• An instruction symbol followed by "" indicates multiple instructions. For example, "LDDT" indicates six instructions:
LDDT=, LDDT<>, LDDT>, LDDT<=, LDDT<, and LDDT>=.
 Availability by the CPU module type (The instruction cannot be used by the CPU module marked .)
 Description formats of ladder diagram, structured text language, and FBD/LD
An instruction symbol should be described in the enclosed area of each ladder or FBD/LD program.
Execution condition is input to EN of each structured text or FBD/LD program. And, execution result should be described for
ENO.
 Execution condition ( Page 53 Execution Condition)
 Description of operands, setting ranges, data types, and label data types
• For the data type, refer to the following.
Page 36 Data Specification Method
 Devices that can be used as operands
Operand
Bit
X, Y, M, L,
SM, F, B, SB,
S, FX, FY
Applicable
X, Y, M, L, SM,
*1
device
F, B, SB, S,
*2
*2
FX
, FY
The following table lists safety devices that can be used as operands in safety programs executed by the Safety CPU.
Operand
Bit
SA\X, SA\Y, SA\M, SA\SM, SA\B
*1
Applicable device
SA\X, SA\Y, SA\M, SA\SM, SA\B
*1 For details on each device, refer to the following.
 MELSEC iQ-R CPU Module User's Manual (Application)
*2 FX and FY can be used for bit data only, and FD for word data only.
*3 When T, ST, C, LT, LST, or LC is used for instructions other than those listed below, it can only be used as word data. It cannot be used
as bit data.
[Instructions that can be used as bit data]
LD, LDI, AND, ANI, OR, ORI, LDP, LDF, ANDP, ANDF, ORP, ORF, LDPI, LDFI, ANDPI, ANDFI, ORPI, ORFI, OUT, RST, BKRST,
MOVB(P), CMLB(P)
When SA\T, SA\ST, or SA\C is used for instructions other than those listed below, it can only be used as word data. It cannot be used as
bit data.
[Instructions that can be used as bit data] LD, LDI, AND, ANI, OR, ORI, LDP, LDF, ANDP, ANDF, ORP, ORF, LDPI, LDFI, ANDPI, ANDFI,
ORPI, ORFI, OUT, RST, MOVB(P)
*4 This device can be used with a network module with a network number specified.
*5 In the "Others" column, a device(s) that can be set for each instruction is shown.
 Control data. Some instructions require control data that determine the operations of the instructions. When control data
need to be set by a user, set values according the setting range.
 Processing details of the instruction. Unless otherwise specified, the following programs are regarded as interrupt
programs.
• Interrupt program using the interrupt pointer (I)
• Fixed scan execution type program
• Event execution type program that is triggered by the interrupt pointer (I)
28
Meaning
This instruction is executed only on the rising edge (off to on).
This instruction handles 16-bit or 32-bit unsigned binary data.
Word
*4
J\
T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
*3
*3
*3
J\X
T
, ST
, C
, D,
*2
J\Y
W, SD, SW, FD
,
J\B
R, ZR, RD
J\SB
Double
word
*4
U\G, J\
,
Z
LT, LST,
U3E\(H)G
LC
*3
U\G
Z
LT
*3
U3E\G
LST
*3
U3E\HG
LC
J\W
J\SW
Word
SA\T, SA\ST, SA\C, SA\D, SA\W, SA\SD
*3
*3
*3
SA\T
, SA\ST
, SA\C
, SA\D, SA\W, SA\SD
Indirect
Constant
specification
LZ
K, H E
LZ
@
K, H
E
@.
Constant
K, H
K, H
*5
Others
$
$
P, I, J, U,
DX, DY,
N, V, BL,
BL\S

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents