Thank you Andy ,got it working.

On 08/08/2010 02:03 PM, Andy Pugh wrote:
> On 8 August 2010 16:50, Jim Wilkin<[email protected]>  wrote:
>
>    
>>   Writing a gcode  program to machine a rectangle shaped part.
>>   Plan to touch off 3 on sides then move to the fourth side (cycle
>> start) import the distance from the D.R.O. memory and calculate how
>> passes are required.
>>      
> As far as I know, the current position is not directly available to G-code.
>
> The workaround I use is to use G92.
> This is from a lathe, so has only X and Z, and with X doubled:
>
> G92 x0 z0  (store position)
> g92.2
> #14 = [#5211 * 2] (starting X)
> #13 = #5213 (starting Z)
> g92.1 (clear the offset)
>
>    

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to