EasyManua.ls Logo

Siemens Simatic S7 Series

Siemens Simatic S7 Series
726 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...
Program instructions
7.8 Math
S7-200 SMART
System Manual, 09/2015, A5E03822230-AC
267
Input / output
Data type
Operand
IN
BYTE
IB, QB, VB, MB, SMB, SB, LB, AC, *VD, *LD, *AC, Constant
INT IW, QW, VW, MW, SMW, SW, T, C, LW, AC, AIW, *VD, *LD, *AC, Constant
DINT
ID, QD, VD, MD, SMD, SD, LD, AC, HC, *VD, *LD, *AC, Constant
OUT
BYTE
IB, QB, VB, MB, SMB, SB, LB, AC, *VD, *AC, *LD
INT
IW, QW, VW, MW, SMW, SW, T, C, LW, AC,*VD, *LD, *AC
DINT
ID, QD, VD, MD, SMD, SD, LD, AC, *VD, *LD, *AC
Example: Increment and decrement
LAD
STL
Network 1
LD I4.0
INCW AC0
DECD VD100
Increment/decrement operations from the LAD example
IN
OUT
Increment word
125
+
1
=
126
Data address
AC0
AC0
Decrement double word
128000
-
1
=
127999
Data address
VD100
VD100

Table of Contents

Other manuals for Siemens Simatic S7 Series

Related product manuals