Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: TDAY on September 09, 2016, 01:02:59 PM

Title: Dry Run Mode
Post by: TDAY on September 09, 2016, 01:02:59 PM
Hello all,
 How can Mach4 be put into a "Dry Run" mode? So one could run Gcode and preview it on toolpath, without any physical machine movement. Is there any Lua code that could be put into a button to change motion device to the Simulation Device?
Thanks,
Troy
Title: Re: Dry Run Mode
Post by: DazTheGas on September 09, 2016, 03:09:03 PM
I have a relay that supplies the mains power to the psu that supplies my drivers/steppers, so whether I am testing the gui or running the machine I just press a toggle button onscreen.

DazTheGas
Title: Re: Dry Run Mode
Post by: TDAY on September 09, 2016, 05:36:55 PM
My setup is AC servos, so i cant do that. Mach3 had the option of disabling all outputs so you could simulate a run. Seems like there would be something like this in Mach4?
Title: Re: Dry Run Mode
Post by: Hood on September 10, 2016, 05:57:08 PM
Can you not just step through the code with the keyboard ?

Hood
Title: Re: Dry Run Mode
Post by: TDAY on September 10, 2016, 07:03:03 PM
It would be much nicer and more industry standard if you can do a dry run before actual machine motion. There is nothing like Mach3s OEM code 178(OfflineToggle), for Mach4?
Troy