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