EasyManua.ls Logo

Topcon PC-CDU - Page 89

Topcon PC-CDU
96 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
81
clear Clears the
manual mode
window removing from it both the
issued commands and receiver replies.
default variable name
(@1…@9)
fol-
lowed by its default value
Defines the
default values
for those of the script arguments
that were not explicitly specified in the command line.
For example,
@default @1 a
sets the variable @1 to "a" unless this argument is already
defined in the command line.
disconnect Stops script execution, disconnects PC-CDU from the receiver
and closes the
manual mode
window. This is the same as
pressing the
'Disconnect'
button.
echo on
off
any character sequence
Turns
echo
on and off, or displays its arguments.
If echo is turned on, PC-CDU will be displaying all non-
empty lines entered in the script, specifically, PC-CDU com-
mands, receiver commands and the corresponding reply
messages. If echo is turned off, PC-CDU will be displaying
only replay messages preceding them with the ‘>’ character.
PC-CDU will not show @echo off and @echo on com-
mands. Default is ‘on’.
exit Stops script execution, disconnects PC-CDU from the receiver
and exists PC-CDU.
goto <label name> Jumps to the line following immediately after @:<label
name>
If PC-CDU can't find such a label in the script, this command
is just ignored and PC_CDU continues with the script.
Sends the argument to the receiver as is, without making
any substitutions. This string may contain escape sequences
in a C-like style to represent non-printable characters:
Sequence Value Character
\a 0x07 BEL
\b 0x08 BS
\f 0x0C FF
\n 0x0A LF
\r 0x0D CR
\t 0x09 HT
\v 0x0B VT
\\ 0x5C Backslash
\" 0x22 Double quote
\O any O - octal character code
\xH any H - hexadecimal character code
send <bytes to send>
With this command, you can send any
bytes to the receiver.
Example:
@send "#OFF#\r\n"
set 1) rate <new baud rate>
2) rtscts [on,off]
3) <variable> <value>
With these commands, you can handle both serial ports' pa-
rameters and PC-CDU's internal variables.
Example 1:
Suppose you have a script with the commands
….
@set @1 "a text"
@echo @1
….
When the script interpreter reaches the two commands, you
will
g
et the followin
g
re
p
l
y
:

Table of Contents