Sharp IV-S30J User Manual page 253

Compact image sensor camera
Table of Contents

Advertisement

Communication (General Purpose Serial Interface)
(3) Measurement data reading function 3: code 22
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.
:
Response
Station
No.
:
- 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 → Specified block data
(4) Measurement data reading function 4: code 24
This command will cause the IV-S30J to read the results of the last measurement.
Any numeric value data will be output as a response.
This command is effective regardless of the measurement input specified.
Command
Station
No.
:
Response
Station
No.
:
- 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
[(Response) measurement code]
Measurement
code
0
1
2
3
17
4
- Specification for any output data
Object
Block
type
SC
2 2
(H)
Object
type
2 2
RC
RC
Y0
(H)
(L)
2 4
SC
SC
CR
(H)
(L)
Object
type
2
4
RC
RC
(H)
(L)
Setting
MEASURE 0 CAMERA 1
MEASURE 0 CAMERA 2
MEASUREMENT 1
MEASUREMENT 2
MEASUREMENT 3
See page 17-16.
(H)
SC
CR
(L)
Final output
Specified
evaluation result
block data
Y1
Y15
1
(H)
See page16-26.
- Measurement Number → A measurement number that
outputs numerical data (MEASURE 0 CAMERA 1: 0,
MEASURE 0 CAMERA 2: 1, and MEASUREMENT 1 to
4: 2 to 5)
- Block → Specified block from which the data of a
specified measurement function will be output.
SC
SC
CR
Any numerical data
(H)
(L)
Measurement
code
5
MEASUREMENT 4
6
Distance and angle measurement
7
Numerical calculation
17-10
SC
SC
CR
(H)
(L)
Setting

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents