- Posts: 572
- Thank you received: 115
Work with probe
- JohnnyCNC
- Offline
- Platinum Member
-
Less
More
3 years 3 months ago #274974
by JohnnyCNC
Replied by JohnnyCNC on topic Work with probe
I'm looking to see where probe_z_minus_wco is called from. I'm using QTDragon. I don't remember how I figured out that it was probe_z_minus_wco doing the probe and that is where I needed to make the change. I'll keep looking.
These entries in my .ini file are what tell it where the subroutine files are located.
SUBROUTINE_PATH = /home/john/linuxcnc/nc_files/probe/basic_probe/macros
SUBROUTINE_PATH = ../../../../nc_files/probe/basic_probe/macros
SUBROUTINE_PATH = macros
These entries in my .ini file are what tell it where the subroutine files are located.
SUBROUTINE_PATH = /home/john/linuxcnc/nc_files/probe/basic_probe/macros
SUBROUTINE_PATH = ../../../../nc_files/probe/basic_probe/macros
SUBROUTINE_PATH = macros
Please Log in or Create an account to join the conversation.
- jcdammeyer
- Offline
- Senior Member
-
Less
More
- Posts: 73
- Thank you received: 8
3 years 3 months ago #274975
by jcdammeyer
Replied by jcdammeyer on topic Work with probe
I can't believe how much trouble this is. And every time I think I have my head wrapped around the offsets I try stuff, it doesn't work right and then I'm confused again.
For example. Total distance from quill bottom to table is 12.7037"
I use my probe which is 4.784" long when tripped to touch off a set of 1-2-3 blocks arrange as 5" tall.
Now 12.7037"-5.0000" = 7.7037" which is now the total distance from the bottom of the quill when the table is at Machine Coordinates 0.
No tool loaded and G49 is set.
What should G54.Z be at this point and is that the value in 4001?
Next I load Tool #3 which has a length of 2.747" which shortens the total space from the head to the 5" blocks by 2.747"
So does G54.Z change? But now that G43 is force with Tool #3 that 2.747" comes into play so that under G54 a G0 Z0.0000 moves the table up so the tip of the tool would be exactly 5" above the table even with the top of the blocks.
Very confused here.
For example. Total distance from quill bottom to table is 12.7037"
I use my probe which is 4.784" long when tripped to touch off a set of 1-2-3 blocks arrange as 5" tall.
Now 12.7037"-5.0000" = 7.7037" which is now the total distance from the bottom of the quill when the table is at Machine Coordinates 0.
No tool loaded and G49 is set.
What should G54.Z be at this point and is that the value in 4001?
Next I load Tool #3 which has a length of 2.747" which shortens the total space from the head to the 5" blocks by 2.747"
So does G54.Z change? But now that G43 is force with Tool #3 that 2.747" comes into play so that under G54 a G0 Z0.0000 moves the table up so the tip of the tool would be exactly 5" above the table even with the top of the blocks.
Very confused here.
Please Log in or Create an account to join the conversation.
- JohnnyCNC
- Offline
- Platinum Member
-
Less
More
- Posts: 572
- Thank you received: 115
3 years 3 months ago #275047
by JohnnyCNC
Replied by JohnnyCNC on topic Work with probe
I know EXACTLY how you feel. Been there, done that. I did however find where probe_z_minus_wco is referenced. It is in the basic_probe.ui file which is located here: /usr/share/qtvcp/widgets_ui.
Keep in mind this is on my system running LCNC 2.8.4 and QTDragon (not the HD version). I'm still trying to get this working on LCNC 2.9 and QTDragon_HD
John
Keep in mind this is on my system running LCNC 2.8.4 and QTDragon (not the HD version). I'm still trying to get this working on LCNC 2.9 and QTDragon_HD
John
Please Log in or Create an account to join the conversation.
- JohnnyCNC
- Offline
- Platinum Member
-
Less
More
- Posts: 572
- Thank you received: 115
3 years 3 months ago #275049
by JohnnyCNC
Replied by JohnnyCNC on topic Work with probe
"What should G54.Z be at this point and is that the value in 4001?"
To answer this question the way I looked at it was like this. When I touch off on the part (in G54) using my 3D probe I want to record into #4001 what the value would be if the probe wasn't there and the nose of the spindle on the part. Then when I select a tool, the offset of that tool would be added to the value in #4001. So let's say that at probe trip I am at Z -6 inches and my probe is 4" long. I would record Z -10" because that where the spindle nose would be if the probe wasn't there. Then when I use a 2" tool (-10 + 2" tool = Z -
Z -8 would be with the tool on the top of the part.
I hope this helps.
John
To answer this question the way I looked at it was like this. When I touch off on the part (in G54) using my 3D probe I want to record into #4001 what the value would be if the probe wasn't there and the nose of the spindle on the part. Then when I select a tool, the offset of that tool would be added to the value in #4001. So let's say that at probe trip I am at Z -6 inches and my probe is 4" long. I would record Z -10" because that where the spindle nose would be if the probe wasn't there. Then when I use a 2" tool (-10 + 2" tool = Z -
I hope this helps.
John
Please Log in or Create an account to join the conversation.
- jcdammeyer
- Offline
- Senior Member
-
Less
More
- Posts: 73
- Thank you received: 8
3 years 3 months ago #275051
by jcdammeyer
Replied by jcdammeyer on topic Work with probe
I'm creating a document that describes the exact process to reach the point where the probe goes down to set the current workspace Z==0.000 location.
From the .ini file where the tab is linked in.
# begin Touch Probe
EMBED_TAB_NAME=PSNG
EMBED_TAB_COMMAND=gladevcp -c probe -x {XID} -u psng/python -H psng/psng.hal psng/psng.glade
# end Touch Probe
Into the psng.glade control panel where we see the icon for send probe down
<property name="pixbuf">icons/down.png</property>
And how that links into the various Python and then G-Code files to set 0.
From what I can see, but I could be wrong, his tool sensor is meant to be placed on what ever has been set to zero. So I think if you want to measure tools and have the values put into the tool table you need to first touch the milling machine table that the tool setter is sitting on. Then the table_to_spindle - tool_setter_height can be correctly used to determine the length of the tool.
If the G54.Z is at some arbitrary value the calculated value is incorrect.
But I might be wrong there too. Just can't get repeatable results with a simple step by step sequence so I think I'm still missing one step.
From the .ini file where the tab is linked in.
# begin Touch Probe
EMBED_TAB_NAME=PSNG
EMBED_TAB_COMMAND=gladevcp -c probe -x {XID} -u psng/python -H psng/psng.hal psng/psng.glade
# end Touch Probe
Into the psng.glade control panel where we see the icon for send probe down
<property name="pixbuf">icons/down.png</property>
And how that links into the various Python and then G-Code files to set 0.
From what I can see, but I could be wrong, his tool sensor is meant to be placed on what ever has been set to zero. So I think if you want to measure tools and have the values put into the tool table you need to first touch the milling machine table that the tool setter is sitting on. Then the table_to_spindle - tool_setter_height can be correctly used to determine the length of the tool.
If the G54.Z is at some arbitrary value the calculated value is incorrect.
But I might be wrong there too. Just can't get repeatable results with a simple step by step sequence so I think I'm still missing one step.
Please Log in or Create an account to join the conversation.
- jcdammeyer
- Offline
- Senior Member
-
Less
More
- Posts: 73
- Thank you received: 8
3 years 3 months ago #275052
by jcdammeyer
Replied by jcdammeyer on topic Work with probe
Hi John,
It does. At the moment it's setting the tool lengths that has me perplexed as I said in the other posting.
I'll get there.
It does. At the moment it's setting the tool lengths that has me perplexed as I said in the other posting.
I'll get there.
Please Log in or Create an account to join the conversation.
Time to create page: 0.558 seconds