OPC UA for IO-Link Devices and IO-Link Masters – IO-Link: OPC Unified Architecture
12.2.6.4 Conversion of special values (Summary)
Table 64 and Table 65 list some special values and their conversion to the other time data type. They can be used as a base set to test the conversion algorithm implementation (together with other input-output pairs).
Table 64 – OPC UA DateTime to IO-Link TimeT – Special values
Input (OPC UA DateTime)
Output (IO-Link TimeT)
Seconds value
Description
Seconds value
Date/time value before 1984/01/01 0:00:00,000AM (inclusive)
Date/time value is "truncated"
1984/01/01 00:00:00,000AM
Date/time value after 2120/02/07 06:28:15,999AM (inclusive)
Date/time value is "truncated"
2120/02/07 06:28:15,999AM
0
Minimal OPC UA DateTime value = 1601/01/01 12:00:00,000AM
1984/01/01 00:00:00,000AM
INT64_MAX (0x7FFFFFFFFFFFFFFF)
Maximal OPC UA DateTime value = 9999/12/31 11:59:59,000PM
2120/02/07 06:28:15,999AM
Table 65 – IO-Link TimeT to OPC UA DateTime – Special values