HMI time display anomaly

edepalos
2023-03-02
2023-03-03
  • edepalos - 2023-03-02

    Dear All,

    Please help me out, cause I'm going crazy...
    - Codesys 3.5.9.73
    - ifm AC402S plc

    I have the %t[HH:mm] HMI text displaying strange things, either the current time (that I understand) or some strange and static value like 16:15 whatever the result of the source DWORD_TO_TIME function is... Where do I go wrong???

    Thank You All!
    Best regards,
    Ede

     

    Last edit: edepalos 2023-03-02
  • ben1 - 2023-03-03

    What exactly is the issue?
    16:15 is a perfect example of the representation of 4:15pm with %t[HH:mm] formatting.

     
  • edepalos - 2023-03-03

    Hi Ben!

    the problem is that the source of my textfeld was T#5s3000ms...

     
  • edepalos - 2023-03-03

    Hi Ben!

    the problem is that the source of my textfeld was T#5s3000ms...

     
  • ben1 - 2023-03-03

    Ah OK, apologies, I misunderstood...

    Perhaps it is an issue with the application? Could you post some code or snips?

    I tried it on my own system (different hardware) and it works perfectly....

     
  • edepalos - 2023-03-03

    Unfortunatelly I had it working too on a different hardware and it was running smooth. Even on this hardware if I load an empty project containing just this part of the program it works without issues... I was hoping that someone had similar problems, maybe some untested conflicts in the runtime... I could send You the complete project if you'd like...

     
  • ben1 - 2023-03-03

    OK so that confirms that it works on your hardware, so something must be conflicting.

    If you are happy to send the project, then I am happy to take a look πŸ‘Œ

     

Log in to post a comment.