Specifications

SECTION 7 INTELLIGENT SOFTWARE
37
THE FOUR PROGRAMS
There are four different program areas available. These are the Main
Program, Program 1, Program 2, and Program 3. When running the Driver
Pack, these programs can run simultaneously. They have access to the same
set of registers, and can affect the other program with some of the appropriate
commands. This allows a programmer to write sophisticated routines that
would not be possible with other similar products.
MAIN PROGRAM
This is area where most programs will reside. When a program is started by the Menu Item START, or
powered up after setting the Autostart Flag, the Main Program will start running. At this point, the other 3
program areas will be idle. There are commands that can start the other three programs. The program
can be 1000 lines or longer, depending on the type of commands used and the space used in the other
programs.
PROGRAM 1, 2 and 3
These are the secondary programs that will run concurrently with the Main Program.
The user must enter a Branch Quit statement in all Programs 1,2, & 3 before sending/ compiling the Main
Program.
MULTITASKING
The word multitasking in this context means that four programs can run at the same time. This use of the
multitasking environment will allow PLC-like functions to be programmed into this unit. One example
would be to turn an output on for one second whenever an input goes on. To do this with standard
sequential programming, the programmer would constantly have to check for that input, while the program
is still doing all that it has to do as well. This can often overburden the program so that another module
has to be purchased to do that function. With the multiple programs available in this unit, it is like having
four separate modules all wrapped up into 1. With this unit, that program can be put into Program 1, 2, or
3. This off-loads the Main Program from having to continuously check for that condition.
ADDING, INSERTING, CHANGING OR DELETING A COMMAND
To add a command to the program, select the appropriate choice from the main screen –
ADD, INSERT, CHANGE or DELETE.
ADD: This command allows the user to place additional commands at the bottom of the program.
INSERT: This command allows the user to insert additional commands at the cursor location.
CHANGE: This command allows the user to change commands at the cursor location.
DELETE: This command allows the user to delete commands at the cursor location.