Hello Guest it is May 08, 2024, 11:43:03 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Graham Waterworth

1081
at no point do you move to Y0 and also a G10 in inc mode increments the tool offset so the tool gets bigger the second time you run the code.

You also need to turn on the G41 comp on a G01 line after you rapid to the start point. You also need a G40 lead out at the end of the profile to cancel tool comp.

Graham

1082
General Mach Discussion / Re: machine running irregular on button script
« on: December 18, 2010, 08:07:49 AM »
Don't forget us when you make your millions, I like fast Jags, Terry and the other guys might like one too.  ;)

Graham

1083
General Mach Discussion / Re: Error msg loading G-code
« on: December 16, 2010, 02:15:50 PM »
Here are a few help sheets I did for the chaps at work, it gives examples of how to do some basic g-code programs to do simple jobs, its all in metric but the principals are the same.

Graham
 

1084
General Mach Discussion / Re: Error msg loading G-code
« on: December 15, 2010, 05:50:25 PM »
what are you trying to do, using G41/42 is not a simple one line command there is more to it than that.  Post a sketch of what you want to machine then we can tell you how to proceed.

Graham

1085
General Mach Discussion / Re: Missing steps
« on: December 15, 2010, 09:11:51 AM »
Fasten a pointer to the leadscrew and align it with a marker then move the axis and the pointer should be back in line when you go back to the start point.

In most cases its rapid moves that cause the loss of position, try increasing the acceleration time and reducing the velocity a small amount.

Graham

1086
General Mach Discussion / Re: Error msg loading G-code
« on: December 15, 2010, 09:07:01 AM »
You have to apply the G41 on a feed line e.g. G01 G41 X10. P.25

Graham

1087
General Mach Discussion / Re: machine running irregular on button script
« on: December 15, 2010, 05:36:54 AM »
At the end of the run you could have a VB macro post process the file and recalculate the XY positions by subtracting the work offsets from the machine position.

Graham

1088
General Mach Discussion / Re: machine running irregular on button script
« on: December 14, 2010, 02:33:52 PM »
I am not sure it can be done ether but if not there are other ways to do it.

Graham

1089
General Mach Discussion / Re: machine running irregular on button script
« on: December 14, 2010, 11:31:12 AM »
The GetVar(n) command will allow you to pick up the # variables in VB, n being the # number you require. xstep=GetVar(1)

You may have to set up another M code to initialise the array as global at the start of the g-code.

I have not used the redim command in Mach3 so I would not like to say, maybe somebody else has and will chip in on the subject.

Make sure you save the macros in the macro folder for the profile you are using.

Graham

1090
General Mach Discussion / Re: machine running irregular on button script
« on: December 14, 2010, 08:52:45 AM »
No problem, if you want to test run the code just change the G31 line to something like G01 Z-1. F200. and Mach3 will simulate the moves for you.

Graham