-

Assigning Ports in the GDS Port List

The assignment of ports to each other in a GDS Port List is done by simply selecting an entry in the corresponding columns using the Role Picker as follows:

Note
In Data Lists, Port Lists and variables tables, the selection in drop-down lists is done with a single-click, not with a double-click.

  1. In the table, left-click into the field where you want to assign a data item and which is showing the text 'Select ... here' or move the table cursor using the arrow keys or <Tab>/<Shift>+<Tab> to this table field and press <Enter>.

    The Role Picker appears. It is divided into a tree on the left and data items on the right. The Role Picker only provides data items for selection which match the data type for the assignment to be done.

  2. Select a folder in the tree on the left and then the data item on the right by clicking it or pressing the <Enter> key.

Note
The Role Picker retains your last selection as long as the editor has not been closed.

Use the following keys to navigate in the Role Picker:

Press the shortcut ... ... to ...
<Tab>/<Shift> + <Tab>switch between the folders on the left and the entries on the right.
<ArrowDown>/<ArrowUp>move the cursor down/up.
<Enter>
(focus on the right side)
select the currently marked entry, close the selection control and apply the entry to the table field.
<ArrowRight>/<ArrowLeft>
(focus on the left side)
expand/collapse the currently marked folder on the left.

Note
Ports may be of complex data types, such as arrays or structs. In this case, the Role Picker in the GDS Port List supports the selection of individual port members.
After disconnecting a port member it remains unconnected in the list and can be removed using the command on the toolbar. See topic "Ports of user-defined data types" for details.

The following rules apply when mapping ports in the GDS Port List and variables in Data Lists.

Use case 1: Both data types to be assigned are elementary data types...

Use case 2: both data types to be assigned are arrays...

Use case 3: both data types are structures

Use case 4: both data types are enumerations

Use case 5: both data types are user defined strings like STRING(20), StaticString20, WSTRING(20), StaticWString(20)

Use case 6: one data type is an array and one data type is an elementary of type OctetString[n] or Bitstring[n]

Use case 7: special handling of safe FDCML datatypes (i.e., safe process datum)

Use case 8: both types are user-defined types from the IEC domain or FDCML domain

Use case 9: Connecting structure (STRUCT) members using the Role Picker in the Port List

Data type mapping table: IEC 61131 - PLCnext - Fieldbus