Trajexia system
PROGRAMMING MANUAL
30
Revi
si
on 3.0
2.5
Command line interface
The command line interface provides a direct interface for the user to
execute commands and access parameters on the system.
Use the Terminal Window in Trajexia Tools when the TJ1-MC__ is
connected. See section 5.5.4 for details.
The TJ1-MC__ puts the last 10 commands given on the command line in a
buffer. Pressing the Up and Down Cursor Key will cycle through the buffer to
execute the command again.
2.6
BASIC programs
The TJ1-MC__ can store up to 14 programs in memory, provided the
capacity of memory is not exceeded. The TJ1-MC__ supports simple file-
handling instructions for managing these program files rather like the DOS
filing system on a computer.
The Trajexia Tools software package is used to store and load programs to
and from a computer for archiving, printing and editing. It also has several
controller monitor and debugging facilities. Refer to chapter 5.
2.6.1
Managing programs
Trajexia Tools automatically creates a project which contains the programs
to be used for an application. The programs of the project are kept both in
the controller and on the computer. Whenever a program is created or
edited, Trajexia Tools edits both copies in order to always have an accurate
backup outside the controller at any time. Trajexia Tools checks that the two
versions of the project are identical using a cyclic redundancy check. If the
two differ, Trajexia Tools allows copying the TJ1-MC__ version to disk or
vice versa.
Programs on the computer are stored in ASCII text files. They may therefore
be printed, edited and copied using a simple text editor. The source
programs are held in the TJ1-MC__ in a tokenised form and as a result, the
sizes of the programs will be less on the TJ1-MC__ compared to the same
programs on the computer.
Storing programs
Programs in the TJ1-MC__ are held in the battery powered RAM memory
and are preserved during power off. This is similar to VR and TABLE
memory. The content of the program RAM memory is preserved when the
battery is in the TJ1-MC__. The programs are also preserved when
changing the battery, if this is done quickly. To preserve programs without
the battery for a longer period, the current programs must be copied to the
Flash memory of the controller using the
EPROM
command, and read back
during power up, which is determined by the
POWER_UP
system
parameter.
Program commands
The TJ1-MC__ has a number of BASIC commands to allow creation,
manipulation and deletion of programs. Trajexia Tools provides buttons
which also perform these operations, so the use of those commands is
normally not required in the programs.
/i
Command
Function
SELECT
Selects a program for editing, deleting etc.
NEW
Deletes the current selected program, a specified program or all programs.
DIR
Lists the directory of all programs.
COPY
Duplicates a specified program.
RENAME
Renames a specified program.
DEL
Deletes the current selected program or a specified program.
LIST
Lists the current selected program or a specified program.
I52E-EN-03.book Seite 30 Freitag, 29. Juni 2007 11:55 11