How to refresh the Axis screen after setting offsets G10 L20

More
27 May 2025 00:20 #329183 by bondglen
Hi all,
I have a home-made pendant that can jog and set the offsets using HALUI commands.
When I set the G54 offsets (using HAL commands) I would like to refresh the Axis display so that it will show the part in the offset position.
I would like to use a HALCMD to refresh the Axis display if possible, but will use whatever is required.
Is this even possible?

Thanks in advance.

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

  • Aciera
  • Aciera's Avatar
  • Away
  • Administrator
  • Administrator
More
27 May 2025 06:04 - 27 May 2025 06:12 #329190 by Aciera
Not sure if there is a halcmd to do that but you can use an executable custom Mcode to call a bash script that executes this:
axis-remote --reload

www.linuxcnc.org/docs/html/man/man1/axis-remote.1.html
Last edit: 27 May 2025 06:12 by Aciera.

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

More
28 May 2025 16:21 - 28 May 2025 16:28 #329324 by juliankoenig87
I use M codes for this kind of stuff also. For example M130.

github.com/hausen8/EasyProbe/blob/v2.0/nc_files/M130

Use with:
M130 P255

I am not sure right know, but I had something in mind while writing  "&".
Also some sleeps are always a good idea. Sometimes it gets lost otherwise.

Best regards
Julian
Last edit: 28 May 2025 16:28 by juliankoenig87.

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

Time to create page: 0.128 seconds
Powered by Kunena Forum