X20CP0410 - Set IP address via SNMP long response delay on AR6.5.1

I’m migrating a X20CP0410 PLC from AR 4.93 to AR 6.5.1. Some time ago, we built an application to commision our PLCs that uses the PVICOM interface to, among other things, set it’s IP address via the SNMP line. Using Automation Runtime 4.93, the response to the PVIWrite command for setting the IP address would return almost instantly, but with Automation Runtime 6.5.1, the response can take up to 60 seconds, thus making the command timeout. While waiting for the response, the CPU usage of the PLC spikes to 100% while it normally hovers around 65%. Also, the PLC will not respond to any discovery broadcasts while processing the command. This problem also seems to appear when changing the IP address from the Online Settings in Automation Studio: After setting a new IP address, the PLC disappears from the discovered list for up to a minute.

Is this behavior normal? Is the CPU in the X20CP0410 up to the task with the new runtime? Is there anything I can do to shorten the response time?

Thanks!

Hi @MathP ,
Welcome to the Community!
I see a major change on PVI communication:

Well it seems the new implementation is heavier in term of CPU usage, “PLC spikes to 100% while it normally hovers around 65%“ is bad sign.

From my point of view the communication still running with AS 6 so there is no bug but it’s much slower, in this situation I think you should report the issue
to your local B&R Support, colleagues will create a CASE and send that to R&D for clarification.
Thanks
Ciao
Valerio

Are you sure you are using the correct dll with AS 6?


Is it possible during the conversion we still have access to old library?
Ciao
Valerio

Thanks Valerio,

You were right: I was using the previous dlls.

Although, I tried again with the PVI6 dlls and get the same delays when setting the IP address. Per your suggestion, I will report this to my local B&R support.

Thanks!

Thanks Mathieu, please when you’ll identify the cause of the problem with our colleagues in Support,
please update us so next time someone else will face the same issue we’ll share more details.

Just for curiosity if you don’t start your application to commission your PLCs, the CPU usage of your X20CP0410, you see on SDM, has similar trend you saw in the past with AS 4.12?
Ciao
Valerio