Skip to content

An error occured while writing the changes to the device.

While sending my recent program update to the PLCnext, I got this message in the "LOGGING" window of PLCNext Engineering

    "An error occured while writing the changes to the device."

 

OK, someting bad happened, but what exactly?

Where can I fin d a more precise diagnostic?

The Output.log and Output.log.1 wre quite smal and without any usefull indications.

 

I tried to reboot the PLCNext and restart PLCNext Engineering, but it does not fix the problem.

I also did, without any success:

- A reset level 1

- Used a previous program version

I will try a computer reboot and a PLCnext factory reset, hoping it will help.

 

Thanks

 

PLCNext Engineer 2019.3

Using a C++ library

 

uatrace.log:

** Product version: PHOENIX CONTACT GmbH & Co. KG eUA Server 2019.3 (19.3.0.18509 ).18509
** C++ SDK Version: 1.6.3.406
** C Stack Version: Version:1.4.5 228
** Platform Layer: PlatformName:Linux
** Date: 2019-07-29

Comments

  • Hello fblanchard,

    this sounds more like an Engineer project problem then an PLCnext Controll problem.
    But it seems strage that the old project did not work.

    In which order did you try the mentioned steps?
    1. Reset
    2. Download old working version 
     

    Can you trace back what the last changes were? 
    You are working with a 2019.3 SDK,FW, plcncli and Engineer correct?

    Can you attach a Log file trace during Projectdownload 
    1. startup PLC  
    2. tail -f /opt/plcnext/logs/Output.log
    3. connect with the Engineer.
    4. Trigger a project download

    What does the log show after initiating the connect or Project download?
    Does the Engineer even try to download the project?

    Also check the Contents or permissions on the PCWE Folder "ls -la /opt/plcnext/projects" . (But I guess this is not a issue as you have done a reset)

  • Hi Oliver,

    I finally recover my PLCNext by transferring a small demo program (e.g. “Sample project for AXC F 2152”) to the PLCNext with success.  It looks like some internal problem has been solved.  After that I was able to transfer my original program without problem.  At least I avoided doing a factory reset.

    Every attempt I made was always preceded by a reset level 1.

    The log file was almost empty and the first lines were irrelevant.  Sorry, but it did make any sense to keep a copy of it.  I just remember there were less than 20 lines.

    Yes, I am working with a 2019.3 SDK,FW, plcncli and Engineer

     

    Thanks for your quick answer.  I will gather more information if the problem occurs again.

Sign In or Register to comment.