Import of OPC UA Nodesets does not work in AS6.5

I need to import some .uanodeset-files and bind them to a .uad-file in AS6.5.0.306 . Those .uanodeset-files are createt using the UA-ModelCompiler.

I have created a minimal example of such a NodeSet, which places a ‘SampleObject’ and a “SampleVariable” within the ‘Object’ folder.

WuhPlcSample.zip (1.2 KB)

When I place this nodeset into an empty AS4.12 project and activate the OPC UA system, the corresponding nodes are displayed directly in UaExpert:

When I try the same in AS6.5, I cannot get the nodes to display. I have already tried a few settings, including specifying the resulting namespace here:

No matter i haven’t yet managed to get the nodes from the .uanodeset file to appear in UaExpert:

The logger says: “NodeSet … loaded” and has no other warnings or alarms:

Has anyone ever imported an external NodeSet into AS6?

Are there any differences in the syntax requirements for NodeSet files between the different versions of AutomationStudio?

Am I missing a setting somewhere?

Attached sample in AS6.5 with using your nodeset. Please tell us what is difference between your project and my one.

OPCUA.zip (32.5 KB)

Thanks for your help. I tried every setting that was different in your project compared to mine. In the end, the following changes resolved the issue:

Updating ‘Visual Components’ from 6.0.0 to 6.5.0:

I then unhid the advanced settings here to add the user role ‘BR_Engineer’:

Now it is working again

I still have a few questions, though:

  • How could I have found this error?

  • Would this have worked somehow with ‘Visual Components 6.0.0’ as well?

  • Are the version-dependent changes to the user role system documented anywhere?

  • Do the settings below effect anything in the newer versions? I thought I’d already enabled the relevant permissions here. But even with a password-protected user account set to the ‘Administrators’ role, I can’t access the relevant permissions. It only works as an anonymous user, via the ‘new predefined’ roles like “BR_Engineer”.

Hi @Jan_Kemper sorry, I have missed your answer and additional questions, have you found answer for all of them in meantime? can you share your findigns with us?

No, I haven’t found anything new. With the solution/work around I described above, I can now access all nodes.

Strangely enough, UaExpert is showing “RolePermissions = BadUserAccessDenied (0x801f0000)” ever since, even though I have full access:

If anyone has any good code examples showing how to use these configurations and what has changed depending on the version, that would be very helpful.

maybe colleagues from Germany can help here? @alexander.hefner ?

Hi @kovarj ,

Stephan will have a look into.

BG and have a nice weekend!

Problem itself is solved with project I have provided in the past. Detailed questions must be answered and for that I believe customer project is needed. Thanks @alexander.hefner for fast response and have a nice weeekend :slight_smile: