On Tue, 24 Nov 2020 at 04:23, David Berndt <ber...@uberwin.com> wrote:

> But does G64 Px operate in machine native units? or should it be reset
> when changing between g20 and g21?

The code here: 
https://github.com/LinuxCNC/linuxcnc/blob/5cb4a18e0068fe430a2f2acbf219530f68c30c32/src/emc/task/emccanon.cc#L1199
Uses "FROM_PROG_LEN"
https://github.com/LinuxCNC/linuxcnc/blob/5cb4a18e0068fe430a2f2acbf219530f68c30c32/src/emc/task/emccanon.cc#L118

Which claims to convert from program units to internal machine units.
This does rather suggest that trouble will ensue if G64 and G21 are
used in the wrong order.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to