Importing Third-party OPC Server Data
Scenario: You are configuring Desigo CC to integrate a third-party OPC device, and you want to import the device configuration data (third-party OPC servers) from a CSV file into the OPC network. For background information, see OPC Items Import and - Field Data Import.
- You prepared an OPC Devices Configuration file (CSV) for the device you want to integrate. See Preparing the CSV Configuration Files for the Third-party OPC Server.
- You configured the OPC driver and OPC network and the driver is running. See Configuring Third-party OPC Client Connectivity.
- System Manager is in Engineering mode.
- System Browser is in Management View.
- To speed configuration, make sure the Desigo CC Transaction Mode is set to
Simple
or the Automatic Switch of Transaction Mode is set toTrue
.
The automatic switch setting is recommended. Without it, to re-enable the logs, you need to set the Transaction Mode toLogging
at the end of the configuration procedure.
- In System Browser, select Project > Field Networks > [OPC Network].
- In the Import tab, click Browse.
- The Open dialog box displays.
- Navigate to and select the device configuration file (CSV).
- Click Open.
- By default data structures are imported into Management View.
- (Optional) In the Hierarchies Mapping expander, define destination in other system views of the data structures (hierarchies contained in the configuration file). The suggested field indicates the correct view root to link for each specific hierarchy. To assign each hierarchy to a destination view, proceed as follows:
a. Select the Manual Navigation check box to retain the Import tab.
b. From the System Browser Views drop-down list, select Logical View.
c. Drag the logical view root node from the System Browser tree to the suggested field.
d. From the System Browser views drop-down list, select a user-defined view.
e. Drag the user-defined view root node from the System Browser tree to the suggested field.
- The hierarchies settings configured are activated and will be applied during the OPC items configuration import.
NOTE: If you configure the hierarchies mapping, and the [Logical Hierarchy] and [User Hierarchy] fields are not defined in the CSV configuration file, data structures will not be imported into the logical view and user-defined view.
- Transfer the OPC server items to import from the Source Items list to the Items to Import click .
- (Optional) Select the Delete unselected items from the Views check box to remove from the views—during the import—any items that are not present in the file to import.
- Click Import and click Yes to confirm.
- The Import tab displays the Import in progress page. When the import completes successfully, the Import dialog box displays its outcome.
- Click OK to close the dialog box.
- The imported third-party OPC servers are added to System Browser.