Hello Guest it is July 17, 2026, 05:52:44 AM

Author Topic: Why is the Auto Tool Zero button not working?  (Read 59477 times)

0 Members and 1 Guest are viewing this topic.

Why is the Auto Tool Zero button not working?
« on: February 27, 2023, 08:25:27 AM »
Hello, I have a 6040Z cutter. Do you know why the Auto Tool Zero button doesn't work for me?
When I open the script for the M930.m1s tool and load it, testing it with the Run Script button it works. The tool goes down to the probe, touches it and moves back a bit.
When I memorize the script and then press the Auto Tool Zero button, a “Not Yet Implemented” message appears.

This is the script:
'chengdu xhc tec. probe z surface macro
FeedCurrent = GetOemDRO(818)    'Get the current settings, OEM DROs (818)=Feedrate DRO
ZCurrent = GetOemDro(802)   'OEM DROs (802)=Z DRO
GageH = GetOEMDRO(1001)   'OEMDRO(1001)=Gage Block Height
ZNew = ZCurrent - 300      'probe down 20 mm

Code "G90F200"         'slow feed rate to 100 MM/MIN
SetOemDRO(818,200)
Rem Code "G4 P1"         'Pause 1 second to give time to position probe plate
Code "G31 Z" &ZNew
While IsMoving()
Sleep(10)
Wend
Call SetDro (2,GageH)      'DRO(2)=Z DRO

FinalMove = GageH + 10
Code  "G0 Z" &FinalMove
Code "F" &FeedCurrent        'restore starting feed rate   
SetOemDRO(818,FeedCurrent)
Re: Why is the Auto Tool Zero button not working?
« Reply #1 on: March 07, 2023, 06:14:58 PM »
I found the problem. The script file should be opened and copied. Then put it in the editor, save it and restart the software.
Re: Why is the Auto Tool Zero button not working?
« Reply #2 on: July 13, 2026, 11:13:59 PM »
It looks like the script itself isn't the problem since it runs correctly with Run Script. The "Not Yet Implemented" message usually means the Auto Tool Zero button in your controller profile or screen set isn't actually linked to a working function. In other words, the button isn't executing your M930.m1s macro—it simply hasn't been implemented for that particular screen or controller plugin.