Command Line Interface; Basic Programs; Managing Programs - Omron TJ1-MC04 - PROGRAMMING 1 Programming Manual

Hide thumbs Also See for TJ1-MC04 - PROGRAMMING 1:
Table of Contents

Advertisement

Trajexia system
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
PROGRAMMING MANUAL
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.
30

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tj1-mc16 - programming 1Tj1-mc04 1

Table of Contents