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.
Similar Threads: