Omron FZ4 Series User Manual page 162

Vision sensor
Table of Contents

Advertisement

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
Not
And
Or
Xor
Logic calculation can be used to check more than one condition or operate with bit to designated value.
4
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
2
3
4
5
6
7
8
9
10
11
12
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(:)
Comma(,)
Semicolon(;)
Apostrophe(')
Asterisk(*)
Space( )
Double Quotation
Marks(")
Ampersand(&)
Pound Sign(#)
Dollar Mark($)
160
Using Custom Command
Non
Logic And
Logic Or
Xor
Parenthesis()
Function
Exponent arithmetic(^)
Minus(-)
Multiplication or Division(*,/)
Mod Calculation(Mod)
Addition or Subtraction(+,-)
Relative Calculation(<,>,=and so on)
Not
And
Or
Xor
Separate more than two sentences in a line.
Separate parameter.
Separate output parameter.
Same as Rem, it is used to annotate sentence.
Prefix of label name.
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.
Substitute string variable with string.
Use it in integer variable or array.
Use it in double variable or array.
Use it in string variable or array.
Content
not A
A and B
A or B
A xor B
Example
FZ4 User's Manual

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fz4 series

Table of Contents