Actions

Difference between revisions of "Z Touch-off Puck"

From PROBOTIX :: wiki

(Code)
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Retrofiting an existing machine:==
+
[[File:Z-puck_usage.jpg|thumb]]
 +
 
 +
To set the Z origin using the Z-puck, attach the alligator clip to the tool by either clipping it or using the magnet. It's a good idea to touch the puck to the tool and watch the [PROBE] indicator on the screen to make sure the software is recognizing the probe. After the initial configuration, it should always function, but it never hurts to check in the event the puck was disconnected, broken wire, etc. If the puck is not functioning the probe operation will most likely break your end mill.
 +
 
 +
'''TO USE:'''
 +
Place the puck under the tool, then click the {{AxisButton|Set Z Origin w/ Puck}} button (found in the [[Probotix Axis Interface]]). Be careful to keep your fingers out of the way. The Z-axis will probe down at 10IPM until contact with the puck is made. At that point the Z origin for the height of the puck will be subtracted from the Z height, and the '''current coordinate system''' Z origin will be set to zero at the base of the puck. You view or set the current coordinate system in the MDI tab.
 +
 
 +
Our [[ATLaS]] makes use of the built-in tool table system to handle multiple tools but you may want to read here if you want to try achieving similar results with the Z-puck.
 +
* http://www.linuxcnc.org/docs/2.5/html/gcode/tool_compensation.html
 +
 
 +
== Retrofitting an Existing Machine ==
  
 
Here is the inside of the connector for machines without the ATLaS Tool Length Sensor:
 
Here is the inside of the connector for machines without the ATLaS Tool Length Sensor:
Line 8: Line 18:
  
 
[[File:Z-puck_wiring_atlas.jpg|500px]]
 
[[File:Z-puck_wiring_atlas.jpg|500px]]
 +
* ATLaS signal on pin 15
 +
* Z-puck signal on pin 13
 +
 +
After installing the puck, you will need to reconfigure the software to recognize it: [[LinuxCNC Configurator]]
 +
 +
== Code ==
 +
 +
Below is the Z-puck routine and must be kept in the <code>/nc_files</code> directory and be named <code>102.ngc</code>
  
== Z-puck Usage ==
+
<pre>
 +
o102 SUB
  
To set the Z origin using the z-puck, attached the aligator clip to the tool by either clipping it, or using the magnet. Its a good idea to touch the puck to the tool and watch the [PROBE] indicator on the screen to make sure the software is recognizing the probe. After the initial configuration, it should always function, but it never hurts to check in the event the puck was disconnected, broken wire, etc. If the puck is not functioning, the probe operation will most likely break your end mill.
+
#<_ZP_HEIGHT> = NN                          (NN is the height of your z-puck)
 +
#<_MULTIPLIER> = 1 (1 for INCH, 25.4 for MM)
 +
#<_Z_MIN> = nn                 (nn is the maximum Z- probe search distance)
  
Place the puck under the tool, then click the [Set Z Origin w/ Puck] button. Be careful to keep your fingers out of the way. The Z-axis will probe down at 10IPM until contact with the puck is made. At that point, the Z origin for the height of the puck will be subtracted from the Z height, and current coordinate system Z origin will be set to zero at the base of the puck.
+
M5 M9 (turn off spindle and shop vac)
 +
REPLACE_GUNITS (set units)
 +
G53 G90 G0 Z0 (retract z)
  
[[File:Z-puck_usage.jpg|500px]]
+
G10 L2 P9 Z0 (remove Z offset in G59.3)
 +
G91 G38.2 Z-#<_Z_MIN> F[10 * #<_MULTIPLIER>] (feed down until probe is active)
 +
G10 L20 P0 Z#<_ZP_HEIGHT>
 +
G53 G90 G0 Z0 (retract most of the way up)
  
Click here to learn about the new Axis interface: [[NEW_LinuxCNC_Configuration#Axis_Rev1.4_Interface]]
+
o102 ENDSUB
[[File:Axis_rev1.4.jpg|500px]]
+
</pre>

Latest revision as of 10:27, 8 April 2019

Z-puck usage.jpg

To set the Z origin using the Z-puck, attach the alligator clip to the tool by either clipping it or using the magnet. It's a good idea to touch the puck to the tool and watch the [PROBE] indicator on the screen to make sure the software is recognizing the probe. After the initial configuration, it should always function, but it never hurts to check in the event the puck was disconnected, broken wire, etc. If the puck is not functioning the probe operation will most likely break your end mill.

TO USE: Place the puck under the tool, then click the Set Z Origin w/ Puck button (found in the Probotix Axis Interface). Be careful to keep your fingers out of the way. The Z-axis will probe down at 10IPM until contact with the puck is made. At that point the Z origin for the height of the puck will be subtracted from the Z height, and the current coordinate system Z origin will be set to zero at the base of the puck. You view or set the current coordinate system in the MDI tab.

Our ATLaS makes use of the built-in tool table system to handle multiple tools but you may want to read here if you want to try achieving similar results with the Z-puck.

Retrofitting an Existing Machine

Here is the inside of the connector for machines without the ATLaS Tool Length Sensor:

Z-puck wiring no atlas.jpg

In order to use both the touch-off puck and the tool length sensors, you will need to cut off the existing DB25 connector for the tool length sensor and wire it in to the DB25 connector for the touch-off puck, as seen here:

Z-puck wiring atlas.jpg

  • ATLaS signal on pin 15
  • Z-puck signal on pin 13

After installing the puck, you will need to reconfigure the software to recognize it: LinuxCNC Configurator

Code

Below is the Z-puck routine and must be kept in the /nc_files directory and be named 102.ngc

o102 SUB

#<_ZP_HEIGHT> = NN                          (NN is the height of your z-puck)
#<_MULTIPLIER> = 1				(1 for INCH, 25.4 for MM)
#<_Z_MIN> = nn			                (nn is the maximum Z- probe search distance)

M5 M9						(turn off spindle and shop vac)
REPLACE_GUNITS					(set units)
G53 G90 G0 Z0					(retract z)

G10 L2 P9 Z0					(remove Z offset in G59.3)
G91 G38.2 Z-#<_Z_MIN> F[10 * #<_MULTIPLIER>]	(feed down until probe is active)
G10 L20 P0 Z#<_ZP_HEIGHT>
G53 G90 G0 Z0					(retract most of the way up)

o102 ENDSUB