Defining programs (loops), Creating programs, Renaming programs – Rockwell Automation T6200 Compressor Anti-Surge and Capacity Controller User Manual

Page 126: Opening programs, Copying programs, Moving programs, Description

Advertising
background image

Configuration

8-6


Defining Programs (Loops)

Press this button in the main window to open the program list.

The program list enables you to declare and manage the programs (loops) of your application. It
shows the list of all programs according to their execution order in the target.

Creating Programs

Press this button in the toolbar for creating a new program (loop)

Renaming Programs

Each program is created with a default name. You can change it by clicking on its name or by
pressing F2 and directly enter the new program name in the list It is possible to enter a description
at this time. The description must follow the program name, and be entered between "(*" and "*)"
separators. For instance:

MyProgram (*this is my program*)

Alternatively you can run the "Rename" command from the "File" menu to enter the program
name and its description through a dialog box.

Programs must have unique names. The name cannot be a reserved keyword of the programming
languages and cannot have the same name as a standard or "C" function or function block. A
variable should not have the same name as a declared variable The name of a program should
begin by a letter or an underscore ("_") mark, followed by letters, digits or underscore marks. It is
not allowed to put two consecutive underscores within a name. Naming is case insensitive. Two
names with different cases are considered as the same.

Opening Programs

Press Enter or double click on a program to open it with the FBD editor.

When a program is open, it is marked with a small red sign in the list. An open program cannot be renamed or deleted.

Copying Programs


Use the "File / Copy" command for duplicating the selected program. Copy cannot be used for
erasing an existing program. You must enter a new name for the destination of the copy.

Moving Programs


Commands of the "Edit" menu allows you to move a program in the list. Remember that the order
shown in the list directly corresponds to the execution order of programs at run time.

Description

Each program may have a multi-line description text. You can edit this text by running the "Edit /
Description" command. This command is also available when you edit the program.



Advertising