OPC UA Client in PLCnext
Hello,
I would like to use the PLCnext (AXC F 2152) as an OPC UA Client. I know it works perfectly as a server, but is there a way to use it directly as a client?
If not, I have tought about using Node-Red or python. But I have another question about Node-Red in the PLCnext devices. I have been told that to install it in an AXC F 2152 is highly recommended to use an SD card. But is it possible to install it an AXC F 1152, or it isn't recommended because of its lower specs?
Thanks in advance!
Best regards,
Asier
Comments
On this page of the Info Center ...
... OPC UA Client is listed as "Work in Progress" for the PLCnext Runtime System.
Unfortunately we don't have any firm date for the availability of that feature.
The technical specs that are relevant to a Node Red installation are identical in the AXC F 1152 and the AXC F 2152, so Node Red should work the same on both.
Thanks for your answer, Martin. I Will keep an eye on the roadmap updates.
Best regards,
Asier
OPC UA client in store
https://www.plcnextstore.com/eu/app/1938
Yes, that's correct, as mentioned in the release notes an OPC UA client is now included in version 2023.0 of the firmware. This client can run for a limited time without a license. To remove the time limit, the license from the PLCnext Store (linked above) is required.
Unfortunately the documentation on this new feature has been delayed slightly. We expect documentation to appear in the Info Center next week at the latest.
In the future the OPC UA client will be configurable through PLCnext Engineer; however at the moment this must be done by modifying configuration files directly on the controller. A step-by-step tutorial for this configuration process is also currently in preparation, and this will appear in the Makers Blog as soon as its ready.
Hello Martin, Tomáš
PLC next variables are reachable via PLCnext API :0)
Answer is a parseable JSON string.
If is no HMI licence for Enable REST interface and HMI selection in data list necessary, then GET, SET statement can be used for PLC data bidirectionaly exchange.
Yes. The REST interface is unrelated to the OPC UA Client, which was the subject of the original question.
But the REST API is certainly worth considering as an alternative, so thanks for pointing this out.
Hello Martin, Tomáš.
It's possible to extract variable identification from .AML export file and use it for item definitions in Openhab or another systems.
Thanks for help Tomáš from Slovakia support !
Yes exactly as a alternative. OPC UA approach is uniformed and brings spontaneous transfer in case of variable change.
It would be worth to proof usability of github opcua-asyncio method for bidirectional data transfer.
https://github.com/FreeOpcUa/opcua-asyncio