FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We are updating our platform to a new
system.
Read more: Important
information on the platform change.
08-12-2021 04:08 PM
To connect a OPC UA client, running on the ctrlX CORE, to a remote master we need to call the 'connect' method in the 'opcuaclient' node in the datalayer. One way to do this is by connecting via a external OPC UA Test Client to the OPC UA Server (OPC UA Client and Server Apps need to be installed on the ctrlX CORE) and execute the call there (App Version 1.10.0).
How can this method call be realized in NodeRed?
Solved! Go to Solution.
08-13-2021 07:42 AM
Hi Michael,
the connect function is implemented as datlayer write service. So you can do a write on the address opcuaclient/MLC_/connect without arguments.
Best regards!
08-13-2021 03:17 PM
Thank you for the fast reply. Could you attach an example / screenshot, showing how to to this WRITE without arguments in the ctrlX NodeRed App?
Thank you in advance.
08-14-2021 01:08 PM - edited 08-16-2021 08:40 AM
See the answer of this thread on how to send a empty PUT/WRITE via NodeRed.
EDIT: See also the official GitHub documentation of the nodes for ctrlX AUTOMATION.
08-16-2021 01:16 PM - edited 08-16-2021 01:18 PM
Thank you for the hint with the other thread.
The solution in our case was next to sending a message with payload 'null' to recieve this payload as 'value + type(json)' at the request node.
node-red-contrib-ctrlx-automation version 1.8.7