For data exchange between your local device and a remote device, add a “Data Sources Manager” object and then a “Data Source” below your application in the device tree. A wizard guides you through the configuration of the data source. Afterwards, you can change the settings at any time in the editor of the object. However, it is not possible to modify the data source type later.
Use the “ CODESYS Symbolic” data source type unless there are no resources available in the remote PLC for a symbol configuration. As long as the symbol configuration in the remote device is not impacted by an application change, you have the advantage that the application in the local device does not have to be updated.
When adding a data source, select a data source type. Then specify the connection settings of the point-to-point connection to the remote device. Ideally, the remote device is running during this time and CODESYS can immediately establish the connection to it. Then all available data source variables from the remote PLC are displayed. Select the variables that should be transferred. You can also select all variables. Then the data source is initialized automatically, the data source variables are created below the “DataSources_Objects” folder, and another data source is added below the data source manager.
If the data is transferred using symbolic monitoring and the symbol file is stored on your development system, then you can read the variable information from the symbol file and work offline. The symbol file is stored either as a file on your development system or as a symbol configuration object as part of your project (in CODESYS).
The initial settings can be changed at any time in the data source editor.
-
See also: ⮫ Data Sources Manager
-
Initially connecting devices symbolically via CODESYS V3
-
Initially connecting devices symbolically via 'CODESYS V3 (via gateway)'
-
Initially connecting devices symbolically via CODESYS V2
-
Initially connecting devices symbolically via 'CODESYS V2 (via gateway)'
-
Initially adding data source variables from a symbol file
-
Initially adding data source variables from a symbol configuration
-
Initially connecting devices with address monitoring