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. |