Tool length offset and Part Zero
17 Mar 2016 09:11 #71769
by nicokid
Tool length offset and Part Zero was created by nicokid
Hi,
I have a tool length sensor, and I would like to use it to set to zero the z axis over my piece. My intention is to put the sensor on top of the piece and knowing the thickness of the sensor to obtain zero in the z axis.
This is the procedure for changing the tool length. But then I did not understand how to add the thickness of the sensor to the offset:
Thanks, Nicola.
I have a tool length sensor, and I would like to use it to set to zero the z axis over my piece. My intention is to put the sensor on top of the piece and knowing the thickness of the sensor to obtain zero in the z axis.
This is the procedure for changing the tool length. But then I did not understand how to add the thickness of the sensor to the offset:
(MSG, Start tool length probe)
G21 ( Metric mm)
G90 ( Absolute coordinates)
G49 (Delete any offset for tools)
T1 M6 (load first tool)
G53 G0 Z110 X495 Y100 ( Coordinate per G30, dove aspetta lo switch)
G30.1 ( Save current position)
G30
G91 (Relative coordinates)
G38.2 Z-100 F300 (Touch the switch fast)
G0 Z2 (Off the switch)
G38.2 Z-10 F10 (Touch the switch slowly)
(Save. The 5063 parameter is for z axis)
#1000=#5063
#<_ToolRefZ> = #5063 ( save trip point)
G90
G30
M2
Thanks, Nicola.
Please Log in or Create an account to join the conversation.
- eFalegname
-
- Offline
- Elite Member
-
Less
More
- Posts: 253
- Thank you received: 30
17 Mar 2016 12:34 - 29 Oct 2016 09:47 #71781
by eFalegname
Replied by eFalegname on topic Tool length offset and Part Zero
Hi Nicola,
You can write a macro that contains the following string to reset the Z value to the sensor thickness when your mill closes (or opens) the contact:then add a new section in your .ini file so you have the thickness of your touch plate always at hand:then you should implement the way to call the written subroutine by axis.
The thickness of the fixed sensor not matters, it's used only to reference (compare) the subsequent tools length
You can write a macro that contains the following string to reset the Z value to the sensor thickness when your mill closes (or opens) the contact:
G10 L20 P0 Z[#<_ini[TOOLSENSOR]H>]
[TOOLSENSOR]
H = 3 (l'altezza del tuo tastatore > Z)
The thickness of the fixed sensor not matters, it's used only to reference (compare) the subsequent tools length
Last edit: 29 Oct 2016 09:47 by eFalegname.
The following user(s) said Thank You: nicokid
Please Log in or Create an account to join the conversation.
20 Mar 2016 21:28 #71949
by nicokid
Sorry for the delay of my reply. I did not think we could add custom sections on ini file![:huh: :huh:](/media/kunena/emoticons/wassat.png)
In the end I simply added the height of my sensor directly into gcode:
Thanks, Nicola.
Replied by nicokid on topic Tool length offset and Part Zero
then add a new section in your .ini file so you have the thickness of your touch plate always at hand:G10 L20 P0 Z[#<_ini[TOOLSENSOR]H>][TOOLSENSOR] Z = 3 (l'altezza del tuo tastatore)
Sorry for the delay of my reply. I did not think we could add custom sections on ini file
![:huh: :huh:](/media/kunena/emoticons/wassat.png)
In the end I simply added the height of my sensor directly into gcode:
G10 L20 P0 Z32.4
Thanks, Nicola.
Please Log in or Create an account to join the conversation.
- eFalegname
-
- Offline
- Elite Member
-
Less
More
- Posts: 253
- Thank you received: 30
20 Mar 2016 22:11 #71952
by eFalegname
Replied by eFalegname on topic Tool length offset and Part Zero
Prego!
Please Log in or Create an account to join the conversation.
Time to create page: 0.072 seconds