MICROLAB® Carousel User Guide (June 2003)
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
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.
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> |
|
|
|
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.
21