Hello Guest it is March 29, 2024, 03:42:50 AM

Author Topic: How to ignore macros (M calls) in Run from here mode?  (Read 2448 times)

0 Members and 1 Guest are viewing this topic.

How to ignore macros (M calls) in Run from here mode?
« on: August 18, 2010, 01:58:48 PM »
Hi!
In general config there is an option for Ignoring M calls while loading program which works great.
But Mach still runs M code macros when simulating in "run from here".
Anyone knows how to disable the macros in this case?

Thanks!
Luis fdo.

Offline zealous

*
  •  489 489
  • HI!
    • View Profile
    • Artsoft Solutions
Re: How to ignore macros (M calls) in Run from here mode?
« Reply #1 on: August 19, 2010, 03:17:49 PM »
One way is to set a UserLED when the user presses the RFH and reset the LED when they press the start and in your macro's check the state of the LED.
The "Estimating LED" LED18 will be active while it processing the RFH...so you could possiable use that LED.
Re: How to ignore macros (M calls) in Run from here mode?
« Reply #2 on: August 23, 2010, 06:23:02 PM »
Used a UserLED.
Worked fine.

Thanks,
Luis