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

Kev paub yooj yim los pab koj pib nrog UG programming

CNC machining programming yog sau cov txheej txheem ntawm machining qhov chaw, txheej txheem tsis, workpiece loj, kev taw qhia ntawm cov cuab yeej hloov chaw thiab lwm yam kev pab cuam (xws li hloov cuab yeej, txias, loading thiab unloading ntawm workpieces, thiab lwm yam.) raws li lub programming hom ntawv los sau cov ntawv qhia siv cov lus qhia.txheej txheem ntawm.Daim ntawv teev cov program sau yog daim ntawv teev npe ua haujlwm.

CNC cuab yeej Xov xwm 1

 

Xinfa CNC cov cuab yeej muaj cov yam ntxwv zoo thiab tus nqi qis.Yog xav paub ntxiv, thov mus saib:
Tuam Tshoj CNC cuab yeej Hoobkas thiab cov chaw muag khoom (xinfatools.com)

Kev txiav txim siab ntawm lub tshuab cuab yeej tswj qhov system thiab kev txav mus los

Peb qhov kev sib koom tes ntawm lub tshuab cuab yeej linear tsab ntawv tsa suab X, Y, thiab Z tau txais txoj cai sab xis Cartesian lub kaum sab xis tswj hwm, raws li qhia hauv daim duab 11-6.Qhov kev txiav txim ntawm kev txhais cov kev sib koom tes yog txiav txim siab Z axis ua ntej, tom qab ntawd X axis, thiab thaum kawg Y axis.Rau cov cuab yeej siv tshuab uas tig lub workpiece (xws li tshuab dhos), cov kev taw qhia ntawm lub cuab tam deb ntawm lub workpiece yog cov kev taw qhia zoo ntawm Saib, txoj kev zoo yog qhov zoo ntawm X-axis.

Peb qhov kev sib hloov axis kev sib koom ua ke yog sib npaug rau X, Y, thiab Z kev sib koom ua ke, thiab cov kev taw qhia rau pem hauv ntej ntawm txoj cai xov yog coj raws li cov kev taw qhia zoo.

Cov lus qhia yooj yim rau CNC lathes

1) Program format

Cov txheej txheem kev ua haujlwm feem ntau muaj peb ntu: kev pib ua haujlwm, cov ntsiab lus ntawm qhov program thiab qhov kawg ntawm qhov program.

Qhov pib ntawm qhov kev zov me nyuam yog tus lej program, uas yog siv los txheeb xyuas qhov pib ntawm kev ua haujlwm.Tus lej program feem ntau yog sawv cev los ntawm tus cim "%" ua raws li plaub tus lej.

Qhov kawg ntawm qhov kev zov me nyuam tuaj yeem qhia tau los ntawm cov haujlwm pabcuam M02 (qhov kawg ntawm qhov kev zov me nyuam), M30 (qhov kawg ntawm txoj haujlwm, rov qab mus rau qhov pib), thiab lwm yam.

Cov ntsiab lus tseem ceeb ntawm qhov kev zov me nyuam muaj ntau qhov kev pab cuam ntu (BLOCK).Qhov kev zov me nyuam ntu yog tsim los ntawm ib lossis ntau cov lus qhia.Txhua lo lus cov ntaub ntawv yog tsim los ntawm cov cim chaw nyob thiab cov ntaub ntawv cim cov ntawv.Cov lus qhia yog qhov tsawg tshaj plaws ntawm kev qhia.(Thaum tsis muaj leej twg coj koj, nws qeeb heev rau koj tso siab rau koj tus kheej lub peev xwm, lossis dhau los thiab sib sau ua ke ntawm koj tus kheej.
2) Program segment format

Tam sim no, lo lus chaw nyob qhov kev pab cuam ntu feem ntau siv, thiab daim ntawv thov tus qauv yog JB3832-85.

Cov hauv qab no yog ib hom lus chaw nyob qhov kev pab cuam ntu hom:

N001 G01 X60.0 Z-20.0 F150 S200 T0101 M03 LF

Ntawm lawv, N001- sawv cev rau thawj ntu ntu

G01-Indicates linear interpolation

X60.0 Z-20.0 - sawv cev rau qhov kev txav mus los hauv X thiab Z kev sib koom ua ke

F, S, T - sawv cev rau pub ceev, spindle ceev thiab cov cuab yeej tus lej feem

M03 - Qhia tias lub spindle tig clockwise

LF - qhia qhov kawg ntawm qhov kev pab cuam ntu

3) Cov lej ua haujlwm tseem ceeb hauv CNC system

(1) Kev Kawm Qib Siab: N10, N20…

(2) Kev npaj muaj nuj nqi: G00-G99 yog lub luag haujlwm uas ua rau lub tshuab CNC ua haujlwm qee yam.

G codes muab faib ua ob hom: modal codes thiab non-modal codes.Lub npe hu ua modal code txhais tau hais tias ib zaug ib qho G code (G01) tau teev tseg, nws ib txwm siv tau kom txog rau thaum tib pab pawg G codes (G03) tau siv nyob rau hauv ntu ntu kev pab cuam tom ntej los hloov nws.Cov code uas tsis yog-modal tsuas yog siv tau nyob rau hauv ntu kev pab cuam thiab yuav tsum tau rov sau dua thaum xav tau nyob rau hauv seem program tom ntej (xws li G04).Hlau ua WeChat yog tsim nyog rau koj mloog.

a.Ceev taw tes tso chaw hais kom ua G00

G00 hais kom ua yog ib txoj cai modal, uas hais kom lub cuab tam kom sai sai txav los ntawm qhov chaw uas lub cuab tam yog mus rau lub hom phiaj tom ntej txoj hauj lwm nyob rau hauv point positioning tswj.Nws tsuas yog rau qhov chaw nrawm yam tsis muaj kev txav mus los.

Cov lus txib sau ntawv yog: G00 Kev sib tsoo hauv qab no yog qhov txaus ntshai dua.

b.Linear interpolation hais kom ua G01

Txoj kev qhia linear interpolation yog ib qho kev qhia tawm cov lus qhia thiab kuj yog ib txoj cai modal.Nws txib cov cuab yeej los ua cov lus tsa suab nrog ib qho kev nqes hav ntawm ob qhov kev tswj xyuas lossis peb qhov kev sib koom ua ke hauv kev sib txuas sib txuas ntawm tus nqi F pub (unit: mm / min).

Cov lus txib sau hom ntawv yog: G01 X_Z_F_;F hais kom ua kuj yog ib qho lus txib, thiab nws tuaj yeem raug tshem tawm nrog G00 hais kom ua.Yog tias tsis muaj F hais kom ua hauv qhov thaiv ua ntej G01 thaiv, lub tshuab cuab yeej yuav tsis txav mus.Yog li, yuav tsum muaj F hais kom ua hauv G01 program.
c.Arc interpolation cov lus qhia G02 / G03 (siv Cartesian kev tswj xyuas los txiav txim)

Cov lus txib arc interpolation qhia cov cuab yeej ua lub voj voog ncig hauv lub dav hlau uas tau teev tseg ntawm tus nqi F pub rau txiav cov arc contour.Thaum ua cov arc ntawm lub tshuab dhos, koj yuav tsum tsis tsuas yog siv G02 / G03 los qhia lub clockwise thiab counterclockwise kev taw qhia ntawm lub arc, thiab siv XZ los qhia qhov kawg point coordinates ntawm lub arc, tab sis kuj qhia lub vojvoog ntawm lub arc.

Cov kev qhia sau ntawv yog: G02/G03 X_Z_R_;

(3) Lub luag haujlwm pabcuam: siv los txheeb xyuas cov haujlwm pabcuam ntawm lub tshuab cuab yeej (xws li pib thiab nres ntawm lub tshuab cuab yeej, lub kauj tsheb, txiav cov kua dej hloov, lub kauj kauj, lub cuab yeej clamping thiab loosening, thiab lwm yam)

M00 - Program pause
M01 – Qhov kev pab cuam ncua sij hawm
M02 - Qhov kawg ntawm qhov kev pab cuam
M03 - Spindle rau pem hauv ntej rotation (CW)
M04 - Spindle rov qab (CCW)
M05 - Spindle nres
M06 - Cov cuab yeej hloov hauv machining chaw
M07, M08-coolant rau

M09 - Txias tawm
M10 - workpiece clamping
M11 - Cov khoom ua haujlwm tau xoob
M30 - Thaum kawg ntawm txoj haujlwm, rov qab mus rau qhov pib
M05 hais kom ua yuav tsum tau siv ntawm M03 thiab M04 cov lus txib kom nres qhov ntxaiv.

(4) Pub muaj nuj nqi F

Yog tias siv txoj kev xaiv ncaj qha, sau qhov yuav tsum tau pub ceev ncaj qha tom qab F, xws li F1000, uas txhais tau tias tus nqi pub yog 1000mm / min);thaum tig threads, tapping thiab threading, txij li thaum lub feed speed yog txuam nrog spindle ceev, tus naj npawb tom qab F yog cov hlau lead.

(5) Spindle muaj nuj nqi S

S qhia cov spindle ceev, xws li S800, uas txhais tau hais tias tus spindle ceev yog 800r / min.

(6) Cov cuab yeej ua haujlwm T

Qhia lub tshuab CNC hloov lub cuab yeej, thiab siv qhov chaw nyob T thiab 4 tus lej hauv qab no txhawm rau txheeb xyuas tus lej ntawm cov cuab yeej thiab cov cuab yeej them nyiaj (tus lej offset tus lej).Thawj 2 tus lej yog cov cuab yeej serial tooj: 0 ~ 99, thiab 2 tus lej kawg yog tus lej nyiaj: 0 ~ 32.Tom qab txhua lub cuab yeej ua tiav, cov cuab yeej them nyiaj yuav tsum raug muab tso tseg.

Cov cuab yeej serial tooj tuaj yeem ua raws li tus lej ntawm lub cuab yeej ntawm lub taub hau cutter;

Cov cuab yeej them nyiaj suav nrog kev them nyiaj zoo thiab kev them nyiaj hnav;

Cov cuab yeej serial tooj thiab cov cuab yeej them tus lej tsis tas yuav zoo ib yam, tab sis tuaj yeem ua tib yam rau kev yooj yim.

Nyob rau hauv lub CNC ntaus ntawv, cov ntaub ntawv cov kev pab cuam yog txheeb xyuas los ntawm cov kev pab cuam naj npawb, uas yog, hu rau qhov kev pab cuam los yog kho qhov kev pab cuam yuav tsum raug hu tawm los ntawm qhov kev pab cuam naj npawb.

a.Tus qauv ntawm tus lej program: O;

Tus lej tom qab "O" yog sawv cev los ntawm 4 tus lej (1 ~ 9999), thiab "0" tsis raug tso cai.

b.Program ntu ntu ntu: Ntxiv tus lej ua ntu ua ntej ntu ntu, xws li: N;

Tus lej tom qab "O" yog sawv cev los ntawm 4 tus lej (1 ~ 9999), thiab "0" tsis raug tso cai.

Kev teeb tsa ntawm workpiece coordinate system

Lub workpiece yog ntsia rau ntawm chuck.Lub tshuab cuab yeej tswj hwm qhov system thiab lub tshuab ua haujlwm ua haujlwm feem ntau tsis sib xws.Txhawm rau ua kom yooj yim rau kev ua haujlwm, yuav tsum tsim kom muaj qhov chaw ua haujlwm sib koom ua ke kom cov cuab yeej tuaj yeem ua tiav hauv qhov kev sib koom tes no.

G50 XZ

Cov lus txib no qhia qhov kev ncua deb ntawm lub cuab yeej pib taw tes lossis lub cuab yeej hloov pauv mus rau qhov chaw ua haujlwm.Cov kev tswj xyuas X thiab Z yog qhov chaw pib ntawm lub cuab yeej taw qhia hauv qhov chaw ua haujlwm ua haujlwm.

Rau CNC tshuab cov cuab yeej nrog cov cuab yeej them nyiaj ua haujlwm, cov cuab yeej teeb tsa yuam kev tuaj yeem raug them los ntawm cov cuab yeej offset, yog li cov kev cai rau kev kho lub tshuab cuab yeej tsis nruj.

Cov cuab yeej yooj yim teeb tsa txoj hauv kev rau CNC lathes

Muaj peb txoj hauv kev siv cov cuab yeej teeb tsa: sim txiav cov cuab yeej teeb tsa txoj kev, cov cuab yeej teeb tsa nrog cov cuab yeej nrhiav kom pom cov cuab yeej, thiab cov cuab yeej teeb tsa nrog cov cuab yeej ntsuas qhov muag.

Siv G50 UW tuaj yeem ua rau kev sib koom ua ke hloov pauv, hloov cov kev sib koom ua ke qub nrog cov txiaj ntsig tshiab, thiab hloov lub tshuab cuab yeej tswj hwm qhov system thiab cov haujlwm ua haujlwm sib koom ua ke.Nws yuav tsum tau muab sau tseg tias nyob rau hauv lub tshuab cuab yeej tswj system, tus nqi sib koom tes yog qhov kev ncua deb ntawm cov cuab yeej tuav qhov chaw taw tes thiab lub hauv paus ntawm lub tshuab cuab yeej;Thaum nyob rau hauv lub workpiece coordinate system, tus nqi sib koom tes yog qhov kev ncua deb ntawm lub cuab yeej thiab lub hauv paus ntsiab lus ntawm workpiece.


Post lub sij hawm: May-27-2024