Changing the name of an instance

Carry out the following steps:

Step

Action

1

Select the Variables tab in the data editor.

2

Double-click on the instance name and enter the new name.

NOTE: The instance name can only be used once.

Changing the type of an instance

There are three options.

In the Data Editor select the Variables tab:

Double-click on the variable type and ...

then...

enter the desired type

use a Type from the list

select the desired type

click the button

select the appropriate type in the "Variables type selection" window

Changing the address of an instance

Carry out the following steps:

Step

Action

1

Select the Variables tab in the data editor.

2

Double-click on the instance address and enter the new address.

NOTE: Several different instances can be assigned to one address (multiple assignment).

Changing an attribute in the "Data Properties" field

Carry out the following steps:

Step

Action

1

Select the Variables tab in the data editor.

2

Select the desired instance.

3

Use the shortcut menu to select the Properties command.

4

In the Data properties field select the desired attribute.

5

Change the attribute.

Assigning an address for the CD_MOTOR1 instance (the variable is located):

Changing the attribute in several instances

Carry out the following steps:

Step

Action

1

Select the Variables tab in the data editor.

2

Select the desired instances.

3

Use the shortcut menu to select the Properties command.

4

Select the desired attribute in the Data Properties window.

5

Change the attribute.

NOTE: For this functionality the following restrictions apply:
  • names and addresses cannot be changed,

  • the contents of the attribute to be changed must be the same for all selected instances,

  • the change must be tolerated by all the instances selected,

  • for sub-element instances with different superior elements, multiple selections are not possible.

Example: As can be seen in the following graphic, the three instances have the same type and can be changed from Bool to Ebool.

Rule for instances of the type Structure

The internal organization of an instance of type structure (type, that belongs to the DDT family) cannot be changed via the instance, but rather via the type of the instance (DDT type tab).

In contrast, the changes listed above (instance name, type, address) are applied directly to the instances and do not affect the internal organization, only the instantiation of the type.