Gcode touch off Z in tool table
- timmert
- Offline
- Elite Member
-
Less
More
- Posts: 165
- Thank you received: 0
15 Jan 2017 19:14 #85843
by timmert
Gcode touch off Z in tool table was created by timmert
Hi
Which command is used to save the current relative z value to the tool table?
I made a macro that goes to a reference positions, hits toolsetter and after this I have to manually click 'touch off z' in the tool table.
I would like to automate this last part. I came across G10 L10 but I have to put in a value. I want the system to use the current value and add it to the table.
Which command is used to save the current relative z value to the tool table?
I made a macro that goes to a reference positions, hits toolsetter and after this I have to manually click 'touch off z' in the tool table.
I would like to automate this last part. I came across G10 L10 but I have to put in a value. I want the system to use the current value and add it to the table.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
- Offline
- Platinum Member
-
Less
More
- Posts: 4987
- Thank you received: 1455
16 Jan 2017 00:22 #85864
by Todd Zuercher
Replied by Todd Zuercher on topic Gcode touch off Z in tool table
i think you are after G10L2Pn or G10L20Pn.
linuxcnc.org/docs/2.6/html/gcode/gcode.html#sec:G10-L2_
linuxcnc.org/docs/2.6/html/gcode/gcode.html#sec:G10-L20
linuxcnc.org/docs/2.6/html/gcode/gcode.html#sec:G10-L2_
linuxcnc.org/docs/2.6/html/gcode/gcode.html#sec:G10-L20
Please Log in or Create an account to join the conversation.
- timmert
- Offline
- Elite Member
-
Less
More
- Posts: 165
- Thank you received: 0
17 Jan 2017 12:07 #85906
by timmert
Replied by timmert on topic Gcode touch off Z in tool table
Thanks for the reply
But solved it using G10 L10 with the parameter for current tool loaded (#5300 if i'm correct) plus the z-0.
But solved it using G10 L10 with the parameter for current tool loaded (#5300 if i'm correct) plus the z-0.
Please Log in or Create an account to join the conversation.
Time to create page: 0.046 seconds