Строим ЧПУ. Автонастройка 0 по оси Z
Скрипт:
CurrentFeed = GetOemDRO(818)
DoSpinStop()
ZMove = ’Total lenght of Probe to move before Stop or no Contact Made.
ZOffset = ’ Plate Hight
ZSal = ZOffset ’ Free Hight, Will possition the Proble 2 MM over the Material.
StopZmove = 0
If GetOemLed (825)=0 Then
DoOEMButton (1010)
Code “G4 P2.5“
Code “G31 Z-“& ZMove & “F150“
While IsMoving()
Sleep(200)
Wend
Probepos = GetVar(2002)
If Probepos = - ZMove Then
responce = MsgBox (“**ERROR** “ , 4 , “Probe **ERROR**“ )
Cod