Hi Guys Just got my C touch and I am looking at the logic required for my heating. The C touch needs to take care of the schedules and in effect take the place of a normal central heating clock. Therefore there will be three outputs, Boiler on, Zone 1 and Zone 2. There must also be the option for 4 on and offs during a period and 2 periods (weekdays and weekends) This gives 48 Time paramenters that need to be adjusted on the screen. Does the logic below look ok to you guys. WK = week WE = weekend B= Boiler Z1= Zone 1 Z2 - Zone 2 IF TIME > WK B ON 1 AND < WK B OFF 1 OR TIME > WK B ON 2 AND < WK B OFF 2 OR TIME > WK B ON 3 AND < WK B OFF 3 OR TIME > WK B ON 4 AND < WK B OFF 4 OR TIME > WE B ON 1 AND < WK B OFF 1 OR TIME > WE B ON 2 AND < WK B OFF 2 OR TIME > WE B ON 3 AND < WK B OFF 3 OR TIME > WE B ON 4 AND < WK B OFF 4 OR ZONE 1 ON OR ZONE 2 ON THEN BEGIN BOILER ON = TRUE ELSE BOILER ON = FALSE END IF TIME > WK Z1 ON 1 AND < WK Z1 OFF 1 OR TIME > WK Z1 ON 2 AND < WK Z1 OFF 2 OR TIME > WK Z1 ON 3 AND < WK Z1 OFF 3 OR TIME > WK Z1 ON 4 AND < WK Z1 OFF 4 OR TIME > WE Z1 ON 1 AND < WK Z1 OFF 1 OR TIME > WE Z1 ON 2 AND < WK Z1 OFF 2 OR TIME > WE Z1 ON 3 AND < WK Z1 OFF 3 OR TIME > WE Z1 ON 4 AND < WK Z1 OFF 4 THEN BEGIN ZONE 1 ON = TRUE ELSE ZONE 1 ON = FALSE END IF TIME > WK Z1 ON 1 AND < WK Z1 OFF 1 OR TIME > WK Z1 ON 2 AND < WK Z1 OFF 2 OR TIME > WK Z1 ON 3 AND < WK Z1 OFF 3 OR TIME > WK Z1 ON 4 AND < WK Z1 OFF 4 OR TIME > WE Z1 ON 1 AND < WK Z1 OFF 1 OR TIME > WE Z1 ON 2 AND < WK Z1 OFF 2 OR TIME > WE Z1 ON 3 AND < WK Z1 OFF 3 OR TIME > WE Z1 ON 4 AND < WK Z1 OFF 4 THEN BEGIN ZONE 2 ON = TRUE ELSE ZONE 2 ON = FALSE END Thanks Mark