Instructions; Calculate; Move Instructions - Siemens S7-1200 Programming Manualline

Step 7 tia portal, background and system description
Hide thumbs Also See for S7-1200:
Table of Contents

Advertisement

2 S7-1200/1500 Innovations

2.9 Instructions

2.9
Instructions
2.9.1

CALCULATE

With the CALCULATE instruction you can carry out mathematical calculations (e.g.
(IN1 + IN2) * IN3) that are independent from the data type. The mathematical
formula is programmed in the formula editor of the instruction.
Figure 2-13: CALCULATE instruction with formula editor
Note
For more information refer to the Online Help of the TIA Portal with the
"CALCULATE" instruction.
Advantages
A mathematical formula only needs one instruction
Time saving due to simple configuration
Properties
Supports bit sequences, integers, floating-point numbers
Supports numerous mathematical functions (all basic arithmetic operations,
trigonometric functions, rounding, logarithm, etc.)
Number of inputs is extendable
Recommendation
Always use the CALCULATE instruction for mathematical calculations instead
of many calls of instructions, such as, e.g. ADD, SUB, etc.
2.9.2

MOVE instructions

STEP 7 (TIA) provides the following MOVE instructions. The instruction
MOVE_BLK_VARIANT for S7-1200/1500 is new.
Programming Guideline for S7-1200/1500
V1.2, Entry ID: 81318674
20

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S7-1500

Table of Contents