Sharp IV-S30J User Manual page 251

Compact image sensor camera
Table of Contents

Advertisement

Communication (General Purpose Serial Interface)
(3) Measurement execution function 3 : code 12
This command will cause the IV-S30J 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 17-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
→ Specified block data (For details about the data arrangement in a block, see the section
-
"Measurement data blocks" in Chapter 18, "Computer link.")
- Data flow - See page 17-3.
(4) Measurement execution function 4: code 14
This command will cause the IV-S30J 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-S30J can be output as the response.
See page 16-26.
On page 17-1 you can see how each command affects the various inputs and outputs.
Command
Station
No.
:
Response
Station
No.
:
→ 0: Execute/read, 1: Read
-
- 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
- Measurement code (response)
Measurement
code
0
1
17
2
3
4
- Specifications for any output data
- Data flow
Object
Block
type
No.
1 2
Final Output
Object
evaluation result
type
1 2
RC
RC
Y0
(H)
(L)
Object
type
1
SC
SC
1 4
(H)
(L)
Object
type
1
4
RC
RC
(H)
(L)
Setting
MEASURE 0 CAMERA 1
MEASURE 0 CAMERA 2
MEASUREMENT 1
MEASUREMENT 2
MEASUREMENT 3
See page 17-16.
See page 17-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.
Specified
block data
Y1
Y15
1
(H)
CR
SC
SC
CR
Any numerical data
(H)
(L)
Measurement
code
5
MEASUREMENT 4
6
Distance and angle measurement
7
Numerical calculation
F
Quit
17-8
SC
SC
CR
(H)
(L)
Setting

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents