EasyManuals Logo
Home>Omron>Industrial Equipment>SYSMAC FH Series

Omron SYSMAC FH Series User Manual

Omron SYSMAC FH Series
882 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
Page #217 background imageLoading...
Page #217 background image
WWW.NNC.IR
Basic Knowledge For Macro Customize
Functions
215
5
Optimizing Scenes (Measurement Flows) (Macro Customize
Functions)
Vision System FH/FZ5 Series
User’s Manual (Z340)
Operation Order of Operators
When multiple operators are included in one expression, operations are executed in the order of priority of
the operators. If you want to control the order of the operations, enclose the operations you want to perform
first in parentheses.
The order of priority of the operators is shown below.
Expression
Constants, variables, and the operators that join them are referred to as an expression. Not only joined
constants and variables, but the constants and variables themselves are expressions, and expressions and
combinations of expressions form a statement.
Numerical expression
An expression that returns a numerical value is referred to as a numerical expression. This joins numerical
constants, numerical variables, and macro functions that return numerical values with arithmetical operators
and logic operators. Multiple numerical expressions can be joined by enclosing the expressions in
parentheses.
(Example of a numerical expression)
Character expression
An expression that returns a character string is referred to as a character expression. This joins character
string constants, character string variables, and macro functions that return character strings with plus signs.
Multiple character expressions can be joined by enclosing the expressions in parentheses.
(Example of a character expression)
Order of priority Operator
1 Operation enclosed in parentheses
2 Macro function
3 Exponent operation (^)
4 Minus sign (-)
5 Multiplication and division (*, /)
6 Remainder (mod)
7 Addition and subtraction (+, -)
8 Relational operators (< >, =, etc.)
9NOT
10 AND
11 OR
12 XOR
A& = 1 + 2 + 4 / 2
B$ = "OMRON" + "FH"

Table of Contents

Other manuals for Omron SYSMAC FH Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC FH Series and is the answer not in the manual?

Omron SYSMAC FH Series Specifications

General IconGeneral
BrandOmron
ModelSYSMAC FH Series
CategoryIndustrial Equipment
LanguageEnglish

Related product manuals