Performing OPC UA Adapter Offline Configuration
Scenario: You want to prepare the OPC UA configuration in offline mode by importing JSON files and editing configuration data in the SORIS OPC UA Configurator tool.

The offline configuration can address special configuration requirements. Performing online engineering is recommended instead if you want to work with OPC UA online data.
Workflow diagram:
Prerequisites:
- For customized object models only:
- You created the required customized OPC UA object models. For instructions, see Creating and Configuring an Object Model.
- You set the Alarm.AlarmDPE property for the OPC UA custom object models that you want to have alarms. For more details see OPC UA Library Customization.
NOTE: The configuration of the Alarm.AlarmDPE property must exactly match the configuration in the OPC_UA_HQ_1 library. - You exported the customized OPC UA object models. For instructions, in SORIS, see Export the Object Model.
- You copied manually the exported object models (OWL files) to \AdditionalSW\OPCUA_Configurator\DataModels and \GMSMainProject\AddSW\OPC_UA_Client\DataModels folders.
- A JSON file for each OPC UA server you want to configure is available at SORIS OPC UA Adapter\Configurations.
Steps:
1 – Start SORIS OPC UA Configurator
- In the AdditionalSW\OPCUA_Configurator folder of the software distribution available locally or on the installation DVD, double-click OPCUA_Configurator.exe.
- The SORIS OPC UA Configurator page displays.
2 – Import and Adjust Configuration Data
- Click Import Configuration.
- In the In the Open dialog box, do the following:
a. If not automatically opened to the folder \\SORIS OPC UA Adapter\Configurations, browse to reach the desired folder.
b. Select the required JSON file.
c. Click Open.
d. Click OK. - The configuration of the selected file is loaded.
- If required, do one or more of the following:
- Adjust the imported configuration. For instructions, in the online engineering procedure, see step 4 – Set the OPC UA Configuration.
NOTE: If working with multiple OPC UA servers, for each OPC UA server, import the specific JSON file, adjust the configuration, and save the changes. - Adjust the points advanced configuration. For instructions, see Setting the OPC UA Advanced Configuration.
NOTE: Any changes to this configuration is then saved to the AlarmTable.conf file.
3 – Save the Changes
To save the current settings to a file, do the following:
- In the OPC UA Settings section, click Save Configuration.
- The Save as dialog box opens to the destination folder: \\SORIS OPC UA Adapter\Configurations.
- Do one of the following:
- To save the setting in a new JSON file, enter a new file name.
- To save the setting in an existing JSON file, select it.
- Click Save.
- Click OK.
- If you saved the settings to a new file, a new JSON file is created in the destination folder. If you saved the settings to an existing file, this JSON file is overwritten. This configuration will be then discovered in Desigo CC through the OPC UA adapter.
NOTE: A JSON file is created or updated for each configured OPC UA server. When working with multiple OPC UA servers, configure and then save each configuration to the specific JSON files. Furthermore, each time a JSON file is saved, the AlarmTable.conf file is re-created and includes the latest alarm configuration (points advanced configuration).