Download Print this page

Sharp IV-S30 User Manual page 227

Compact image sensor camera function and operation
Hide thumbs

Advertisement

Table of Contents
Communication (General Purpose Serial Interface)
(3) Measurement execution function 3 : code 12
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 results from a specified block in a specified
measurement will be sent back as the response.
On page 18-1 you can see how each command affects the various inputs and outputs.
Command
Station
No.
:
Response
Station
No.
:
- 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 → Specified block data (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
(4) Measurement execution function 4: code 14
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.)
Any numerical data selected by the IV-S30 can be output as the response.
On page 18-1 you can see how each command affects the various inputs and outputs.
Command
Station
No.
:
Response
Station
No.
:
- 1 → 0: Execute/read, 1: Read
- Object type → Object type to measure: 00 to 1F
- Execution camera number → 0: Both camera 1 and 2; 1: Camera 1 only; 2: Camera 2 only
- Measurement code (response)
Measurement code
- Specifications for any output data - See page 18-16. Chapter 18-16, "Computer link."
- Data flow - See page 18-4.
18
Object
Block
type
No.
1 2
Object
type
1 2
RC
RC
Y0
(H)
(L)
Object
type
1
SC
1 4
(H)
Object
type
1
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)
- Measurement Number → A measurement
number that outputs numerical data (MEASURE 0
CAMERA 1: 0, MEASURE 0 CAMERA 2: 1, and
SC
SC
CR
MEASUREMENT 1 to 4: 2 to 5)
(H)
(L)
- Block → Specified block from which the data of a
specified measurement function will be output.
Final Output
Specified
evaluation result
block data
Y1
Y15
1
(H)
SC
CR
(L)
SC
SC
Any numerical data
(H)
(L)
Measurement code
5
6
7
F
18-8
SC
SC
CR
(H)
(L)
CR
Setting
MEASUREMENT 4
Distance and angle measurement
Numerical calculation
Quit

Advertisement

Table of Contents
loading

  Related Manuals for Sharp IV-S30

This manual is also suitable for:

Iv-s31mIv-s32mIv-s33m