On 20.03.13 08:35, Marcus Bowman wrote: > > On 20 Mar 2013, at 04:16, Igor Chudov wrote: > > I have a vertical mill with a fourth axis A. > > My buddy wants me to write a subroutine that would let me mill thread on > round parts, that are held in the fourth axis, and the thread would be > milled using a 60 degree chamfer end mill, rotating the part around the A > axis. > > I have some questions about the odds and ends of this. > > 1. I would like to be able to say to the machine, in G code, that "wherever > we are on the A axis, call it zero degrees position". In other words, I > want to change the coordinate system in G code for one A axis only. How do > I do it. > > Gene is right: there are threading canned cycles you could use, but > you still might want to reset the A to 0 when you start that. The > write-it-yourself answer might depend on whether you mean you need the > A value to be zero at that point inside that subroutine only, or > whether it can be 0 at that point outside the subroutine as well.
Marcus, without any detectable form of quoting in your post, it is difficult know what part of it is written by Igor, and what part of it is yours, at least until we've read back and forth a bit to work it out. Is there any chance that your mail client could be set to use the standard form of marking quoted text, to make the job of reading less difficult? It would be very helpful. Erik -- Mixed emotions: Watching a bus-load of lawyers plunge off a cliff. With five empty seats. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
