Hal command help needed

More
14 Nov 2013 06:57 #40804 by Ivan_The_Red
Im trying to find a way to switch the display between machine coordinates and fixture coordinates.
Im trying to build a pendant and cannot find any HAL commands that correspond to these functions.
I'm using the "AXIS" interface, can anybody affer any insight ?

Thanks

Please Log in or Create an account to join the conversation.

More
14 Nov 2013 07:54 #40807 by BigJohnT
Replied by BigJohnT on topic Hal command help needed
The # key switches between Machine Coordinates and Relative Coordinates, if you can send that key stroke from your pendant that would work. AFAIK there is no HAL command to do that. I don't see anything in the python interface that would do that either... you might have to dig into Axis to see how it changes from machine to relative coordinates.

JT

Please Log in or Create an account to join the conversation.

More
14 Nov 2013 08:37 #40808 by Ivan_The_Red
Thanks for the info .... Ill see what I can come up with.

Please Log in or Create an account to join the conversation.

More
14 Nov 2013 16:55 #40813 by ArcEye
Replied by ArcEye on topic Hal command help needed
Hi

There aren't any commands to switch, you have to change what you are reading for the current position

Look at axis
www.linuxcnc.org/docs/devel/html/man/man9/axis.9.html

and halui
www.linuxcnc.org/docs/devel/html/gui/halui.html

for starters

If you want to look in Axis, start your search with vars.coord_type

regards

Please Log in or Create an account to join the conversation.

Time to create page: 0.112 seconds
Powered by Kunena Forum