α
2 Simple Application Controllers
The Command String 7
7 - 29
3 ) Command Example -
Weekly Time Settings
The data in the Command code for a Weekly 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.
Notes:
The Values in quotation marks “x” are defined for the weekly setting and will not change.
The Values for the Hour parameter is a 5 digit binary number with a range of 0 to 23.
The Values for the Minute parameter is a 6 digit binary number with a range of 0 to 59.
a ) Example - Send Data to Time Switch Setting 1 so that Monday, Wednesday, and Friday
of the First Week of Every month at 10:00 AM the Output turns On.
Step 1
The values in +0 level are fixed as described above.
Step 2
The
Weekly
values are shown below where only Wk 1 is activated.
Step3
The
Daily
Values have Monday, Wednesday and Friday = 1.
Table 7.15: Weekly Time Setting Schedule
Level b7 b6 b5 b4 b3 b2 b1 b0
RTC+0 “1” “0” “0” “0” “0” “0” “0” “0”
RTC+1 Week 5 Week 4 Week 3 Week 2 Week 1 Saturday Friday Thursday
RTC+2 Wednesday Tuesday Monday Sunday Hour Hour Hour Hour
RTC+3 Hour Min Min Min Min Min Min On/Off
Level b7 b6 b5 b4 b3 b2 b1 b0
RTC+0 “1” “0” “0” “0” “0” “0” “0” “0”
Level b7 b6 b5 b4 b3 b2 b1 b0
RTC+0 “1” “0” “0” “0” “0” “0” “0” “0”
RTC+1 Wk 5 = 0 Wk 4 = 0 Wk 3 = 0 Wk 2 = 0 Wk 1 = 1 Saturday Friday Thursday
RTC+2 Wednesday Tuesday Monday Sunday Hour Hour Hour Hour
RTC+3 Hour Min Min Min Min Min Min On/Off
Level b7 b6 b5 b4 b3 b2 b1 b0
RTC+0 “1” “0” “0” “0” “0” “0” “0” “0”
RTC+1 Wk 5 = 0 Wk 4 = 0 Wk 3 = 0 Wk 2 = 0 Wk 1 = 1 Sat = 0 Fri = 1 Thur = 0
RTC+2 Wed = 1 Tues = 0 Mon = 1 Sun = 0 Hour Hour Hour Hour
RTC+3 Hour Min Min Min Min Min Min On/Off