On 11/1/22 13:50, andy pugh wrote:
On Tue, 1 Nov 2022 at 14:36, gene heskett <ghesk...@shentel.net> wrote:
what I need is the number in the 5000 block, (or where ever it lives)
that is the "current height" as was established as zero when
the machine was homed but is now the actual height ack the g53 related
commands.
You need the value in HAL, so just use joint.3.pos-cmd
That won't jump around with changes in the co-ordinate map in use? G54
to G57 for example?
That, if not affected by map changes (and its not) until a move is done
ack the new map,
would be ideal.
It's in inches, going thru zero but not quite mid travel. and its seems
dead stable. I'll use it, but Z is joint.2,
not joint.3, :) which is the bs-1. for an A axis. I think I'm ready to
carve a new .hal file.
If the offset is linear it doesn't matter where the origin is, so you
could use motor-pos-cmd, but I think this pin will be consistent once
homed.
And LCNC remembers that even thru shutdowns. Should not need disabling
controls since Z
is the first axis homed just to stop tool breakage. That's simplifies
the .hal a bit.
I won't need the switching mux or lut5.
Thanks Andy. Take care and stay well.
--
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
Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users