EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Decrementing 16-Bit Binary Data

Mitsubishi Electric MELSEC iQ-R Series
2110 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
Loading...
294
6 BASIC INSTRUCTIONS
6.2 Arithmetic Operation Instructions
Decrementing 16-bit binary data
DEC(P)(_U)
These instructions decrement the specified 16-bit binary data by one.
Execution condition
Setting data
Description, range, data type
In safety programs executed by the Safety CPU, only safety devices and safety labels of data types described in the table
can be used.
Applicable devices
In safety programs executed by the Safety CPU, only the following safety devices and constants can be used.
Ladder ST
ENO:=DEC(EN,d);
ENO:=DECP(EN,d);
ENO:=DEC_U(EN,d);
ENO:=DECP_U(EN,d);
FBD/LD
Instruction Execution condition
DEC
DEC_U
DECP
DECP_U
Operand Description Range Data type Data type (label)
(d) DEC(P) Decrement target device -32768 to 32767 16-bit signed binary ANY16_S
DEC(P)_U 0 to 65535 16-bit unsigned binary ANY16_U
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB,
FX, FY
J\ T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
U\G, J\,
U3E\(H)G
Z LT, LST,
LC
LZ K, H E $
(d) 
Operand Bit Word Constant
SA\X, SA\Y, SA\M, SA\SM, SA\B SA\T, SA\ST, SA\C, SA\D, SA\W, SA\SD K, H
(d) 
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)
(d)
EN ENO
d

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals