Afraid not, Mach is a trajectory planner and controller and takes the place of the original control on your machine.
You maybe should look into seeing if your control supports DNC, if it does then you can maybe hook it up via serial port to your computer and drip feed the code you have.
Hood