SMAC
LAC-26 Technical Reference Manual
4/29/2013 58
Command:
MG[[""][:n][:N]]
-- Display Message --
Argument:
0 <= n <= 511
This command allows for the display of
an
optional
text string
and
/
or
an
optional
register
variable with the additional option of inhibiting the carriage return / linefeed (CRLF) at the
end.
The
text
string
must be
enclosed
by
quotes
"""
and
may
be
up
to
127
characters
long.
Additional parameters must be separated by a colon ":" .
The
following
are
all
the
valid
examples.
Note
that
the
"N"
option
inhibits
a
CRLF.
Parameters must be given in specific order.
>MG ; Display CRLF only.
>MG"THE BLACK BEAR IS " ; Display "THE BLACK BEAR IS " followed by;
CRLF.
>MG0 ; Display contents of register 0 followed
; by CRLF.
>MGN ; This command displays nothing followed
; by nothing.
>MG"THE BLACK BEAR IS ":0 ; Display "THE BLACK BEAR IS " followed by
; the contents of register 0 followed by
; CRLF.
>MG"THE BLACK BEAR IS ":N ; Display "THE BLACK BEAR IS " followed by
; nothing.
>MG0:N ; Display the contents of register 0
; followed by nothing.
>MG"THE BLACK BEAR IS ":0:N ; Display "THE BLACK BEAR IS " followed by
; the contents of register 0 followed by
; nothing.
Command:
NO
-- No Operation --
This
command
does
nothing.
It
can
be
used
to
cause
short
delays
in
command
line
executions or to fill out commands (see Sequence Commands).
Command:
RT
-- Reset --
This
command
performs a
complete
restart
of
the
LAC-26,
including
restoration
of
a
l
l
default conditions, such as acceleration and velocity, and leaves all servo axis' in the "off" state.