Program instructions
7.8 Math
S7-200 SMART
System Manual, 09/2015, A5E03822230-AC
267
IN
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
ID, QD, VD, MD, SMD, SD, LD, AC, HC, *VD, *LD, *AC, Constant
OUT
IB, QB, VB, MB, SMB, SB, LB, AC, *VD, *AC, *LD
IW, QW, VW, MW, SMW, SW, T, C, LW, AC,*VD, *LD, *AC
ID, QD, VD, MD, SMD, SD, LD, AC, *VD, *LD, *AC
Example: Increment and decrement
LD I4.0
INCW AC0
DECD VD100
Increment/decrement operations from the LAD example