EasyManua.ls Logo

Sharp IV-S20 - Page 307

Sharp IV-S20
399 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
13-7
Communication
13
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°.
(3) Measurement execution function 3 (evaluation result + measurement numerical data): code 12
(H)
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.
· 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.
· 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]
[When measurement No. 1, 2 or 3 is specified]
SC
(H)
SC
(L)
RC
(H)
RC
(L)
CR
Y15
Specified
block data
Y1Y0
Measure-
ment
■
Response
Output evaluation
result
…
:12
:12
SC
(H)
SC
(L)
■
Command
CR
Object
type
Object
type
Block
Response:110001000000000000000010000
Object type
Processing code
X coordinate of
1st point
X coordinate of 2nd point
Output evaluation result
Termination code
064006E00D98069000008E CR
Y coordinate of 1st point
Y coordinate of 2nd point
Angular deviation
Measurement number 0
(camera 2), no setting
for measurement numbers
1 to 3
Setting for measurement
number 0 (camera 1) =
positional deviation/absolute
position measurement
Values (hexadecimal)
in response
Coordinates of 1st point
640
D98
6E0
690
160.0
348.0
176.0
168.0
X coordinate Y coordinate
Y coordinateX coordinate
Pixel coordinates
(decimal)
Coordinates of 2nd point
Judgment
(2-digit)
Result
(8-digit)
Judgment
(2-digit)
Result
(8-digit)
Judgment
(2-digit)
Result
(8-digit)
Judgment
(2-digit)
Result
(8-digit)
Calculation N0
Calculation N0
Calculation N15 Calculation N15
Camera 1
Camera 2
Judgment
(2-digit)
Result
(8-digit)
Calculation N15
Judgment
(2-digit)
Result
(8-digit)
Calculation N0
Judgment (2-digit) _ 00: NG, 01: OK
Result (8-digit): Hexadecimal number
(Data 0 is entered for unregistered calculation numbers
from N0 to N15.)
· Object type _ Object type for which the measurement
was executed: 00 to 15
· Measurement _ Number of the measurement whose
numerical data will be output: 0 to 3
· 1 _ The same as on the preceding page
· Objeact type _ Object type for which the measurement
was executed: 00 to 15
· Measurement _ Number of the measurement whose
numerical data will be output: 0 to 3
· Block _ Specified block from which the data of a
specified measurement function will be output
(except block 50).
Auxiliary relay
C127
....
C0
Data 2 of the
measurement
No. specified by
the command
■
Response
:
:
1
13
3
Output evaluation
result
RC
(H)
RC
(L)
Y15
Y1
…
Y0 SC
(H)
SC
(L)
CR
1
■Command
Object
type
Object
type
SC
(H)
SC
(L)
CR
Measure-
ment 0
Measure-
ment
Measure-
ment 2
Measure-
ment 3
Camera 1
Camera 2
Measure-
ment 1

Table of Contents