Mitsubishi Electric M800VW Series Programming Manual page 227

Plc programming
Hide thumbs Also See for M800VW Series:
Table of Contents

Advertisement

M800V/M80V Series PLC Programming Manual (1/2)
8 Function Instructions
8.2 Arithmetic Operation Instructions
DINC, DINCP, DDEC, DDECP: Incrementing and decrementing 32-bit BIN data
Setting
Bit devices
data
X
Y
M
L
F
X
Y
M
L
F
D
[Instruction symbol] [Execution condition]
DINC, DDEC
DINCP, DDECP
 Setting data
Setting data
Head No. of the device to execute DINC (increment) or DDEC (decrement) opera-
D
tion
 Functions
DINC
 Adds "1" to the device designated by "D" (32-bit data).
D+1
D
b31
b16
b15
b0
73500 (BIN)
 If the value of the device designated by "D" is "2147483647" and the DINC or DINCP instruction is executed, the value "-
2147483648" will be stored in the device designated by "D".
DDEC
 Subtracts "1" from the device designated by "D" (32-bit data).
D+1
D
b31
b16
b15
b0
73500 (BIN)
 If the value of the device designated by "D" is "0", and the DDEC or DDECP instruction is executed, the value "-1" will be
stored at the device designated by "D".
 Operation errors
 There are no arithmetic errors associated with the DINC(P) or DDEC(P) instruction.
IB-1501667-B
Usable devices
B SB
T SM V
T
C
B
SB
T SM V
T
C
Command
Command
Meaning
D+1
b31
b16
b15
73501 (BIN)
1
D+1
b31
b16
b15
73499 (BIN)
1
Word devices
D
R/ZR W SW SD
Z
D
R/ZR W SW SD
Z
D
b0
D
b0
206
Digit
Con-
Pointer
designa-
Index
stant
tion
K
H
P
K
H
P
indicates the signs DINC/DDEC
D
P
D
Data type
BIN 32 bits

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents