Example: MUL and DIV instructions
LAD
VD100 contains: VW100 and VW102, and VD200 contains: VW200 and VW202.
1
Real number operations from the LAD example
MUL data
Data address
DIV data
Data address
S7-200 SMART
System Manual, 09/2015, A5E03822230-AC
STL
Network 1
LD I0.0
MUL AC1, VD100
DIV VW10, VD200
IN1
IN2
400
*
200
AC1
VW102
4000
/
41
VW202
VW10
Program instructions
OUT
=
80000
VD100
remainder
quotient
=
23
97
VW200
VW202
VD200
7.8 Math
263