So it's a Flexicom HX24 then...
Run the boiler and look in the manual and pull up D40 & D41 diagnostic codes...that will give you the temperatures for the flow and return pipes.
If these temperatures are too wide (and/or probably too narrow) within a set time versus the burner output it will throw an F22.
Are you sure the pump is operating, the system isn't air locked somewhere etc.
The fact that the wiring is a bodge and the pump overrun has also been bodged (probably in order to avoid a new cable run back to the boiler) may be indicative of a poor system layout pipewise.
Run the boiler and look in the manual and pull up D40 & D41 diagnostic codes...that will give you the temperatures for the flow and return pipes.
If these temperatures are too wide (and/or probably too narrow) within a set time versus the burner output it will throw an F22.
Are you sure the pump is operating, the system isn't air locked somewhere etc.
The fact that the wiring is a bodge and the pump overrun has also been bodged (probably in order to avoid a new cable run back to the boiler) may be indicative of a poor system layout pipewise.