Datum Problem, Unix, 2038

Hat sich "fast" gelöst:

Code:
RTC_HOURS    INT    VAR_GLOBAL    System time (hours)    %MW1.60060        0    0    0    0    0    0        0    0                        
RTC_MINUTES    INT    VAR_GLOBAL    System time (minutes)    %MW1.60062        0    0    0    0    0    0        0    0                        
RTC_SECONDS    INT    VAR_GLOBAL    System time (seconds)    %MW1.60064        0    0    0    0    0    0        0    0                        
RTC_DAY    INT    VAR_GLOBAL    System time (day)    %MW1.60068        0    0    0    0    0    0        0    0                        
RTC_MONTH    INT    VAR_GLOBAL    System time (month)    %MW1.60070        0    0    0    0    0    0        0    0                        
RTC_YEAR    INT    VAR_GLOBAL    System time (year)    %MW1.60072        0    0    0    0    0    0        0    0

In der ILC ist das Datum zerlegt und nicht als 32 bit signed Variable.

Oscat Calendar geht auch, da für UTC ein UDINT verwendet wird.

In PCworx kann man aber kein Datum > 14.1.2038 in den Echtzeituhreinstellungen setzen.
 
Hallo Portisch,

was für eine ILC hast du denn?

Aktuelle ILCs funktionieren bis 2070 (alte mit neuer FW genauso):

Gruß
Mark
 
Für die Nutzung dieser Website sind Cookies erforderlich. Du musst diese akzeptieren, um die Website weiter nutzen zu können. Erfahre mehr…