MpAudit stopped working after the migration from AS4.12 to AS6.7


After migrating from AS4.12 to AS6.7, MpAudit stopped working.
The MpAuditTrail block is enabled, but it is not capturing events where values ​​in programming fields are changed.
I would like to know if any specific procedure is required after the migration from AS4.12 to AS6.7 to get MpAudit working again.

Thank you in advance.

Hi Adilson, and welcome to the Community!

There is some documentation in the AS Help about migrating mappServices from AS 4 to 6. There is also a Community-built migration tool to assist with migrating projects.

In order to give you better advice, it would help if you’re able to provide more information. Are you getting an errors on the function block or in the mappServices logger?


I don’t have any errors in FUB.

The “Audit” function worked correctly before the migration to AS6.

Hi Adilson,
How do you determine which variable values to monitor?
If you are using the opcua monitoring then you need to make sure the auditing server facet is enabled.
You will also need a user with the BR_Engineer role assigned to view them.
If instead you had the variables specified in the MpAuditTrail Configuration, check the VariableMonitorList section to make sure they did not get deleted during migration.
If you used the RegPar function blocks, then I do not know of any necessary changes during migration but we can investigate it further.

Hello,

From your description, I understand you want to log OPC UA events. Check the following help page.


One change in AS6 compared to AS4 is the OPC-UA “Change Value” event number(19 to 500).

After switching to the correct event number, the FUB began logging the OPC-UA events; however, the MpAudit widget does not display any messages.

Hi @Adilson_Marcorin ,

Could you try to downgrade mapp View + mapp Services + OPC UA C/S to 6.6?
It’s possible you are facing the same issue reported on the post below:

Ciao
Valerio

In my case, I won’t be able to downgrade because the OPCUA C/S V6.7 version fixed the problem I had when converting the AS4.12 project to AS6, regarding the variables mapped in the .uad file.

But I believe my problem is the same as the one the person in this post is having.

Thanks you very much.

so far mapp View + mapp Services 6.8 are schedule for September 1st, we will see in few weeks.

Ciao
Valerio