2 acts as a precision timer which is responsive to the ECG peaks, as detected by and indicated by switching of the operational amplifier OP1.
A programmable uni-junction transistor Q2 is connected in series with resistor R5, the latter series combination being connected between the output of amplifier OP1 and the collector of transistor Q1.