SMAC
LAC-25 Technical Reference Manual
17
3. Entering Commands
Immediately after power-up, the LAC-25 is ready to accept commands. To verify this, you
can hit the ESC key. If everything is working properly, this should cause a greater than sign (">")
prompt to appear on your display. If not, you need to verify that the power and communications
connections are correct and verify the compatibility of the communications protocol.
Commands are entered via a "dumb" terminal or host computer such as a PC compatible.
Commands sent to the LAC-25 should consist of standard ASCII characters, and the command lines
should be followed by a carriage return. Linefeeds are not necessary since they are used for
formatting and therefore they are ignored. As characters are entered at the keyboard, they should
be echoed on your display. If your display echoes its own transmitted characters, you will want to
issue the Echo Off (EF) command; otherwise, the Echo On (EN) command (which is the default
mode) should be issued. If you enter an invalid command, the LAC-25 will respond with a question
mark "?" followed by a code indicating the type of error and the Status LED will begin to blink.
These codes are listed in Appendix A, LAC-25 Error Code Definitions.
If you make a mistake when entering a command, you can backspace to correct the error. If
you are entering commands and change your mind, hitting the ESC key will cancel the line and
give a new ">" prompt.
Once a command line has been entered and has finished executing,
hitting the RETURN
key will cause the same command line to be re-executed.
While a set of commands are
executing, hitting the space bar will cause command execution to pause until the space bar is hit
again. Also,
if the ESC key is hit during execution or pause, command execution will be
terminated,
and you will receive a new ">" prompt.
Command instructions are intended for use with the following syntax:
[Axis#]Command[Argument]<CR>
or...
[Axis#]Command[Argument],[Axis#]Command[Argument],...etc.
The axis number is normally specified as being from "1" to "2" with "0" being used to refer
to both axis' at the same time. Once an axis has been specified, the same one will remain in effect
until another is specified. For example, if the following were entered:
1SG100,SD500,SV1000000<CR>
or...
1SG100<CR>
SD500<CR>
SV1000000<CR>
the SG command specifies the axis number, so the subsequent SD and SV commands are
performed on the same axis. If the following command were issued:
0TP<CR>
it would have the same affect as issuing these commands:
1TP<CR>
2TP<CR>