If you dont need all 5 stepgens you can use stepgen outputs for 5V signals
Note: many step motor drives have an enable must be powered to disable the drive
(that is they have a drive disable rather than an enable)
LinuxCNC's motion component has specific per axis drive enable pins, I would use these
(they are all switched at once so you can just use Axis 0's enable pin for a global enable)