Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: SailFl on September 24, 2009, 02:08:10 PM

Title: Macro Error, Buffer Over Run
Post by: SailFl on September 24, 2009, 02:08:10 PM
What does it mean when you get a status message, "Macro Error, Buffer Over Run".

It happens at about the same place when I am air cutting a file.

I should have included that when I get this message, the machine stops.
Title: Re: Macro Error, Buffer Over Run
Post by: Hood on September 24, 2009, 03:02:20 PM
What version of Mach and what is the code and where does it fault?
Hood
Title: Re: Macro Error, Buffer Over Run
Post by: SailFl on September 24, 2009, 03:43:40 PM
Mach Version R3.042.029.  There is no code.  The Status window has the message, "Macro Error, Buffer Over Run".  I do not have any Macro running but I have a GCode file running.  The GCode is a diagonal cut.

I am not sure I understand "Where does it fault?".  Mach stops working at the line of code it is currently been running.  I ran the same code 4 times and it stopped at 4 different spots.  It stops a little over half way through.
Title: Re: Macro Error, Buffer Over Run
Post by: Hood on September 24, 2009, 05:13:04 PM
The code I was meaning is the code you are running, the G Code, if you attach it I will try and replicate it. Also please attach your xml.
 What I was meaning by "Where does it fault?" was in your first post you said it seemed to be at the same place in the code, but I see now its not an exact line.

Hood
Title: Re: Macro Error, Buffer Over Run
Post by: SailFl on September 24, 2009, 05:34:16 PM
Here is the G Code I was running.

I am looking for problems so I reset the speed to 6 IPM in mach so that every thing is running at a different speed then what is set when the G Code was generated.  

Do we know what Macro Error, Buffer Over Run means?

Thanks for your help.

Hood,

I am the guy that is having the chatter problem.  It was suggested that my computer might be causing the problem.  I did test another computer and I still had the problem.  I tested the same file on the person that let me use his computer and the file cut on his machine with no chatter problems.  The cut was smooth.   It has been suggested that I might have a problem with my wiring so I am testing things out.  I ran into the Macro Error and wanted to see what it indicates.

Title: Re: Macro Error, Buffer Over Run
Post by: Hood on September 24, 2009, 05:42:25 PM
can you attach your xml as well please.
Hood
Title: Re: Macro Error, Buffer Over Run
Post by: SailFl on September 24, 2009, 05:47:44 PM
XML File
Title: Re: Macro Error, Buffer Over Run
Post by: Hood on September 24, 2009, 06:11:50 PM
You have E-Stop set to Pin14, that is an OutPut, you need to sort that. Also you have both probe and THC set to pin 11, I have never had a plasma set up so I am not sure if that is the way its meant to be or not.
Hood
Title: Re: Macro Error, Buffer Over Run
Post by: Hood on September 24, 2009, 06:15:48 PM
I also see you have the spindle set to outputs 2 and 1 and coolant to  4 and 3. You only have 2 and 4 enabled and 4 is using pin 14 which may be interfering with the E-Stop.
Hood
Title: Re: Macro Error, Buffer Over Run
Post by: SailFl on September 24, 2009, 06:31:59 PM
Hood,

Thanks for the input.  I will check this out and verify.
Title: Re: Macro Error, Buffer Over Run
Post by: SailFl on September 24, 2009, 07:30:45 PM
Hood,

What does the Maro Error, Buffer over Run mean?
Title: Re: Macro Error, Buffer Over Run
Post by: Hood on September 24, 2009, 07:38:23 PM
Not exactly sure, sounds to me like a macro is being run and its looping.
Hood
Title: Re: Macro Error, Buffer Over Run
Post by: SailFl on September 25, 2009, 04:45:40 AM
Hood,

Based on your observations and my reviewing my setup, I have made some changes.

Input Signals:
Probe remains as you found it.  That is for my Zero Touch Plate.
E Stop - I am using Pin 10 instead of Pin 14.
THC ON - I have disabled this input.

OutPut Signals:
No change OutPut #2 and #4 are active.

Spindle Relay Control:
M3 Remains as Output #2 Active
M4 is a Mach default value Output #1 is inactive.
Flood Mist:
M7 Remains as Output #4 Active, I turn my laser on for my X,Y location macro.
M8 is a Mach default value Output #3 is inactive.

I have tested these changes and things are still working. 

Thanks for the suggestions.
Title: Re: Macro Error, Buffer Over Run
Post by: Hood on September 25, 2009, 06:13:11 AM
I have tested these changes and things are still working. 

You meaning you are still having the problem or meaning its working fine now?
Hood
Title: Re: Macro Error, Buffer Over Run
Post by: SailFl on September 25, 2009, 09:00:53 AM
When I run the GCode at 6 IPM, I still get the Macro Error.  I would like to understand why that error is happening.  There must be a problem if I am getting an error.  I am not run any macros when I get this error.  I don't ge the error if I run at a faster speed.

I have modified my Ports and Pins based on the information you gave me, Thanks

I have a cut problem and I slowed the machine down so I could trouble shoot some things.  I am getting a regular pattern in my cuts.  I tried a different computer but the cut quality did not improve.  I cut the GCode on the other computer on a different but like machine and there is no problem on that machine.  It has been suggested that the regular pattern is more likely do to signal problems and not mechanical problems.  But I have also checked the mechanical issues and I believe the machine is tight.

Any suggestions would be helpful.
Title: Re: Macro Error, Buffer Over Run
Post by: Hood on September 25, 2009, 09:12:08 AM
How much backlash do you have? looks very much like backlash issues.
Hood
Title: Re: Macro Error, Buffer Over Run
Post by: Hood on September 25, 2009, 09:15:16 AM
Will run your code and xml tonight and see if I can find an issue, so can you post your latest xml and also if you could zip the macro folder and attach that
Hood