Rev 2009 Rev 2074
Line 175... Line 175...
175   175  
176 slope_deviation = temp_slope - ramp; // vypocet strmosti a odchylky od pozadovane strmosti 176 slope_deviation = temp_slope - ramp; // vypocet strmosti a odchylky od pozadovane strmosti
177   177  
178 if(slope_deviation < 0) 178 if(slope_deviation < 0)
179 { 179 {
180 top_heat_power= 67 + balance; 180 top_heat_power= 60 + balance;
181 bottom_heat_power= 100; 181 bottom_heat_power= 100;
182 } 182 }
183 else{ 183 else{
184 top_heat_power=0; 184 top_heat_power=0;
185 bottom_heat_power=0; 185 bottom_heat_power=0;
Line 247... Line 247...
247 process_time.sec = SOAK_TIME - process_time.min*60; 247 process_time.sec = SOAK_TIME - process_time.min*60;
248   248  
249 lcd_clr(); 249 lcd_clr();
250 lcd_gotoxy(1,2); 250 lcd_gotoxy(1,2);
251 printf(lcd_putc,"SOAK "); 251 printf(lcd_putc,"SOAK ");
252 printf(lcd_putc,"#SOAK\r\n"); 252 printf("#SOAK\r\n");
253   253  
254 while (process_time.sec!=0 || process_time.min!=0) 254 while (process_time.sec!=0 || process_time.min!=0)
255 { 255 {
256 level_control(SOAK_TEMP); 256 level_control(SOAK_TEMP);
257   257