Siemens SIMATIC S7-200 System Manual page 155

Programmable controller
Hide thumbs Also See for SIMATIC S7-200:
Table of Contents

Advertisement

Example: Integer Math Instructions
Add
40
+
60
=
AC1
AC0
AC0
Example: Real Math Instructions
Add
4000.0
+
6000.0
=
10000.0
AC1
AC0
Network 1
LD
+I
*I
/I
Multiply
100
40
*
AC1
Network 1
LD
+R
*R
/R
Multiply
400.0
*
200.0
AC0
AC1
VD100
S7-200 Instruction Set
I0.0
AC1, AC0
AC1, VW100
VW10, VW200
=
20
800
VW100
VW100
I0.0
AC1, AC0
AC1, VD100
VD10, VD200
Divide
=
80000.0
4000.0
VD100
VD200
Chapter 6
Divide
/
=
4000
40
VW200
VW10
VW200
/
41.0
=
97.5609
VD10
VD200
100
141

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents