Leica Geosystems Leica DISTO pro /pro4a - interface manual User Manual

Page 4

Advertising
background image

3350-RUEA

Error! Style not defined.

I:\DIST\Marketing\0Temp\Doc\interfaceManual111_en.docSeite 4 von 18

Erstelldatum: 17.06.03

3 I

NTERFACE

P

ROTOCOL

3.1 General definition

3.1.1 Characters
All characters of the ASCII- code smaller than 255 are permitted (see “Character set“ in the ap-
pendix) A command is ended with ASCII-code 13 <cr> (Carriage Return),any following
command like <lf> (Line Feed)is ignored. ASCII- code 10 is ignored (end code resp. termi-
nator).
DISTO

TM

pro

4

/ DISTO

TM

pro

4

a, also send a terminator at the end of a response. It is the

<cr><lf>

code.

3.1.2 Input
Every command consists of one or more characters and a terminator.
Examples:

a<cr><lf>

DSP 12345/F<cr><lf>


Numerical input (parameters of a command, %) are always entered as integers (whole num-
bers). The following format is permitted:

Sign (optional) and numbers without leading zero: -8007.

3.1.3 Response
There are one or more responses to every command. The following responses are possible:

?<cr><lf>

-

OK-prompt:.

DISTO

TM

pro

4

/ DISTO

TM

pro

4

a are ready to receive

new commands.

@E123<cr><lf>

-

Error message: a three character code is displayed in accordance
with the table in the appendix.

12..10+12345678 <cr><lf>

- One or more data words with terminator

Plain text

-

Plain text information


Each command puts out either an OK-prompt or an error massage.

3.1.4 WI-data format
A data word as a response consists of 16 character. The following combinations are possible:

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

W

W

w

w

A

U

+

1

2

3

4

5

6

7

8


or:

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

W

W

w

w

A

U

+

1

2

3

4

+

6

7

8


or:

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

W

W

.

.

.

.

+

a

b

c

d

e

f

g

h


or:

Advertising