![background image](http://html1.mh-extra.com/html/omron/fh-1-series/fh-1-series_user-manual_742686218.webp)
WWW.NNC.IR
Basic Knowledge For Macro Customize Functions
216
Vision System FH/FZ5 Series
User’s Manual (Z340)
Relational expression
An expression that joins two numerical expressions by a relational operator is referred to as a relational
expression.
(Example of a relational expression)
Logical Expression
An expression that joins multiple relational expressions by a logical operator is referred to as a logical
expression. This is used to execute bit operations and binary operations, and to evaluate complex conditions.
When the operation result of a logical expression is other than 0, the result is treated as true, and when 0, the
result is treated as false. Because a logical expression returns a numerical value, it can also be treated as a
numerical expression.
(Example of a logical expression)
Function
An expression that executes a predefined command or operation, or an expression that executes a
predefined operation on a specific specified value (argument) and returns the result of the operation, is
generally referred to as a function. In particular, the functions that can be used in the macro customize
functions are referred to as macro functions. Macro functions include functions that do not return a value, and
functions that return the numerical value or character string that is the result of the operation.
Macro functions that do not return a value are written with the macro function name and argument separated
by a space. Macro functions that return a value add an argument enclosed by parentheses ( ) to the end of
the macro function name.
(Example of a macro function that does not return a value)
(Example of a macro function that returns a value)
If A& < 10 Then
EndIf
A& = D& AND &b110000
ChangeScene 1
C# = Abs(-10)
Summary of Contents for fh-1 series
Page 8: ...WWW NNC IR 6 Vision System FH FZ5 Series User s Manual Z340...
Page 14: ...WWW NNC IR 12 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 22: ...WWW NNC IR 20 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 48: ...WWW NNC IR Initializing the Controller 46 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 68: ...WWW NNC IR Editing Scene Groups 66 Vision System FH FZ5 Series User s Manual Z340 MEMO...
Page 881: ...WWW NNC IR...