Download Print this page

Basic Math Operations; The Special Function Operators - Siemens SIMATIC VPU200 Programming Manual

Advertisement

The Special
Function Operators
SIMATIC VPU200/565 Programming Manual
Table 6-2 Variable Types (continued)
There are three sets of operators in the special function programming
language: those used in MATH statements, those used in IF–ELSE
statements and those used in IMATH statements. These are listed in the
following tables.
The Math Operators and Functions. For MATH statements, all basic
arithmetic operations are allowed. These operations are shown below:
Table 6-3 Basic MATH Operations
The order that these operators will be performed in is left to right (except
exponentiation, which is performed right to left) and in the following
hierarchy: first exponentiation, then multiplication and division, and finally
addition and subtraction. Note also that operators enclosed in parentheses
will be performed before those which are not in parentheses.
Programming Special Functions
6-19

Advertisement

loading

This manual is also suitable for:

Simatic 565