18-7
Communication (General Purpose Serial
Interface)
18
18-4 Processing functions
[1] Measurement execution functions
(1) Measurement execution function 1: code 10
(H)
This command will cause the IV-S30 to execute all of the measurement programs for a specified
object type. (You can specify the camera to use for measurements.)
The results in the ladder outputs (Y00 to 15) will be sent back as the response.
On page 18-1 you can see how each command affects the various inputs and outputs.
- Object type
→
Object type to measure: 00 to 1F
- Execution camera number
→
0: Both cameras 1 and 2; 1: Camera 1 only; 2: Camera 2 only
- Final output evaluation result (Y0 to Y15)
→
0: NG or unspecified, 1: OK
- Data flow
-
See page 18-3
(2) Measurement execution function 2: code 11
(H)
This command will cause the IV-S30 to execute all of the measurement programs for a specified
object type. (You can specify the camera to use for measurements.)
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.
On page 18-1 you can see how each command affects the various inputs and outputs.
- Object type
→
Object type to measure: 00 to 3F
- Execution 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 positions measurement, A = multiple degree of
inspections
-
2
→
Measurement data
Only the data in block 0 of a measurement program is output. (For details about the data
arrangement in a block, see the section "Measurement data blocks" in Chapter 19, "Computer
link.")
- Data flow
-
See page 18-3
Ë
Response
Final output
evaluation result
Y15
Y1
…
Y0
:
1 0
:
1 0
SC
(H)
SC
(L)
RC
(H)
RC
(L)
Ë
Command
CR
SC
(H)
SC
(L)
CR
Object
type
Object
type
Station
No.
Station
No.
Execution
camera
Execution
camera
Ë
Response
:
:
1
1 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
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.
Station
No.
Execution
camera
Execution
camera