Skip to content

Trends Time Scale 2 Hours Behind Current Time

Hello,

The PLCNext Engineer Chart object is displaying trends with a time scale that is 2 hours behind the current time of the controller.

I have set the PLC controllers time to the current system time but the issue still persists.

Does anyone have any solutions?


Comments

  • edited January 23

    Hi!

    By default plc time zone is UTC, probably you have to modify /etc/localtime to your actual timezone.

    You need establish connection to plc via ssh, and under root modify link to the file.

    Check your current time zone binding

    # ls -l /etc/localtime

    lrwxrwxrwx 1 root root 31 Jun 11 2024 /etc/localtime -> /usr/share/zoneinfo/"YourTimeZone"

    To modify settings:

    # rm /etc/localtime

    # ln /usr/share/zoneinfo/Europe/Athens /etc/localtime

    # date

    Thu Jan 23 10:00:04 EET 2025

    BR

  • Hi Darcy12345, to add to Oleksandr, time is being done within the browser (knowing your timezone). My suggestion is to change your PLC to UTC time and it will show up correct on the browser. You could also add your local timezone as well as suggested above.

    Declan

Sign In or Register to comment.