Trajexia system
PROGRAMMING MANUAL
16
R
e
vi
si
o
n
1
.0
Note that no automatic processing of the I/O signals is taking place, except
for registration. This implies that all actions must be programmed in the
BASIC programs.
Relevant commands
Trajexia Studio provides several ways of executing, pausing and stopping
the programs using buttons on the control panel and the editing windows.
The following commands can be given on the command line to control the
execution.
/i
The user can explicitly allocate the task priority on which the BASIC program
is expected to run. When a user program is run without explicit task
allocation, it is assigned the highest available task priority.
Setting programs to run at start-up
Programs can be set to run automatically at different priorities when power is
turned on. If required, the computer can be left connected as an operator
interface or may be removed and the programs run stand-alone.
Programs are set in Trajexia Studio to run automatically at start-up by
setting the startup priority with the Priority property in the Properties window.
If you click the ellipsis button in the edit field of this property, the StartUp
Priority window shows. To set the program to run at power up, select the
Run at Power Up check box and select a priority in the list. Possible priority
values are Default or 0 (lowest priority) to 21 (highest priority).The current
status in the controller can be seen using the
DIR
command.
For more information on program control, multitasking and cycle times, refer
to sections 2.2 and 2.3 of the Trajexia Hardware Reference Manual.
Command
Function
RUN
Run the current selected program or a specified program, optionally on a
specified task number.
STOP
Stop the current selected program or a specified program.
HALT
Stop all programs on the system.
PROCESS
Displays all running tasks.