Skip to content

Fail LED lit

I noticed that the graphs in proficloud were off by one hour (daylight savings time). So went through PCWE, to the PLCNext tab, Online Parameters, and changed the real clock time to one hour ahead.  

Now the controller doesn't want to download and run any program, the Fail LED is on, the Run LED blinks green, and I cannot figure out what the failure is.  I've tried multiple factory resets and putting in a new SD card and re-updating the firmware (up to 1.0.2).  I've also changed the time back one hour and attempted a recompile and download and the LED is still lit.

The LEDs on the expanision modules I have are lit up green so I know they are working well. 

What is going on?

Comments

  • hello ngreene,

    I dont think this has anything to do with the date switching.

    the log states:

    20.03.18 14:50:29.384 Arp.Plc.Domain.Internal.PlcManager                           ERROR - Exception occurs while setting up plc component 'Arp.Plc.Gds': CreateConnector: This connector is not supported. StartPortType: 'bit' -> EndPortType: 'uint32', 

    I guess there is a version mixup of your programs Libraries or you switched Datatypes of some already connected variables...


    I can offer you to take a look at the project.
    Please make a copy of the PCWE Folder or your project files and upload it here https://phoenixcontact.sharefile.eu/r-r4e642c7badd441a8 

     

  • Indeed, as Oliver mentioned, this doesn't seem to be related to the date-change, which might (in some occasions) would cause certificate errors and authentication-issues with other systems, not runtime specifics.

    The error seems to indicate some variable of typ Bit (c++ program?) connected to a uint32 (also c++)?

    Do note, implicit casts on the GDS are not supported (yet), should this be what you've tried/assumed to be possible.

     

    What you can do to quickly verify that it is indeed a 'faulty' GDS-configuration / port-mismatch, is to remove the contents from your application (inside the PCWE folder) on the controller:

    • cd /opt/plcnext
    • cd projects/PCWE
    • rm -rf .
    • reboot the controller (sudo reboot)

    this will erase your entire projects, so only do this when youre sure ;) 

     

    Regarding your time-offset, did you check if your profile settings are correct in your TimeSeries Dashboard:

     

    Keep us posted on your progress,

     

    Vincent

  • Update for all of you.  @Vincent and Oliver, you were both correct in that there was a datatype mismatch.

    However, I could not find where that mismatch was in my code so, I basically copied the old program and pasted it into a new program with a different name and that seemed to be the trick.  The FAIL LED is no longer lit and the time is correct (give or take a few seconds)

     

    Thanks for you support.

Sign In or Register to comment.