Application Guidelines
Batch Up/Download Overview
076R172-000
SpectraComm ADT
A-9
Issue 2
Installation and Operation Manual
Command Recall
There are two ways to recall previously entered commands:
•
Arrow UP Recall
Use the
Arrow Up
key to recall previously entered commands in reverse order.
Use the
backspace
key to edit the command string, if needed.
Press
Enter
to execute the command string.
•
Command History Recall
Type
show history
to display a numbered history of the previous 20 commands.
At the command prompt, type
!
[##]
where
##
is the history screen line number of the
desired command.
Batch Up/Download Overview
For advanced users with SUPERVISOR mode enabled, there is a
batch
feature available to
simplify configuring (or re-configuring) multiple SC-ADT units. This feature allows the user to
upload an ASCII text batch script from a pre-configured SC-ADT via the TFTP
get
operation.
Use the
show config
command to view the batch script that would be generated from the
SC-ADT for a subsequent TFTP upload. This text file may be modified and/or downloaded to the
same SC-ADT or another SC-ADT via TFTP in ACSII mode.
A batch script file may also be created by a text editor (NotePad) and then downloaded from
terminal emulation program (i.e., MS HyperTerminal) at the CTRL interface. Users can initially
setup the SC-ADT from a predefined configuration file, rather than entering one command at a time.
Special Considerations for Batch Files
•
You must be in SUPERVISOR mode to execute a batch file, since batch script files use the
configure
command.
•
You must be in ADMIN mode if the batch script file contains user accounts configuration.
•
The downloaded batch script file will reside in the batch queue. The following commands can
then be used on the file:
•
Use the
batch show
command to view the batch script file in the batch queue.
•
Use the
batch run
command to execute the batch script file in the batch queue.
•
An execution of the
batch run
command will terminate at any invalid command string.
All commands executed up to that point will be in affect.
Batch Download Procedure
1. To use batch download, make a plain text file (using Notepad) with the first and last lines as:
batch begin
batch end
2. Between the
begin
and
end
lines, type valid SC-ADT commands along with all
arguments.
3. To use the batch download feature, set the file transfer settings of the terminal emulation
program to wait for remote character echo. Set Line Termination to
CR
and Line Terminating
Timing to
1 mSec
.
4. Enter SUPERVISOR mode or ADMIN mode and activate the file transfer.
5. When the
ADT-16#
prompt returns to the screen, type
batch show
to view the
downloaded commands. If desired, type
batch run
to execute the file.
Summary of Contents for SpectraComm ADT 16-Port
Page 75: ......