Skip to content

CoDeSys Soft PLC Error

Hi I am having an issue installing the codesys 3.5.15.4 runtime package. I followed the steps in the PLCnext-Community and have not been able to succeed. I am able to find the plc on the network. I am able to log in to the plc via SSH and the runtime deployment tool shows this but it runs into an error. The following information is what occurs in the messages files on CoDeSys:

[INFORMATION] Executing SSH command on admin@10.20.20.10: Determining firmware version
[INFORMATION] Executing SSH command on admin@10.20.20.10: Packages: refresh package list
[INFORMATION] Executing SCP command on admin@10.20.20.10: Package: transfer ARP package
[INFORMATION] Executing SSH command on admin@10.20.20.10: Package: install ARP package
[INFORMATION] Standard output: tar: ./conffiles: time stamp 2019-07-10 06:59:43 is 12680372.2875993 s in the future tar: ./control: time stamp 2019-07-10 15:10:03 is 12709792.28319259 s in the future tar: ./postinst: time stamp 2019-07-10 07:43:30 is 12682999.28124943 s in the future tar: ./postrm: time stamp 2019-07-10 07:43:30 is 12682999.27965864 s in the future tar: ./preinst: time stamp 2019-07-10 06:59:43 is 12680372.27750472 s in the future tar: ./prerm: time stamp 2019-07-10 06:59:43 is 12680372.27601369 s in the future tar: .: time stamp 2019-07-10 15:10:03 is 12709792.27449872 s in the future dpkg: error processing archive /tmp/codesys-arp_arm_plcnext_19.6.0.deb (--install): package architecture (armhf) does not match system (armel) Errors were encountered while processing: /tmp/codesys-arp_arm_plcnext_19.6.0.deb
[INFORMATION] Executing SSH command on admin@10.20.20.10: Stop runtime system
[INFORMATION] Executing SSH command on admin@10.20.20.10: Package: store existing CFG file
[INFORMATION] Executing SSH command on admin@10.20.20.10: Package: remove old
[INFORMATION] Executing SCP command on admin@10.20.20.10: Package: transfer new runtime system
[INFORMATION] Executing SSH command on admin@10.20.20.10: Package: install new runtime system
[ERROR] Error output: tar: ./copyright: time stamp 2020-03-23 18:38:40 is 34927104.01722753 s in the future tar: ./postrm: time stamp 2020-03-23 18:38:40 is 34927104.01072652 s in the future tar: ./postinst: time stamp 2020-03-23 18:38:40 is 34927104.00693824 s in the future tar: ./prerm: time stamp 2020-03-23 18:38:40 is 34927104.00422686 s in the future tar: ./conffiles: time stamp 2020-03-23 18:38:40 is 34927104.00132869 s in the future tar: ./control: time stamp 2020-03-23 18:38:40 is 34927103.998726 s in the future tar: .: time stamp 2020-03-23 18:38:40 is 34927103.99657359 s in the future dpkg: error processing archive /tmp/codesyscontrol_arm_plcnext_V3.5.15.40.deb (--install): package architecture (armhf) does not match system (armel) Errors were encountered while processing: /tmp/codesyscontrol_arm_plcnext_V3.5.15.40.deb

 

I am unsure what would cause this error that is at the bottom of the list. Is anyone able to update the runtime package. I also noticed when I used Putty to SSH into the Device directly that the PLC has an internal date of Feb. 13 2019.

 

Any help would be appreciated.

Thanks in advanced!

Comments

  • Hello Mitch,
    Maybe there is a time issue on the PLC?
    Try setting the time with " date -s "
    Or hit some ntp server for a time update on your PLC.


    what FW Version does your PLC have?

    Else you can try this to fix it.

    sudo or su root and : "dpkg --add-architecture armhf"

    kind regards,
    Oliver

  • Thank you Oliver!

    I was able to update the time and use the recommended command to get the soft PLC to install without errors!

Sign In or Register to comment.