Hello Guest it is April 24, 2024, 06:41:20 PM

Author Topic: Turning a macro to a M - code  (Read 3033 times)

0 Members and 1 Guest are viewing this topic.

Turning a macro to a M - code
« on: September 28, 2011, 05:18:17 PM »
How do I make a macro I wrote executable by using M??? in the g-code?

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: Turning a macro to a M - code
« Reply #1 on: September 28, 2011, 05:37:00 PM »
Save it as M*********.m1s in your Mach3\macros\YOURPROFILE\ folder. Then just call M*********.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Turning a macro to a M - code
« Reply #2 on: September 28, 2011, 07:17:34 PM »
Make sure you understand that the ***********'s  have to be intergers(numbers)

(;-) TP

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: Turning a macro to a M - code
« Reply #3 on: September 28, 2011, 07:39:02 PM »
I typed x x x, but apparently it's a ********* reference. ;)
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html