Specifications

Table Of Contents
7 - 1
Chapter 7 Operation Control Program
A substitute operational expression, dedicated motion function and bit device control
command can be set with the operation control program.
Multiple blocks can be set in one operation control program, however, the shifting
condition can be set only to the transition program.
The operational expressions that can be described by the operation control program
and transition program are described in this section.
7.1 Order of operator and function priority
The order of the operator and function priority is shown below.
The operation order can be designated randomly by using parentheses.
Priority order Items (operator, function)
Calculation within parentheses ((...))
Standard function (SIN, COS, etc.), type conversion (USHORT, LONG, etc.)
Bit inversion ( ¯ ), logical negation ( ! ), sign inversion ( )
Multiplication ( * ), division ( / ), remainder (%)
Addition (+), subtraction ( )
Left bit shift (<<), right bit shift (>>)
Comparator: Below (<), less than: (<=), over: (>), more than (>=)
Comparator: Equal (=), Not equal (!=)
Bit logical product (&)
Bit exclusive logical sum ( ^ )
Bit logical sum ( )
Logical product ( * )
Logical sum ( + )
High
Low
Substitute (=)