EasyManua.ls Logo

Omron FQ2-S/CH Series

Omron FQ2-S/CH Series
590 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Calculations and Judgments Using Inspection Item Data
FQ2-S/CH User’s Manual
325
4
Setting Up Inspections
Examples for Calculation
Example 1: Finding the distance between two measured points
This example finds edge position 2 by detecting the two edge positions of inspection item 0 and inspection item
1, and calculates the distance between the two points.
Region 0 (edge position coordinates of inspection item 0): (I0.X,I0.Y)
Region 1 (edge position coordinates of inspection item 1): (I1.X,I1.Y)
Distance between two points = DIST (I0.X,I0.Y,I1X,I1.Y)
Example 2: Finding the lowest similarity of characters read with OCR inspection items
OCR items in inspection items 0 and 1 are used to find the lowest similarity of characters read.
Region 0 (similarity from OCR item in inspection item 0): (I0.SIM)
Region 1 (similarity from OCR item in inspection item 1): (I1.SIM)
Lowest similarity from OCR items in inspection items 0 and 1: min(I0.SIM,I1.SIM)
Calculate this distance.
Region 0
Region 1
Edge position Edge position
Region 0
Region 1
ABC
DEF

Table of Contents

Related product manuals