A contributing issue is CNC power supplies have a nice big capacitor to charge from nothing at switch on, which contributes quite heavily to the surge.
Placing a resistor inline, limits the surge until everything reaches working voltage.