On 15 March 2010 22:05, Andy Pugh <[email protected]> wrote: > Running this code gives me the error > "Y value unspecified in xz plane canned cycle" > Which is a bit of a surprise given that the machine is a lathe (and LATHE = 1) > Replacing the G18 with G17 fixes the problem, but seems a bit > counter-intuitive.
Chris has explained why this is on IRC, but I am still not convinced it makes sense. The reason for the G18 was to make G2 and G3 work in other parts of the code. G18 means canned-cycle movement in Y, so it is an error to use G18 and a canned cycle with a lathe. However, it also doesn't seem to make any real sense to program G17 (X,Y plane) on a machine which doesn't even have a Y axis. I might have argued that G83 etc are unambiguous on a lathe, but I suppose in principle you could use it as a peck-parting cycle in X. So I don't know what the answer is, but being asked to specify a Y value for a machine with no Y axis certainly isn't the clearest error message and changing planes on a single-plane machine seems unintuitive. -- atp ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
