Hello Guest it is March 28, 2024, 01:36:34 PM

Author Topic: can some one look at this code for me  (Read 6606 times)

0 Members and 1 Guest are viewing this topic.

can some one look at this code for me
« 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.

Offline Chip

*
  • *
  •  2,055 2,055
  • Gainesville Florida USA
    • View Profile
Re: can some one look at this code for me
« Reply #1 on: July 19, 2009, 01:36:17 PM »
Hi, CB

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

Chip
Re: can some one look at this code for me
« Reply #2 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.
Regards,
Ray L.

Offline Chip

*
  • *
  •  2,055 2,055
  • Gainesville Florida USA
    • View Profile
Re: can some one look at this code for me
« Reply #3 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

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: can some one look at this code for me
« Reply #4 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
Re: can some one look at this code for me
« Reply #5 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

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: can some one look at this code for me
« Reply #6 on: July 19, 2009, 04:32:15 PM »
see my above post, it will sort it out for you :)
Hood
Re: can some one look at this code for me
« Reply #7 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

Offline Chip

*
  • *
  •  2,055 2,055
  • Gainesville Florida USA
    • View Profile
Re: can some one look at this code for me
« Reply #8 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
Re: can some one look at this code for me
« Reply #9 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