4. Configuration
182
EXTENDED_DATE_AND_TIME
This structure is used to store the RTC date when used the function blocks for date reading/setting
within milliseconds of accuracy. It is described in the Table 4-123:
Stores the day of the set date.
Stores the month of the set date.
Stores the year of the set date.
Stores the hour of the set date.
Stores the minutes of the set date.
Stores the seconds of the set date.
Stores the milliseconds of the set date.
Table 4-123. EXTENDED_DATE_AND_TIME
DAYS_OF_WEEK
This structure is used to store the day of week:
Table 4-124. DAYS_OF_WEEK Structure
RTC_STATUS
This enumerator is used to return the type of error in the RTC setting or reading and it is described in
the Table 4-125:
Error in the reading of the valid date and hour flag.
Error in the date and hour reading.
Error in the date and hour writing.
ERROR_UPDATING_
SYSTEM_TIME (7)
Error in the update of the system’s date and hour.
Out of the limit of valid date and hour for the
system.
Error generated when the SNTP service is not
enabled and it is done an attempt for modifying the