PLC Stuck in DIAG Mode After Attempting to Modify CPU Permanent Variable

Hello,
my PLC has entered DIAG mode. I was trying to change a CPU Permanent variable, and it entered DIAG mode. Even after transferring the original program, it remains in DIAG mode. What could be a solution for this issue?
Thanks.

Hello David Huang:

Diagnostic mode is usually entered when there is a fatal system error or memory clearing issue (or forced by user, which I assume you didn’t).

Without more information, I can only recommend you test the following. Keep a copy of the value of the Permament PV using RUC.

Then perform an offline installation directly to the CF, and then insert the CF back to the PLC.

Hello, Wenbo Ruan
I transferred an empty project, and it worked perfectly.
Thank you!