Automation Studio 6 mappView - variable connected widgets disabled after converting from AS4

Hi!

I converted a project from AS4.12 to AS6 and after this all buttons, numeric widgets and dropdown lists with variables connected are disabled and “greyed out”. I guess it could have something to do with user permission rights or opc ua, but I’ve tried around and looked through the Automation Help 6 without success. What are differences between AS4 and AS6 that could have caused this and how can it be solved?

Thanks!

Hello Almida de Val:

In AS6 there are few changes regarding the OPCUa connection configuration which may affect on the widgets.
In AS6 the configuration file of the OPCUa is located in configuration view, same folder where you have the file to enable the variables for OPCUa communication. One thing that needed to done in this new configuration is to add Role (BR_Enginner) in the authorization Access.

, and then enable/disable the desired security polices. You cna find more information here

Thanks! I followed the example in a new project and that works fine, however it did not in the converted project. I compared all the opc ua and cpu settings between the two projects and those are the same. Very strange…

Hello Almida De Val:

I took a look, and it seem that to convert the AS4.12 to AS6, some format issues with the .uad file header is involved, and AS6 only accept the latest format. For this:
In Automation Studio 4.12, open and save all .uad files using the OPC UA default view editor (via the File / Save menu option). If necessary, you may receive a prompt recommending you to convert to the latest format for improved performance and reduced memory usage. Remember to save the file after conversion. This should upgrade the The file version of the .uad file.

Then save the project (File/ Save Project as zip…) the open it with AS6.0 add all the configuration mentioned above (BR_Engineer, enable/disables stuff).

If this still doesn’t work, I’d go to compare the entire file of OPCUa configuration of the migrated project with the new project (the one that worked for you).

For this, right click to the OPCUACs file and choose to compare to a local files
image
Then in opened windows choose the same file (OPCUaCs) in the working project


And then see if there is any difference (in my case no difference, since I choose the same file)

1 Like

Hi @Almida,

I’d recommend to look into the logger and check if there are any error messages in the “visualization” section. If you see any OPC-UA related errors here, they might give you a hint what’s going wrong …

In case you have a OpcUaServer.uaserver configuration in your mapp View configuration, make sure that the “Default namespace” is correct (should be “http://br-automation.com/OpcUa/PLC/PV/”)

CHH

Hi @hobi,

Thanks, the default namespace in the .uaserver-file is what made the difference. It was previously urn:B&R/server/ and I changed it to what you wrote and so far it seems to be back to normal.