Jon Elson wrote:
> Chris Reynolds wrote:
>   
>> Is there a code that can be put into a gcode file that when the program 
>> finishes 
>> it sets the z height to 0? I have some parts I mill that I mill one side 
>> down so 
>> far then flip the part and mill the other side down so far, it would be nice 
>> to 
>> have the program automatically set the z height to 0 after it finishes 
>> milling 
>> the first side, so it's already set when I flip the part. 
>>   
>>     
> G10 L2 P1 Z0
>
> Should do it.  These offsets are cleared when a program ends, but Axis 
> generally reinstates
> them when starting a program.  Otherwise, use G92.3 to bring the offset 
> back.
>   
Actually, what he wants is G10 L20 P1 Z0, which sets the current 
position to be as specified.
The G10 L2 sets an OFFSET on the specified axis.

Jon

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to