![background image](http://html1.mh-extra.com/html/omron/fh-1-series/fh-1-series_user-manual_742686217.webp)
WWW.NNC.IR
Basic Knowledge For Macro Customize
Functions
215
5
Optimizing Scene
s (
M
ea
su
re
men
t Flo
w
s)
(M
acr
o
Custo
m
ize
Fu
ncti
ons)
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.)
9
NOT
10
AND
11
OR
12
XOR
A& = 1 + 2 + 4 / 2
B$ = "OMRON" + "FH"
Содержание fh-1 series
Страница 8: ...WWW NNC IR 6 Vision System FH FZ5 Series User s Manual Z340...
Страница 14: ...WWW NNC IR 12 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 22: ...WWW NNC IR 20 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 48: ...WWW NNC IR Initializing the Controller 46 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 68: ...WWW NNC IR Editing Scene Groups 66 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 132: ...WWW NNC IR Useful Functions for Operation 130 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 172: ...WWW NNC IR Saving Scene Groups in External Memory 170 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 254: ...WWW NNC IR Basic Knowledge For Macro Customize Functions 252 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Страница 650: ...WWW NNC IR Macro Reference 648 Vision System FH FZ5 Series User s Manual Z340 Related Items None...
Страница 881: ...WWW NNC IR...