Actions

Difference between revisions of "Z Touch-off Puck"

From PROBOTIX :: wiki

m (Code)
Line 31: Line 31:
 
#<_ZP_HEIGHT> = REPLACE_ZP_HEIGHT
 
#<_ZP_HEIGHT> = REPLACE_ZP_HEIGHT
 
#<_MULTIPLIER> = 1 (1 for INCH, 25.4 for MM)
 
#<_MULTIPLIER> = 1 (1 for INCH, 25.4 for MM)
#<_Z_MIN> = REPLACE_ZMIN
+
#<_Z_MIN> = REPLACE_ZMIN (maximum Z- probe search distance)
  
 
M5 M9 (turn off spindle and shop vac)
 
M5 M9 (turn off spindle and shop vac)

Revision as of 09:33, 23 January 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.

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.

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> = REPLACE_ZP_HEIGHT
#<_MULTIPLIER> = 1				(1 for INCH, 25.4 for MM)
#<_Z_MIN> = REPLACE_ZMIN			(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