Using the serial interface – Hamilton Electronics MICROLAB 8534-01 User Manual

Page 23

Advertising
background image

MICROLAB

®

Carousel User Guide (June 2003)

21

Using the serial
interface

The carousel can be run via the serial interface rather than the USB interface.
The carousel can then be controlled by the general serial port commands in
Vector, by other software utilities such as Hyperterminal, or by customer-
specific software interfaces.

A “straight-through” cable, such as Hamilton part number 36786, is required.

Table 2 shows some examples of carousel commands that can be used in
serial mode. For the Move command, “w60” asks for the position to move to,
“3” sets the position to position 3, and “x61” moves the carousel to the set
position.

Table 2.

Example commands for the serial interface.

Notes:

For invalid commands, an error code is returned. Refer to table 3 on
page 25
(“Troubleshooting”).

The positions are hexadecimal (for example, position 10 is 'a').

The maximum number of positions is set by the DIP switch on the
housing assembly. Refer to table 1 on page 9.

If a move command is sent before the instrument is initialized, the
instrument will first initialize, and then the carousel will move to the
designated position.

The instrument must be calibrated via USB and service software. See
“Calibration” on page 15.

For more information, please contact Hamilton Company.

Command type

Send

Receive

Initialize

0x60<CR>

0r4<CR><LF>

Move

0w60, 3x61<CR>

0r4<CR><LF>

Query position

0q61<CR>

0r,3<CR><LF>

Advertising