Result Reading - Sharp IV-S30J User Manual

Compact image sensor camera
Table of Contents

Advertisement

[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 18: Computer link."
(1) Measurement data reading function 1: code 20
This command will cause the IV-S30J 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.
Ë Command
Station
No.
:
2 0
Ë Response
Station
No.
:
2 0
- 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
(2) Measurement data reading function 2: code 21
This command will cause the IV-S30J 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.
Ë
Command
Station
No.
:
2 1
Ë Response
Object
:
2
1
RC
RC
(H)
(L)
Measurement 0
Camera 1
Camera 2
2
data
- 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, 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.
Communication (General Purpose Serial Interface)
SC
SC
CR
(H)
(L)
Object
Final output
evaluation result
type
RC
RC
Y0
Y1
(H)
(L)
SC
SC
CR
(H)
(L)
Measure-
Final output
evaluation result
type
Y0
Y1
Y15
Data on
Data on
measure-
measure-
2
2
ment 1
ment 2
2
data
17-9
(H)
SC
SC
CR
Y15
(H)
(L)
(H)
1
ment 0
Data on
Data on
measure-
measure-
SC
SC
2
2
ment 3
ment 4
(H)
(L)
CR
17

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents