![background image](http://html1.mh-extra.com/html/omron/fz4-series/fz4-series_user-manual_1633222162.webp)
4
Using
Tool
160
Using Custom Command
FZ4 User's Manual
Relational calculation is used in comparing between two values. If result is true, returns -1, otherwise
returns 0.
Logic calculation can be used to check more than one condition or operate with bit to designated value.
Following is all kinds of logic calculation.
Logic Calculation
Content
Example
Not
Non
not A
And
Logic And
A and B
Or
Logic Or
A or B
Xor
Xor
A xor B
Logic calculation can be used to check more than one condition or operate with bit to designated value.
We can use "or" calculation to make special bit 1. We also can use "and" calculation to make special bit
0.
The priority of calculation is as follows.
1
Parenthesis()
2
Function
3
Exponent arithmetic(^)
4
Minus(-)
5
Multiplication or Division(*,/)
6
Mod Calculation(Mod)
7
Addition or Subtr,-)
8
Relative Calculation(<,>,=and so on)
9
Not
10
And
11
Or
12
Xor
Character
Only when English lowercase letter of character constant and character variable is enclosed by two
quotation marks, it is case sensitive.We also can use following special notation.
Colon(:)
Separate more than two sentences in a line.
Comma(,)
Separate parameter.
Semicolon(;)
Separate output parameter.
Apostrophe(')
Same as Rem, it is used to annotate sentence.
Asterisk(*)
Prefix of label name.
Space( )
It must be separated by space between command parameter and succeed parameter. It
is possible to put it between other command, the variable identifier, and the numerical
value if necessary.
Double Quotation
Marks(")
Substitute string variable with string.
Ampersand(&)
Use it in integer variable or array.
Pound Sign(#)
Use it in double variable or array.
Dollar Mark($)
Use it in string variable or array.
Acesst 1.0 6251194
Содержание FZ4 Series
Страница 1: ...User s Manual Cat No Z318 E1 02B Vision Sensor FZ4 Series...
Страница 12: ...1 Before Operation 10 Operation Flow FZ4 User s Manual Operation Flow Here describes the operation flow...
Страница 38: ...1 Before Operation 36 Setting Operation Mode FZ4 User s Manual 1 CPU 2 CPUs FZ4 11 H11 only...
Страница 112: ...3 Performing Test Measurement Starting Operation 110 Useful Functions for Operation FZ4 User s Manual...
Страница 326: ...4 Using Tool 324 Remotely Operating the Controller Remote Operation FZ4 User s Manual Enter the IP address...
Страница 330: ...4 Using Tool 328 Remotely Operating the Controller Remote Operation FZ4 User s Manual...
Страница 351: ...6 Changing the System Environment FZ4 User s Manual Setting the System Operation Environment 349 Communication...
Страница 566: ......
Страница 648: ...8 Appendixes 646 Manual Revision History FZ4 User s Manual...
Страница 654: ...652 FZ4 User s Manual...
Страница 655: ......