840D換刀參數(shù)總結(jié)
SINUMERIK840D系統(tǒng):
22550TOOL_CHANGE_MODE:T功能執(zhí)行后,是否立即裝載新刀。0:立即執(zhí)行。
準(zhǔn)備刀和換刀在一個NCK程序塊里。例如,執(zhí)行T后,激活新的刀具偏差(參閱20270:CUTTING_EDGE_DEFAULT)
1:執(zhí)行T功能后,準(zhǔn)備裝載新刀。這個功能主要用于帶刀庫的銑床,主要是為了換刀是不影響加工。22560TOOL_CHANGE_M_CODE
從主軸上移去舊刀并裝載新刀。換刀需要執(zhí)行M06,同DIN66025一致。201*1:
ThenexttoolispreselectedwithMD201*1:TOOL_PRESEL_RESET_VALUEwhoseassignedtoollengthcompensationvaluesmustbetakenintoaccountonRESETandpowerupaccordingtoMD201*0:RESET_MODE_MASKaretobetakenintoaccount.
20270:未編程前刀具切削沿的初始位置=1M06之后沒有自動選擇刀沿號0M06之后自動選擇刀沿號=
=1M06之后保留舊刀刀沿號并為新刀選擇刀沿28085:指定TO單元到通道
用來定義為適當(dāng)通道定義哪個TO存儲器18100:每個TOA程序塊刀具偏移
由NCK管理的所有刀具的刀沿的最大數(shù)量由該參數(shù)設(shè)定18105D號的最大值所允許定義的最大D號。
18106每個刀具號D號的最大數(shù)量$TC_DPCE[t,d].
18102:MM_TYPE_OF_CUTTING_EDGE.D編號類型類型
the‘18102’functionisactive,onlyoneDoffsetcanbedefinedintheTOunit.TOOL_CHANGE_ERROR_MODEBit0=1).
Ifaprogramerrorhasoccurred,thelinewiththeerrorcannotbecorrected(Txx);onlythelineatwhichtheprogramstoppedandwhichgeneratedthealarmcanbeedited
11346手輪缺省路徑或速度
=1通過該參數(shù)設(shè)定手輪距離。在DRF手輪移動的過程中,可以僅僅通過指定增量一半的距離來移動軸。
20360定義刀具參數(shù)
通過設(shè)定位9等于1,來定義移動軸中作為直徑偏置的DRF偏置。當(dāng)取消軸的DRF偏置,則現(xiàn)存的刀具偏置同時取消。
18102D編號類型類型=0默認(rèn)設(shè)置
_Value=1=flatDnumberstructurewithabsolutedirectDprogramming
CuttingedgescanbedeletedindividuallyviaPIcommandorNCprogrammingcommand.CuttingedgeswithaspecificnumbercanalsobecreatedselectivelyusingtheMMC.18100
MM_NUM_CUTTING_EDGES_IN_TOAisusedtosetthemaximumnumberofDoroffsetdatablocks(max.600).
Thefollowingmachinedataaffectthewaytoolsandcuttingedges(Dnumbers)workintheNCK:
20270:CUTTING_EDGE_DEFAULT201*0:CUTTING_EDGE_RESET_VALUE201*0:TOOL_RESET_VALUE
201*1:TOOL_PRESEL_RESET_VALUE22550:TOOL_CHANGE_MODE22560:TOOL_CHANGE_M_CODE201*0:RESET_MODE_MASK201*2:START_MODE_MASK201*0=2;
Spindleno.2ismasterspindle
201*0,bit3canbeusedtodefinethattheactivetoolandthetooloffsetaretransferredasfollows:_Bit3=1fromthelasttestprogramtofinishintestmode,or
_Bit3=0fromthelastprogramtofinishbeforeactivationoftheprogramtestPrerequisiteBits0and6ofMD201*0mustbeenabled.
18082MM_NUM_TOOL:NCK(SRAM)所能處理的刀的數(shù)量。18088MM_NUM_TOOL_CARRIER:刀柄(toolholders)數(shù)量18094MM_NUM_CC_TDA_PARAMNumberofTOAdataFBW,S7
18096MM_NUM_CC_TOA_PARAMNumberofTOAdatawhichcanbesetuppertoolandevaluatedbytheCC
18100MM_NUM_CUTTING_EDGES_IN_TOATooloffsetsperTOAmoduleS718102MM_TYPE_OF_CUTTING_EDGEActivateflatDnumbermanagement(_SW4)18105MM_MAX_CUTTING_EDGE_NOAddressextensioninterpretedasspindlenumber18106MM_MAX_CUTTING_EDGE_PERTOOLMaximumnumberofcuttingedgespertool18108MM_NUM_SUMCORRNumberofallsumoffsetsinNCK
18110MM_MAX_SUMCORR_PER_CUTTEDGEMaximumnumberofsumoffsetspercuttingedge(SW5andhigher)7.2Machinedata
18112MM_KIND_OF_SUMCORRPropertiesofsumoffsetsintheNCK
18114MM_ENABLE_TOOL_ORIENTAssignorientationtocuttingedgesChannel-specific($MC_...)
201*6T_M_ADDRESS_EXT_IS_SPINOSpindlenumberasaddressextension
201*0RESET_MODE_MASKDefinitionofcontrolbasicsettingafterpower-upandRESETpartsprogramendK2
201*0TOOL_RESET_VALUEDefinitionoftoolforwhichtoollengthcompensationisselectedduringpower-uporonresetorpartsprogramendasafunctionofMD
201*0
201*1TOOL_PRESEL_RESET_VALUEDefinitionofthepreselectedtoolforwhichthetoollengthcompensationisselectedduringpower-upandonresetorpartsprogramendasafunctionofMD201*0
201*6TOOL_CARRIER_RESET_VALUEActivetoolholderonRESET
201*0CUTTING_EDGE_RESET_VALUEDefinitionoftoolcuttingedgeforwhichtoollengthcompensationisselectedduringpower-uporonresetorpartsprogramendasafunctionofMD201*0
201*2SUMCORR_RESET_VALUENumberforselectingsumoffset
201*0TRAFO_RESET_VALUEDefinitionoftransformationblockwhichisselectedduringpower-upandorRESETorpartsprogramendasafunctionofMD201*0
201*0TOCARR_ROT_ANGLE_INCR[i]Minimumincrementalstepfororientationaltoolholder(SW5.3andhigher)
201*2TOCARR_ROT_ANGLE_OFFSET[i]Offsetoftheaxisofrotationfororientationaltoolholder(SW5.3andhigher)
201*4TOCARR_BASE_FRAME_NUMBERBaseframeofthetableoffsetfororientationaltoolholderwithrotarytable(SW5.3andhigher)
20202WAB_MAXNUM_DUMMY_BLOCKSMaximumnumberofblockswithnotraversingmotionswithSAR
20204WAB_CLEARANCE_TOLERANCE
20210CUTCOM_CORNER_LIMITMax.angleforintersectioncalculationwithtoolradiuscompensation
20220CUTCOM_MAX_DISCMaximumvalueforDISC
20230CUTCOM_CURVE_INSERT_LIMITMinimumvalueforintersectioncalculationwithtoolradiuscompensation
20240CUTCOM_MAXNUM_CHECK_BLOCKSBlocksforpredictivecontourcalculationwithtoolradiuscompensation
20250CUTCOM_MAXNUM_DUMMY_BLOCKSMax.no.ofdummyblockswithnotraversingmovements
20252CUTCOM_MAXNUM_SUPPR_BLOCKSMaximumnumberofblockswithoffsetsuppression(fromSW4)
20256CUTCOM_INTERS_POLY_ENABLEIntersectionprocesspossibleforpolynomials(fromSW4)
20270CUTTING_EDGE_DEFAULTSelectedcuttingedgeaftertoolchange20272SUMCORR_DEFAULTNumberforactivatinganewcuttingedgeoffset(SW5andhigher)ToolOffset(W1)10.00
7.3Settingdata
SiemensAG,201*.Allrightsreserved
SINUMERIK840D/840Di/810DDescriptionofFunctionsBasicMachine(FB1)11.02EditionNumberReferenceNameIdentifier
20360TOOL_PARAMETER_DEF_MASKDefinestheeffectoftoolparameters20390TOOL_TEMP_COMP_ONActivationoftemperaturecompensationfortoollength(SW6.1andhigher)
20392TOOL_TEMP_COMP_LIMITMaximumtemperaturecompensationfortoollength(SW6.1andhigher)
20610ADD_MOVE_ACCEL_RESERVEAccelerationreserveforoverlaidmovementsK121080CUTCOM_PARALLEL_ORI_LIMITLimitanglebetweenpathtangentandtoolorientationwith3DtoolradiuscompensationW5
22530TOCARR_CHANGE_M_CODEMcodeforchangeoftoolholder22550TOOL_CHANGE_MODENewtooloffsetswithMfunction22560TOOL_CHANGE_M_CODEMfunctionfortoolchange
擴(kuò)展閱讀:840D換刀用戶循環(huán)程序
%_N_INI_SPF
;$PATH=/_N_CST_DIRPROCINISAVEDISPLOF
_TM[11]=$MN_USER_DATA_INT[0];themaxnumberoftoolmagazine_TM[0]=1;localpotnumber
_TM[1]=0;potnumberofprogrammingtoolnumber_TM[3]=0;NCTnumber
_TM[4]=0;thefirstTnumber_TM[5]=0;notprogramtest
_TM[6]=0;Tnumberinprogramtest_TM[10]=1;counterandprocess_INI:
$TC_DP25[_TM[10],1]=_TM[10];INIPotnumber
$TC_DP24[_TM[10],1]=0;thenumberofemptypot_TM[10]=_TM[10]+1_TM[11]=_TM[11]-1
IF_TM[11]>0GOTOB_INI_TM[10]=0
M99;INImagazinecounterinPLCT0
M206;ActivetoolparameterM17
%_N_MGZ_SPF
;$PATH=/_N_CST_DIRPROCMGZSAVEDISPLOF
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~;precondition:
;AfterINI,Tnumberequaltopotnumber:Pot=1,T=T1;-------------------------;MD14510[0]-themaxnumberoftoolmagazine;
;MD14514[0]-theangleofspindlefixedstop;MD14514[1]-theXpositionofchangingtool;MD14514[2]-theYpositionofchangingtool;MD14514[3]-theZpositionofchangingtool
;MD14514[4]-thespeedofgoingintopositionofchangingtool;-------------------------;Parameterdescription:
;_TM[0]:Localpotnumber
;_TM[1]:potnumberofprogrammingtoolnumber;_TM[3]:NCTnumber
;_TM[5]:1=notprogramtest
;_TM[6]:Tnumberinprogramtest;_ZSFR[10]:ThedifferenceofTnumber;$C_T:programmingTnumber;$PTOOLNO:NCTnumber;ToolData:
;$TC_DP1[Tnumber,1]:tooltype;$TC_DP3[Tnumber,1]:toollength;$TC_DP6[Tnumber,1]:toolradius
;$TC_DP12[Tnumber,1]:toolwearinginlength;$TC_DP15[Tnumber,1]:toolwearinginradius
;$TC_DP24[Tnumber,1]:toolsize0:normal1:larger;$TC_DP25[Tnumber,1]:Potnumber
_TM[10]=0;ThemarkofINIGOTOIF((_TM[5]==0)AND($P_ISTEST==1))GOTOF_SIMU1IF((_TM[5]==1)AND($P_ISTEST==1))GOTOF_SIMU2IF((_TM[5]==1)AND($P_ISTEST==0))GOTOF_E_SIM
_ZSFR[11]=$MN_USER_DATA_INT[0];themaxnumberoftoolmagazine_ZSFR[21]=_ZSFR[11]/2;themaxnumberoftoolmagazine/2IF$C_T==$P_TOOLNOGOTOFNOCHG1
IF$C_T>_ZSFR[11]GOTOFNOCHG2;programmingTnumber>themaxnumberoftoolmagazine;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_T_CHG:
IF$C_T0GOTOF_T_N0
;IfT=0,loademptypotnumbervvvvvvvvvvvvvvvvvvvvvvvv_TM[1]=_TM[4]GOTOF_T_POS_T_N0:
MSG("ProgrammingTnumber:T"T=_TM[6];RestoreNCTnumberM206;ActiveTdataMSG("restoreNCTnumber:"0GOTOF_ATC1;Notdefinespeed
MSG("WrongParameter:feedspeedMD14514[4]isnotbedefined")M00
GOTOF_END_ATC1:
IF$C_T$P_TOOLNOGOTOF_ATC2
MSG("Notoolchange:ProgrammingTnumber=NCTnumber")G04F2
GOTOF_END_ATC2:
IF_TM[10]==10GOTOF_END;CannotfindTool;--------------------------------------------------G90
G500;CancelworkpeiceCoordinatesD0;Canceltoolcompensation
;Zaxisgobackfixedpositon,spindleisfixedstop,MxxactivateACTF=$MN_USER_DATA_FLOAT[4]
G153G1Z=$MN_USER_DATA_FLOAT[3]SPOS=$MN_USER_DATA_FLOAT[0];G153G1X=$MN_USER_DATA_FLOAT[1]Y=$MN_USER_DATA_FLOAT[2]M86;ActivateACT
;--------------------------------------------------G04F1_W_ACK:STOPRE
IF$A_DBB[11]0GOTOB_W_ACK
;--------------------------------------------------IF$C_T==0GOTOF_RE_T;ReturntoolIF$P_TOOLNO==0GOTOF_IN_T;TaketoolSTOPRE
;ExchangeToolvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
$TC_DP25[_TM[3],1]=_TM[1];ThepotnumberofprogrammingTnumber$TC_DP24[_TM[3],1]=0;ClearNCToolmark
_TM[3]=$C_T;ProgrammingTnumber=NCTnumberSTOPRE
$TC_DP25[_TM[3],1]=_TM[4];ThepotnumberofprogrammingTnumber$TC_DP24[_TM[3],1]=1;MarkNCTnumber_TM[0]=_TM[1]
MSG("Thirdstepoftoolchange:Toolchangeisok")G04F1
GOTOF_T_ACT
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_IN_T:
;loadtoolvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
_TM[3]=$C_T;ProgrammingTnumber=NCTnumber_TM[0]=_TM[1];refreshlocalpotnumber
_TM[4]=_TM[1];recordthepotnumberoffirsttimetakingtool$TC_DP24[_TM[3],1]=1;MarkNCTnumber
MSG("Firststepoftoolchange:Loadingtoolisok")G04F1
GOTOF_T_ACT
;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~_RE_T:
;returntoolvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
$TC_DP24[_TM[3],1]=0;Cleartheemptypotnumber_TM[0]=_TM[4];ReturnNCtooltoemptypot_TM[3]=0;NCTnumber=0_TM[4]=0;NCTnumber=0
MSG("Secondstepoftoolchange:Returningtoolisok")G04F1_T_ACT:
M206;ActivateToolparameter
D1;Restorethecontrolmodeofspindle_TM[0]=_TM[1];RefreshlocalpotnumberSTOPRE_END:M17
友情提示:本文中關(guān)于《840D換刀參數(shù)總結(jié)》給出的范例僅供您參考拓展思維使用,840D換刀參數(shù)總結(jié):該篇文章建議您自主創(chuàng)作。
來源:網(wǎng)絡(luò)整理 免責(zé)聲明:本文僅限學(xué)習(xí)分享,如產(chǎn)生版權(quán)問題,請聯(lián)系我們及時刪除。