ola fabio ,,,,,,li por aki mesmo no forum sobre o assunto ,,,,,,e vi pelo youtube ,,,,,e fiz akilo,,,,,fui no mach 3 adicionei a port 1 (enable) e pin 13 da minha bob . e o script que copiei aki ,,,,,mas nao deu certo ao executar o auto zero ela começa mas para antes de encostar na plaquinha ,,,,,e outra coisa tb ao fechar circuito faz uns barulho nos motores ,,,a chei estranho ,,, ai preciso de uma ajuda dos mestres jedaii.......
obs , nao sei como mandar foto ,,,,,,,, a minha bob é igual a do edson mulapreta ,,,,
de uma olhada no script
CurrentFeed = GetOemDRO(818) 'Get the current feedrate to return to later
PlateThickness = GetUserDRO(1151) 'Z-plate thickness DRO
If GetOemLed (825)=0 Then 'Check to see if the probe is already grounded or faulty
DoOEMButton (1010) 'zero the Z axis so the probe move will start from here
Code "G4 P2" ' two second delay
Code "G31 Z-1.0 F5" 'Z goes down a max of 1.0 at 5IPM
While IsMoving() 'wait while it happens
Wend
ZProbePos = GetVar(2002) 'get the axact point the probe was hit
Code "G0 Z" &ZProbePos 'go back to that point, always a very small amount of overrun
While IsMoving ()
Wend
Call SetDro (2, PlateThickness) 'set the Z axis DRO to whatever is set as plate thickness
Code "G4 P0.25" 'Pause for Dro to update.
Code "G0 Z3.0" 'retract Z to 1.0 inch
Code "(Z axis está zerado)" 'puts this message in the status bar
Code "F" &CurrentFeed 'Returns to prior feed rate
Else
Code "(Z-Plate is grounded, check connection and try again)" 'this goes in the status bar if aplicable
Exit Sub
End If
abraços
andre