Hello Guest it is March 28, 2024, 05:22:19 PM

Author Topic: VB macro runs when regenergating path  (Read 3006 times)

0 Members and 1 Guest are viewing this topic.

VB macro runs when regenergating path
« on: October 09, 2013, 10:15:22 PM »
Hello,

I have a macro that has some JogOn commands called by my Gcode, each time I edit the Gcode and close/save it Mach3 regenerates the path and the macro runs, moving the tool around, but since the previous Gcode did not actually execute, it was just scanned for the path regen, the macro does weird/bad stuff.

Is there a way to inhibit the macro when the Gcode is just being scanned to regenerate the path? Is there a way to inhibit path regeneration?

Thanks,
Hobie

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: VB macro runs when regenergating path
« Reply #1 on: October 09, 2013, 10:53:18 PM »
Try general config. Ignore M calls when loading.

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!
Re: VB macro runs when regenergating path
« Reply #2 on: October 10, 2013, 11:38:53 AM »
Thanks Brett,

That did it!

Offline Chaoticone

*
  • *
  •  5,624 5,624
  • Precision Chaos
    • View Profile
Re: VB macro runs when regenergating path
« Reply #3 on: October 10, 2013, 12:13:19 PM »
It's Hoods fault, you can blame him.  ;D

Brett
;D If you could see the things I have in my head, you would be laughing too. ;D

My guard dog is not what you need to worry about!