您好,谢谢为我解答mach3不支持开源,只是支持脚本的部分二次开发
发布网友
发布时间:2022-04-30 20:47
我来回答
共1个回答
热心网友
时间:2023-10-11 20:32
对刀脚本:
'Rem Probe Down by PEU (Based on Erniebro Work)
FeedCurrent =GetOemDRO(818) 'Get the currentsettings
ZCurrent =GetDro(2)
Code "G4P1" 'Pause 1 secondto give time to position probe plate
Code"F100" 'slowfeed rate to 100 MM/MIN
GageH = GetOEMDRO(1002)
Rem Probe Down by PEU (Based On ErniebroWork)
FeedCurrent =GetOemDRO(818) 'Get the currentsettings
ZCurrent =GetOemDro(802)
Code "G4P1" 'Pause 1 secondto give time to position probe plate
Code"F100" 'slowfeed rate to 100 MM/MIN
GageH =GetUserDRO(1152)
ZNew = ZCurrent +20 'probe down 20 mm (这里的正20和负20可以根据实际调整)
Code "G31Z" &ZNew
While IsMoving()
Wend
Call SetDro(2,GageH)
FinalMove = GageH* 1
Code "G0 Z" &FinalMove
Code "G0 Z" &-20(这里的正20和负20可以根据实际调整,数据也可以根据实际来调)
Code "F"&FeedCurrent 'restore starting feed rate dr.lin 2008.8.16来自:求助得到的回答