Special offers from our partners!
Find Replacement BBQ Parts for 20,308 Models. Repair your BBQ today.
7-367
S(P).DATERD
1
2
3
4
6
6
7
8
7.16 Expansion Clock Instructions
7.16.1 Reading expansion clock data (S(P).DATERD)
Program Example
(1) The following program outputs the following clock data as BCD values:
Year .................... Y70 to Y7F
Month ................. Y68 to Y6F
Day ..................... Y60 to Y67
Hour.................... Y58 to Y5F
Minute................. Y50 to Y57
Second ............... Y48 to Y4F
Week .................. Y44 to Y47
Millisecond.......... Y38 to Y43
[Ladder Mode]
[List Mode]
[Operation]
Outputs "Year"
Outputs "Month"
Outputs "Hour"
Outputs "Minute"
Outputs "Second"
Outputs "Day"
Outputs "Day of Week"
Outputs "Millisecond"
Instruction
Device
Step
50
0
Y70Y7F
(Year)
7521
Y50Y57Y58Y5F
(Hour, Minute)
09
3
Y44Y47Y48Y4F
(Second, Day of week)
BCD
D0
12
2005
24
12
57
39
D1
D2
D3
D4
D5
Clock data
Sunday
BIN
2005, 12, 24 12:57:39 530
422
2
1
Y60Y67Y68Y6F
(Month, Day)
0
D6
530
D7
0
3
5
Y38Y43
(Millisecond)