840D换刀参数总结
SINUMERIK840D系统:
22550TOOL_CHANGE_MODE:T功能执行后,是否立即装载新刀。0:立即执行。
准备刀和换刀在一个NCK程序块里。例如,执行T后,激活新的刀具偏差(参阅20270:CUTTING_EDGE_DEFAULT)
1:执行T功能后,准备装载新刀。这个功能主要用于带刀库的铣床,主要是为了换刀是不影响加工。22560TOOL_CHANGE_M_CODE
从主轴上移去旧刀并装载新刀。换刀需要执行M06,同DIN66025一致。201*1:
ThenexttoolispreselectedwithMD201*1:TOOL_PRESEL_RESET_VALUEwhoseassignedtoollengthcompensationvaluesmustbetakenintoaccountonRESETandpowerupaccordingtoMD201*0:RESET_MODE_MASKaretobetakenintoaccount.
20270:未编程前刀具切削沿的初始位置=1M06之后没有自动选择刀沿号0M06之后自动选择刀沿号=
=1M06之后保留旧刀刀沿号并为新刀选择刀沿28085:指定TO单元到通道
用来定义为适当通道定义哪个TO存储器18100:每个TOA程序块刀具偏移
由NCK管理的所有刀具的刀沿的最大数量由该参数设定18105D号的最大值所允许定义的最大D号。
18106每个刀具号D号的最大数量$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通过该参数设定手轮距离。在DRF手轮移动的过程中,可以仅仅通过指定增量一半的距离来移动轴。
20360定义刀具参数
通过设定位9等于1,来定义移动轴中作为直径偏置的DRF偏置。当取消轴的DRF偏置,则现存的刀具偏置同时取消。
18102D编号类型类型=0默认设置
_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)所能处理的刀的数量。18088MM_NUM_TOOL_CARRIER:刀柄(toolholders)数量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
扩展阅读:840D换刀用户循环程序
%_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
友情提示:本文中关于《840D换刀参数总结》给出的范例仅供您参考拓展思维使用,840D换刀参数总结:该篇文章建议您自主创作。
来源:网络整理 免责声明:本文仅限学习分享,如产生版权问题,请联系我们及时删除。