Foni / WhatsApp / Skype
+86 18810788819
E-mail
john@xinfatools.com   sales@xinfatools.com

CNC machining centre programming mirairo, kana iwe usingazvizive, huya udzidze

1. kumbomira kuraira

G04X (U) _/P_ inoreva nguva yekumbomira yekushandisa (yekudya inomira, iyo spindle haina kumira), uye kukosha mushure mekero P kana X ndiyo nguva yekumira. Kukosha pashure

Somuenzaniso, G04X2.0; kana G04X2000; kumbomira kwemasekonzi maviri

G04P2000;

Nekudaro, mune imwe hole system yekugadzirisa mirairo (yakadai seG82, G88 uye G89), kuitira kuti uve nechokwadi chechokwadi chegomba rezasi, pane nguva yekumbomira apo chishandiso chinoshanda kusvika pasi pegomba. Panguva ino, inogona kuratidzwa chete nekero P. Kana Kero X ichiratidza kuti hurongwa hwekutonga hunoona X kuva X-axis coordinate value uye inozviita.

Somuenzaniso, G82X100.0Y100.0Z-20.0R5.0F200P2000; bhora (100.0, 100.0) kusvika pasi pegomba wombomira kwemasekonzi maviri

G82X100.0Y100.0Z-20.0R5.0F200X2.0; kuchera (2.0, 100.0) kusvika pasi pegomba pasina kumbomira.

2. Kusiyana uye kubatana pakati peM00, M01, M02 neM30

M00 murairo wekumbomira usina zvimiso pachirongwa. Kana chirongwa ichi chaitwa, chikafu chinomira uye chinorukwa chinomira. Kuti utangezve chirongwa, unofanira kutanga wadzokera kuJOG state, dzvanya CW (spindle kumberi) kuti utange spindle, wozodzokera kuAUTO state, dzvanya kiyi yekutanga kutanga chirongwa.

M01 chirongwa chekusarudza kumbomira kuraira. Chirongwa chisati chaitwa, kiyi yeOPSTOP pane control panel inofanirwa kubatidzwa. Mhedzisiro mushure mekuurayiwa yakafanana neM00. Iyo purogiramu inofanira kutangwa zvakare sepamusoro.

M00 uye M01 inowanzoshandiswa pakuongorora kana chip kubviswa kweiyo workpiece zviyero panguva yekugadzirisa.

M02 ndiyo huru chirongwa chekupedzisira kuraira. Kana murairo uyu waitwa, chikafu chinomira, chinomira chinomira, uye chinotonhorera chinodzimwa. Asi chirongwa chekutuka chinomira pakupera kwechirongwa.

M30 ndiyo huru purogiramu yekupedzisira yekuraira. Basa racho rakafanana neM02, mutsauko ndewekuti cursor inodzokera kunzvimbo yepamusoro yepurogiramu, pasinei nokuti kune zvimwe zvikamu zvepurogiramu mushure meM30.

3. Kero D naH dzine chirevo chimwe chete

Tool compensation parameters D uye H vane basa rimwechete uye rinogona kuchinjana pamadiro. Iwo ese ari maviri anomiririra zita rekero rerejista yekubhadhara muCNC system, asi iyo chaiyo muripo kukosha inotarwa nekero yenhamba yemuripo iri kumashure kwavo. Nekudaro, munzvimbo dzekugadzira machining, kuitira kudzivirira kukanganisa, zvinowanzo taurwa nehunyanzvi kuti H ndiyo kero yekureba yemuripo, nhamba yemuripo inobva pa1 kusvika pa20, D ndiyo kero yeradius yemuripo, uye nhamba yemuripo inotangira Nha. 21 (magazini yemidziyo ine maturusi makumi maviri).

Somuenzaniso, G00G43H1Z100.0;

G01G41D21X20.0Y35.0F200;

4. Mirairo yegirazi

Mirror mifananidzo yekugadzirisa mirayiridzo M21, M22, M23. Kana iyo X-axis kana Y-axis chete ichiratidzwa, kutevedzana kwekucheka (kukwira uye kumusoro-kucheka milling), chishandiso muripo wekutungamira, uye arc interpolation steering ichapesana nechirongwa chaicho, sezvakaratidzwa muFigure 1. Apo X -axis uye Y-axis inotaridzwa panguva imwe chete, kutevedzana kwekudya kwechishandiso, dhairekitori yemuripo wemidziyo, uye arc interpolation steering inoramba isingachinji.

Ongorora: Mushure mekushandisa girazi rairo, unofanirwa kushandisa M23 kuidzima kuti usakanganisa zvirongwa zvinotevera. MuG90 modhi, kana uchishandisa mufananidzo wegirazi kana kudzima kuraira, unofanirwa kudzokera kune kwakabva workpiece coordinate system isati yashandiswa. Zvikasadaro, iyo CNC system haigone kuverenga inotevera mafambiro trajectory, uye zvisina kujairika chishandiso kufamba kuchaitika. Panguva ino, manyorero ekutanga kudzoka oparesheni inofanirwa kuitwa kugadzirisa dambudziko. Iyo spindle kutenderera haichinji neiyo girazi mufananidzo wekuraira.

Mufananidzo 1: Chishandiso chekubhadhara, kumberi uye kudzosera shanduko panguva yegirazi

5. Arc interpolation command

G02 kududzira kwewachi, G03 inopesana newachi. Mundege yeXY, chimiro chakaita seizvi: G02/G03X_Y_I_K_F_ kana G02/G

03X_Y_R_F_, kupi

Paunenge uchicheka arc, tapota cherechedza kuti kana q≤180 °, R inokosha inokosha; apo q> 180 °, R iri kukosha kwakashata; I na K zvinogonawo kutsanangurwa naR. Kana zvose zvatsanangurwa panguva imwe chete, R murairo unotora nzvimbo, uye ini , K haisi iyo; R haikwanise kucheka denderedzwa rakazara, uye kucheka kwakazara denderedzwa kunogona chete kurongwa neI, J, uye K, nekuti kune zvisingaverengeki madenderedzwa ane radius yakafanana inopfuura nepanzvimbo imwe chete, sezvakaratidzwa mumufananidzo 2.

Mufananidzo 2 Denderedzwa rinopfuura nepanzvimbo imwe chete

Kana ini naK tiri zero, vanogona kusiiwa; zvisinei neG90 kana G91 modhi, I, J, uye K zvakarongwa zvinoenderana nehukama hwehukama; panguva yekududzirwa kwearc, mirairo yemuripo wemidziyo G41/G42 haigone kushandiswa.

6. Zvakanakira nekuipira pakati peG92 neG54~G59

G54~G59 ndiyo inoronga sisitimu yakaiswa isati yagadziriswa, uye G92 ndiyo inoronga sisitimu yakaiswa muchirongwa. Mushure mekushandisa G54~G59, hapana chikonzero chekushandisa G92 zvakare, zvikasadaro G54~G59 ichatsiviwa uye inofanira kudzivirirwa, seSezvinoratidzwa muTafura 1.

Tafura 1 Musiyano uripo pakati peG92 uye inoshanda coordinate system

Cherechedza: (1) Kana G92 ichinge yashandiswa kuseta iyo coordination system, kushandisa G54~G59 zvakare hakuzovi nemhedzisiro kunze kwekunge sisitimu yadzimwa uye yatangwazve, kana G92 inoshandiswa kuseta inodiwa nyowani workpiece coordinate system. (2) Mushure mekunge chirongwa chekushandisa G92 chapera, kana mudziyo wemuchina usingadzoke?

Kana mabviro akatarwa ne92 akatangwa zvakare, chinzvimbo chiripo chechishandiso chemuchina chichava chitsva chebasa rekubatanidza mabviro, anowanzoitika tsaona. Naizvozvo, ndinovimba vaverengi vachaishandisa nekuchenjerera.

7. Gadzirira chishandiso chekushandura subroutine.

Panzvimbo yekugadzira michina, shanduko yemidziyo haidzivisike. Nekudaro, chishandiso chemuchina chine chigadziriso cheshanduko kana chabva mufekitori. Kana isiri pachinzvimbo chekuchinja chishandiso, chishandiso hachigone kuchinjwa. Zvakare, chishandiso chisati chachinja, muripo wekushandisa uye kutenderera kunofanirwa kudzimwa, spindle inomira, uye inotonhorera inodzimwa. Pane zvakawanda mamiriro. Kana izvi zvimisikidzo zvichifanirwa kuve nechokwadi chisati chachinja chega chega chekushandisa, hachizongoite chikanganiso chete asiwo chisingashande. Naizvozvo, isu tinokwanisa kuunganidza chirongwa chekushandura chishandiso kuti chichengetedze uye nekuishandisa muDI state. Kufonera M98 kunogona kupedzisa chishandiso chekuchinja chiito mune imwe kuenda.

Kutora iyo PMC-10V20 machining centre semuenzaniso, chirongwa ichi ndeichi:

O2002;(zita rechirongwa)

G80G40G49; (Kanzura yakatarwa kutenderera uye mudziyo muripo)

M05; (Spindle inomira)

M09; (inotonhorera yakavharwa)

G91G30Z0; (Z axis inodzokera kune yechipiri mavambo, inova ndiyo nzvimbo yekushandura chishandiso)

M06; (Chishandiso chekuchinja)

M99; (Kupera kwe subroutine)

Paunenge uchida kushandura chishandiso, unongoda kunyora "T5M98P2002" muMDI state kutsiva chinodiwa T5, nekudaro kudzivirira zvikanganiso zvakawanda zvisina basa. Vaverengi vanogona kuunganidza chinoenderana chishandiso chinoshandura subroutines zvinoenderana nehunhu hwematurusi emuchina wavo.

8. zvimwe

Chirongwa chechikamu chekutevedzana nhamba, inomiririrwa nekero N. Kazhinji, iyo CNC mudziyo pachayo ine shoma yekurangarira nzvimbo (64K). Kuti uchengetedze nzvimbo yekuchengetera, nhamba yezvikamu zvekutevedzana zvepurogiramu inosiiwa. N inongomiririra chikamu chechikamu chechirongwa, icho chinogona kufambisa kutsvaga uye kugadzirisa kwechirongwa. Izvo hazvina simba pane machining process. Nhamba yekutevedzana inogona kuwedzerwa kana kuderedzwa, uye kuenderera kwemaitiro hakudiwi. Nekudaro, haigone kusiiwa kana uchishandisa mamwe loop mirairo, svetuka mirairo, kudana subroutines uye girazi rairo.

9. Muchikamu chimwe chete chepurogiramu, nokuda kwekuraira kwakafanana (chete kero) kana boka rimwechete remirayiridzo, iyo inooneka gare gare ichaita.

Semuenzaniso, chirongwa chekushandura chishandiso, T2M06T3; inotsiva T3 panzvimbo yeT2;

G01G00X50.0Y30.0F200; G00 inourayiwa (kunyangwe paine F kukosha, G01 haina kuurayiwa).

Mirayiridzo yemitemo isiri muboka rimwechete ine mhedzisiro yakafanana kana ichiitwa muchikamu chechirongwa chimwe chete nekuchinjanisa kutevedzana.

G90G54G00X0Y0Z100.0;

G00G90G54X0Y0Z100.0;

Zvese zviri pamusoro zvinhu zvakamhanyiswa ndokupfuudzwa paPMC-10V20 (FANUCSYSTEM) machining centre. Mumashandisirwo anoshanda, chete kunzwisisa kwakadzama kwekushandiswa uye hurongwa hwemitemo yemirairo yakasiyana inodiwa.

Xinfa CNC zvishandiso zvine hunhu hwemhando yakanaka uye mutengo wakaderera. Kuti uwane ruzivo, ndapota shanya:

CNC Zvishandiso Vagadziri - China CNC Zvishandiso Factory & Suppliers (xinfatools.com)


Nguva yekutumira: Nov-06-2023