后处理构造器说明书 外文翻译.docx
《后处理构造器说明书 外文翻译.docx》由会员分享,可在线阅读,更多相关《后处理构造器说明书 外文翻译.docx(20页珍藏版)》请在冰点文库上搜索。
后处理构造器说明书外文翻译
外文翻译
PostBuilderHelp
GettingStarted
PostBuildercreatesandeditspostprocessors. Thesepostprocessorshavethreeelements,eachidentifiedbythebasenameandoneofthreeextensions. Assumingyourpostprocessornameismy_machine_tool,thesefileswouldbethefollowing:
my_machine_tool.pui
OnlyPostBuilderusesthisfile. Thisfilecontainsstaticinformationonhowtowriteoutthe.tclfile. AlthoughPostdoesnotneedthisfile,itmustbepresentinthesamedirectoryasthe.tcland.deffilesinordertoedityourpostprocessor.
my_machine_tool.tcl
ThisfiledeterminestheblocksthatneedtobeoutputfromeventsthataregeneratingbyPost. ThisfileusestheTCLlanguage.PostBuildercompletelycreatesthisfileeverytimeyousaveyourpostprocessor. PostalsousesthisfileatruntimetogenerateNCcode.
my_machine_tool.def
Thisfiledefinesallthestaticinformationforthepostprocessor. Thisincludesformats,addressandNCblocks. TheformatofthisfileisaspecialsyntaxcreatedbyNX. ThisfileisusedbyPosttopostprocessthetoolpathandgenerateNCcode.
Bydefault,PostBuildercreatesyourpostprocessorinthedirectorywhereyoustartedPostBuilder. UsetheSaveAsoptioninthefiledialogtosaveyourpostprocessorinthedirectoryofyourchoice. InordertouseyourpostprocessorinNXyoumustaddanentrytoyourtemplate_post.datfileinyourcurrentpostprocessordirectory.
PostBuildersupportsEnglishdialogsonly.
ProceduresintheBaseFile
NXPostdependsheavilyonproceduresintheugpost_base.tclfile.Thisfileislocatedinthemach/postprocessordirectory.ThesystemusesittosupportthefileI/Oandotherbasicfunctions.ThisisupdatedwitheachNXrelease,andshouldnotbemodified.Itispossibletooverwriteproceduresinthisfilethroughtclprogramming,butthisisnotrecommended.Youcanoverwritetheseprocedureswithausercreatedtclfileorbyusingtheuplevelfeatureoftcl.Whenanyoftheproceduresinugpost_base.tclareoverwrittenbytheproceduresinthepostprocessorwenolongerguaranteethatthepostwillcontinuetoworkcorrectlyfromonereleasetothenext.Someofthecriticalfilesthatmaycauseproblemswhenmodifiedare:
CreatingaNewPost
Tocreateapostfollowthestepsbelow:
1.SelecttheNewFileiconorselectNewinthefiledropdownmenu.
YouhavethefollowingchoicesfromtheCreateNewPostprocessordialog:
2.Youcanselectthenameofyourpostprocessororusethedefaultname.Youcanchangethisnamewhensaving.
3.Youcanenteratextdescriptionofyourpostprocessor.
4.Specifywhetherthesystemoutputsininchormetric.Ifyouselectinch,allcoordinateoutputandformatsareininches.Ifyouspecifymetric,allcoordinateoutputisinmillimeters.Allofthedefaultparameterssuchastolerances,minimumsandmaximumsarebasedupontheoutputunits.SeethesectiononChangingPostprocessorKinematicsforhowtochangefrominchtometricormetrictoinchafteryouhavecreatedthepost.
5.Selectabasicmachinetype.Onceyouhaveselectedthemachinetypeyoucannotchangeitagainforthispostprocessor.Yourchoicesareexplainedinthefollowingsections:
Mill,Lathe,WireEDM.
Mill
Selectingthisoptiondefinesyourmachineasamilltype.Thefollowingmilltypesareavailable:
3-Axis
Yourposthasthreelinearaxes(X,YandZ).
3-AxisMillTurn(XZC)
Yourpostisthemillportionofamill/turn. YoucanoutputstandardCartesianXYZoroutputpolarcoordinatesX(radius),ZandC(angle). SeetheMillTurnsectionformoredetails.
4-AxiswithRotaryTable
Yourposthasthreelinearaxes(X,YandZ)androtaryindexingorcontouringtable(A,BorC).
4-AxiswithRotaryHead
Yourposthasthreelinearaxes(X,YandZ)androtaryindexingorcontouringhead(A,BorC)
5-AxiswithDualRotaryHeads
Yourposthasthreelinearaxes(X,YandZ)andtworotaryindexingorcontouringheads(A,BorC).
5-axiswithDualRotaryTable
Yourposthasthreelinearaxes(X,YandZ)andtworotaryindexingorcontouringtables(A,BorC).
5-axiswithRotaryHeadandTable
Yourposthasthreelinearaxes(X,YandZ),arotaryindexing,orcontouringfourthaxisheadandarotaryindexingorcontouringfifthaxistable(A,BorC).
Lathe
Selectingthisoptiondefinesyourmachineasalathetype.Typicallylatheshavetwolinearaxes(CartesianXandZ).ThechuckrotatesandthetoolremainsinaturretthatmovesintheXandZ-axis.Inthemachinesectionyoucanalsospecifyyourpostasafouraxislathewithafixeddistancebetweentheturrets.
WireEDM
SelectthisoptiontocreateoreditaWireEDMpostprocessor.ThesystemprovidespostsforthreecommonwireEDMmachinetools:
Agie,Mitsubishi,andCharmilles.TheycontainalltheGandMcodesusedtocontrolstandardWireEDMfunctions.Theyalsocontainthebasictwoandfouraxismotion.
2Axis
Yourposthastwolinearaxes.
4Axis
Whenyouselectthisoptionyougetbasicfour-axisoutputthatyouneedtocustomizeforyourmachine.Youmayselecteithercoordinateorangleoutput.Forcoordinatemode,thepostwillcalculatethepositionontheupperplanewhereyouneedtohavethewiretoachievetheprogrammedtiltdefinedbythetoolaxis.ForanglesmodeyougetthebasicAgieoutput.Thepostcalculatesthetiltalongthedirectionofmotionandthetiltperpendiculartothedirectionofmotion.
WhenyouselecttheAgiecontrol,yougettheAgieQandRangleoutput.WhenyouselectMitsubishiorCharmiles,yougettheUandVoutputfortheupperplanecoordinates.
Controller
Youmustnowselectabasiccontrollertype.Youcanchooseagenericcontroller,aspecificcontrollerfromthecontrollerlibrary,orapostyouhavepreviouslycreated.ThespecificcontrollershavenurbsoutputfortheFanuc,SiemensandHeidenhainmillcontrols.Thechoiceofcontrollersisdifficultformill,lathe,orwireedmmachinetools.
Aftermakingallyourselectionsthesystemusesalltheinformationyouhaveselectedtocreateyourpost.
ChangingPostprocessorKinematics
YoucanstartwithanyexistingpostprocessorcreatedwithPostBuilderandchangethekinematicsortheinch/metricsettingthroughthefollowingprocess:
1.Makeanewpost.
2.Selectthenewinchormetricsetting.
3.Selectthenewkinematicssetting.
4.Selecttheuseroptiononthecontrollertobrowseforthepostyouwanttochange.
5.Createthepost.
Yournewpostnowhasallofthecustomcommandsandeditsfromyouroriginalpost,butwithnewkinematicsand/orinch/metricsettings.
Youmayneedtoaddrotarywordstothemotionblockswhenmakingafourorfiveaxispostfromathreeaxispost.Todothisfollowthestepsbelow:
1.GotoProgram&ToolPath→Program→Motion.InthisdialogyoumayneedtochangetheLinearMoveandRapidMoveblocks.Todothis,followthestepsbelow:
a.ClickontheLinearMove,orRapidMoveblueeventmarker.
b.Inthedialogthatdisplays,selectthedownarrownexttothedropdownmenu.
c.Fromthedropdownmenuselectfourth_axis.
d.ClickandholdtheAddWordbuttonuntilablockdisplays.
e.Dragtheblockovertheblockuntilawhiteoutlineappears,thanreleasethemouse.
Ifyouhaveafouraxispostyoumayonlyneedtoaddthefourth_axisword.Ifyouhaveafiveaxispostyoumayneedtoaddboththefourth_axisandfifth_axis.
2.GotoProgram&ToolPath→Program→CannedCyclesandselecttheCommonParameterseventmarker.Addthefourth_axiswordinthesamemannerastheLinearandRapidMoveeventmarkers.
Options
ValidateCustomCommands
Youcanturnonorturnofferrorcheckingwhileimportingorcreatingcustomcommands:
UnknownCommands
Whenyousetthisoptiontoactiveitdetectsanysyntaxerrorinthenameofacommand.
UnknownBlocks
Whenyousetthisoptiontoactiveitdetectsanyreferencestoanundefinedblock.
UnknownAddresses
Whenyousetthisoptiontoactiveitdetectsanyreferencetoundefinedaddresses.Thiscanbeusedtovalidatecommandssuchasmom_force_once.
UnknownFormats
Whenthisoptionissettoactiveitdetectsreferencestoundefinedformats.
Thisisaveryusefulfeaturethatpreventsmanyrun-timeerrorsthataremuchmoredifficulttodebuginarun-timesituation.Ifyouselectthedottedlineyoucancreateadetacheddialog.
BackUpPost
ThispreferenceallowsyoutodefinehowthesystemcreatesbackupversionsofPostBuilderfiles. Youhavethefollowingchoices:
BackupOriginal
Backsuptheoriginalpart.Allintermediateversionsareoverwritten.
EverySave
Backsupeverytimeyousave.Thisisthedefaultsetting
NoBackup
Thesystemonlysavesthelastversion.
HelpFunctions
BalloonHelp
SelectthisoptiontoactivateBalloonHelp. WhenyouplacethecursorovermanyoftheobjectsinthePostBuilderdialogs,aniconappearsandgivesyoumoredetailontheexactfunctionalityoftheobject.YoucanturnonBalloonHelpduringpostprocessorcreationmode.
Thisexampleshowsthenameoftheblockthesystemoutputsaswellastheformatoftheoutputcode.
WhenyouselecttheBalloonHelpicon,itturnstoapinkbackgroundcolor.
Whenyoucanceltheselection,theiconreturnstoitsgraybackgroundcolor.
ContextSensitiveHelp
SelectthisoptiontoactivateContextSensitiveHelpmode. WhenyouactivatethismodeandselectaniteminPostBuilder,thesystemdisplaysadescriptionofthatitem. Forexample,whenyouactivateContextSensitiveHelpmodeandyouselectProgramStartSequence,thesystemdisplaysthefollowingdescription.
Thisfeatureisnotimplementedforalldialogsandobjects. Whenyouactivatethisf