There is a lot of way to convert pulse 5v to 24v, but of course people will try to find an easy way to do it and stable. On my Multi Fixed Pulse Generator the pulse output is 5V and with 5V power supply, but to match application to the field i have to convert it from 5v pulse to 24v pulse and the power supply 24V too. Because the power supply is 24V it's easy to convert it.
Here is the schematic :