NEWS
LinuxCNC 2.5.2 Release
There are no translations available.

LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release
There are no translations available.

LinuxCNC 2.5.1 Update Released (changelog). If the Package Manager does not prompt you to upgrade see this page.

 
LinuxCNC 2.5.0 Release
There are no translations available.

New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 
Home Forum Using LinuxCNC G Code How do I use the M67 command to toggle a laser?

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: How do I use the M67 command to toggle a laser?

How do I use the M67 command to toggle a laser? 25 Июн 2012 15:32 #21326

  • Cree
  • Cree's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
Hi,

it was suggested to me in another thread that rather than using Z up/down movement to turn a laser on and off, I should use the M67 command.
I guess this is good advice, however, I have no idea how to do that (and I could not find any information that helped me much).

I am using Inkscape and the gcodetools plugin to generate gcode for my laser engraver (which is missing the laser part, but I am willing to substitute it with a LED for the moment, just to see if the blinky lights will actually blink), and as I am fairly new to this CNC thing, I am a bit overwhelmed.


How do I use M67? I guess I will somehow have to bind the command to one of the leftover outputs on my parallel port via HAL, is that correct?
But first, how do I include M67??

Thanks, Christian
The administrator has disabled public write access.

Re:How do I use the M67 command to toggle a laser? 25 Июн 2012 17:15 #21329

  • mhaberler
  • mhaberler's Avatar
  • OFFLINE
  • Moderator
  • Posts: 197
  • Thank you received: 8
  • Karma: 54
I would rather suggest using the spindle pins for the laser instead of M6x - you'll likely get better performance

-m
The administrator has disabled public write access.

Re:How do I use the M67 command to toggle a laser? 25 Июн 2012 23:49 #21333

  • cncbasher
  • cncbasher's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 687
  • Thank you received: 30
  • Karma: 53
why do you not want to use the M3 - M5 commands ?
i cant see any reason not to , all the lasers i use , and have built use this method ,
at least using M3 & M5 would mean the laser would not turn on untill the z axis was in the correct position and focal point reached
( if z axis is movable of course )
i link spindle speed to pwm for laser power output .
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 0.841 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.