You are on page 1of 4

Directory

Purpose:
List of file catalog in memory.
Syntax:
O
<dir>
C
{Stn, Gdt, CU}
Comments:
<dir>Is the dir argument. 'I', 'M', 'U' and '*' areused. If <dir> is set to '*'
the file catalogfor all directories is output.
Return:
<lbl>=<file><etx> <lbl>=<dta><etx><eot>or<status><etx><eot>
Examples:
OMCFile catalog of all Job files in the JOB-directory.O*CFile catalog of all fil
es in the memory.
3.19
DATA COMMUNICATION PART 3 SERIAL COMMANDS
Kill
Purpose:
Delete files in memory.
Syntax:
K
<dir>[=<file>] {Stn, Gdt, CU}
Comments:
<dir>Valid directories for all devices are M, I and U.For Geodat is also D valid
. If the file isomittedall files in the directory will be deleted.If the directo
ry is given a wildcard * the entirememory will be deleted.<file>The file entry i
s the name of the specific file tobe deleted.
Return:
<eot>or<status><etx><eot>
Examples:
K*Delete entire memory.KIDelete all area files.KM=LOTDelete JOB named LOT.
3.20
DATA COMMUNICATION PART 3SERIAL COMMANDS
Load
Purpose:
Load Memory. Data according to the standardformat can be loaded into the memory
device.
Syntax:
L
<dir>=<file>{Stn, Gdt, CU}
L
<dir><prot>=<file>{Stn, CU}
LD
{Gdt}
Comments:
<dir>Is the dir argument. 'I', 'M', and 'U' are used.<file>Is the name of the fi
le (max 15 characters). Thefile name is case sensitive.<prot>Is the protocol num
ber.
Return:
<*>When this is received transmission of datacan start.or<status><eot>If an erro
r occurs.
Details:
The transmission can start after the commandis sent and the prompt <*> is send b
ack from the device. Thedata shall be in the Geodimeter standard format. The tra
ns-mission is ended by the EOT character. The EOT is given inF79 for Geodimeter
and CU, and as protocol parameter 16in Geodat.

Examples:
LI=LOT6The area file LOT6 is created and can beloaded when the prompt * is recei
ved fromthe device.LU=15U.D.S program 15 will be loaded intoGDM or CU.LDLoads th
e protocol file into Geodat.

3.21
DATA COMMUNICATION PART 3SERIAL COMMANDS
Purpose:
Check for free memory.
Syntax:
M[G]
{Stn, Gdt}
M[R]
{CU}
Return:
<number of bytes left><etx><eot>or<status><etx><eot>
Examples:
CommandReturnM31654Bytes left in memoryMG3165
DATA COMMUNICATION PART 3SERIAL COMMANDS
Purpose:
Change measuring mode.
Syntax:
PG,3=
<arg>{Stn}
Comments:
<arg>0STD-mode1TRK-mode2D-bar mode3FSTD-mode4D-bar mode, high resolution
Return:
<eot>or<status><etx><eot>
Details:
The command will work whether the instru-ment is locked on a target or not.
Examples:
PG,3=0Change to STD-modePG,3=1Change to TRK-modePG,3=2Change to D-bar modePG,3=3
Change to FSTD-modePG,3=4Change to D-bar mode, high resolution
DATA COMMUNICATION PART 3 SERIAL COMMANDS
Purpose:
Output from memory.
Syntax:
O
<dir>=<file>{Stn, Gdt, CU}
O
<dir><arg>{Stn, Gdt, CU}
O
<dir><prot>=<file>{Stn, CU}
OD
{Gdt}
Comments:
<dir>Is the dir argument. 'I', 'M', and 'U' are used.<file>Is the name of the fi
le (max 15 characters). Thefile name is case sensitive.<prot>Is the protocol num
ber.<arg>Is the argument field. One argument can beused, 'C'. The 'C' argument w
ill give anoutput of the file catalog.
Return:
<lbl>=<dta><etx> <lbl>=<dta><etx><eot>or<status><etx><eot>
Examples:
OM=A45Job file A45 is send out.OU=3U.D.S program no 3 is output.
DATA COMMUNICATION PART 3 SERIAL COMMANDS

Purpose:
Position the Station unit with servo.
Syntax:
WS
=<servo command>{Stn}
Comments:
<servo command>The servo command is divided in the following parts:<cmd><ang><to
l>[<ang><tol>]<cmd>PTells Geodimeter to perform a positiontask, to given angles
in horizontal and/orvertical. The angles can be given either viathe instrument k
eyboard or by the serialcommand
Write (WG)
. Enterthe labels 26and 27 with the correct values and then usethe WS command to
perform the positio-ning.<ang>HHorizontal positioningVVertical positioning<tol>
nnPositioning tolerance, given in cc (0-99).Tolerance=0 means no tolerance given
,typical accuracy is 2cc if set to 0.
Return:
<eot>or<status><etx><eot>
Examples:
WS=PH05V10Position horizontal with 5cc accuracyand vertical with 10cc accuracy.W
S=PH01Position horizontal with 1ccaccuracy.WS=PV15Position vertical with 15cc ac
curacy.
DATA COMMUNICATION PART 3 SERIAL COMMANDS
Read
Purpose:
Read Station unit or Control unit. Read of measured data or data in specific lab
els.
Syntax:
RG
=[<arg>][
,
<lbl>]{Stn}
RR
=[<arg>][
,
<lbl>]{CU}
Comments:
<arg>[S]Standard outputNName outputDData outputVNumeric output item by itemTTest
if signal from target. 300 is returnedif NO signal. 301 is returned if signal.<
lbl>If a label is given, the contents of that label isreturned. When omitted mea
sured data is re-turned.
Return:
<status><etx>Standard output<lbl>=<dta><etx>e.t.c....<eot>or<status><etx>Name ou
tput<lbl name>=<dta><etx>e.t.c....<eot>or<status><etx>Data output<dta><etx>e.t.c
....<eot>or<status><etx>Numeric output<lbl><etx><dta><etx>e.t.c....<eot>
or<status><etx>Message or<eot>Meas signal testor<lbl><dta>Specific label<eot>or
<lbl name><dta><etx>Specific label<eot>with nameor<dta><etx>Specific label<eot>o
nly dataor<lbl><etx>Specific label<dta><etx>numeric<eot>
Details:
When read of measure data, the output isdependent on how the output table in the
Geodimeter is set.See Geodimeter User Manual for detailed information.
Examples:
CommandReturnCommandReturnRG0RGN,5Pno=1047=10.23458=101.1005RGN09=145.324HA=10.2
345VA=101.1005RGD0SD=145.32410.2345101.1005RGV0145.324710.2345RGT3018101.1005RG,
55=1049145.324
DATA COMMUNICATION PART 3 SERIAL COMMANDS
Trig
Purpose:
Start of distance measurement in Station unit

Syntax:
TG
[<arg>]{Stn}
Comments:
<arg>Is the argument for short range '<' or longrange '>' measure. The '<' is de
fault and need not to beentered.
Return:
<eot>or<status><etx><eot>
Examples:
TG or TG<Start of short range measureTG>Start of long range measure
DATA COMMUNICATION PART 3 SERIAL COMMANDS
Write
Purpose:
Write data into the Station unit or Controlunit. All labels that can be set by t
he functionkey in the system can be written.
Syntax:
WG,
<label>=<data>{Stn}
WR,
<label>=<data>{CU}
Comments:
<label>0-99<data>Maximum 9 digits for numeric type labels, andmaximum 16 charact
ers for ASCII type labels.
Return:
<eot>or<status><etx><eot>
Examples:
WG,5=10 Label 5 set to 10 in Station unit.
DATA COMMUNICATION PART 3STATUS DESCRIPTION
Status description
DescriptionValue
0 Instrument operating correctly, all required dataare available.
3 The measured distance has already beenrecorded. A new distance measurement isr
equired.
4 Measurement is invalid and recording notpossible.
5 Recording is not possible with the selected modesetting of the Geodimeter inst
rument.
10 No device connected
20 Label error. This label cannot be handled by theinstrument.
21 Parity error in transferred data (betweenGeodimeter and interface).
22 Bad or no connection, or wrong deviceconnected.
23 Time Out
24 Illegal state to execute command. Occurs whentrying to communicate in C2-posi
tion.
30 Syntax error.
35 Data error.

You might also like