Incrementing And Decrementing 32-Bit Bin Data (Dinc, Dincp, Ddec, Ddecp) - Mitsubishi MELSEC QCPU Programming Manual

Programmable logic controller
Table of Contents

Advertisement

6 BASIC INSTRUCTIONS
6.2.14 Incrementing and decrementing 32-bit BIN data
(DINC, DINCP, DDEC, DDECP)
Internal Devices
Set
(System, User)
Data
Bit
Word
D
[Instruction Symbol] [Execution Condition]
DINC, DDEC
DINCP, DDECP
[Set Data]
Set Data
D
[Functions]
DINC
(1) Adds 1 to the device designated by
(2) If the contents of the device designated by
instruction is executed, the value -2147483648 will be stored at the device designated by
DDEC
(1) Subtracts 1 from the device designated by
(2) If the contents of the device designated by
executed, the value -1 will be stored at the device designated by
[Operation Errors]
(1) There are no operation errors associated with DINC(P) or DDEC(P).
6 - 55
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
MELSECNET/10(H)
File
Direct J \
Register
Bit
Command
Command
Head number of device what will execute the DINC (+1) or DDEC (-1)
operation
D
+1
D
b31- -b16 b15- -b0
73500 (BIN)
+1
+1
D
D
b31- -b16 b15- -b0
73500 (BIN)
QCPU
PLC CPU
Basic
High Performance
Usable Devices
Special
Function
Module
Word
U \G
indicates DINC/DDEC
Meaning
(32-bit data).
D
D
+1
D
b31- -b16 b15- -b0
73501 (BIN)
are 2147483647, and the DINC or DINCP
D
(32-bit data).
D
+1
D
D
b31- -b16 b15- -b0
73499 (BIN)
-1
are 0, and the DINC or DINCP instruction is
D
MELSEC-Q/QnA
QnA
Process CPU
Index
Constant
Register
Other
K, H
Zn
D
P
D
Data Type
BIN 32 bits
.
D
6 - 55
Q4AR
.
D

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qnacpuMelsec q modeMelsec q series

Table of Contents