Incrementing And Decrementing 16-Bit Bin Data (Inc(P),Dec(P)) - Mitsubishi MELSEC Q Series Programming Manual

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

INC(P),DEC(P)
6.2.16
Incrementing and decrementing 16-bit BIN data
(INC(P),DEC(P))
INC(P),DEC(P)
INC, DEC
INCP, DECP
Setting
Data
D
Function
INC
(1) Adds 1 to the device designated by
(2) When INC/INCP operation is executed for the device designated by
32767, the value
DEC
(1) Subtracts 1 from the device designated by
(2) When DEC/DECP operation is executed for the device designated by
32768, the value 32767 is stored at the device designated by
Operation Error
(1) There are no operation errors associated with the INC(P)/DEC(P) instruction.
6-70
Command
Command
: Head number of devices for INC (+1)/DEC (
D
Internal Devices
R, ZR
Bit
Word
D
D
b15
b0
5678 (BIN)
32768 is stored at the device designated by
D
b15
b0
5678 (BIN)
High
Basic
performance
indicates an instruction symbol of
1) operation (BIN 16 bits)
J
\
U
\G
Bit
Word
(16-bit data).
D
b15
b0
5679 (BIN)
(16-bit data).
D
D
b15
b0
5677 (BIN)
1
Process
Redundant Universal
LCPU
INC/DEC.
D
P
D
Zn
Constants
Other
––
, whose content is
D
.
D
, whose content is
D
.
D

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents