Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 06:54:56 PM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  Macro Functions, Mach loads them while loading Gcode ?
Pages: 1   Go Down
Print
Author Topic: Macro Functions, Mach loads them while loading Gcode ?  (Read 344 times)
0 Members and 2 Guests are viewing this topic.
ronaldkelleners
Active Member

Offline Offline

Posts: 3


View Profile
« on: August 12, 2010, 07: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
Logged
Hood
Active Member

Offline Offline

Posts: 17,358


Carnoustie, Scotland


View Profile
« Reply #1 on: August 12, 2010, 07:52:45 AM »

Config menu then General Config page, Ignore M codes on loading.

Hood
Logged
ronaldkelleners
Active Member

Offline Offline

Posts: 3


View Profile
« Reply #2 on: August 12, 2010, 07:59:18 AM »

Hi Hood,

Thanks for the sollution,

Strugling the whole day width it ....

Grt Ronald
Logged
zealous
Active Member

Offline Offline

Posts: 486



View Profile WWW
« Reply #3 on: August 13, 2010, 11:50:24 PM »

Just to make sure I always have in my macros:

Code:
'Are we loading the file
If (Isloading() = 0) Then
End IF
« Last Edit: August 13, 2010, 11:52:36 PM by zealous » Logged

Regards, Jason Blake

www.Fusioncnc.com
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!