EasyManuals Logo

Siemens Simatic S7 Series System Manual

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
Page #261 background imageLoading...
Page #261 background image
Program instructions
7.8 Math
S7-200 SMART
System Manual, 09/2015, A5E03822230-AC
261
Integer operations from the LAD example
IN1
IN2
OUT
Add data
40
+
60
=
100
Data address
AC1
AC0
AC0
Multiply data
40
*
20
=
800
Data address
AC1
VW100
VW100
Divide data
4000
/
40
=
100
Data address
W200
VW10
VW200
Example: Real math instructions
LAD
STL
Network 1
LD I0.0
+R AC1, AC0
*R AC1, VD100
/R VD10, VD200
Real number operations from the LAD example
IN1
IN2
OUT
Add data
4000.0
+
6000.0
=
10000.0
Data address
AC1
AC0
AC0
Multiply data
400.0
*
200.0
=
80000.0
Data address
AC1
VD100
VD100
Divide data
4000.0
/
41.0
=
97.5609
Data address
VD200
VD10
VD200

Table of Contents

Other manuals for Siemens Simatic S7 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens Simatic S7 Series and is the answer not in the manual?

Siemens Simatic S7 Series Specifications

General IconGeneral
CPUVaries by model (e.g., S7-300, S7-400, S7-1200, S7-1500)
Communication InterfacesPROFIBUS, PROFINET, Ethernet, MPI
ProgrammingTIA Portal, STEP 7
Programming LanguagesLAD, FBD, STL, SCL, GRAPH
I/O ModulesDigital, Analog, Specialty modules available
Operating Temperature0°C to 60°C (standard models)
MountingDIN rail mounting
Operating Voltage24V DC or 120/230V AC (varies by model)
Protection ClassIP20 (standard models)
MemoryVaries depending on the S7 model. Includes work memory (RAM) for program execution, load memory (EEPROM or Flash) for program storage, and system memory for operating system functions. Memory sizes range from kilobytes to megabytes.

Related product manuals