![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| WinCnc Discuss WinCnc Here! |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
I'm using an electronic tool touch off setter so I can maintain an accurate local Z zero when changing tools on my benchtop mill. It's wired into WinCnc and functions as a switch. Here's the scenario I'd like to have happen. I have a Z zero position I use for my rotary axis a known distance (-28.65mm) above the top of the toolsetter. After a tool change, I'd like to touch off on the toolsetter and reset local Z at -28.65 and return to local X0Y0 so I'm ready to run the next program. I can send the spindle to the toolsetter, manually touch off and trip the switch, G92 Z-28.65 and it works fine. If I run this: G53 Z0 [Lift Z Head] G53 X276 Y125 [Move to XY position of tool measure switch] L91 G0 Z-100 [Move down the rapid distance] L91 G1 Z-250 M28 F20 G31 [Move down to tool switch] g92 z-28.65 [set LZ at TOOL SWITCH HEIGHT] G53 Z0 [Lift Z Head] G0X0Y0 [RETURN TO LOCAL XY ZEROS] It runs but doesn't set a new Z position, Z zero remains whatever my previous local Z zero was. What am I missing? Thanks, Harry
__________________ www.harryhamilldesigns.com CAD sculpting and services |
|
#2
| |||
| |||
| Got this to work, it might not be totally right, but it's a start: G53 Z0 [Lift Z Head] G53 X276 Y125 [Move to XY position of tool measure switch] L91 G0 Z-98 [Move down the rapid distance] L91 G1 Z-15 M28 F20 G31 [Move down to tool switch] G92 Z-28.65 [set LZ at TOOL SWITCH HEIGHT] L90 G0Z65 F800 [Lift Z Head AND RESTORE FEEDRATE] L92Z [CANCEL G92 RESTORE] L90 G0X0Y0 [RETURN TO LOCAL XY ZEROS] More info here:Tool length setter
__________________ www.harryhamilldesigns.com CAD sculpting and services |
|
#4
| |||
| |||
| this is a touchtop mac which is placed in the ini file, it is in inches but i have used it over 8 months now i hold my aluminum pad up off the table and test, this will give time to abort if there is a problem!! i can email the file so pm me if you want it jim l92 [Remember G92 Setting] l91g1z-10f10m28g31 [Touch Distance] l90g92 z.503 [Enter Thickness of Switch Plate] l92 l90g0 z.75 [Clearence Height] l91g1z0f50 [Set Default Feedrate] g0
__________________ James McGrew camaster x3, aspire software www.mcgrewwoodwork.com |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need Help!- Toolsetter problems | inertialabs | Haas Mills | 6 | 10-23-2008 03:51 PM |
| Probe and toolsetter suggestions? | REVCAM_Bob | General Metal Working Machines | 15 | 12-31-2007 07:12 PM |
| Building Touch Probe and Toolsetter... | REVCAM_Bob | General Electronics Discussion | 9 | 05-23-2007 07:43 AM |
| Mazak / Yasnak MX3 control toolsetter | soszi1950 | Mazak, Mitsubishi, Mazatrol | 1 | 02-10-2007 09:24 AM |
| I have a problem with my gcode or my conversion to gcode , everything is tiny? | NickLatech | G-Code Programing | 0 | 03-10-2005 01:46 PM |