Processing Functions; Measurement Execution Functions - Sharp IV-S30J User Manual

Compact image sensor camera
Table of Contents

Advertisement

17-4 Processing functions

[1] Measurement execution functions

(1) Measurement execution function 1: code 10
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) 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.
:
1 0
Ë Response
Station
No.
:
1 0
- Object type → Object type to measure: 00 to 3F
- Execution camera number → 0: Both cameras 1 and 2; 1: Camera 1 only; 2: Camera 2 only
- Final output evaluation result (Y0 to Y15) → 0: NG or unspecified, 1: OK
- Data flow - See page 17-3.
(2) Measurement execution function 2: code 11
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 measurement data in block 0 of each
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.
:
1 1
Ë
Response
Station
No.
:
1
1
- 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 → 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. (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.
Communication (General Purpose Serial Interface)
Object
type
SC
SC
CR
(H)
(L)
Object
Final output
evaluation result
type
RC
RC
Y0
Y1
(H)
(L)
Object
type
SC
SC
CR
(H)
(L)
Final output
Object
evaluation result
type
RC
RC
Y0
Y1
(H)
(L)
Measurement 0
Data on
measure-
Camera 1
Camera 2
ment 1 2
data 2
data 2
17-7
(H)
SC
SC
CR
Y15
(H)
(L)
(H)
1
Measure-
ment 0
Y15
Data on
Data on
Data on
measure-
measure-
measure-
ment 2 2
ment 3 2
ment 4 2
SC
SC
CR
(H)
(L)
17

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents