Time Configuration Modbus Registers
DST Offset Register (40209)
The register stores the DST Offset (Daylight Saving Time Offset) in minutes (by default 60 minutes), which is the correction to the desired time (RTC) when the DST is active.
Year Register (40210)
The register stores the year part of the date in the AAC20 device.
Month Register (40211)
The register stores the month part of the date in the AAC20 device.
Day Register (40212)
The register stores the day part of the date in the AAC20 device.
Hours Register (40213)
The register stores the hour part of the real-time clock (RTC) in the AAC20 device.
Minutes Register (40214)
The register stores the minute part in the real-time clock (RTC) in the AAC20 device.
Seconds Register (40215)
The register stores the second part in the real-time clock (RTC) in the AAC20 device.
RTC Command Register (40216)
Particular values of this register determine the RTC behavior. The possible register values with assigned actions are shown in the table below:
Register Value | Description |
---|---|
0 (default) | Read mode |
1 | Write mode |
2 | Write to device |
Read Mode (Value 0)
If the register is in the read mode, date and time registers corresponding to the RTC are in read-only mode (it is not possible to overwrite values).
Write Mode (Value 1)
In this mode, the user has a possibility to overwrite the date and the time registers corresponding to the RTC without the effect on the AAC20 device (new register’s value has no influence on the RTC in the AAC20 device).
Write to Device Command (Value 2)
If this mode is selected, the register values corresponding to the RTC, entered by the user, are written down to the AAC20 device. After the writing procedure is done the RTC Command register value gets back to the read mode (value 0).
To change the register values corresponding to the RTC, perform the following steps:
Step 1: Set value to 1 (Write mode) in the RTC Command register;
Step 2: Enter new values in the appropriate registers (from 40209 to 40215);
Step 3: Set value to 2 (Write to device mode) in the RTC Command register; its value changes automatically to 0 (Read mode) once the values from Step 2 are successfully overwritten.