--- Quote Start ---
take a look at the order and conditions of your if statements
hint:10!=3
--- Quote End ---
thanks for reply bro i try many time
IF ( H1 = 10) THEN
H1 :=0;
HR_1 <=0;
H2 := H2 +1;
IF ( H2 = 1 OR H1= 3 ) THEN
H2 :=0;
HR_2 <=0;
h1 counter hour1 is count 0 1 2 3 4 5 6 7 8 9
when condition
IF ( H1 = 10) THEN
H1 :=0;
HR_1 <=0;
H2 := H2 +1;
H2 = 1 will show us count from 0 to 1 so in broad show form 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
when i change H2 = 2 will show us count from 0 to 2 so in broad show form 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
so how make counter h2 count to 12 count? 0 1 2 3 4 5 6 7 8 9 10 11 12
or counter h2 count to 24 count? 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24