22-9
Communication (General Purpose Serial Interface)
22
[2] Result reading
Data from the last measurement is read. (No instruction is sent to execute an operation.)
For details about the measurement data blocks, see the section "Measurement data blocks" in
"Chapter 23: Computer link."
(1) Measurement data reading function 1: code 20
(H)
This command will cause the IV-C35M to read the results of the last measurement.
The results in the ladder outputs (Y00 to 15) will be sent back as the response.
This command is effective regardless of the measurement input specified.
Ë
Response
Final output
evaluation result
Y15
Y1
…
Y0
:
2 0
:
2 0
SC
(H)
SC
(L)
RC
(H)
RC
(L)
Ë
Command
CR
SC
(H)
SC
(L)
CR
Object
type
Station
No.
Station
No.
Execution
camera
- Object type
→
Object type for which the measurement was executed: 00 to 3F
- Executed camera number
→
0: Both camera 1 and 2; 1: Camera 1 only; 2: Camera 2 only
- Final output evaluation result (Y0 to Y15)
→
0: NG or unspecified, 1: OK
Ë
Response
:
:
2
2 1
1
Final 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
Data on
measure-
ment 4
2
1
Ë
Command
Object
type
SC
(H)
SC
(L)
CR
Measure-
ment 0
Measurement 0
Measure-
ment 1
Measure-
ment 2
Measure-
ment 3
Measure-
ment 4
Camera 1
Camera 2
Camera 1
data
2
Camera 2
data
2
Station
No.
Execution
camera
(2) Measurement data reading function 2: code 21
(H)
This command will cause the IV-C35M to read the results of the last measurement.
The results in the ladder outputs (Y00 to 15) and the measurement data in block 0 of each
measurement will be sent back as the response.
This command is effective regardless of the measurement input specified.
- Object type
→
Object type for which the measurement was executed: 00 to 3F
- Executed camera number
→
0: Both camera 1 and 2; 1: Camera 1 only; 2: Camera 2 only
- Final Output evaluation result (Y0 to Y15)
→
0: NG or unspecified, 1: OK
-
1
→
Measurement programs 0 to 4
0 = none, 1 = positional deviation measurement, 2 = degree of match inspection,
3 = lead inspection, 4 = BGA/CSP inspection, 5 = area measurement by binary
conversion, 6 = object counting by binary conversion, 7 = object identification by
binary conversion, 8 = point measurement, 9 = multiple positional measurement,
A = multiple degree of match inspections, B = fault inspection, C = color evaluation,
D = color unevenness inspection, E = color positional measurement.
-
2
→
Measurement data
Only the data in block 0 of a measurement program is output.