EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC QCPU

Mitsubishi MELSEC QCPU User Manual

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

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC QCPU and is the answer not in the manual?

Mitsubishi MELSEC QCPU Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC QCPU
CategoryController
LanguageEnglish

Related product manuals