EasyManua.ls Logo

Mitsubishi Electric Q173CPU - Page 227

Mitsubishi Electric Q173CPU
472 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
7 - 2
7 OPERATION CONTROL PROGRAMS
(2) Priorities of operators and functions
Operators and functions have the following priorities.
Using parentheses allows an operation sequence to be specified freely.
Priority Item (Operator, Function)
High Calculation within parentheses ((...))
Standard function (SIN, COS, etc.),
Type conversion (USHORT, LONG, etc.)
Bit inversion (~), logical negation (!), sign inversion ( )
Multiplication ( ), division (/), remainder (%)
Addition (+), subtraction ( )
Bit left shift (<<), bit right shift (>>)
Comparison operators: Less than (<), less than or equal to (<=),
more than (>), more than or equal to (>=)
Comparison operators: Equal to (==), not equal to (!=)
Bit logical AND (&)
Bit exclusive OR (^)
Bit logical OR (|)
Logical AND ( )
Logical OR (+)
Low Substitution (=)

Table of Contents

Other manuals for Mitsubishi Electric Q173CPU

Related product manuals