Sharp IV-S30 User Manual page 229

Compact image sensor camera function and operation
Table of Contents

Advertisement

Communication (General Purpose Serial Interface)
(3) Measurement data reading function 3: code 22
This command will cause the IV-S30 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-S30 to read the results of the last measurement.
Any numeric value data will be output as a response. - See page17-23.
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
- Specification for any output data - See page 18-16
18
Object
Block
type
2 2
Object
type
2 2
RC
RC
(H)
(L)
2 4
SC
SC
CR
(H)
(L)
Object
type
2
4
RC
RC
(H)
(L)
Setting
0
MEASURE 0 CAMERA 1
1
MEASURE 0 CAMERA 2
2
MEASUREMENT 1
3
MEASUREMENT 2
4
MEASUREMENT 3
(H)
SC
SC
CR
(H)
(L)
Final output
Specified
evaluation result
block data
Y0
Y1
Y15
1
(H)
- 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
6
7
18-10
SC
SC
CR
(H)
(L)
Setting
MEASUREMENT 4
Distance and angle measurement
Numerical calculation

Advertisement

Table of Contents
loading

This manual is also suitable for:

Iv-s31mIv-s32mIv-s33m

Table of Contents