Ascii Protocol - Leica tps1100 Reference Manual

Hide thumbs Also See for tps1100:
Table of Contents

Advertisement

GeoCOM Reference Manual
Although the ASCII protocol allows sending the next request before the
corresponding reply has been received, it is not recommended to do that. Of
course, subsequent request will be buffered when the previous request has not
been finished so far. But if the buffer content reaches its limit in size then data
may be lost.
Note: In the current implementation, only one communication channel per
session will be supported. Hence, only one instrument can be connected at
a time. Nevertheless, the nature of the ASCII protocol makes it possible to
connect and communicate to more than one instrument at a time.
2.2

ASCII PROTOCOL

In sequence we will define the syntax first and then give some information about
how to use the ASCII protocol to call a function on the TPS1100 instrument.
The ASCII protocol is a line protocol, hence it uses a line terminator to distinguish
between different requests (replies). One request must be terminated by one
terminator.
2.2.1
ASCII Protocol Syntax
Syntax of an ASCII request:
[<LF>]%R1Q,<RPC>[,<TrId>]:[<P0>][,<P1>,...]<Term>
Optional items are in brackets []. The angled-brackets <> surround names or
descriptions. These names have variable values depending on their types and
meanings. The angled-brackets themselves are not part of the transferred text.
Characters not surrounded by brackets are literal text and are part of the GeoCOM
protocol.
<LF>
%R1Q
<RPC>
TPS1100 - Version 1.05
An initial line feed clears the receiver buffer.
GeoCOM request type 1.
Remote Procedure Call identification number in
between 0 to 65535.
General Concepts of Using GeoCOM
2-2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents