7
.
Remote
Control
All models may be controlled over a serial interface. The transfer parameters of the serial
interface are fixed to 9600 baud 8N1.
7.1 Standard Mode
In
standard
mode
you
can
send
commands
and
parameters
to
the
device
in
text
format
and
the
device
answers
in
the
same
way.
The
answer
of
the
device
always
contains
comments
and
the
parameters
and
values
are
given
back.
This
mode
is
optimal
for
working
on
a
PC
using
any
terminal
program.
After
sending
a
character
you
will
receive
an
echo
of
your
input,
i.
e.
all
sent
characters
return
immediately.
All
characters
are
changed
to
upper
case.
All
inputs
have to be finished by
CR
to process the input;
CR
is also returned. If a command
returns a value, the answer is also finished by
CR
. No linefeed
LF
is added after the
CR
, but most terminals are able to generate this automatically. You may invalidate
any sequence by sending
Esc
. Single characters may be deleted from the buffer by
backspace
←−
. Between commands and their parameters you can insert as many
spaces as you want (no space is also okay). But note that the whole command line
must not be longer than 14 characters.
sent command:
LCT222.3
CR
every character is returned
received answer:
Laser Current Target: 222.3 mA
CR
verbose answer
7.2 Reduced Mode
The
reduced
mode
works
similarly
to
the
standard
mode.
The
difference
is
that
you
merely
receive
the
values
and
numbers
without
any
comment
or
unit.
sent command:
LCT222.3
CR
every character is returned
received answer:
222.3
CR
short answer
For a single command this mode can be reached by simply adding the prefix
R
. So
LCT222.3
would become
RLCT222.3
. To switch to this mode permanently use the
command
GMS32768
. The command
GMC32768
switches back to standard mode.
27