Escolar Documentos
Profissional Documentos
Cultura Documentos
Probe
Probe
Probe
'-------------------------------------------------------------------------
'------------------------------ NAO MEXER ------------------------------
'-------------------------------------------------------------------------
AFinal = ABase + AAcima
StopZmove = 0
Else
CurrentFeed = GetOemDRO(818)
DoSpinStop()
DoOEMButton (1010)
'init code
Code "G4 P2.0"
Code "(Aguarde! Procurando a base do Probe...)"
Code "G31 Z" &ABusca & "F" &VBusca
While IsMoving()
Sleep(200)
Wend
PosicaoProbe = GetOEMDRO(802)
If PosicaoProbe = - ABusca Then
responce = MsgBox ("-- ERRO -- Nao foi encontrado a base da sonda")
Code "G0 Z10"
StopZmove = 1
Code "F" &CurrentFeed
End If
If StopZmove = 0 Then
Code "G0 Z" &PosicaoProbe
While IsMoving ()
Sleep (200)
Wend
End If