doszedłem gdzieś tam przeczytałem oto rozwiązanie:
w linii
PlateThickness = GetUserDRO(1151)
kasujemy GetUserDRO(1151) i wprowadzamy grubość czujnika powiedzmy np: 44,5mm
PlateThickness = 44.5
ale uwaga!!!!!
musimy zmienić tę wartość na większą od tego przykładowo 44.5 npZ54
Code "G0 Z10" 'put the Z retract height you want here na
Code "G0 Z54" 'put the Z retract height you want here
bo nam przywali w czujnik powodzenia
Znaleziono 7 wyników
Wróć do „skrypt długości narzędzia jak dopasować?”
- 20 mar 2014, 15:52
- Forum: Mach 2 / 3 / 4 (ArtSoft software)
- Temat: skrypt długości narzędzia jak dopasować?
- Odpowiedzi: 11
- Odsłony: 4784
- 14 mar 2014, 20:01
- Forum: Mach 2 / 3 / 4 (ArtSoft software)
- Temat: skrypt długości narzędzia jak dopasować?
- Odpowiedzi: 11
- Odsłony: 4784
- 13 mar 2014, 18:22
- Forum: Mach 2 / 3 / 4 (ArtSoft software)
- Temat: skrypt długości narzędzia jak dopasować?
- Odpowiedzi: 11
- Odsłony: 4784
- 13 mar 2014, 12:21
- Forum: Mach 2 / 3 / 4 (ArtSoft software)
- Temat: skrypt długości narzędzia jak dopasować?
- Odpowiedzi: 11
- Odsłony: 4784
robiłem tak wyczyściłem okno hiddenscript wkleiłem treść makra zapisz jako h... ,czy zastąpić -tak, wychodzę działa okey zamykam macha odpalam znowu i cóż= Not Yet Implemented podglądam plik h... pusto prawie no tylko pisze Message( "Not Yet Implemented" ). machscreen tym chyba też się nie da zrobić spróbuje niespolszczonego macha
oto mój skrypt:
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 P0" ' this delay gives me time to get from computer to hold probe in place
Code "G31Z-10 F50" 'probing move, can set the feed rate here as well as how far to move
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 Z10" 'put the Z retract height you want here
Code "(Z axis is now zeroed)" 'puts this message in the status bar
Code "F" &CurrentFeed 'Returns to prior feed rate
Else
Code "(Z-Plate is grounded!) " 'this goes in the status bar if aplicable
Exit Sub
End If
znaleziony w necie
oto mój skrypt:
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 P0" ' this delay gives me time to get from computer to hold probe in place
Code "G31Z-10 F50" 'probing move, can set the feed rate here as well as how far to move
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 Z10" 'put the Z retract height you want here
Code "(Z axis is now zeroed)" 'puts this message in the status bar
Code "F" &CurrentFeed 'Returns to prior feed rate
Else
Code "(Z-Plate is grounded!) " 'this goes in the status bar if aplicable
Exit Sub
End If
znaleziony w necie
- 12 mar 2014, 22:37
- Forum: Mach 2 / 3 / 4 (ArtSoft software)
- Temat: skrypt długości narzędzia jak dopasować?
- Odpowiedzi: 11
- Odsłony: 4784
- 12 mar 2014, 21:50
- Forum: Mach 2 / 3 / 4 (ArtSoft software)
- Temat: skrypt długości narzędzia jak dopasować?
- Odpowiedzi: 11
- Odsłony: 4784
- 12 mar 2014, 13:43
- Forum: Mach 2 / 3 / 4 (ArtSoft software)
- Temat: skrypt długości narzędzia jak dopasować?
- Odpowiedzi: 11
- Odsłony: 4784
skrypt długości narzędzia jak dopasować?
witam jak w temacie mam działający skrypt zmiany narzędzi,jak sprawić aby mach3 zapamiętał że przyporządkowałem go do przycisku auto pomiar narzędzia? czy trzeba użyć screen4 pl?