585,886 active members*
5,344 visitors online*
Register for free
Login
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2019
    Posts
    0

    Question Auto Tool Zero Script for Mach3 043.066

    Hey there people!

    I having a compatibility problem with old scripts for Auto Tool Zero.

    This script come with the cd of the cnc machine genmitsu cnc router 3018-mx3

    Code:
    'Rem	Probe Down by PEU (Based on Erniebro Work)
    FeedCurrent = GetOemDRO(818) 	'Get the current settings
    ZCurrent = GetDro(2)
    Code "G4 P1"			'Pause 1 second to give time to position probe plate
    Code "F100"			'slow feed rate to 100 MM/MIN
    GageH = GetOEMDRO (1002)
    Rem	Probe Down by PEU (Based On Erniebro Work)
    FeedCurrent = GetOemDRO(818) 	'Get the current settings
    ZCurrent = GetOemDro(802)
    Code "G4 P1"			'Pause 1 second to give time to position probe plate
    Code "F100"			'slow feed rate to 10 MM/MIN
    GageH =19.7                     'Tool tool height requires actual measurement
    ZNew = ZCurrent - 30		'probe down 30mm 
    Code "G31 Z" &ZNew
    While IsMoving()
    Wend
    Call SetDro (2,GageH)
    FinalMove = GageH * 1
    Code  "G0 Z" &FinalMove
    Code  "G0 Z" &25                'This number is greater than the height of the tool setting tool  
    Code "F" &FeedCurrent  		'restore starting
    its work fine in mach3 042.040 but prompt error on the new version (043.066)

    i also found another script with the same issue

    Code:
    Dim Ztemp, SpeedCoarse, SpeedFine, SpeedRetract, MoveCoarse, MoveFine, RetractCoarse, RetractFine,TouchPlateHeight
    
    SpeedCoarse=100
    SpeedFine=10
    SpeedRetract=300
    MoveCoarse=-10
    MoveFine=-0.8
    RetractCoarse=0.2
    RetractFine=5
    TouchPlateHeight=0
    
    If IsSuchSignal (22) Then
    
    	Ztemp=GetOEMDRO(180)+MoveCoarse
    	code "G31 Z" & Ztemp & " F" & SpeedCoarse
    	While IsMoving()
    	Wend
    	
    	Ztemp=GetOEMDRO(180)+RetractCoarse
    	code "G00 Z" & Ztemp & " F" & SpeedRetract
    	
    	Ztemp=GetOEMDRO(180)+MoveFine
    	code "G31 Z" & Ztemp & " F" & SpeedFine
    	While IsMoving()
    	Wend
    	
    	Call SetDRO(2,TouchPlateHeight)	
    	
    	Ztemp=RetractFine
    	code "G00 Z" & Ztemp & " F" & SpeedRetract
    	
    End If
    Can someone give me any other script which work for the last version of mach3? Please

    I cant engrave with the g code generated by easel because the version of the script is for the last version but my Auto Tool Zero Script is not working on the last version.

    Thank in advance to who read/reply this post.

  2. #2
    Join Date
    Mar 2003
    Posts
    35538

    Re: Auto Tool Zero Script for Mach3 043.066

    Version 3.043.066 is known to be very buggy. The version on the Machsupport website is now 3.043.062. I would try installing that version.
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

Similar Threads

  1. Auto tool zero in MM on mach3 for a touchprobe script needed
    By adamfromUK in forum Machines running Mach Software
    Replies: 1
    Last Post: 01-08-2019, 11:50 PM
  2. Auto tool zero doesn't stop in Auto Tool Zero routine on Mach3
    By Flintstone in forum WoodWorking Topics
    Replies: 0
    Last Post: 09-05-2017, 07:00 PM
  3. Auto Zero Tool script does not work when I connect the motors drivers
    By Dytoven in forum Mach Software (ArtSoft software)
    Replies: 7
    Last Post: 11-20-2015, 11:14 PM
  4. Auto zero tool script issue
    By itolond in forum Mach Wizards, Macros, & Addons
    Replies: 3
    Last Post: 11-04-2015, 01:34 PM
  5. [VB-Script] Auto-Tool-Zero on M6 END
    By MaxH in forum Mach Mill
    Replies: 3
    Last Post: 10-30-2012, 04:36 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •