Download Print this page

Sharp IV-S51M Instruction Manual page 32

Image sensor camera
Hide thumbs

Advertisement

5. Public command format
1) Measurement execution function: code 0010
• This command will cause the IV-S51M to execute all of the measurement program for a
specified object type or the corresponding measurement program for a specified camera.
• 512 bytes of the result data (from the beginning) of the measurement program will be sent back
as the response.
• In the case of "Measurement start input = CCD trigger or parallel input, serial output = general
purpose serial", result will be sent back to the host as a response of this command.
[Command]
:
Station No. 0
[Response]
:
Station No. 0
• Object type: Object Type to measure (maximum 0 ~ FF(tentatively))
• Execution camera No.: 0 = executing all the cameras, 1 = Camera 1 only, 2 = Camera 2 only
• Numeric value result data (see (4) Output data chart for the details of the output data)
Ex. 1 Measurement 1: Position detection measurement (single workpiece, Number of
registration 2), Measurement 2: Size inspection (no individual workpiece)
Coordinate X
Registration 0
(
[Example of HMI]
[Output data (general purpose serial)]
Packet 0
Note:Preset the maximum number of detection for the measurement where the amount of output
data is variable until the measurement is executed, and when the actual detection is less
than the maximum number of detection, output a dummy data.
When the actual detection is more than the maximum number of detection, exceeded data
will not be output.
Measurement is executed on: Position detection (multiple/circle center), Position and attitude
angle (multiple), Shape degree of match inspection, Size inspection (individual workpiece),
Distance angle measurement (multiple), and Workpiece dimension measurement
0
1
0 Object type camera SC SC CR
(H ) (L ) No. (H ) (L )
0
1
0
RC RC RC RC Object type camera
(H )
• • • • • •
Coordinate Y
Coordinate X
Registration 0
Registration 1
) (
) (
Measurement 1
Measurement 2
6 - 5
H
Executi o n
Executi o n
(L ) (H ) (L ) No.
Coordinate Y
Registration 1
) (
)
Registration 0 Coordinate X 2 bytes
Coordinate Y 2 bytes
Registration 1 Coordinate X 2 bytes
Coordinate Y 2 bytes
Registration 0 Total area
Numeric value result
SC SC CR
data
(H ) (L )
Total area
Registration 0
(
)
F C1 BRT
4 bytes

Advertisement

loading

  Related Manuals for Sharp IV-S51M