Extended instructions
9.1 Date, time-of-day, and clock functions
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
341
ENO = 1 means no error occurred. ENO = 0 means an execution error
occurred, and a condition code is provided at the RET_VAL output.
The current local time is in standard time.
0001 Daylight saving time has been configured, and the current local time is in daylight saving time.
Local time not available or LOCTIME value is invalid.
8081 Illegal year value or time value assigned by the LOCTIME parameter is invalid
Illegal month value (byte 2 in DTL format)
Illegal day value (byte 3 in DTL format)
Illegal hour value (byte 5 in DTL format)
Illegal minute value (byte 6 in DTL format)
Illegal second value (byte 7 in DTL format)
Illegal nanosecond value (bytes 8 to 11 in DTL format)
Time value does not exist (hour already passed upon changeover to daylight saving time)
The real-time clock has failed
The "TimeTransformationRule" structure has not been defined.