Unit Identifier; Command Identifier; Parameters; Separators - Leica MST31 User Manual

Motor-focus system
Table of Contents

Advertisement

4
Syntax
4.1

Unit identifier

The unit identifier must be sent as the 1st parameter.
Maximum 2 significant digits (range 1 to 99):
70 for MOTOR FOCUSING UNIT (MST31/34)
71 for MANUAL CONTROL (MHS1)
The unit identifier may contain leading zeros. However, the entire unit identifier must not consist of
exactly 5 digits.
4.2

Command identifier

The command identifier must be sent as the 2nd parameter and has the range 0 to 255, but
with a maximum of 3 significant digits.
4.3

Parameters

Up to 3 parameters can be transferred depending on the command.
4.4

Separators

Spaces and commas ( , ) are accepted as separators. Several separators can also be
inserted, i.e. a parameter cannot be left out due to several separators.
4.5

Number format

Floating decimal point numbers (float) are not supported but only signed integers (long int)
up to max. 32 bits.
The user must make sure that an overflow cannot occur.
4.6

Exception:

The separator can be omitted between unit/ command identifier and the 1st parameter.
In this case however, it is important to ensure that exactly 2 characters are transferred for
the unit identifier, and exactly 3 characters for the command identifier.
Example:
MOVE absolute
7003012345<CR><LF>
4

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents