User Program View - Emerson Control Techniques FM-4 Reference Manual

Programming module
Table of Contents

Advertisement

User Program View

Click on Programs\Program#, the program view will appear on the right (see Figure 121). The left side (pane) of this view
contains the program instructions. The right side of the Programs view contains the Program Toolbar above the program code
area.
Figure 127:
Programs View
Program Name
This parameter (Program.#.Name) is a 12 char acter string that the user can assign to an individual program. It allows the user
to give a descriptive name to programs for ease of use.
Program Number
This spin box allows the user to create additional programs. Unlike the motion views, to get to Program1 you must use the
arrows of the spin box.
Task Number
This parameter (Program.#.TaskNumber) allows programs to run simultaneously. To run one program (for example,
Program1) while another program (Program0) is executing, Program0 will be set for Task Number 0 and select Program1,
click on the up scroll arrow of the Program Number to Program 1 then click on the up arrow of the Task Number to number 1.
Use the up and down arrows next to the Task Number to change the Task Number. To create a new Task, simply click on the
up arrow until PowerTools Pro asks if you wish to create a new Task. The maximum number is up to four different tasks in
a single application.
If the user wishes to operate two programs simultaneously, the two programs must be assigned to two different tasks. Multiple
programs can be assigned to the same task if desired, but that means that the two programs cannot be run at the same time. If
a given program calls another program, then the calling and the called programs must be on the same task. All programs
default to task zero and therefore will not run simultaneously unless specified to do so.
Programming
145

Advertisement

Table of Contents
loading

Table of Contents