Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: guynamedbathgate on July 19, 2009, 12:16:26 PM

Title: can some one look at this code for me
Post by: guynamedbathgate on July 19, 2009, 12:16:26 PM
Can someone take a look at this code for me? I am trying to proof it, but all I am getting on my screen is a straight line for the tool path.It should be kind of a bullet shape. I cant find anything wrong that I can think of. This is a lathe program so if anyone wants to see if they can find my error. its driving me bonkers.
Title: Re: can some one look at this code for me
Post by: Chip on July 19, 2009, 01:36:17 PM
Hi, CB

Post your dxf file for this, Hears a couple of pic's.

Chip
Title: Re: can some one look at this code for me
Post by: HimyKabibble on July 19, 2009, 03:17:41 PM
Can someone take a look at this code for me? I am trying to proof it, but all I am getting on my screen is a straight line for the tool path.It should be kind of a bullet shape. I cant find anything wrong that I can think of. This is a lathe program so if anyone wants to see if they can find my error. its driving me bonkers.


You have no Y axis moves in that file - only X and Z.

Regards,
Ray L.
Title: Re: can some one look at this code for me
Post by: Chip on July 19, 2009, 04:03:47 PM
Hi, Ray

It's lathe G code it wouldn't/shouldn't have "Y" move's anyway, I've run across this before, Just can't remember the issue was at the moment.

Chip
Title: Re: can some one look at this code for me
Post by: Hood on July 19, 2009, 04:26:32 PM
Line 276 has a move to Z-8487 and line 338 has Z-2807, you must have a big lathe or you missed out a decimal point  ;D
Hood
Title: Re: can some one look at this code for me
Post by: guynamedbathgate on July 19, 2009, 04:31:09 PM
Here is the XML file for my simulator computer. it is set up just as it loads because I do not run a machine on this computer. but I do have the same problem at the machine. Looks like I need to flip the finsh pass arc around but it does look the way I thought it should.
any help on what the problem is will be appreciated.

CB
Title: Re: can some one look at this code for me
Post by: Hood on July 19, 2009, 04:32:15 PM
see my above post, it will sort it out for you :)
Hood
Title: Re: can some one look at this code for me
Post by: guynamedbathgate on July 19, 2009, 04:35:23 PM
Ahhh, thanks. I knew it must have been something little in there , but I just couldn't find it. added the decimal points and made the radius negative and it looks correct now. Thanks a lot. I
Title: Re: can some one look at this code for me
Post by: Chip on July 19, 2009, 05:51:32 PM
Hi, CB

I think the X's Should normally be -X Values, If you have a dxf of this could you post it.

Thanks, Chip
Title: Re: can some one look at this code for me
Post by: guynamedbathgate on July 19, 2009, 07:45:32 PM
well I see your point as to why they should be negative X values. But I set my lathe up so they are positive. Just easier for me to think about it in terms of positive diameters rather than where the tool path is on the axis. I take it most people do it the way your suggesting?

CB
Title: Re: can some one look at this code for me
Post by: Hood on July 19, 2009, 07:50:49 PM
Nope X are all positive for me unless I want them to be negative for a reason :)
Hood
Title: Re: can some one look at this code for me
Post by: Chip on July 19, 2009, 09:14:01 PM
Hi, CB

Well I was thinking about my statement while eating some dinner (I know I shouldn't be thinking about this Stuff at Dinner), But the Math part of the bigger "+" to smaller "-" X value is correct from a rear tool post point of view ( Is the Glass of water 1\2 Full or 1/2Empty).

For a long time I thought G-code "-Z"  cutting deeper in material didn't make sense ether ( Is the Glass of water 1\2 Full or 1/2 Empty), See I don't even know whether to use the "\" or "/" for the 1|2 Stuff.

That's part of the reason Mach3 View Screen in Later Versions doesn't show Arc's properly in Mill Mode, I'm thinking ( Now that brink's up more Question's, Math, Logic. Rite/ Right, Wrong\ronge, and So on........and so on...., & I'm so broke I can't change my Mind, ( you know a mind is a Tarbell thing to waste) "( anybody got a dictionary )".

Hopping Rev 4 will make it all clear, My understanding is that it is whiten to a Standard used by "Smitt" or someone named like that , Which is fine with Me as there seem to be varied opinion's after you get past 3 Axises or So.........

Still thinking about It, Send Help, BR5 49. ( http://en.wikipedia.org/wiki/Hee_Haw ), I don't remember having a round TV to watch, Just a rill early Square one.

Thanks, Chip

PS: Hood, I'm not sure maybe the Decreasing Z Value part is True, G-code Doesn't all way's follow any "Logic or lack of" sometimes to me, Where is Zero, See I can't change my mind.  ???

Edit : Rich : None of this Stuff make's Much sense, Maybe I can get a Partial Credit for something, It almost Make's Sense, "ISO Standard" and "Some One's" ISO Standard" is OK with Me, Also. "Man"  has never been correct over "Time" anyway "About Anything".  :D
Title: Re: can some one look at this code for me
Post by: RICH on July 20, 2009, 12:05:14 AM
Hi all,
Hmm.... BR549, isn't that Hood's post office box number?    :)  BackRoad549 to Brett's Retreat?   ;) Or BadReply549 times out of total replies?   :D .........senior moment here, now I recall, it was Pinky Lee's dressing room number!  ;D

X positive X negative about the axis........well, the mathematical plane and the standard machining center planes need to be in agreement based on ISO and NIST standards and when resolved create reversed arc motion when comparing a front tool position to a rear tool post position / conventional lathe to a slant bed lathe. Now how you deal with
a lathe that has both tool  posts positions in use from a standard point of view would be like a a glass 1/2 filled with 0
definiton.    ???  Hmm......BR550  >:D

RICH