Tool length sensor direction change
- tsaG
- Offline
- Junior Member
Less
More
- Posts: 22
- Thank you received: 3
16 Oct 2024 22:11 #312306
by tsaG
Tool length sensor direction change was created by tsaG
Hi!
I am using QTPyVCP and would like to use my tool length sensor. My CNC Router is set up in a way that it home the Z-Axis to the maximum upper Point is the maximum travel. This means a few millimeter above my bed is Z=0. This way, my Z will always be positive. As I understand, when using the ToolLength sensor in QtPyVCP it has to be the other way round, is that correct?
When Setting up the toollength tool. I set up my Position 20 Millimeter above my Sensor ( Z=70mm). However when trying to probe it just plunges to Z=0 and then moving in X/Y to the Sensor position (shouldnt it be the other way round?).
Is there a way to make it run with my Axis directions? Or should I switch my Z=0 direction?
I am using QTPyVCP and would like to use my tool length sensor. My CNC Router is set up in a way that it home the Z-Axis to the maximum upper Point is the maximum travel. This means a few millimeter above my bed is Z=0. This way, my Z will always be positive. As I understand, when using the ToolLength sensor in QtPyVCP it has to be the other way round, is that correct?
When Setting up the toollength tool. I set up my Position 20 Millimeter above my Sensor ( Z=70mm). However when trying to probe it just plunges to Z=0 and then moving in X/Y to the Sensor position (shouldnt it be the other way round?).
Is there a way to make it run with my Axis directions? Or should I switch my Z=0 direction?
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19419
- Thank you received: 6512
16 Oct 2024 23:19 #312313
by tommylight
Replied by tommylight on topic Tool length sensor direction change
Moved to "QTPyVCP" section.
Thank you.
Thank you.
Please Log in or Create an account to join the conversation.
- spumco
- Offline
- Platinum Member
Less
More
- Posts: 1814
- Thank you received: 733
17 Oct 2024 02:27 #312324
by spumco
Replied by spumco on topic Tool length sensor direction change
You should switch your Z=0 direction. Machine Z-0 (G53) should be at top of stroke (or furthest from chuck for lathes).
This is standard practice on most machines, and is compatible with the qtpyvcp/probe basic tool setter routines.
You can set your G54 (and other) WCS wherever you'd like, of course.
This is standard practice on most machines, and is compatible with the qtpyvcp/probe basic tool setter routines.
You can set your G54 (and other) WCS wherever you'd like, of course.
Please Log in or Create an account to join the conversation.
- Lcvette
- Away
- Moderator
Less
More
- Posts: 1199
- Thank you received: 619
17 Oct 2024 02:32 #312325
by Lcvette
Replied by Lcvette on topic Tool length sensor direction change
It is also standard practice for cam software and tool length offset. Definitely need to change to standard practice, so reason to reinvent the wheel on this. With a work offset you will be setting zero wherever you want. But machine motion is always z moving down is negative direction.
Please Log in or Create an account to join the conversation.
- tsaG
- Offline
- Junior Member
Less
More
- Posts: 22
- Thank you received: 3
18 Oct 2024 13:23 - 18 Oct 2024 13:29 #312505
by tsaG
Replied by tsaG on topic Tool length sensor direction change
Yes, I fully agree with you that Z goes into negative direction when going down. However, as I understood (correct me if I am wrong), the probing tool requires you to have Z= 0 at the highest Z-Gantry Position. However, my current approach is that X=Y=Z=0 is in the lower left corner on the Bed. AS I understood Probe Basic requires that you config your machine that (as I did now) X=Y=Z=0 is in the lower left corner but 220mm (for me) up in the air.
Cheers
Patrick
Cheers
Patrick
Last edit: 18 Oct 2024 13:29 by tsaG.
Please Log in or Create an account to join the conversation.
- Lcvette
- Away
- Moderator
Less
More
- Posts: 1199
- Thank you received: 619
18 Oct 2024 13:35 #312506
by Lcvette
Replied by Lcvette on topic Tool length sensor direction change
yes the tool length sensor trigger point is used in conjunction with the G53 Z0.000 machine coordnate system to calculate the tool length offset. This requires Z0.000 be at the top of travel for the z axis.
G54-G59.3 woork coordinate system offsets are used to define the zero point for the work or program. these are set independent of machine coordinates but are offset and stored in relation to the machine coordinate system.
you need to adjust your machine configuration so that Z0 is at the top of travel.
G54-G59.3 woork coordinate system offsets are used to define the zero point for the work or program. these are set independent of machine coordinates but are offset and stored in relation to the machine coordinate system.
you need to adjust your machine configuration so that Z0 is at the top of travel.
Please Log in or Create an account to join the conversation.
- pommen
- Offline
- Senior Member
Less
More
- Posts: 44
- Thank you received: 14
18 Oct 2024 13:38 #312507
by pommen
Replied by pommen on topic Tool length sensor direction change
Hello,
Perhaps this will be useful for you:
linuxcnc.org/docs/stable/html/user/user-...chine-configurations
It shows the typical axis layout.
When I started out with CNC machining I also ran a small gantry style machine, and for some reason i had the table as Z0. When I changed to Z0 being the top most position (and also used Z0 as 'home' for the z-axis as in the diagram above) a lot more things made sense.
/Peter
Perhaps this will be useful for you:
linuxcnc.org/docs/stable/html/user/user-...chine-configurations
It shows the typical axis layout.
When I started out with CNC machining I also ran a small gantry style machine, and for some reason i had the table as Z0. When I changed to Z0 being the top most position (and also used Z0 as 'home' for the z-axis as in the diagram above) a lot more things made sense.
/Peter
The following user(s) said Thank You: Lcvette
Please Log in or Create an account to join the conversation.
- tsaG
- Offline
- Junior Member
Less
More
- Posts: 22
- Thank you received: 3
18 Oct 2024 15:50 #312531
by tsaG
Replied by tsaG on topic Tool length sensor direction change
Okay, that makes sense! Thank you all!
The following user(s) said Thank You: Lcvette
Please Log in or Create an account to join the conversation.
- Lcvette
- Away
- Moderator
Less
More
- Posts: 1199
- Thank you received: 619
19 Oct 2024 20:05 #312632
by Lcvette
Replied by Lcvette on topic Tool length sensor direction change
no worries, hope you get it sorted out!
Please Log in or Create an account to join the conversation.
Moderators: KCJ, Lcvette
Time to create page: 0.079 seconds