Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: big-tex on January 10, 2010, 06:04:54 PM

Title: few problems
Post by: big-tex on January 10, 2010, 06:04:54 PM
Let me explain what I am doing.
First off I do reference all after I start computer. I do referencing at 6 ipm.
1.   After loading toolpath and starting machine goes to my tool changing location at normal speed, then after z tool zero press start and machine jogs at 6 ipm.
Is this normal? It does not seem to be.....How do I change that?

2.  After loading toolpath and zeroing tool after starting machine goes to machine coordinates 0,0,0 not to work coordinates How is that changes?
Title: Re: few problems
Post by: Hood on January 10, 2010, 06:29:47 PM
How do you get the machine to your toolchange position? is it by button or jog? Do you have the slow jog % set to something less than 100%? If you press the Shift key with a jog key it should jog at full speed if you do have a slog jog % set.
Hood
Title: Re: few problems
Post by: big-tex on January 10, 2010, 06:40:46 PM
I start program and mach 3 takes it to toll change position by use of M6Start.

Yes I do use jog speed at 50% yes shift does work for jog 100%
Title: Re: few problems
Post by: Hood on January 10, 2010, 06:43:14 PM
I am not really following what you are meaning then, sorry. Is it that your Z axis is moving when you think it shouldnt?
Hood
Title: Re: few problems
Post by: big-tex on January 10, 2010, 06:52:23 PM
after touch off and setting tool zero for the first time after homing at 6ipm machine goes for first tool path very slow and after next tool change and touch off it is normal speed
Title: Re: few problems
Post by: Hood on January 10, 2010, 06:54:39 PM
Ok so is your code asking for a faster speed?
and the other one where machine goes to machine coords zero, could it be the code has a G28 or a G53 X0Y0Z0?

Hood
Title: Re: few problems
Post by: big-tex on January 10, 2010, 06:56:13 PM
can we try first issue first?
Title: Re: few problems
Post by: Hood on January 10, 2010, 06:58:36 PM
Yep,  you are saying that after the toolchange and touch off the code starts running and is only going at 6IPM, so I was asking  is the code calling for faster?
Hood
Title: Re: few problems
Post by: big-tex on January 10, 2010, 07:02:11 PM
N80X0.0000Y0.0000F89.0

I guess code points to 89 ipm
Title: Re: few problems
Post by: Hood on January 10, 2010, 07:04:17 PM
Yep sure does but is there a G1 before that line? Might be best to attach the code and your xml and I will see if I can replicate here.

Hood
Title: Re: few problems
Post by: big-tex on January 10, 2010, 07:23:54 PM
here is code
Title: Re: few problems
Post by: big-tex on January 10, 2010, 07:27:17 PM
xml
Title: Re: few problems
Post by: Hood on January 10, 2010, 07:39:53 PM
Ok, seems to run fine here, your motors are tuned to 60IPM max so the feedrate of 89 will never be reached. Having said that I am wondering if you see exactly 6IPM in the Units/min DRO?
Hood
Title: Re: few problems
Post by: big-tex on January 10, 2010, 07:47:28 PM
my motors on x and y are set up at 600 ipm
Title: Re: few problems
Post by: Hood on January 10, 2010, 07:48:15 PM
Ok I gotta go get some sleep so I will say what I think your issue is.
The first part of the code is made up of hundreds of small lines and your motors have a fairly slow acceleration. You are running in Exact Stop mode so the axis have to slow to a stop at each line then start again on the next. If you put a G64 (Constant Velocity) on the end of the  N20 line you should see an improvement.

Hood
Title: Re: few problems
Post by: big-tex on January 10, 2010, 07:49:13 PM
Homing set at 10% feed rare FRO showes 6
Title: Re: few problems
Post by: Hood on January 10, 2010, 07:49:25 PM
my motors on x and y are set up at 600 ipm

Not in the xml you posted they are not.
Hood
Title: Re: few problems
Post by: Hood on January 10, 2010, 07:50:45 PM
Homing set at 10% feed rare FRO showes 6

Yes because 10% of 60 is 6, your motors are tuned to 60, but as said a couple of posts back I think your issue is the slow accel, the short lines and G61 mode.
Hood
Title: Re: few problems
Post by: ger21 on January 10, 2010, 07:55:01 PM
Mach3 also starts with the feedrate set at 6ipm. Try putting F50 or whatever speed you want in the initialization string. Then mach3 will be set to whatever feedrate you want when you click the reset button.
Title: Re: few problems
Post by: big-tex on January 10, 2010, 08:23:53 PM
F50 in intializing worked ThX
go to see you here Gerry
Title: Re: few problems
Post by: big-tex on January 10, 2010, 08:38:50 PM
Can we tackle second issue?
Why is mach after first touch off goes to machine coord 0,0,0 rater than working cord 0,0,0
Title: Re: few problems
Post by: ger21 on January 10, 2010, 08:47:40 PM
Can you explain what it does a little more clearly? maybe a step by step of what you're doing?
Title: Re: few problems
Post by: big-tex on January 10, 2010, 08:55:00 PM
After homining etc I lode g-code, then start runing it as per config and m6start it goes to designated tool location I do tool change and touch off in same location.
Press start to continue, than machine goes first to machine coord 0,0,0 than work coord o,0,0 and then to tool path.
Why machine is going to machine coordinates 0,0,0 first? Is there setting in config?
Title: Re: few problems
Post by: ger21 on January 10, 2010, 09:05:24 PM
The tool change location on the Settings page is in Machine Coordinates, I think. Are you clicking the Toolchange Pos. button?

It may be in your M6Start.m1s or M6end.m1s macros.
Title: Re: few problems
Post by: big-tex on January 10, 2010, 09:13:46 PM
Tool change location is is exactly in M6Start macro
Title: Re: few problems
Post by: Hood on January 11, 2010, 07:05:21 AM
Ok so if the F50 in the inialisation cured your problem it would seem you were meaning that it is the move after the toolchange to the start of the code. I was thinking it was during the first toolpath you were seeing the slow speeds. However if you run in Constant Velocity mode (G64) you will likely see a vast improvement in the speed of the first part of the code due to it being made of many short lines.
 Putting the F50 in the initialisation, although seeming to cure your problem it isnt really as the problem I suspect will be with your M6 End macro in that it is calling a G1 move but not specifying a feedrate. It is also likely that your Machine Coords zero move is also initiated by that macro.
Attach both of your M6 macros and maybe someone will find the problem.
Hood
Title: Re: few problems
Post by: ger21 on January 12, 2010, 07:20:47 AM
After speaking on the phone last night, I believe we figured out what he was seeing. The M6 end macro saves the current position and returns there after the tool change.

After he homed his machine, the first time he ran it, it returned to machine 0,0,0 because that's where it was after he had just homed it. On subsequent tool changes, the machine wasn't at machine 0,0,0, so it appeared to behave differently.
Title: Re: few problems
Post by: big-tex on January 13, 2010, 07:24:07 PM
THX guys I will test it this weekend when I get home.