18-10
Communication (General Purpose Serial Interface)
18
(3) Measurement data reading function 3: code 22
(H)
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.
- 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
SC
(H)
SC
(L)
RC
(H)
RC
(L)
CR
Y15
Specified
block data
1
Y1
Y0
Measure-
ment
■
Response
Final output
evaluation result
…
:
2
2
:
2
2
SC
(H)
SC
(L)
■
Command
CR
Object
type
Object
type
Block
Station
No.
Station
No.
Execution
camera
(4) Measurement data reading function 4: code 24
(H)
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.
- 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
- 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.
■
Response
:
:
2
2 4
4
RC
(H)
RC
(L)
SC
(H)
SC
(L)
CR
■
Command
Object
type
SC
(H)
SC
(L)
CR
Measure-
ment code
Measure-
ment code
Station
No.
Station
No.
Execution
camera
Any numerical data
MEASURE 0 CAMERA 1
MEASURE 0 CAMERA 2
MEASUREMENT 1
MEASUREMENT 2
MEASUREMENT 3
MEASUREMENT 4
Distance and angle measurement
Numerical calculation
5
6
7
0
1
2
3
4
Measurement code
Setting
Measurement code
Setting
[(Response) measurement code]
- Specification for any output data
-
See page 18-16