STEP 7 programming software
3.3 Easy-to-use tools
S7-1200 Programmable controller
42 System Manual, V4.2, 09/2016, A5E02486680-AK
Creating a complex equation with a simple instruction
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 t
hat you define.
In the Basic instruction tree, expand the Math functions folder.
Double
-click the Calculate instruction to insert the instruction
The unconfigured Calculate instru
c-
tion provides two input parameters
and an output parameter.
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.