Join us today!

Notifications
Clear all

OPC UA multiple GVLs

2 Posts
1 Users
0 Reactions
399 Views
Posts: 2
Topic starter
(@finecut)
New Member
Joined: 1 year ago

Hi, 

I stumbled across a problem, I don't understand.

If I have my project with just one GVL, just like in all the tutorials etc. everything works just fine, my variables are addressed by GVLname.variablename in the TMC file and UAExpert.

If I add a second GVL however, it will not add another folder that will show up in UAExpert and the variables in the .tmc file will be named .variablename instead of GVL2name.variablename so they all end up in the main folder of the PLC Data Access.

Any ideas?

 

Reply
1 Reply
Posts: 2
Topic starter
(@finecut)
New Member
Joined: 1 year ago

I found it, we had a 

{attribute 'Tc2GvlVarNames'}

at the top, to use some constants from another GVL.

It didn't like that, obviously.

Removed the attribute and the constants, now it is working.

Reply
Share: