13-6
Communication
13
13-4 Processing functions
[1] Measurement execution functions
(1) Measurement execution function 1 (evaluation result): code 10
(H)
The measurement for a specified object type is executed, and the data obtained is compared
with the criteria. Then the evaluation result (OK/NG) is output.
Note: When the measurement start input signal is other than tha general-purpose serial I/F signal, a
command is not required.
- Object type
_
Object type for which the measurement was executed: 00 to 15
- Output evaluation result (Y0 to Y15)
_
0: NG or unspecified, 1: OK
(2) Measurement execution function 2 (evaluation measurement data, fixed): code 11
(H)
The measurement for the specified object type is executed, and evaluation result (OK/NG) and
the measurement data in block 0 from each measurement program are output. See pages 13-15
to 13-25 for details about the measurement data blocks.
When the measurement start input signal is other than the general purpose serial I/F signal, a
fixed response to the code 11
(H)
is returned.
- Object type
_
Object type for which the measurement was executed: 00 to 15
- Output evaluation result (Y0 to Y15)
_
0: NG or unspecified, 1: OK
-
1
_
Measurement programs 0 to 3
Measurement 0 ............. [0 = none, 1 = positional deviation/absolute position measurement]
(camera 1 and camera 2)
Measurement 1 to 3 ...
0 = none, 2 = shape and size comparison, 3 = distance/angle
measurement (gray/edge), 4 = distance/angle measurement (center
of gravity), 5 = lead inspection, 6 = area measurement after binary
conversion, 7 = object counting after binary conversion, 8 = label
measurement after binary conversion, 9 = existence detection with a
point measurement
-
2
_
Measurement data
The measurement programs vary in terms of the data they produce. Only the data in block 0 of
each measurement program is output. If the registration for a measurement program has been
set to "NO," there is no data for that measurement, and the data from the next measurement
number is brought forward.
[Ex.] An example of the measurement 0 of object type 01 (camera 1: positional deviation/
absolute position measurement) is given below.
Ë
Response
Output evaluation
result
Y15
Y1
…
Y0
:
1 0
:
1 0
SC
(H)
SC
(L)
SC
(H)
SC
(L)
Ë
Command
CR
SC
(H)
SC
(L)
CR
Object
type
Object
type
Ë
Response
:
:
1
1 1
2
Output evaluation
result
RC
(H)
RC
(L)
Y15
Y1
…
Y0
SC
(H)
SC
(L)
CR
Data on
measure-
ment 1
2
Data on
measure-
ment 2
2
Data on
measure-
ment 3
2
1
Ë
Command
Object
type
Object
type
SC
(H)
SC
(L)
CR
Measure-
ment 0
Measurement 0
Measure-
ment 1
Measure-
ment 2
Measure-
ment 3
Camera 1
Camera 2
Camera 1
data
2
Camera 2
data
2
1 1 0 1 C 3 C R
Object type
Processing code
Command: