Hello Guest it is May 24, 2019, 12:11:48 PM

Author Topic: Macro Functions, Mach loads them while loading Gcode ?  (Read 2094 times)

0 Members and 1 Guest are viewing this topic.

Macro Functions, Mach loads them while loading Gcode ?
« on: August 12, 2010, 08:48:47 AM »
Hello,

I'have written a macro function where mach slouild wait before going to the next gcode.

When loading a Gcode file where in the middle stands the M code ( M32 )
Mach Keeps waiting till the input is active...
This schouild be only on cycle start,  not on loading a gcode file....

Is is possible to do an if / statement in the macro what checks the status of cycle start ?

Thanks  Ronald

Offline Hood

*
  •  25,816 25,816
  • Carnoustie, Scotland
    • View Profile
Re: Macro Functions, Mach loads them while loading Gcode ?
« Reply #1 on: August 12, 2010, 08:52:45 AM »
Config menu then General Config page, Ignore M codes on loading.

Hood
Re: Macro Functions, Mach loads them while loading Gcode ?
« Reply #2 on: August 12, 2010, 08:59:18 AM »
Hi Hood,

Thanks for the sollution,

Strugling the whole day width it ....

Grt Ronald

Offline zealous

*
  •  492 492
  • HI!
    • View Profile
    • Artsoft Solutions
Re: Macro Functions, Mach loads them while loading Gcode ?
« Reply #3 on: August 14, 2010, 12:50:24 AM »
Just to make sure I always have in my macros:

Code: [Select]
'Are we loading the file
If (Isloading() = 0) Then
End IF
« Last Edit: August 14, 2010, 12:52:36 AM by zealous »