Siemens Simatic S7 Series System Manual page 263

Hide thumbs Also See for Simatic S7 Series:
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-200 smart series

Table of Contents