EasyManua.ls Logo

Siemens SIMATIC S7-200 - Increment Double Word and Decrement Double Word

Siemens SIMATIC S7-200
606 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...
SIMATIC Instructions
9-80
S7-200 Programmable Controller System Manual
A5E00066097-02
Increment Double Word and Decrement Double Word
The Increment Double Word and Decrement Double
Word instructions add or subtract 1 to or from the input
double word (IN) and place the result in OUT.
In LAD and FBD: IN + 1 = OUT
IN - 1 = OUT
Increment and decrement double word operations are
signed (16#7FFFFFFF > 16#80000000).
In STL: OUT + 1 = OUT
OUT - 1 = OUT
Error conditions that set ENO = 0: SM1.1 (overflow),
SM4.3 (run-time), 0006 (indirect address)
These instructions affect the following Special Memory
bits: SM1.0 (zero); SM1.1 (overflow); SM1.2 (negative)
Inputs/Outputs Operands Data Types
IN VD, ID, QD, MD, SD, SMD, LD, AC, HC, Constant, *VD, *AC, *LD DINT
OUT VD, ID, QD, MD, SD, SMD, LD, AC, *VD, *AC, *LD DINT
L
A
D
S
T
L
INCD OUT
DECD OUT
INC_DW
EN
IN OUT
DEC_DW
EN
IN OUT
ENO
ENO
222 224
✓✓
221
F
B
D
226

Table of Contents

Other manuals for Siemens SIMATIC S7-200

Related product manuals