16-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.
Shape NG (degree of match NG)
Evaluation
condition
(acceptable
range)
Output conditions 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.
Coordi-
nate X
Final output conditions ladder circuit
C119
Measurement
termination
C118
Measurement operation error
C117
Illuminance monitor error
Reference image (registration No.0)
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
0X0
0Y0
0M0
Coordi-
Degree
nate Y
of match
C000
OK
Object to be measured
Reference image
registration window
Search area
Positional deviation NG
(X coordinate, Y coordinate NG)
C000
OK
Y00
NG output
Y01
Measurement operation
error output
Y02
Illuminance monitor
error output
16-17
PC Function
16