Witajcie,
Może mnie ktoś poinstruować gdzie w Postprocesorze mogę zmienić jeden szczegół. Chcę, aby w momencie komendy M3 oś Z była na wysokości 0,5mm, aktualnie jest 3mm. W dobrym miejscu szukam?
Postprocesor Sheetcam TNG : Mach3 Plasma
function OnAbout(event)
ctrl = event:GetTextCtrl()
ctrl:AppendText("Mach3 plasma post processor\n")
ctrl:AppendText("\n")
ctrl:AppendText("Generic plasma post for machines without THC\n")
ctrl:AppendText("\n")
ctrl:AppendText("Modal G-codes and coordinates\n")
ctrl:AppendText("Comments enclosed with ( and )\n")
ctrl:AppendText("M03/M05 turn the torch on/off\n")
ctrl:AppendText("Incremental IJ\n")
end
-- revision 3/2/07
-- Removed final safety move. This is now done in SheetCam
-- revision 7/10/05
-- Added new arc handling
-- revision 11/7/05
-- Moved torch to cut height when preheating
-- Added dummy spindle speed to prevent Mach2 throwing a zero spindle speed error
-- revision 9/10/04
-- Added preheat
-- revision 28/6/04
-- Replaced startx,y,z with currentx,y,z
-- created 28/5/04
-- Based on Mach2 metric.post
function OnInit()
post.SetCommentChars ("()", "[]") --make sure ( and ) characters do not appear in system text
post.Text (" (Filename: ", fileName, ")\n")
post.Text (" (Post processor: ", postName, ")\n")
post.Text (" (Date: ", date, ")\n")
if(scale == metric) then
post.Text (" G21 (Units: Metric)\n") --metric mode
else
post.Text (" G20 (Units: Inches)\n") --inch mode
end
post.Text (" G53 G90 G91.1 G40\n F1\n S500\n")
bigArcs = 1 --stitch arc segments together
minArcSize = 0.05 --arcs smaller than this are converted to moves
end
function OnNewLine()
post.Text ("N")
post.Number (lineNumber, "0000")
lineNumber = lineNumber + 10
end
function OnFinish()
post.Text (" M05 M30\n")
end
function OnRapid()
post.ModalText (" G00")
post.ModalNumber (" X", endX * scale, "0.0000")
post.ModalNumber (" Y", endY * scale, "0.0000")
post.ModalNumber (" Z", endZ * scale, "0.0000")
post.Eol()
end
function OnMove()
post.ModalText (" G01")
post.ModalNumber (" X", endX * scale, "0.0000")
post.ModalNumber (" Y", endY * scale, "0.0000")
post.ModalNumber (" Z", endZ * scale, "0.0000")
post.ModalNumber (" F", feedRate * scale, "0.0###")
post.Eol()
end
function OnArc()
if(arcAngle <0) then
post.ModalText (" G03")
else
post.ModalText (" G02")
end
post.NonModalNumber (" X", endX * scale, "0.0000")
post.NonModalNumber (" Y", endY * scale, "0.0000")
post.ModalNumber (" Z", endZ * scale, "0.0000")
post.Text (" I")
post.Number ((arcCentreX - currentX) * scale, "0.0000")
post.Text (" J")
post.Number ((arcCentreY - currentY) * scale, "0.0000")
post.ModalNumber (" F", feedRate * scale, "0.0###")
post.Eol()
end
function OnPenDown()
if (preheat > 0.001) then
post.ModalText (" G00")
post.ModalNumber (" Z", cutHeight * scale, "0.0000")
post.Text ("\n G04 P")
post.Number (preheat,"0.###")
post.Eol()
end
post.ModalText (" G00")
post.ModalNumber (" Z", pierceHeight * scale, "0.0000")
post.Text ("\n M03\n")
if (pierceDelay > 0.001) then
post.Text (" G04 P")
post.Number (pierceDelay,"0.###")
post.Eol()
end
end
function OnPenUp()
post.Text (" M05\n")
if (endDelay > 0) then
post.Text (" G04 P")
post.Number (endDelay,"0.###")
post.Eol()
end
end
function OnNewOperation()
post.Text (" (Operation: ", operationName, ")\n")
end
function OnComment()
post.Text(" (",commentText,")\n")
end
function OnToolChange()
post.Text (" M06 T")
post.Number (tool, "0")
post.ModalNumber(" F",feedRate * scale,"0.0###")
post.Text (" (", toolName, ")\n")
if (plungeRate <= 0) then
post.Warning("WARNING: Plunge rate is zero")
end
if (feedRate <= 0) then
post.Warning("WARNING: Feed rate is zero")
end
end
function OnNewPart()
post.Text(" (Part: ",partName,")\n");
end
function OnDrill()
OnRapid()
OnPenDown()
endZ = drillZ
OnMove()
OnPenUp()
endZ = safeZ
OnRapid()
end
Z góry wielkie dzięki!
Znaleziono 1 wynik
Wróć do „Sheetcam Postprocesor. Malutka korekta”
Znaleziono 1 wynik
• Strona 1 z 1
- autor: dharok123
- 20 sty 2018, 19:17
- Forum: Ogólne dyskusje na temat oprogramowania CAD/CAM
- Temat: Sheetcam Postprocesor. Malutka korekta
- Odpowiedzi: 3
- Odsłony: 2450
Znaleziono 1 wynik
• Strona 1 z 1
Wróć do „Sheetcam Postprocesor. Malutka korekta”
Przejdź do
- AMATORSKIE MASZYNY CNC
- ↳ CNC podstawy
- ↳ Frezarka - konstrukcja metalowa
- ↳ Frezarka - konstrukcja drewniana
- ↳ Amatorska Tokarka CNC
- ↳ Wycinarka Styropianu (Styroduru)
- ↳ NASZE AMATORSKIE MASZYNY CNC
- ↳ INNE MASZYNY i URZĄDZENIA
- PRZEMYSŁOWE MASZYNY CNC
- ↳ Przecinarka Plazmowa CNC, Gazowa
- ↳ Wycinarka Laserowa / Grawerka Laserowa / Lasery
- ↳ Wycinarka Wodna / Water Jet
- ↳ Przecinarki drutowe / Elektrodrążarki / EDM
- ↳ Inne obrabiarki przemysłowe
- ↳ Plotery tnące
- ↳ Maszyny CNC do Obróbki Drewna
- ↳ Inne Maszyny CNC do Obróbki Drewna, Frezarki, Centra, Plotery
- ↳ Morbidelli
- ↳ Homag, Weeke
- ↳ Biesse Rover
- ↳ Bridgeport / Romi / Hardinge
- ↳ Cincinnati CNC
- ↳ Frezarki Deckel, Maho, Aciera, Abene
- ↳ Daewoo / Doosan
- ↳ Dyna Mechtronics
- ↳ Fadal
- ↳ HAAS
- ↳ HURCO
- ↳ Tokarki Mori Seiki
- ↳ Maszyny Okuma
- WARSZTAT i OBRÓBKA MATERIAŁÓW
- ↳ Rysunek techniczny
- ↳ Obróbka metali
- ↳ Toczenie / Tokarki Konwencjonalne
- ↳ Tokarka Nutool 550, Zuch, OUS, TSA, TSB, Mini Lathe i inne małe tokarki
- ↳ Frezowanie / Frezarki Konwencjonalne
- ↳ Spawalnictwo i obróbka cieplna
- ↳ Obróbka drewna
- ↳ Obróbka tworzyw sztucznych
- ↳ Obróbka plastyczna
- ↳ Obróbka kamienia
- ↳ Wytwarzanie Form
- ↳ Odlewnictwo / Topienie Metali
- ↳ WARSZTAT
- ↳ Narzędzia - frezy, noże, gwintowniki etc
- ↳ Pomiary, Kalibracja, Narzędzia Pomiarowe
- ELEMENTY MASZYN
- ↳ Obliczenia Mechaniczne / Projektowanie Maszyn / Podstawy Konstrukcji Maszyn (PKM)
- ↳ Mechanika
- ↳ Przeniesienie napędu, Przekładnie Pasowe, Przekładnie Zębate, Listwy zębate
- ↳ Prowadnice - Technika Przesuwu Liniowego
- ↳ Śruby Kulowe / Śruby Trapezowe
- ↳ Pneumatyka, Podciśnienie, Hydraulika Siłowa
- ELEKTRONIKA i AUTOMATYKA
- ↳ Elektronika CNC
- ↳ Silniki Krokowe / Sterowniki Silników Krokowych
- ↳ Serwomotory / Serwonapędy / Napędy Serwokrokowe
- ↳ Elektrowrzeciono
- ↳ Elektronika ogólna
- ↳ Automatyka przemysłowa
- ↳ Silniki Elektryczne / Falowniki
- ↳ Arduino, Raspberry pi i inne systemy mikroprocesorowe
- PROGRAMY STERUJĄCE i KONTROLERY CNC
- ↳ Ogólne Dyskusje na Temat Systemów Sterowania CNC
- ↳ G-CODE - programowanie
- ↳ Heidenhain
- ↳ Fanuc
- ↳ Siemens Sinumerik CNC
- ↳ Mazak, Mitsubishi, Mazatrol
- ↳ Fagor Automation
- ↳ Mach 2 / 3 / 4 (ArtSoft software)
- ↳ TurboCNC
- ↳ KCAM
- ↳ LinuxCNC (dawniej EMC2)
- ↳ STEP2CNC
- ↳ cncGraf
- ↳ CNConv
- ↳ PikoCNC
- ↳ Estlcam
- PROGRAMY CAD/CAM
- ↳ Post Procesory
- ↳ Ogólne dyskusje na temat oprogramowania CAD/CAM
- ↳ Autodesk Software (Autocad, Inventor etc)
- ↳ Solidworks
- ↳ NX CAM/Unigraphics
- ↳ EdgeCAM
- ↳ Mastercam
- ↳ Solid Edge
- ↳ ArtCAM
- ↳ eduCAD
- ↳ Alphacam
- ↳ CorelDraw
- ↳ Catia
- ↳ Rhino 3D
- ↳ LazyCam
- ↳ Sprut CAM
- ↳ featureCAM
- ↳ ZW3D / ZWCAD
- ↳ SolidCAM
- ↳ VISI
- ↳ CamBam
- ↳ Esprit
- ↳ SheetCam
- ↳ Surfcam
- Drukowanie i Skanowanie 3D
- ↳ Drukarki 3D, RepRap
- ↳ Skanery 3D
- Symulacja obróbki CNC
- ↳ Oprogramowanie symulacyjne
- ↳ Plugi-iny do programów Cad/Cam
- ↳ Materiały pomocnicze dla instruktorów CNC
- MASZYNY i OPROGRAMOWANIE POMIAROWE
- ↳ Oprogramowanie pomiarowe
- DOWNLOAD/UPLOAD
- ↳ DXF, NC, HPGL, itp
- ↳ Data Sheet i schematy elektroniki do CNC
- ↳ Teoria, arkusze kalkulacyjne, dokumenty
- ↳ Software
- ↳ Plany budowy maszyn
- HOBBY
- ↳ Ogólne Dyskusje o Hobby
- ↳ Modelarstwo
- ↳ Roboty
- ↳ Silniki Parowe / Styrlinga / Odrzutowe
- POSZUKUJE
- ↳ Schematu
- ↳ Informacji na temat...
- POZOSTAŁE
- ↳ Galeria maszyn i prac
- ↳ EBMiA.pl - Akcesoria CNC
- ↳ www.cnc.info.pl
- ↳ Artykuły - Oferty Firmowe
- ↳ Linki
- ↳ Na luzie
- ↳ Tylko dla zarejestrowanych
- ↳ Ankiety
- WIZYTÓWKI
- ↳ Usługi CNC
- ↳ Budowa i naprawa maszyn
- ↳ Obróbka metalu
- ↳ Szkolenia
- Ogłoszenia
- ↳ Giełda CNC
- ↳ Zlecenia
- ↳ Praca - Ogłoszenia (Oferty)