UG/POST aftertreatment is summed up

  • Time:
  • Click:45
  • source:DDON CNC Machining
The article introduced UG/Post aftertreatment crisply implement basic idea, composition reachs content, the purpose is to make wide readership goes up to understand somewhat and be known to UG/Post from overall situation, article explain the profound things in a simple way, practical strong, be a rare popularize master piece. One, no matter be software of which kinds of CAM,the aftertreatment is summarized, its are main utility is to generate the cutting tool contrail that machines a spare parts on the machine tool (abbreviation knife course) . Generally speaking, the knife course that cannot transmit CAM software interior to arise directly undertakes machining to the machine tool, because the machine tool of all sorts of types is in,physical structure and control system respect may differ, from this and differ possibly also to the requirement of the instruction in NC program and format. Accordingly, knife course data must pass processing to reach its in order to get used to every kinds of machine tool to control specific requirement of the system. This kind of processing, be called in most CAM software " aftertreatment " . The result of the aftertreatment is the knife course data that makes knife course data becomes a machine tool to be able to identify, namely NC code. Visible, the aftertreatment must have two essential factor: Knife course -- the knife course that CAM interior produces; Aftertreatment implement -- it is a processing program that includes machine tool and information of its control system. UG system offerred run-of-mill aftertreatment implement program -- UG/Post, data of course of in-house knife of its use UG serves as an input, via the output after the aftertreatment the machine tool can know other NC code. UG/Post has very strong user to influence ability, it can suit from the aftertreatment that reachs its very simply to control a system to aleatoric and complex machine tool. 2, UG/Post composition structure mentions UG/Post aftertreatment implement, must introduce MOM(Manufacturing Output Manager) simply, machine output management namely implement. MOM is the tool of drive of a kind of incident that UG provides, the output of UG/CAM module all is managed by it, its action is from memory data of the extraction in the data inside UG/CAM generates output. A UG/Post is this kind of tool specific apply. MOM is UG/post aftertreatment implement core, UG/post uses MOM to start explanatory program, to the explanation the program provides function and data, and processor of to load incident (Event Handler) and definition file (Definition File) . Outside dividing MOM, UG/post is main wait for 4 elements composition by file of processor of incident builder, incident, definition and output file. Once start UG/POST aftertreatment implement will handle course of UG in-house knife, its job process comes as follows greatly: Incident builder scans to end from the beginning data of contrail of whole UG cutting tool, extraction gives each incident to reach its relevant parameter information, deliver them to MOM place to go to manage; Next, MOM is deferent each incident and the incident processor that parameter has developed beforehand to the user related its, be decided how to undertake handling to each incident by incident processor according to the content of itself; Then incident processor returns data to regard its as output to MOM, MOM reads the content that takes definition file to decide to output data how to undertake the format is changed; Finally, the output data that MOM has changed the pattern is written into designation output file. Graph 1 described these concepts and content. The working process sketch map of graph 1 UG/post 3, 4 woof that compositive UG/Post introduces further below the compositive element of UG/Post. 1.

Builder of incident builder incident is a program that UG offers, it from UG file (data of course of knife of the extraction in Part) , regard incident and ginseng data transmission as to send MOM them. Each specific event will cause movement of a few especially other machine tools when the machine tool moves, memory uses the machine tool act that decides these are special further in the information in the parameter related to this incident. For instance, " Linear-Move " incident will bring about edge of cutting tool of machine tool drive to move point-blank, and the place that specific shift reachs is in by memory the numerical value in the parameter X related to this incident, Y, Z will decide further. In this example, incident builder will spark " Linear-Move " incident, and load the data that represents terminal position corresponding parameter X, Y, Z, next these information convey to manage to MOM place to go. The incident of UG/Post is very much, cent is 5 kinds big: Setting incident (Setup-event) , machine tool controls event (event of Machine Control Event) , campaign (incident of Move Event) , fixed loop (Cycle Event) , user defines incident (User Defined Event) etc. Concerned incident reachs his the detailed description of relevant parameter, can refer to the help documentation of UG. When undertaking an aftertreatment, incident builder generates each incident to have certain order, and this order is fixed, unalterable. Its generate order to be as follows roughly: Start Of Program Start Post UDE ' S Attached To The Program Start Of Group Start Post UDE ' S Attached To The Group Machine Mode Start Of Path Start Post UDE ' S Attached To The Operation First Tool (Tool Change, no Tool Change) Load Tool MSYS Initial Move (Initial Move, first Move) Tool Path End Post UDE ' S Attached To The Operation End Of Path End Post UDE ' S Attached To The Group End Of Group End Post UDE ' S Attached To The Program End Of Program 2.

Processor of incident processor incident is to be specific machine tool and a process that its control a system to develop. The processing function of every incident must include a series of instructions to handle the incident that the user hopes UG/Post is handled, these dictate how knife course data is handled the definition, and how is every incident carried out on the machine tool. Using the computer language that defines incident processor instruction is TCL(Tool Command Language) . TCL is a kind of explanation model computer language, with its cabinet, agile, function is powerful, expand easily, easily compositive and famed. When UG/Post undertakes an aftertreatment, the interpreter of TCL language acted as the converter of UG/Post. To every incident that the user hopes UG/Post place to go manages, must have process of a TCL to it corresponding. Incident builder sparks when an incident, MOM will be called to it corresponding TCL process goes handling this incident, regard overall situation as the parameter related to this incident (Global) the TCL process that variable conveys to handle it. If do not hope incident processor goes handling a certain special event, do not include the TCL that handles this incident in incident processor process or make the TCL process of this incident is empty can. Additional, the incident name that the TCL process name that handles incident must spark with incident builder is uniform. For instance, processing Tool Change(changes a knife) the TCL process name of incident must be MOM_tool_change. 3.

Definition file defines a file to basically contain the static information related to specific machine tool. Because of the diversity of the machine tool, at least need of every kinds of machine tool defines a file. Most NC machine tool uses an address (this one concept comes to Address) each parameter that describe control machine tool. For instance, the terminal X coordinate when X address uses memory machine tool to move is worth. Every command in NC program passes the value that changes an address to achieve the goal that changes machine tool position all right, and the process of workpiece of machine tool treatment is the course that a series of machine tool condition produce a change actually. UG/Post realized certain mechanism, the information in use definition file comes the format dissolves NC injunction. Processor of incident of no less than is same, this kind of mechanism of UG/Post also comes true substantially by TCL language, just be TCL language core is patulous. Definition file contains following content: (The machine tool news with general 1) , if the machine tool is milling machine or lathe, be 3 axes or 5 axes; (The address that 2) machine tool bears, wait like X, Y, Z, A, B, C, T, M; (3) the attribute of every address, wait like the format, maximum, least value; (4) module, they describe many addresses how to be combined together will complete action of a machine tool. For instance, command G01 X[Xval] Y[Yval] Z[Zval] finishs a linear shift. 4.

When outputting a file to be carried out in UG/post, namely when the aftertreatment, the user appoints the NC instruction that a file will come to store the aftertreatment is generated, this designation file outputs a file namely. The content that outputs a file is controlled by incident processor, and the format that the NC in outputting a file dictates is controlled by definition file. After having the output document that contains NC statement, this file can convey to undertake was machininged to the machine tool. 4, the develops methodological UG/Post development of UG/Post, its core is TCL language apply. The place before be like is narrated, TCL is a kind of explanation model computer language, by John K.

Berkeley of university of Ousterhout Yu Jiazhou divides school development to succeed, by SUN at present small system company is offerred support and safeguard. TCL is a free software, and it is supportable all platform that Unigraphics NX supports currently. Although be use TCL language substantially, but there are two kinds of by way oves however on specific implementation: PostBuilder and PostBuilder of manual process designing are the aftertreatment that UG system offers for the user implement develop a tool. Use its user to need the characteristic according to him machine tool only, undertake below GUI environment a series of the setting can finish an aftertreatment implement development. Be worth to be carried is, use PostBuilder makes incident processor file not only (* .

File of Tcl) , definition (* .

Def) , still make a special file (* .

Pui) . This document is used for PostBuilder only, recording the configuration when shutting PostBuilder, to the aftertreatment implement for, this file is redundant. About the more of PostBuilder information can refer to UG to help documentation. Manual development aftertreatment implement, write incident processor document with TCL language directly namely (* .

Tcl) and definition file (* .

Def) . This requirement user has the basic knowledge of TCL language, in the meantime, understand UG to be opposite even the patulous part of TCL language. Although develop an aftertreatment by hand implement taller to user skill requirement, but manual development is agile, convenient, the aftertreatment of development implement understand fine, easily, executive efficiency is tall. 5, the installation of UG/Post and the machine tool character that once the user combines him,use, use TCL has developed an aftertreatment implement, be about to consider how to install it to UG system next, and if where,it is used in UG system. 1.

Installation aftertreatment undertakes use to make an aftertreatment program can be in UG, must register in aftertreatment configuration file, install it. The aftertreatment configuration file with UG acquiescent system and its are ${UGII_base_DIR}MACH Resourcepostprocessortemplate in the position in registering a watch.

Dat. In this file, "# " initial behavior annotate goes, other every group is an aftertreatment implement register, its format is: Aftertreatment implement renown, include the incident processor file of method, the definition file that includes method for example, MILL_3_AXI S, ${UGII_CAM_POST_DIR}mill3ax.

Tcl, ${UGII_CAM_POST_DIR}mill3ax.

Def. 2.

Use aftertreatment is become aftertreatment implement can use after installation is fine, particular way is as follows: Open had done good treatment to operate (the UG file of Operation) , choose operation of one or more treatment, click " Manufacturing Operations " on the toolbar " UG/POST Postprocess " icon (2) seeing a picture, the dialog box that if the graph is shown 3 times,appears, the aftertreatment that chooses specific machine tool in the dialog box implement and the name that inputs output file, click Ok or Apply to be able to make output file. The partial toolbar of graph 2 Manufacturing Operations pursues 3 aftertreatments dialog box 6, one of crucial technologies that aftertreatment of last word UG is UG/CAM application, the aftertreatment that offers along with UG system implement the machine tool diversity that cannot get used to each enterprise commonly, because this study, development is mixed,safeguard UG aftertreatment implement it is the link that each UG/CAM user must notice. As to UG/Post aftertreatment implement detail refers to relevant data please: The event that makes about incident builder and the part that how NC code format defines in defining a file consult please the help documentation of UG; The part of concerned PostBuilder consults please the help documentation of PostBuilder; The part of concerned TCL language consults please the book about TCL language; Concerned TCL language consults please to the patulous part of UG/CAM the help documentation of UG. CNC Milling