User`s manual

18-8
Communication (General Purpose Serial Interface)
18
(3) Measurement execution function 3 : code 12(H)
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.
- 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 19, "Computer link.")
- Data flow - See page 18-3.
(4) Measurement execution function 4: code 14(H)
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.
See page 17-26.
On page 17-1 you can see how each command affects the various inputs and outputs.
- 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)
SC
(H)
SC
(L)
RC
(H)
RC
(L)
CR
Y15
Specified
block data
1
Y1Y0
Measure-
ment
Response
Final Output
evaluation result
:12
:12
SC
(H)
SC
(L)
Command
CR
Object
type
Object
type
Block
No.
Station
No.
Station
No.
Execution
camera
Execution
camera
- 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.
- Specifications for any output data See page 18-16.
- Data flow See page 18-3.
MEASURE 0 CAMERA 1
MEASURE 0 CAMERA 2
MEASUREMENT 1
MEASUREMENT 2
MEASUREMENT 3
MEASUREMENT 4
Distance and angle measurement
Numerical calculation
Quit
5
6
7
F
0
1
2
3
4
Measurement
code
Setting
Measurement
code
Setting
Response
:
:
1
14
4
RC
(H)
RC
(L)
SC
(H)
SC
(L)
CR
1
Command
Object
type
Object
type
SC
(H)
SC
(L)
CR
Measure-
ment code
Station
No.
Station
No.
Execution
camera
Execution
camera
Any numerical data