Hello Guest it is April 20, 2024, 04:43:16 AM

Author Topic: Spindle Dwell Time Mach 3  (Read 1668 times)

0 Members and 1 Guest are viewing this topic.

Spindle Dwell Time Mach 3
« on: December 14, 2020, 03:24:23 PM »
I seem to get a minimum spindle dwell time with all M3 and M5 commands of at least 1 maybe 2 seconds. I have gone into port and pins, spindle tuning and set the dwell times to 0, but it still delays.

I just added a laser to my router, and use the m3 and m5 commands to turn it on and off. The laser turns on and off great, but the dwell means I'm sitting there burning the workpiece. Any suggestions?

Offline Tweakie.CNC

*
  • *
  •  9,198 9,198
  • Super Kitty
    • View Profile
Re: Spindle Dwell Time Mach 3
« Reply #1 on: December 15, 2020, 01:18:37 AM »
As you have discovered the M3/M5 commands are far too slow acting for laser use.

The commands M11Px and M10Px (where x=the Output# being switched) are motion linked and were added to Mach3 for laser (and plasma) use.

If your laser trigger Output Pin number is mapped to Output#1 then the command M11P1 will turn on the Output Pin and the command M10P1 will turn off the Output Pin - provided the commands are followeed by an axis movement.

So...

To get started, Configure your M3 / M5 Pin number to Output#1 and replace the M3 commands in your Gcode with M11P1 and also replace the M5 commands with M10P1 and that is basically it.
There are various laser Post Processors to create this code available for different CAD/CAM softwares.

There is an example Gcode (Trispokedovetiles(laser).tap) in the .zip file here; https://www.machsupport.com/forum/index.php?topic=18345.0

Tweakie.
PEACE
Re: Spindle Dwell Time Mach 3
« Reply #2 on: December 15, 2020, 02:32:08 PM »
Thank you, I appreciate the response. Got it working now.