I want to set up two solenoids, one for air the other for coolant.

I purchased (2) 12v solenoids but I have a question on how I can power them. Simple solution is to buy a 12 power supply. But I do have a 12v source but I am not sure I can use it with the G540.

The way the controller is powered is I have a 24v and a 48v power supply that the commons are hooked together. The 24v is for an NSK spindle and the 48v is for the stepper motors. Also in the controller box, but totally separate, I have an ATX power supply that I use for 5v homing switches and two fans. The ATX also has a 12v output but I am not sure if I can use it.

I was wondering if I can take the 12v leads on the ATX and connect the common (black) to the 48v power supply so I can use the number 6 output for the common on he solenoid and the power from the ATX? Or should I just get a 12v power supply.

Below is a schematic of what i currently have.