G-code file loading at G53 instead of G54

More
1 year 5 months ago #327867 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? 

Please Log in to join the conversation.

More
1 year 5 months ago #327893 by tommylight
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.

Please Log in to join the conversation.

More
1 year 5 months ago #327894 by CallumRD1
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.

Please Log in to join the conversation.

More
1 year 5 months ago #327896 by tommylight
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.

Please Log in to join the conversation.

More
1 year 5 months ago #327900 by CallumRD1
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 to join the conversation.

More
1 year 5 months ago #327902 by tommylight
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.

Please Log in to join the conversation.

More
1 year 5 months ago #327908 by CallumRD1
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.

 

Please Log in to join the conversation.

More
1 year 5 months ago #327934 by cmorley
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?

Please Log in to join the conversation.

More
1 year 5 months ago #327935 by cmorley
Also it looks like you have rotational offsets set.

Please Log in to join the conversation.

More
1 year 5 months ago #327947 by tommylight
Sorry Chris.
Thank you.

Please Log in to join the conversation.

Time to create page: 0.053 seconds
Powered by Kunena Forum