Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: ronaldkelleners on August 12, 2010, 08:48:47 AM

Title: Macro Functions, Mach loads them while loading Gcode ?
Post by: ronaldkelleners 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
Title: Re: Macro Functions, Mach loads them while loading Gcode ?
Post by: Hood on August 12, 2010, 08:52:45 AM
Config menu then General Config page, Ignore M codes on loading.

Hood
Title: Re: Macro Functions, Mach loads them while loading Gcode ?
Post by: ronaldkelleners on August 12, 2010, 08:59:18 AM
Hi Hood,

Thanks for the sollution,

Strugling the whole day width it ....

Grt Ronald
Title: Re: Macro Functions, Mach loads them while loading Gcode ?
Post by: zealous 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