ifm Vision Assistant O3M
168
Module
Input
Output
Description
Approx .
equal
3 inputs
(numerical,
single
values or
vectors)
1 output (binary,
single values or
vectors depending
on inputs)
The signals at inputs "in1" and "in2" are compared at input "in3" taking into
account the tolerance:
●
if the difference between "in1" and "in2" < "in3", then "out1" = "1"
● if the difference between "in1" and "in2" ≥ "in3", then "out1" = "0"
15.10 Description of the "Logical functions" modules
In the "Logical functions" selection area, available logical functions are displayed . The modules depends
upon binary signals at the inputs (exception: "Select" module) .
The "Digitalisation" modules can process individual signals or vectors at the inputs:
►
No combination of single values and vectors .
►
Use vectors of the same size .
►
Use single values only .
The "Logical functions" selection area contains the following modules:
Module
Input
Output
Description
AND
3 inputs
(binary, single
values or
vectors)
1 output (binary,
single values or
vectors depending
on inputs)
The "AND" module creates an AND relation between the input signals: If all
signals at the inputs are "1", a "1" is provided at output "out1" .
Input "in3" is interpreted as "1" if it is not used .
OR
3 inputs
(binary, single
values or
vectors)
1 output (binary,
single values or
vectors depending
on inputs)
The "OR" module creates an OR relation between the input signals: If at
least one of the signals at the inputs is "1", a "1" is provided at output "out1" .
Input "in3" is interpreted as "0" if it is not used .
XOR
3 inputs
(binary, single
values or
vectors)
1 output (binary,
single values or
vectors depending
on inputs)
The "XOR" module creates an "Exclusive
or" relation between the input signals (see
table on the right) .
The "in3" input is only taken into account by
the "Exclusive or" combination if it is used .
0
0
n .c .
0
1
0
n .c .
1
0
1
n .c .
1
1
1
n .c .
0
0
0
0
0
1
0
0
1
0
1
0
1
1
1
0
1
0
0
1
1
1
0
1
1
0
1
1
1
1
1
1
0
NOT
1 input (binary,
single value or
vector)
1 output (binary,
single value or
vector depending
on inputs)
The "NOT" module negates the input signal:
●
if "in1" == "1", then "out1" = "0"
●
if "in1" == "0", then "out1" = "1"
Select
2 numerical
inputs, 1
binary input
(single values
or vectors)
1 output
(numerical, single
values or vectors
depending on
inputs)
The "Select" module selects one of the numerical input signals "in2" or "in3"
depending on the status of the binary input "in1":
●
if "in1" == "1", then "out1" = "in3"
●
if "in1" == "0", then "out1" = "in2"