32-Bit Bin Data Increment; 32-Bit Bin Data Decrement - Mitsubishi MELSEC-Q/L Programming Manual

Table of Contents

Advertisement

[List Mode]
Step
Instruction
(2) The following is a down counter program.
[Ladder Mode]
[List Mode]
Instruction
Step
6.2.17
DINC, DINCP

32-bit BIN data increment

6.2.17
DDEC, DDECP

32-bit BIN data decrement

DINC, DINCP, DDEC, DDECP
DINC, DDEC
DINCP, DDECP
: Head number of devices for DINC(+1) or DDEC(-1) operation (BIN 32 bits)
D
Internal Devices
Setting
Data
Bit
Word
D
Function
DINC
(1) Adds 1 to the device designated by
(2) When DINC/DINCP operation is executed for the device designated by
-2147483648 is stored at the device designated by
Device
Transfers 100 to D8 when X7 goes ON.
In the state M38=OFF, decrement at D8 (D8 - 1) is
executed when X8 goes from OFF to ON.
At D8=0, M38 goes ON.
Device
Command
Command
J
\
R, ZR
Bit
Word
(32-bit data).
D
D
D
+1
b31
b16 b15
b0
73500 (BIN)
.
D
DINC, DINCP, DDEC, DDECP
High
Basic
Process
performance
indicates an instruction symbol of
Zn
U
\G
D
D
+1
b31
b16 b15
b0
73501 (BIN)
, whose content is 2147483647, the value
D
LCPU
Redundant Universal
DINC/DDEC.
D
P
D
Constants
Other
––
229
1
2
3
4
6
7
8

Advertisement

Table of Contents
loading

Table of Contents