I’ve been trying to activate OPC UA Client on the Controller which is programmed using APROL. I’ve followed the instructions at
[B&R Online Help]
[How to communicate two controllers thought OPC UA]
[Communication Between Robot and B&R PLC]
But, for some reason, my efforts so far have been unsuccessful.
Server Details:
IP: 192.168.222.1:4840
Sec. Policy: Basic256Sha256
Sec. Mode: Sign and Encrypt
Username / Password: Are known
Accessing the server (which is neither a BuR controller nor an APROL server) using UA Expert works fine.
Connection Data:
Reading/Writing Data:
On CaeManager, I’ve a 1586-Controller. Here the relevant settings:
OPC-UA System is active (I also need the controller to be an OPC-UA Server.
OPC-Ua Any device is connected to IF2
Connection Settings on AS:
Channels configuration:
For the Browse Path I followed the hierarchy of the required Tags using UAExpert.
So on Ua Expert I would browse through:
Root > Objects > urn:xxxx:Cooling > HeatCirc/Inlet/AlmTempHi
To make that path AS-Compatible I’ve entered:
/0:Root/0:Objects/2:urn&:xxxx&:Cooling/2:HeatCirc&/Inlet&/AlmTempHi
Direction and Data Type are set accordingly.
AS-Build, AS-Save, Back to CaeManager.
The OpcUA_any appears on APROL:
I mapped the new connectors to APROL Variables:
Build All, Download… But the read-connectors remain 0, altough the OPC-Server has another value.
And the write-connectors are not being sent to the UA-Server.
Am I missing something? What is wrong on my settings?
When I run UaExpert for the first time, I get a question asking if I want to accept the Server’s certificate, which I can manually accept. How is the controller dealing with that?
On ControllerManager I can see the following Module values:
ModuleOk = FALSE, so something is definitely not OK.
PS: I know I can set OPC UA Client on APROL/ControlComputer, but I need it necessarily on the Controller.
Aprol version: 4.2-05
AS Version: 4.5.3.86