How to refresh the Axis screen after setting offsets G10 L20
- bondglen
- Offline
- New Member
-
Less
More
- Posts: 15
- Thank you received: 1
27 May 2025 00:20 #329183
by bondglen
How to refresh the Axis screen after setting offsets G10 L20 was created 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.
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
-
- Away
- Administrator
-
Less
More
- Posts: 4384
- Thank you received: 1953
27 May 2025 06:04 - 27 May 2025 06:12 #329190
by Aciera
Replied by Aciera on topic How to refresh the Axis screen after setting offsets G10 L20
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:
www.linuxcnc.org/docs/html/man/man1/axis-remote.1.html
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.
- juliankoenig87
- Offline
- Premium Member
-
Less
More
- Posts: 95
- Thank you received: 50
28 May 2025 16:21 - 28 May 2025 16:28 #329324
by juliankoenig87
Replied by juliankoenig87 on topic How to refresh the Axis screen after setting offsets G10 L20
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
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