Specifications
SIMATIC Instructions
9-80
S7-200 Programmable Controller System Manual
C79000-G7076-C233-01
Increment, Decrement Example
LAD STL
LD I4.0
INCW AC0
DECD VD100
INC_W
EN
INAC0 OUT AC0
DEC_DW
EN
INVD100 OUT VD100
125
increment
AC0
126AC0
128000
127999
Application
decrement
VD100
VD100
I4.0
Increment Word Decrement Double Word
FBD
ENO
ENO
INC_W
EN
INAC0 OUT AC0
ENO
I4.0
DEC_DW
EN
INVD100 OUT VD100
ENO
Figure 9-26 Example of Increment/Decrement Instructions for LAD, STL, and FBD