iCube Controller as an OPC UA server to a Matrikon OPC UA Explorer client
| Version Number | Description |
|---|---|
| 1.0 | Initial version, explains how to setup OPC UA communication between Matrikon OPC UA Explorer and the iCube controller |
|
|
|
1. Supported Components
| Component Name | Version |
|---|---|
| iC9200 series | ≥ 2022.9.1 |
| iCube Engineer | ≥ 2022.9 |
2. Solution details
2.1 Install Matrikon OPC UA Explorer fromhttps://www.matrikonopc.com/opc-ua/products/opc-ua-explorer.aspx
2.2 Setup iCube Engineer for OPC UA
- In iCube Engineer create a new project from a template and navigate to the OPC UA section that is under the PLANT window.
- Verify OPC UA settings
- Basic Settings:
- Change the DNS name to the IP address of the controller.
- Set the Visibility of the variables to "Marked"
- Security:
- Discovery server:
- File System:
- Create variables and set them as OPC
- Create 4 Temp variables, with different datatypes, in the PLC list and set them as OPC
- Download the project and run on the controller
2.3 Setup Matrikon OPC UA Explorer
- Open Matrikon OPC UA Explorer
- Add a New Server
- Connection Method:
-
Discovery
- Hostname/IP = "IP address of the controller" i.e "192.168.1.1"
- Port = 4840
-
Discovery
- Search for available connections :
-
Select "AES256_Sha256_PsaPss - Sign & Encrypt"
- Server Information will populate automatically:
- Under Authentication select "User Details" and use the controller "admin" account information to connect
- Once connected you will see the Data View of Matrikon OPC UA Explorer
- Under the "Address Space" window open the
Objects--> PLCnext-->Arp.Plc.Eclr folder
- Double click to expand folder
- Drag and drop the variables from the "Address Space" into the "Data View"
- Do not drag and drop the Structure Var, folder, otherwise it will add all of the element data to the data view.
- Structures turn into folders which can be expanded to add elements to the Data view
2.4 Modify OPC UA variable values
- In Matrikon double click on the value and change the value to an allowed value
- The variables will change in iCube Engineer
- In iCube Engineer change the values of the OPC variables
- The variables will change in the data window of Matrikon OPC UA Explorer