Siemens Memory Specifications Page 20

  • Download
  • Add to my manuals
  • Print
  • Page
    / 74
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 19
2 S7-1200/1500 Innovations
2.9 Instructions
Programming Guideline for S7-1200/1500
V1.2, Entry ID: 81318674
20
Copyright
Siemens AG 2014 All rights reserved
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.
Page view 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 73 74

Comments to this Manuals

No comments