App. - 15
Appendix 4.10 Clock ladder
The clock data such as hour, minute, and second is output to a digital display.
Project name QA-3
Program name MAIN
T1
0
10
C11
C11
15
T0
T0
5
T1
K60
K5
SM400
38
K2Y40C11BCD
Counts minutes
T1
K5
C11RST
C12
K60
C12
24
C12RST
C13
K99
C13
33
C13RST
K2Y48C12BCD
K2Y50C13BCD
0.5-sec. flickering
Counts seconds
Counts hours
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
LED of output module
Ones
digit
Tens
digit
K2Y40
Ones
digit
Tens
digit
K2Y48
Ones
digit
Tens
digit
K2Y50
seconds
47
minutes
18
hours
64
Y57
8
Y56
4
ON
Y55
2
ON
Y54
1
Tens digit
Y53
8
Y52
4
ON
Y51
2
Y50
1
Ones digit
K2Y50 hour, Output
Y4F
8
Y4E
4
Y4D
2
Y4C
1
ON
Tens digit
Y4B
8
ON
Y4A
4
Y49
2
Y48
1
Ones digit
K2Y48 minute, Output
Y47
8
Y46
4
ON
Y45
2
Y44
1
Tens digit
Y43
8
Y42
4
ON
Y41
2
ON
Y40
1
ON
Ones digit
K2Y40 second, Output