Hello Guest it is March 28, 2024, 07:05:23 PM

Author Topic: Tool Probing Issue  (Read 1599 times)

0 Members and 1 Guest are viewing this topic.

Tool Probing Issue
« on: January 04, 2016, 07:12:16 PM »
What in this script would cause Z to only move +0.25"  In Diagnostics, the Digitize LED turns on when touchplate is grounded and turn off when the touchplate is not.  It's like Mach3 is skipping down to the "FinalMove" line.

Was in the process of installing V.062 and this did not work.  So went back to V.066 and even though I transferred/saved the copied Mill.xml from and to the Mach folder, I still had to manually reconfigure and calibrate everything.  This is the last thing that I need to get working and not really sure why it isn't following the script.

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 - 20      'probe down 20 mm

Code "G90F20"         'slow feed rate to 20 MM/MIN
Rem Code "G4 P0.5"         '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 + .25
Code  "G0 Z" &FinalMove
Code "F" &FeedCurrent        'restore starting feed rate       



Thanks, 

Pete
Re: Tool Probing Issue
« Reply #1 on: January 05, 2016, 06:19:43 PM »
Pretty much just gave up and did a Windows Restore back to the 21st of December. 

Most things are back and working ok, still getting the fairly regular MDI issue I posted about before.