Expression Usage Examples - Omron FH-3 Series Reference Manual

Vision sensor fh/fz5 series
Hide thumbs Also See for FH-3 Series:
Table of Contents

Advertisement

Expression Usage Examples

Perform Judgement by Combining Unit Judgement Results
Example 2: Perform judgement by combining the judgement results of unit 0 and unit 1
If a judgement of OK for both unit 0 and unit 1 is achieved, a judgement of OK for the calculation will be
achieved.
Step1: The sum of the judgement results (U0.JG, U1.JG) for unit 0 and unit 1 is set up in the expression.
The sum of adding the judgement value (1: OK/-1: NG) based on the unit 0 judgement conditions and the
judgement value (1: OK/-1: NG) based on the unit 1 judgement conditions is displayed in "Result".
Step2: The expression result of step 1 is judged based on judgement upper and lower limits.
When "2" is set for both the judgement upper and lower limits, the calculation judgement of OK is achieved when
both units 0 and 1 are judged as OK.
Judgement results of unit 0
(Judgement value)
OK (1)
NG (-1)
OK (1)
NG (-1)
FH/FZ5 Processing Item Function Reference Manual
Judgement results of unit 1
(Judgement value)
OK (1)
OK (1)
NG (-1)
NG (-1)
Expression result
(Summation results of judgement
values for units 0 and 1)
2
0
0
Judgement result of
expression
OK
NG
NG
NG
625
Calculation
4

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents