Sharp IV-S20 User Manual page 307

Compact image sensor camera
Table of Contents

Advertisement

Response
1 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0
Processing code
X coordinate of
1st point
Y coordinate of 1st point
The coordinates of the 1st and 2nd points are determined as follows, based on the values
contained in the response, and the angular deviation is 0°.
Coordinates of 1st point
Coordinates of 2nd point
(3) Measurement execution function 3 (evaluation result + measurement numerical data): code 12
The measurement for a specified object type is executed, and the evaluation result (OK/NG) of
each measurement function and data in a specified measurement block are output. See pages
13-15 to 13-25 for details about the measurement data blocks.
Command
Object
type
: 1 2
Response
Object
type
: 1 2
RC
RC
(H)
(L)
· Output evaluation result (Y0 to Y15) _ 0: NG or unspecified, 1: OK
· Specified block data _ Numerical data in a specified block (up to 512 bytes)
(4) Measurement execution function 4 (evaluation result + logical result and calculation result):
code 13
(H)
The measurement for a specified object type is executed. Among the measurement results, the
evaluation results (OK/NG) of output (Y0 to 15) and the ON/OFF state of the auxiliary relays (C0
to 127) are output. Among the results of the numerical calculations for each measure- ment, the
evaluation results and the calculation results of calculations N0 to N15 are output.
Command
Object
type
:
1 3
Response
Object
type
:
1
3
RC
RC
(H)
(L)
· Output evaluation result (Y0 to Y15) _ 0: NG or unspecified, 1: OK
· Auxiliary relay (C0 to C127)_ 00: OFF, 01: ON
· Data 2 for the measurement No. specified by the command (evaluation result and calculation
result of the numerical calculation)
[When measurement No. 0 is specified]
Camera 1
Calculation N0
Result
Judgment
(8-digit)
(2-digit)
[When measurement No. 1, 2 or 3 is specified]
Calculation N0
Result
Judgment
(8-digit)
(2-digit)
Object type
Output evaluation result
Termination code
0 6 4 0 0 6 E 0 0 D 9 8 0 6 9 0 0 0 0 0 8 E
X coordinate of 2nd point
Values (hexadecimal)
in response
X coordinate Y coordinate
640
6E0
D98
690
· Objeact type _ Object type for which the measurement
Block
· Measurement _ Number of the measurement whose
SC
SC
CR
(H)
(L)
· Block _ Specified block from which the data of a
Output evaluation
Specified
result
block data
Y0
Y1
Y15
· Object type _ Object type for which the measurement
· Measurement _ Number of the measurement whose
SC
SC
CR
(H)
(L)
· 1 _ The same as on the preceding page
Measure-
Output evaluation
ment 0
result
Y0
Y1
Y15
Calculation N15
Calculation N0
Result
Judgment
Judgment
(8-digit)
(2-digit)
(8-digit)
(2-digit)
Judgment (2-digit) _ 00: NG, 01: OK
Calculation N15
Result (8-digit): Hexadecimal number
Result
Judgment
(Data "0" is entered for unregistered calculation numbers
(8-digit)
(2-digit)
from N0 to N15.)
13-7
Setting for measurement
number 0 (camera 1) =
positional deviation/absolute
position measurement
Angular deviation
Y coordinate of 2nd point
Pixel coordinates
(decimal)
X coordinate
Y coordinate
160.0
176.0
348.0
168.0
was executed: 00 to 15
numerical data will be output: 0 to 3
specified measurement function will be output
(except block 50).
SC
SC
CR
(H)
(L)
was executed: 00 to 15
numerical data will be output: 0 to 3
1
Auxiliary relay
Data 2 of the
m e a s u r e m e n t
C127
C0
No. specified by
the command
Camera 2
Calculation N15
Result
Result
Judgment
(8-digit)
(2-digit)
Communication
Measurement number 0
(camera 2), no setting
for measurement numbers
1 to 3
C R
(H)
SC
SC
CR
(H)
(L)
13

Advertisement

Table of Contents
loading

Table of Contents