The variables for the data originating from the remote source are declared in the
global variable list <name of data source>. The global variable list acts as a data interface to the remote PLC. The object
is located below the application and below the “DataSources_Objects” folder.
|
“Update variables” |
Establishes a connection to the remote device and opens the “Choose Variables” dialog. |
|
“Local variable” |
Variable in the local application. Contains the remote data. |
|
“Access rights” |
Access rights of the variables. The respective remote variable has the same access rights.
Note: If you change the access rights, then a download is required for the change to go into effect. |
|
“Update always” |
Note: This is the recommended setting type.
Note: Select the option only when the variable is used exclusively in IEC code. If a variable is used in the visualization code, then it is updated automatically. Note: When an instance of a function block or a data type is updated in this way, the instance is always transferred completely. |
|
“Create or map” |
Mapping type for how the remote variable is mapped to the local variable.
|
|
“Type mapping” |
Data type of the remote variable. If the variable is not a scalar type, then the type is listed on the “Type Mappings” tab. |
|
“Remote variable” |
Variable in the remote PLC |
Dialog 'Choose Variables'
Symbol: 
Function: The dialog lists the remote variables that are accessed by means of the configured connection.
Call: “Update variables” command on the “Variables” tab.
Requirement: The remote PLC is running. The control application is downloaded.
|
“Variables” |
The remote variables are listed in the tree view. The top node is identified by the remote application name. Its variables are listed below that. Structured data is listed with all of its subordinate elements. Example:
Red font: When a variable is displayed in a red font, the variable is not available (anymore) in the remote PLC. Note: You can click “Uncheck unavailable variables” to remove the variable from the list.
|
|
|
The variable has expandable elements. By clicking the symbol, the variable is extended by their elements. |
|
“Insert the items structured” |
|
|
“Uncheck unavailable variables” |
Requirement: The link is visible when previously are no longer available in the variable available on the remote PLC. These variables are marked in red in the window above. The symbol configuration or the application presumably changed in the remote PLC. By clicking the command, the red variables are removed from the list box. |
: Write access. Every time the values changes, the variable is updated on the controller.
: Read access. Every time the values changes on the controller, the variable is updated
in the application.
: Read/Write access
: The controller data is updated automatically (via the data source). A variable is
updated automatically if it is used in the visualization, trend, recipe, or as an
alarm.
: The variable is updated in each cycle.
: Mapping to a specific created variable with the data type of the remote variable.
The control data is mapped 1:1. That is the recommended mapping type. The variable
is declared in the GVL
: Mapping to an existing variable. This requires that the existing variable has the
same data type.
: Mapping to a specific created variable with type-conforming data type to the remote
data type: remote and local data types are not the same, but compatible. For example,
a type-conforming data type can be available in a library. The variable is declared
in the GVL 