you got 2 channel programmer which control hot water and heating.
no 4 on programmer send current to thermostat and than thermostat send it to motorised valve.
thermostat most likely getting 240v when heating is turned on from programmer, if you want to make sure it , just replace programmer on...