iCube Controller OPC UA communication without security setting
| Version Number | Description |
|---|---|
| 1.0 | Initial version |
|
|
1. Supported Components
| Component Name | Version |
|---|---|
| iC9200 series | ≥ 2024.9 |
| iCube Engineer | ≥ 2024.9 |
2. Solution Details
2.1 Introduction
This Application note aims to provide a step-by-step procedure to establish OPC UA communication with the iCube controller as an OPC UA server with no security policies. This is beneficial in cases where the OPC UA client is not required to use any security policy.
For general purpose where security policies are required, the user should follow Application Note:
How to establish OPC UA communication between HMI Designer(Client) and iC9200 Controller(Server)
2.2 Disable User Authentication from iCube controllerWBM.
- Log in to the controller WBM as admin.
- Go to the Security tab and under it click on User Authentication.
- Click on Enable/Disable button and unselect the User Authentication. And then save the changes.
- Apply the changes and reboot the controller.
2.3 Setup iCube Engineer for OPC-UA with no security policy.
- In iCube Engineer create a new project from the template and navigate to OPC UA section under the Project tree. In the Basic Setting section of the OPC UA Server setting change the settings as follows.
- Set the Security settings of the OPC UA server settings.
- No other Server settings have to be changed
-
Create variables and enable OPC to share the variables on the OPC UA Server
- Write and Start the Project.
2.4 Establish the OPC communication from the OPC UA client.
In this section, HMI Designer is used as an OPC UA client is used to show the steps required.
- Open the HMI designer and create a new project.
- Go to the Protocols tab under Configuration and add OPC UA client protocol.
- Provide the OPC UA server information in the pop-up.
- Save the changes by clicking on OK.
- Go to Tags tab and click on import dictionary.
- Select Hierarchical type and click ok
- Import the tags using Full Browse.
- Accept the Server Certificate.
- The OPC variables created in the iCE project are available, select and press OK to import these tags.
- Double-click on the tags to import them into the project.
- To test the communication add 2 widgets and link the tags imported. Save the project and run the simulation.
The communication is working as shown: