Power on /off, Software interface protocol, General definitions – Leica Geosystems Leica DISTO OEM Module 3.0 WH15/WH30 User Manual

Page 6: Characters, Entries, Replies, Data format, Technical reference manual, Disto

Advertising
background image

Technical Reference Manual

V1.20

6/12
725538.doc

08.11.01

DISTO

DISTO

DISTO

DISTO

TM

TM

TM

TM

OEM module 3.0 WH15/WH30

OEM module 3.0 WH15/WH30

OEM module 3.0 WH15/WH30

OEM module 3.0 WH15/WH30

4. Power on /off

Pin 13 of the D-sub Connector is Open (Tristate):

To switch the module on, use command “a” (See 6.2.1 RESET command (a) on page 9).
To switch the module off, use the command “b” (See 6.2.2 OFF command (b) on page 9). After this
command, the measurement module is switched off, but the electronic interface is still active and waits for the
next command on the serial interface.

Pin 13 of the D-sub Connector is switched to ground:

The module and the interface board are switched off. All commands are ignored.

5. Software interface protocol

5.1. General definitions

5.1.1. Characters

All characters with ASCII codes below 127 can be used for entering commands. A command is concluded by
means of an ASCII code below 32 (last character or terminator <trm>).
The DISTO

TM

OEM module 3.0 also transmits a terminator to conclude a reply. The terminator transmitted is

<cr><lf>.

5.1.2. Entries

Each DISTO OEM module 02 command consists of one or more letters and a terminator.
Examples:

a<trm>

N00N<trm>

Numerical entries (command parameters, %) are always entered as whole numbers and the following format is
permitted:

Sign (optional) and digits which do not commence with zero: -8007.

5.1.3. Replies

DISTO

TM

OEM module 3.0 transmits one or more replies to each command received. These are the possible

replies:

?<trm>

-

OK prompt: Everything ok, DISTO

TM

OEM module 3.0 is ready to execute

a new command

@E123<trm>

-

Error report: A three-digit error code is transmitted in accordance with the
table in the appendix.

12..10+12345678 <trm>

-

One or more data words with terminator.

Plain text

-

Plain-text data

A command will result in at least an OK prompt or an error report.

5.2. Data format

A data word as reply consists of 16 characters, combined as follows:

Advertising