Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
7-345
DATERD(P)
1
2
3
4
6
6
7
8
7.15 Clock instructions
7.15.1 Reading clock data (DATERD(P))
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
[Ladder Mode]
[List Mode]
[Operation]
Outputs "Year"
Outputs "Month"
Outputs "Hour"
Outputs "Minute"
Outputs "Second "
Outputs "Day"
Outputs "Day of week"
Step Instruction Device
(Year)
7521
Y50Y57Y58Y5F
(Hour, Minute)
0
9
3
Y44Y47Y48Y4F
(Second, Day of week)
BCD
D0
12
2005
24
12
57
39
D1
D2
D3
D4
D5
Clock data
BIN
2005, 12, 24, 12:57:39, Sunday
4221
5002
Y60Y67Y68Y6F
Y70Y7F
(Month, Day)
0
D6