G-code file loading at G53 instead of G54
- CallumRD1
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 2
06 May 2025 17:01 #327867
by CallumRD1
G-code file loading at G53 instead of G54 was created by CallumRD1
Hello,
I'm not sure if this is the right sub-forum to put this, but it seems close.When I load a G-code file onto my mill running QtDragonHD, the code is initializing at the G53 machine origin (top front left corner of the work envelope), rather than G54 as called out in the code (work offset zero in the middle of the work envelope). Please see the attached image (sorry it's not a screenshot, I don't currently have an easy way to pull screenshots off the mill computer) and G-code.
Does anyone know what I might be doing wrong with my configuration or code to have caused this?
I'm not sure if this is the right sub-forum to put this, but it seems close.When I load a G-code file onto my mill running QtDragonHD, the code is initializing at the G53 machine origin (top front left corner of the work envelope), rather than G54 as called out in the code (work offset zero in the middle of the work envelope). Please see the attached image (sorry it's not a screenshot, I don't currently have an easy way to pull screenshots off the mill computer) and G-code.
Does anyone know what I might be doing wrong with my configuration or code to have caused this?
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20193
- Thank you received: 6874
06 May 2025 21:05 #327893
by tommylight
Replied by tommylight on topic G-code file loading at G53 instead of G54
Does the machine have home switches?
If yes, home the machine then touch off each axis/joint in G54.
There are active offsets in use, remove those first, see if that puts things where they should be.
If yes, home the machine then touch off each axis/joint in G54.
There are active offsets in use, remove those first, see if that puts things where they should be.
Please Log in or Create an account to join the conversation.
- CallumRD1
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 2
06 May 2025 21:18 - 06 May 2025 21:19 #327894
by CallumRD1
Replied by CallumRD1 on topic G-code file loading at G53 instead of G54
I don't follow. I have no offsets in use.
I don't have homing switches on this machine, it homes off absolute encoders from the servos. But I don't see why that matters here? The machine is homed and G53 is properly referenced to all the axis limits. The work envelope displayed is correct, as is the location of the tool within the work envelope. G54 is my work offset and is in an arbitrary position in the center of my work envelope (middle of the air here for testing code). The code I loaded is being mapped onto the G53 origin rather than the G54 origin that the code is calling and the machine has active.
Code should always respect the correct origin called, G54 in this case.
I don't have homing switches on this machine, it homes off absolute encoders from the servos. But I don't see why that matters here? The machine is homed and G53 is properly referenced to all the axis limits. The work envelope displayed is correct, as is the location of the tool within the work envelope. G54 is my work offset and is in an arbitrary position in the center of my work envelope (middle of the air here for testing code). The code I loaded is being mapped onto the G53 origin rather than the G54 origin that the code is calling and the machine has active.
Code should always respect the correct origin called, G54 in this case.
Last edit: 06 May 2025 21:19 by CallumRD1.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20193
- Thank you received: 6874
06 May 2025 21:25 #327896
by tommylight
Replied by tommylight on topic G-code file loading at G53 instead of G54
See the light blue star on your screenshot?
That is active offsets.
In Axis GUI you can choose to show offsets, i do not use Probe Basic so i do not know how to show them.
That is active offsets.
In Axis GUI you can choose to show offsets, i do not use Probe Basic so i do not know how to show them.
Please Log in or Create an account to join the conversation.
- CallumRD1
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 2
06 May 2025 22:07 #327900
by CallumRD1
Replied by CallumRD1 on topic G-code file loading at G53 instead of G54
This was helpful. I may be misunderstanding the language used here. Is this Offsets table supposed to be the coordinates of each work offset? If so, then it's not populating correctly and not updating when I set coordinate zeros using the gui at the bottom of the image. Am I interpreting this correctly? And if so, do you have any idea as to how I get the gui to talk to this table? It's not clear to me where it's saved. The preferences files I've looked in don't seem to have the necessary information.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20193
- Thank you received: 6874
06 May 2025 22:28 - 07 May 2025 10:13 #327902
by tommylight
Replied by tommylight on topic G-code file loading at G53 instead of G54
Sorry but i can not help as stated above, but i can move this to QtPyVCP section where the masters of Probe Basic reside.
This is a Qtvcp screen so it's in the right place.
This is a Qtvcp screen so it's in the right place.
Last edit: 07 May 2025 10:13 by cmorley.
Please Log in or Create an account to join the conversation.
- CallumRD1
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 2
06 May 2025 23:03 #327908
by CallumRD1
Replied by CallumRD1 on topic G-code file loading at G53 instead of G54
Thank you for the help. I do appreciate it.
In case it helps anyone else willing to give me a hand diagnosing this issue, I've attached my .ini configuration file.
In case it helps anyone else willing to give me a hand diagnosing this issue, I've attached my .ini configuration file.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7887
- Thank you received: 2133
07 May 2025 10:15 #327934
by cmorley
Replied by cmorley on topic G-code file loading at G53 instead of G54
It looks right to me. G54 X and Y offsets are zero, so are in the same place as G53.
What were you expecting to see?
What were you expecting to see?
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7887
- Thank you received: 2133
07 May 2025 10:17 #327935
by cmorley
Replied by cmorley on topic G-code file loading at G53 instead of G54
Also it looks like you have rotational offsets set.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20193
- Thank you received: 6874
07 May 2025 14:22 #327947
by tommylight
Replied by tommylight on topic G-code file loading at G53 instead of G54
Sorry Chris.
Thank you.
Thank you.
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.099 seconds