User guide

Chapter 2. Communication
41
Terminal Emulation
Once the operating system has been downloaded, an application program can be run on the
controller. The DOS Support Disk provides six terminal emulator programs to allow direct
communication with the controller (see table below).
Directory Terminal Emulator Program Name
FASTTERM FASTTERM.COM
MC6ØTERM MC6ØTERM.EXE
MC6ØTRMI MC6ØTRMI.EXE
QB45TERM QB45TERM.EXE
TC2ØTERM TC2ØTERM.EXE
TP5ØTERM TP5ØTERM.EXE
To initiate any one of the terminal emulator programs, simply change to the directory that
contains the terminal emulator program you wish to use, and type the name of the terminal
emulator program at the DOS prompt.
All of the terminal emulator programs, except MC6ØTRMI.EXE, provide the same interface to
the controller, and are all written in different programming languages. MC6ØTRMI.EXE
provides a terminal emulator interface to the controller; however, this program takes advantage
of the controller's interrupt capability. To use a terminal emulator program (i.e.
FASTTERM.COM, MC6ØTERM.EXE, etc.) to download a text file containing the 6000 Series
commands, simply invoke the terminal emulator program and press function key 1 (F1).
Downloading Application Programs from the DOS prompt (C:\>)
To use the DOWNLOAD.EXE program, place the display option, the address, and the text file
name on the command line (syntax is DOWNLOAD1 768
textfile.nme
). For a description of
the display options, type DOWNLOAD without any command line arguments.
Once a text file has been downloaded into the controller, the programs contained within the
text file can be initiated by either typing the name of the program when in a terminal
emulator, or by using the START.EXE program contained on the DOS Support Disk.
Example
For example, assume the text file MYPROG.TXT contained these three 6000 language
programs:
Program: apple Program: pear Program: peach
DEF apple
A1Ø,1Ø,1Ø,1ØØ
V1,1,1,1
D2ØØØØ,2ØØØØ,6ØØØØ,6ØØØØ
GO1111
END
DEF pear
A1ØØ,1ØØ,1ØØ,1ØØ
V1Ø,1Ø,1Ø,1Ø
D1ØØØ,1ØØØ,5ØØ,5ØØ
GO1111
GO11ØØ
GOØØ11
END
DEF peach
apple
pear
apple
pear
END
To initiate the program called peach after it has been downloaded via a terminal emulator,
simply type peach within the terminal emulator.
To download and initiate the program peach from the command line, or from a batch file,
simply state:
DOWNLOAD
<display option>
<device address> textfile.1 textfile.2 textfile.3 ...
START
<device address> program_name
e.g. DOWNLOAD1 768 MYPROG.TXT
START 768 peach
Display Options (
<display option>
)
Ø = No error messages will be displayed on screen.
1 = All commands and error messages will be displayed.
2 = Error messages only, if any, will be displayed.