Hello Guest it is March 29, 2024, 09:55:28 AM

Author Topic: Dry Run Mode  (Read 3246 times)

0 Members and 1 Guest are viewing this topic.

Offline TDAY

*
  •  165 165
    • View Profile
    • Home CNC Stuff
Dry Run Mode
« 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
"I try to put forth the effort,before asking a dum question"
http://homecncstuff.elementfx.com

Offline DazTheGas

*
  •  778 778
  • DazTheGas
    • View Profile
Re: Dry Run Mode
« Reply #1 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
New For 2022 - Instagram: dazthegas

Offline TDAY

*
  •  165 165
    • View Profile
    • Home CNC Stuff
Re: Dry Run Mode
« Reply #2 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?
"I try to put forth the effort,before asking a dum question"
http://homecncstuff.elementfx.com

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Dry Run Mode
« Reply #3 on: September 10, 2016, 05:57:08 PM »
Can you not just step through the code with the keyboard ?

Hood

Offline TDAY

*
  •  165 165
    • View Profile
    • Home CNC Stuff
Re: Dry Run Mode
« Reply #4 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
"I try to put forth the effort,before asking a dum question"
http://homecncstuff.elementfx.com