User`s manual

16-16
PC Function
16
16-4 Program examples (shape and positional deviation inspection)
(1) 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
(3) Final output conditions and ladder circuit
Reference image (registration No.0)
Object to be measured
Search area
Reference image
registration window
Positional deviation NG
(X coordinate, Y coordinate NG)
Shape NG
(degree of match NG)
00X0
C000
00Y0 00M0
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
Evaluation
condition
(acceptable
range)
(2) Output conditions and ladder circuit for measurement 0 using camera 1
When the X coordinate, Y coordinate and degree of match are within acceptable ranges, the
auxiliary relay C000 is turned ON.