Mitsubishi Electric Melsec Q Series Programming Manual page 225

Motion controller (sv13/sv22)
Hide thumbs Also See for Melsec Q Series:
Table of Contents

Advertisement

5 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
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 (+)
Substitution (=)
Low
Item (Operator, Function)
5 - 2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents