Error: "a memory access violation occurred"

Hello,

PLC has entered SERV mode. Upon checking the logger, it shows “a memory access violation occurred” and it seems there is an issue with the Data Object. I have tried transferring an empty program, but the same problem occurs. Could you please advise on how to resolve this issue?

Thank you.

Hello David Huang;

First I’d recommend opening the logger in Automation Studio, usually the when having an memory access violation, the main cause is that somewhere in the application code there is a bug and the logger’s backtrace can give you a hint of where the error occurred.

It’s hard to tell why with an empty project the error remains, maybe you have not restart the plc yet?, when you transfer on SERV, the PLC will remain on SERV until a warm restart is done.

1 Like

Hi @tnswogus, What is the status of your topic? Is it solved? Can you share a summary with us?

1 Like