How to add a vacuum that works automatically with Xcarve

I initially had the disconnect problem too.
What I did was run two dedicated circuits to the machine.
One is for the spindle and dust collector, the other is for the computer, controller and second monitor.
Works great.