Creating A Complex Equation With A Simple Instruction - Siemens SIMATIC S7-1200 System Manual

Hide thumbs Also See for SIMATIC S7-1200:
Table of Contents

Advertisement

STEP 7 programming software
3.3 Easy-to-use tools
3.3.3

Creating a complex equation with a simple instruction

The Calculate instruction (Page 255) lets you create a math function that operates on multi-
ple input parameters to produce the result, according to the equation that you define.
42
In the Basic instruction tree, expand the Math functions folder.
Double-click the Calculate instruction to insert the instruction
into your user program.
Click the "???" and select the data types for the input and output pa-
rameters. (The input and output parameters must all be the same data
type.)
For this example, select the "Real" data type.
Click the "Edit equation" icon to enter the equation.
The unconfigured Calculate instruc-
tion provides two input parameters
and an output parameter.
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SIMATIC S7-1200 and is the answer not in the manual?

Table of Contents

Save PDF