I had a second checkbox within the properties window that was checked for “Read-only”. I unchecked that box, then checked the “unblock” option, and it worked.
Any plans for supporting Automation runtime 6?
Good morning TW,
Yes, it is planned for the following months. But I cannot advance any specific time frame for it,
Thanks you!
Maybe you can ask for help using community? some volunteers? or you prefer to do it by yourself?
Hello Jaroslav!
That’s a great idea, actually the source code is opened to everyone, so if someone comes up with an update for AR6 before we do they can upload it directly here and share it with everyone!
So B&R community, who will take this challenge?
EasyUaClnt updated for AS6.0
Hello Community,
I am glad to share with you the first version of the EasyUaClnt for AS6.0. The library has been tested but I cannot make a full deep test of all the functionlities so, if someone tests it and finds any problem they can take the Source Code and modify it or send me a message and I will try to fix it as soon as possible.
New features
In this update the following the library has received the following changes:
-
Internal update of all the FUBs. Now they uses the “List” versions of the AsOpcUac. Every block has been updated to get rid off any obsolete or deprecated AsOpcUac FUBs.
-
New functionlity KeepConnection FUB input. Now it is possible to to keep the connection active. By default if KeepConnection = FALSE the FUB will behave exactly as it was in the previous library version, but if you need a more performant work mode then the connection won’t be closed after the FUB call.
-
Kept the compatibility backwards as much as possible. Execept EasyUaSubscription and EasyUaSubscriptionList all the rest of FUBs remains with the same IN/OUT interface to guarantee the compatibility with the code from AS4.0 as much as possible. Only Optional new inputs or outputs have been added. Only in the case that you were using EasyUaSubscription and EasyUaSubscriptionList adjustements would be needed.
-
More diagnostics. All the diagnostics exposed in the FUB interface. As they come from different internal FUBs and with different formats new optional diagnostics outputs have been added.
-
Own help fully updated. All the help has been reviewed and updated to match the new library. A dedicated chapter “Migration to AS6 from AS4” has been added. All the samples are also updated.
New requirements
The new requirements for this versions of the library are:
- SG4 only
- Automation Studio 6
- Minimum AR version Intel/ARM 6.0.0
Download
The new release is marked as V2.00.0. The bin and source can be found in the repository.
Github repository: Release V2.00.0 · br-automation-com/easyuaclient-as-project-dev
Thank you for your awesome work !
I try to set the OPC UA connection between an X20CP0483 and an External OPC server and actually got following issue “A009_0000” I would like to read the Value from the “Gross” variable and store it into VAR1.
Here is my task: (100ms)
The “Gross” variable incoming from the Server is given as a DOUBLE so I declared it as a LREAL in the Task.
The OPC link is working with UA Expert.
Do you have an idea what could be wrong with that?
Best Regards.
Hello Oliver,
Regarding the OPC UA PLCopen Status Codes, the code A009_0000 corresponds to:
PlcOpen_BadNsNotFound - 0xA0090000 - The namespace with the desired name could not be found on the server.
This means that your NamespaceUri input is not valid. Seeing your screenshot I can see that you are using the “Path” to object’s component (0:Root/0:Objects…) instead of the NamespaceUri (an example of NamespaceUri would be “urn:B&R/pv/” ). You can either use any of the following solutions:
- Fix the NamespaceUri to the corresponding one, you can check this on UaExpert
- Or leave the field “NamespaceUri” empty and keep the input NodeID.NamespaceIndex to 7 if this is the right NamespaceIndex for the node
Any of this solutions should fix the A009_0000 error, keep in mind that this is a standard OPC UA code. I recommend you to take a look to the descriptions of the codes they are really helpful.
B&R Online Help - OPC UA Status numbers
Regards,
Hi Javier,
Thank you for your reply. I fixed this by removing the NamespaceUri and using only the Namespaceindex. I just had to change the IdentifierType to “UAIdentifierType_Numeric” an then it worked fine.
Best Regards,
Olivier Lehné