Skip to content

Autmatic change timezone PLCNEXT

Hi PLCnext support,

Is there a way to automatically update the time zone according to the country (with internet)

Since in some countries there are time zone changes depending on the season, for example from GMT-3 to GMT-4

Beast regards,

Comments

  • I assume you mean the time zone on the PLC. This is currently not possible from within PLCnext Engineer.

    There is some information on setting the PLC time in the Info Center, here:
    https://www.plcnext.help/te/Operating_System/System_time.htm

    It is possible to use standard Linux administration features to set the time zone on the PLC, as follows:

    1. Update the /etc/localtime symbolic link:
    sudo ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime
    
    2. Change the contents of the file /etc/timezone from "Universal" to the exact name the file in the /usr/share/zoneinfo directory, e.g. America/New_York

    (Obviously, in both of the above, swapping America/New_York for a suitable file in the /usr/share/zoneinfo directory).

    To check the result:
    date      # shows the local time and time zone
    date -u   # shows universal time
    
  • Hi Martin,

    Thanks for de info.


    Beast regards,
Sign In or Register to comment.