Hello Guest it is October 24, 2021, 06:32:28 AM

Author Topic: Macro won't run in MDI  (Read 2802 times)

0 Members and 1 Guest are viewing this topic.

Macro won't run in MDI
« on: July 16, 2012, 06:08:36 PM »
Hello world,
I've written a new macro that runs just fine from the script editor but won't run from the input in MDI like all the existing other .m1s files do.
Que pasa?
Thanks,

Offline ger21

*
  • *
  •  6,293 6,293
    • View Profile
    • The CNC Woodworker
Re: Macro won't run in MDI
« Reply #1 on: July 16, 2012, 07:04:41 PM »
You'll need to post the macro  if you want someone to tell you why it's not working.
Gerry

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

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: Macro won't run in MDI
« Reply #2 on: July 16, 2012, 07:55:27 PM »
here's the macro at this point;
thanks again

Offline BR549

*
  •  6,952 6,952
    • View Profile
Re: Macro won't run in MDI
« Reply #3 on: July 17, 2012, 08:48:37 PM »
You need to move your macro OUT of the M1-100 range. Mach sees it as an internal macro and cannot find it.

Nice macro by the way(;-)

(;-) TP
Re: Macro won't run in MDI
« Reply #4 on: July 18, 2012, 06:36:57 AM »
Thanks for the reply.  Actually I just tried renaming it to M22 instead if M2 and it ran fine from the MDI.  So there must be some reserved macro numbers, does anyone know if and where this is documented.  Thanks again,