At a Glance

The I/O tab is used to facilitate the management of located variables in an automation project using Control Expert.

For information on the different possible actions, refer to the pages describesing this tab for:

A description of the main procedures for carrying out these actions is given below.

How to Display Required Objects

The following table shows the procedure for displaying a list of objects associated with a processor, module or communication bus device.

Step

Action

1

In the CPU objects area or I/O objects area, check the boxes of the objects you want to display (%S, %SW, %MW, %CH, %M, %MW, %I, %Q, etc.).

Note: The Select All and Deselect All buttons can be used to check or un-check all boxes.

2

In the Update area, click Update Grid with....

Result: the Address Name Type Comment area is updated and displays all the selected variables available on the processor, module or current bus device.

Note: When searching for names, it is possible to cancel an update in progress by clicking Cancel.

How to Select an Object

The following table shows the procedure for selecting an object associated with a processor, module or communication bus device.

Step

Action

1

In the Address Name Type Comment area, click the line of the object to select.

Result: the line appears in reverse video, and the Create I/O variable area becomes accessible for modules and communication bus devices, for creating a variable associated with the selected line.

Note: If the Address Name Type Comment area is empty or contains no object to select, see the section How to Display Required Objects.

How to Create a Variable for an Object

The following table shows the procedure for creating a variable for a module object or communication bus device object.

Step

Action

1

In the Address Name Type Comment area, click the line of the object to select.

Result: the line appears in reverse video, and the Create I/O variable area becomes accessible for modules and communication bus devices, for creating a variable associated with the selected line.

Note: If the Address Name Type Comment area is empty or contains no object to select, see the section How to Display Required Objects.

2

In the Create I/O variable area, select the type of variable to create (if available).

Note: When the variable is an EDT type (such as DINT, INT, BOOL, EBOOL type variables) or when the available IODDT is unique, the choice of type is not available.

3

In the Create I/O variable area, enter the name of the variable to be created.

4

In the Create I/O variable area, enter the comment for the variable to be created.

5

In the Create I/O variable area, click Create.

Result: a new variable is created, which is associated with the object selected in the Address Name Type Comment area.

How to Select a List of Objects

The following table shows the procedure for selecting several objects associated with a module or communication bus device.

Step

Action

1

In the Address Name Type Comment area, click the left column (gray column of object numbers) on the first object to select.

2

Hold down the mouse button and slide the cursor down to the last element to select.

Result: the list of selected objects appears in reverse video.

How to Create Variables Associated with a List of Objects

The following table shows the procedure to create variables associated with several homogenous objects from a module or communication bus device.

Step

Action

1

In the Address Name Type Comment area, click the left column (gray column of object numbers) on the first object to select.

2

Hold down the mouse button and slide the cursor down to the last element to select.

Note: If the Address Name Type Comment area is empty or contains no objects to select, see the section How to Display Required Objects in order to select a contiguous list of objects to select.

3

In the Create I/O variable area, select the type of variable to create (if available).

Note: When the selected variables are of EDT type (such as DINT, INT, BOOL, EBOOL type variables) or when a single IODDT is available, the choice of type is not available.

Caution: if heterogeneous (not of the same type) objects appear in the list, the creation of variables will not be available. You must therefore select a list of homogenous objects.

4

In the Create I/O variable area, enter the prefix to be associated with all selected objects.

Note: This prefix will be associated with a number to form the name of each variable. The first object will be number 0, the second 1, the third 2, etc.

Example: if you enter the prefix Valve, the created variables will be: Valve0, Valve1, Valve2, Valve3, etc.

5

In the Create I/O variable area, enter the prefix of the comment to be associated with all selected objects.

Note: This prefix will be associated with a number to form the comment for each variable. The first object will be number 0, the second 1, the third 2, etc.

Example: if you enter the prefix Comment, the created comments will be: Comment0, Comment1, Comment2, Comment3, etc.

6

In the Create I/O variable area, click Create.

Result: the new variables are created and appear in the Address Name Type Comment area.

How to Access Data Properties

The following table provides a step-by-step procedure for accessing the Data Properties window from the I/O tab.

Step

Action

1

In the Address Name Type Comment area click on the variable whose properties you wish to display.

2

Right-click on Properties.

Result: the Data Properties window is displayed.

Once it is open, this window displays the properties of the variable selected in the Address Name Type Comment area.

Frequently Asked Questions

Below is a list of the most commonly asked questions you may have on the use of the I/O Objects tab.

Question

Answer

How can I sort the objects list into alphabetical order in a column?

Simply click on the name of the column to be sorted.

How can I display the variables and objects used in my project?

The variables and objects used in a program appear in bold and the others are not yet used.

How can I filter the objects in the Address Name Type Comment area?

Use the check boxes of the Update area.

Why are the Address Name Type Comment or Address Name Type State RAM Comment areas empty?

Possible reasons include:

  • You have not yet updated the area by clicking Update Grid with....

  • You have not yet checked the boxes in the CPU Objects or I/O Objects areas.

  • No object for which the boxes are checked appears in this module, processor or communication bus device.

Why is the Quantum State RAM column empty?

Possible reasons include:

  • The Address Name Type State Ram Comment area is empty, refer to the previous question.

  • The elements displayed are not associated with State RAM.

Why is variable creation not available?

Possible reasons include:

  • You are in the processor, and it is therefore impossible to display the objects.

  • You have selected a list of heterogeneous objects, and it is only therefore possible to create lists of variables for objects of the same type.

  • You have selected an object that is already associated with a variable. You must go into the data editor to delete this variable, in order to create another.

  • You have selected a list of objects of which at least one is already associated with a variable (see previous point).