4 WIRE ZONE VALVES WITH DOMESTIC HW PRIORITY USING A RIB RELAY RIB RELAY WIRING – WHITE/YELLOW – GOES TO C FROM TRANSFORMER AND ONE SIDE OF THE YELLOW WIRES FROM ALL THE ZONE VALVES (BOTH HEAT AND HOT WATER ZONE VALVES) WHITE/BLUE – GOES TO BOTH THE INDIRECT WATER HEATER AQUASTAT AND ONE YELLOW WIRE ON THE ZONE VALVE FOR THE INDIRECT WATER HEATER. YELLOW – GOES TO R FROM THE TRANSFORMER AND ONE SIDE OF THE AQUASTAT . BLUE – GOES TO R ON ALL HEAT THERMOSTATS THAT ARE HELD OFF FOR PRIORITY. 24V TRANSFORMER WIRING – R GOES TO THE YELLOW ON THE RIB RELAY AND ONE SIDE OF THE INDIRECT WATER HEATER AQUASTAT. C GOES TO WHITE/YELLOW ON THE RIB RELAY AND ONE YELLOW WIRE FROM ALL THE ZONES VALVES (BOTH HEAT AND HOT WATER ZONE VALVES) INDIRECT WATER HEATER AQUASTAT – ONE SIDE GOES TO R ON THE TRANSFORMER AND YELLOW ON THE RIB RELAY. THE OTHER SIDE OF THE AQUASTAT GOES TO WHITE/BLUE ON THE RIB RELAY AND ONE OF THE YELLOW WIRES FOR THE INDIRECT ZONE VALVE. ZONE VALVE FOR THE INDIRECT WATER HEATER – ONE YELLOW WIRE GOES TO C ON THE TRANSFORMER, ONE YELLOW WIRE FROM ALL OTHER ZONE VALVES, AND THE WHITE/YELLOW WIRE FROM THE RIB RELAY ONE YELLOW WIRE GOES TO ONE SIDE OF THE INDIRECT WATER HEATER AQUASTAT AND WHITE/BLUE WIRE ON THE RIB RELAY. ONE RED WIRE IS COMBINED WITH ONE RED WIRE FROM EVERY OTHER ZONE VALVE AND CONNECTED TO T ON THE BOILER AQUASTAT ONE RED WIRE IS COMBINED WITH ONE RED WIRE FROM EVERY OTHER ZONE VALVE AND CONNECTED TO T ON THE BOILER AQUASTAT ZONE VALVES FOR THE HEATING ZONES – ONE YELLOW WIRE GOES TO C ON THE TRANSFORMER, ONE YELLOW WIRE FROM ALL OTHER ZONE VALVES, AND THE WHITE/YELLOW WIRE FROM THE RIB RELAY ONE YELLOW WIRE GOES TO TO THE CORRESPONDING THERMOSTAT W ONE RED WIRE IS COMBINED WITH ONE RED WIRE FROM EVERY OTHER ZONE VALVE AND CONNECTED TO T ON THE BOILER AQUASTAT ONE RED WIRE IS COMBINED WITH ONE RED WIRE FROM EVERY OTHER ZONE VALVE AND CONNECTED TO T ON THE BOILER AQUASTAT THERMOSTATS – W GOES TO THE YELLOW WIRE OF THE CORRESPONDING ZONE VALVE R GOES TO THE BLUE WIRE FROM THE RIB RELAY AND IT IS COMBINED WITH R ON THE OTHER HEAT THERMOSTATS.