Incrementing 32-Bit Binary Data - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

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

Advertisement

Incrementing 32-bit binary data

DINC(P)(_U)
RnPCPU
RnCPU RnENCPU
(Process)
These instructions increment the specified 32-bit binary data by one.
Ladder
(d)
FBD/LD
EN
ENO
d
■Execution condition
Instruction
DINC
DINC_U
DINCP
DINCP_U
Setting data
■Description, range, data type
Operand
(d)
DINC(P)
DINC(P)_U
EN
ENO
• 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
(d)
• 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
(d)
6 BASIC INSTRUCTIONS
296
6.2 Arithmetic Operation Instructions
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
Execution condition
Description
Increment target start device
Execution condition
Execution result
Word
J\
T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
ST
ENO:=DINC(EN,d);
ENO:=DINCP(EN,d);
Range
-2147483648 to 2147483647
0 to 4294967295
Double word Indirect
U\G, J\,
Z
LT, LST,
U3E\(H)G
LC
Word
SA\T, SA\ST, SA\C, SA\D, SA\W, SA\SD
ENO:=DINC_U(EN,d);
ENO:=DINCP_U(EN,d);
Data type
Data type (label)
32-bit signed binary
ANY32_S
32-bit unsigned binary
ANY32_U
Bit
BOOL
Bit
BOOL
Constant
specification
LZ
K, H E
Constant
K, H
Others
$

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents