Discussion:
[Emc-developers] Making the correct axis letters show in Axis
Les Newell
2017-07-01 21:33:32 UTC
Permalink
I'm in the process of writing a lathe kinematics module. Everything
seems to be mostly working but Axis doesn't show the axis letters for
the DROs. When in joint mode it displays the joint numbers as expected.
In world mode it just shows H for each axis. This is a basic XZ lathe
config. If I use trivkins the axes are shown correctly. Does anyone have
any idea what I'm doing wrong?

Les
Kirk Wallace
2017-07-01 23:35:04 UTC
Permalink
Post by Les Newell
I'm in the process of writing a lathe kinematics module. Everything
seems to be mostly working but Axis doesn't show the axis letters for
the DROs. When in joint mode it displays the joint numbers as expected.
In world mode it just shows H for each axis. This is a basic XZ lathe
config. If I use trivkins the axes are shown correctly. Does anyone have
any idea what I'm doing wrong?
Maybe try here, about a third of the way down shows "def draw_axes()" in
glcanon.py:
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Gremlin

Sometimes the axis letter shows up as a thin line because it is shown on
the edge and it needs to be rotated to face towards the viewer.
--
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/
Kirk Wallace
2017-07-02 03:26:24 UTC
Permalink
Post by Kirk Wallace
Post by Les Newell
I'm in the process of writing a lathe kinematics module. Everything
seems to be mostly working but Axis doesn't show the axis letters for
the DROs. When in joint mode it displays the joint numbers as expected.
In world mode it just shows H for each axis. This is a basic XZ lathe
config. If I use trivkins the axes are shown correctly. Does anyone have
any idea what I'm doing wrong?
Maybe try here, about a third of the way down shows "def draw_axes()" in
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Gremlin
Sometimes the axis letter shows up as a thin line because it is shown on
the edge and it needs to be rotated to face towards the viewer.
Oops, I reread your message and realized that I didn't understand your
question correctly. So, never mind.
--
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/
andy pugh
2017-07-02 19:49:59 UTC
Permalink
Does anyone have any idea what I'm doing wrong?
Not really, displaying "H" for the axes is very strange. (Maybe your
code is writing out-of-bounds?)
What KinematicsType is the module returning?
--
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, 1916
Les Newell
2017-07-03 10:19:12 UTC
Permalink
Sorry, it was operator error. It's working fine, just not the way I am
used to.

Les
Post by andy pugh
Does anyone have any idea what I'm doing wrong?
Not really, displaying "H" for the axes is very strange. (Maybe your
code is writing out-of-bounds?)
What KinematicsType is the module returning?
Les Newell
2017-07-03 10:53:02 UTC
Permalink
Sorry to flood the list with questions but I have another one. On my
lathe I have knobs for feed override, spindle override and max velocity.
They come in over modbus and are connected to Halui. The problem I have
is that at startup Axis applies it's defaults for these values,
overriding the physical knobs. As soon as I move the knobs their
position is applied. I had this problem in my previous setup and got
around it by only connecting the knobs to halui in postgui.
Unfortunately this no longer works. Does anyone know of a way of making
sure the hardware knobs take priority?

Loading...