after migration our project to AS6 with migration script… We removed errors and most of the warnings. We have problems with OPC UA variables published by OPC UA server.. We can enable/disable variables for “Global Variables“, but for tasks, there are variables with red crosses, but they exist in the project, but OPC UA does not see them Why? See attached picture. Thank you for hints
maybe the task or the variable was renamed ,or the task isn’t deployed?
Please see here for informations about “invalid entries” in the OPC UA default view editor:
It is not case… We “only” migrate the project to AS6… No renaming or deleting has been done. The task is executed and all variables are there, but not visible for OPC… All tasks: moTrav, moArms, maRbCtrl have only crosses This uad file is a link to “default” HW configuration, so I tied to delete ifPuHmiUi.uad and add it again as a reference, but still the same situation Any idea? Thanks
sorry, I haven’t any good idea right now.
I tried to reproduce the issue with a minimal blank AS6 project (with a _LOCAL declared C process variable + a 2nd configuration with referenced .uad file), but I wasn’t able to, it worked like expected.
So hopefully some other users of the Community can give more advice how to proceed.
Can you please share the exact version information of AS, AR and OPC UA C/S you’re using?
i would recommend to check what happens if you create a new uad.-File. Are the Variables available in this new File?
Please also consider that the Tasks must be part of the SoftwareConfiguration and attatched to a Task-Class in this Configuration.
I am not sure what conversions happen from AS4->AS6 but i could think of an situation, that the uad-File was not converted to some new Format, because it is only referenced.
After the AS4 → AS6 migration, the OPC UA default view (.uad file) still references old task or variable names that no longer match your project. This commonly happens because:
Tasks or variables were renamed during or after migration
The .uad file wasn’t properly updated to the new file version before migration (it should have been opened and re-saved in AS 4.12 first)
The <Default> in your error refers to the application module name, which may have changed in AS6
So more or less same information like Michael has already provided to you.
Good that a new uad.-File has all the Variables in it. So it is only a conversion topic.
i am not familiar with the conversion process for OPCua, but i know that for MappService it is recommended to convert from AS4.12 to Working Version 6.0 to start the conversion wizzards. If you go directly to Working Version 6.5. the Automation Studio will skip the conversion wizzards.
To which Working Version did you went when first opening the Project with AS6?
When I finished steps for AS4.12 I went to AS6.5 and downloaded suitable mapp (see picture). Then I continued migration in AS6.5.
But if I remember well Step-by-step checklist and Migration scripts were about steps to do manually in AS4.12 and then in AS6.x Script “only” told us… Hey, open OPC uad files and make “small change”, remove that library because it is not supported, … But it is more than one month, so maybe I am wrong… Trust me that “only a conversion topic” is a lot of work in big project
This error means that uad upgrade file in AS4.12 was not done. You should have version 10, after opening in AS4.12 (maybe use latest patch??) and resaving.
Ok, thank you @kovarj .. I double-checked opc file version and with our AS4.12.5 is FileVersion=“9”. So, we will move to AS4.12.8. I saw that on BR web is available also AS4.12.9… What do you recommend?
How I should update AS4.12.5 to AS4.12.9 when the update requires AS4.12.6 as a base, but it is not possible to download it from BR pages??? I will try the trick with version 10. Thanks
AS 4.12.6 was made as a full install. You first have to uninstall AS4.12.5 then install AS4.12.6 as a fresh Version. Then you can continou with the Servicepacks to AS4.12.9.
This gap was introduced due to a cyber security topic. We changed some installation Folders to a new destination.
In that case, it would be useful to mention in all your migration tools/checklists what is starting line for the migration… Everywhere was AS4.12, but when we have AS4.12.5 and lower versions OR AS4.12.6 and higher versions.. What we should have installed before we start with migration to AS6.x!! Thank you
I wanted to start from scratch with uad file as @michael.bertsch adviced, but I was a little wrong. Global variables are ok in AS4.12.5 and AS6.5.1, I see everything, but when I create a new uad file in AS6.5.1 I can see all tasks but only some their substructures.. I can see and enable tags in substructure FrCylElec, but I cannot see substructure for example in task moTrav, moArms… It is strange. See attached pictures.
@kovarj I wait for a virtual machine for AS4.12.6 installation, because I still need AS4.12.5 for work
If there are still issues after inserting a new uad.-File i would recommend to contact local support in your Country and send them a Application Projekt where the issue can be reproduced. In this way you can keep your code confidential but B&R can work on your situation.
Short reminder that this are the newest Version. It might be possible that your issue may be fixed in this versions.