α
2 Simple Application Controllers
The Command String 7
7 - 32
2 ) Command Example -
Time Settings by Date
The data in the Command code for a Date Time Setting consists of 4 bytes of data. To
determine the hexadecimal numbers to put in the Command string, the entry data has
been set up per the Table below. The Hexadecimal numbers can be determined after filling
in the box with the appropriate data. This data is slightly different than the code for the
Weekly Time Settings!
Table 7.17: The Date Parameter Table
Level b7 b6 b5 b4 b3 b2 b1 b0
RTC+0 “1” “0” “0” DMY *1 DMY Year *2 Year Year
RTC+1 Year Year Year Month *3 Month Month Month Day *4
RTC+2 Day Day Day Day Hour *5 Hour Hour Hour
RTC+3 Hour Min *6 Min Min Min Min Min On/Off *7
Table 7.18: Parameter Bit Settings for Date Setting
Parameter Bit Locations Setting (Hex)
*1 Date/Month/
Year (DMY)
Level +0, b3,4
Time Settings by Date = 00
Monthly Time Settings = 01
Yearly Time Settings = 10
*2 Year
Level +0: b0,1,2
Level +1: b5,6,7
Year Setting = 1990 + Offset Value.
Offset range is from 8 to 63.
Example Year 2020 = 1990 + Offset Value thus,
Offset Value = 30 decimal or 011110 binary.
*3 Month Level +1: b1,2,3,4 Monthly Range is from 0 - 12.
*4 Day
Level +1: b0
Level +2: b4,5,6,7
Day Range is from 1 to 31
*5 Hour
Level +2: b0,1,2,3
Level +3: b7
Hourly Range is from 0 - 23.
*6 Minute Level +3: b1,2,3,4,5,6 Minute Range is from 0 - 59
*7 On/Off Level +3: b0
On = 1
Off = 0