10-14
PC Function
10
10-3 Program examples (shape and positional deviation inspection)
Outline
The positional deviation measurement (one point search) in measurement 0
allows the degree of match and coordinates to be measured, and the result,
OK or NG, is output.
Coordinate (model 0-X): 200.0 to 250.0
Coordinate (model 0-Y): 150.0 to 200.0
Degree of match (model 0): +09500 to +10000
Final output conditions ladder circuit
When the X coordinate, Y coordinate and degree of match are within
acceptable ranges, the auxiliary relay C000 is turned ON.
Reference image (registration No.0)
Object to be measured
Search area
Reference image
registration window
+
+
Shape NG (degree of match NG)
Positional deviation NG
(X coordinate, Y coordinate NG)
+
0X0
C000
0Y0
0M0
Coordi-
nate X
Coordi-
nate Y
Degree
of match
OK
C119
Y00
NG output
C118
Y01
C117
Y02
C000
Measurement operation
error output
Illuminance monitor error
Measurement operation error
Measurement
termination
OK
Illuminance monitor
error output
Criteria
(acceptable
range)
Output conditions ladder circuit for measurement 0 using camera 1