Time Data Types¶
CODESYS handles the time data types internally like DWORD. You indicate the time in milliseconds for TIME and TOD, and in seconds for DATE and DT.
Data Type | Lower Limit | Upper Limit | Memory |
---|---|---|---|
TIME | 0 | 4294967295 | 32 bit |
TIME_OF_DAY (TOD) | 0 (00:00:00:000) | 4294967295 (11:59:59 PM:999) | 32 bit |
DATE | 0 (01.01.1970) | 4294967295 (2106-02-07) | 32 bit |
DATE_AND_TIME (DT) | 0 (1970-01-01, 00:00:00) | 4294967295 (2106-02-07,06:28:15) | 32 bit |
See also