Feb 15, 2023 Læg en besked

UG Post-processing, Common Terms

 

Address - word address. In NC programs, such as X1.234, G01, M05, and S1445, X, G, M, and S are word addresses. Tell the control system where these data are stored. In UG, Adress, World Adress and World are all word addresses.

Block - program line. A line in an NC program. A row is made up of a series of word addresses. Such as: N0100 G01 X1.234 Y1.234Z1.234F100.S1500M03.

Custom Command - user command. In Post Builder, users can create a Tcl subroutine, and then add it to the event or sequence of Post Builder to generate special commands that cannot be output only by Post Builder.

Definition file - definition file. is a file with the suffix ".def". Define the output format of the machine tool/control system, also called def file. Works with both tcl and pui files.

Event - event. Generated by event generators and passed to post-processors. What the post-processor processes is a series of events, and each event contains a series of variables. UG/Post processes an event to generate an action performed by the machine tool/control system.

Event Generator - event generator. It extracts tool path information and sorts it into events and variables and sends them to UG/Post. When you choose the operation in CAM, you choose the postprocessor in UG/Post. When you click OK or Apply, the event generator starts working.

Event Handler - event handling file. Is a file that contains Tcl code and subroutines that determine how events are handled. Each subroutine decides whether to output NC program and what kind of program instruction to output. UG extends the function of Tcl, making it easy for users to control the output content on the basis of definition files. Event handler files can also handle variables produced by event generators.

Extensions——Tcl function extensions. UG expands the functions of Tcl and adds some instructions to facilitate post-processing output and reduce the amount of programs. These instructions all start with MOM_, such as MOM_do_template.

Global variable - global variable. In an event handler file, a scalar valid in all subroutines. These variables are also available in definition files. If you want to use this variable in several subroutines, you must define it as a global variable.

Leader - prefix. in the definition file. That is, word addresses, such as X, G, etc.

Marker - mark. Post Builder divides the entire post-processing into 5 sequences (sequence), and each sequence is composed of some tags. Markers are possible events. Each marker/event defines output information for several program lines. Such as Start_of_Path is a mark.

Mom_variable - CAM output variable. Variables defined by the event generator for each event. Usually a global variable such as mom_feed_rate.

MOM - Manufacturing Output Manager. This is the most basic function of UGCAM, and it is also used to output workshop process documents, CLS, access UG library, and UG/Post operations. A lowercase mom is a variable name, such as mom_feed_rate; an uppercase MOM is a time-handling name, such as MOM_linear_move; or a Tcl extension, such as MOM_do_template.

Operation End Sequence - Operation end sequence. A sequence in Post Builder. Handles events from the last retract to the end of the operation.

Operation Start Sequence - Operation start sequence. A sequence in Post Builder (there are 5 sequences in total: program head, operation head, tool path, operation tail, program tail). Handles events from the start of the operation to the first cutting motion.

Operation Message——operation information. Information contained in an NC program for the machine operator. Generally, special codes are required, such as "(" or "(msg". To distinguish them from machine tool execution instructions. For example: N0010 (***ToolNumber12***).

Postprocessor - postprocessor or postprocessed file. It is a tool for converting tool path information into machine acceptable codes. In UG/Post, it includes 3 files: event processing file (.tcl), definition file (.def), Post Builder interface file (.pui). These files are defined in the template file template_post.dat when used.

Postprocessor template file - post-processing template file. The content of this file is a list of postprocessors available in UGCAM. Each line includes the name, event handler file, and definition file. The template file is specified in the TEMPLATE_POST section of the configuration file in CAM. The default name is: template_post.dat.

Procedure - subroutine. A subroutine in Tcl is sometimes also written as proc. Each event in the post-processing corresponds to a subroutine in the event-handling file. Such as: MOM_start_of_program.

Procedure End Sequence - the procedure end sequence. A sequence in Post Builder. Handles events from the last operation to the end of the program.

Procedure Start Sequence - program start sequence. A sequence in Post Builder. Handles events from program start to first action.

pui file——Post Builder interface file. It is a file with the suffix: ".pui". Together with the event processing file (.tcl) and the definition file (.def), the postprocessor is composed. The pui file is not used when doing post-processing, but when the tcl and def files are modified with Post Builder, it is opened through the pui file.

Review Tool - review tool. After opening Review Tool in Post Builder, three windows are displayed during post-processing, which are event, variable and output content. You can select an event to see which variables and output results it has.

Sequence - sequence. Post Builder divides the output NC into five parts: program head, operation head, tool path, operation tail, and program tail. Each part is a sequence, which is used to organize the order of processing events and the order of output program lines, such as: Operation_start_Sequence.

Tcl - Tcl (Tool Command Language) computer language. Interpreted execution language is very popular because of its simplicity and ease of use. There are two parts: TK - user interaction tool; WISH - windows command, including TK.

TK - User interaction tools used in the Tcl language. TK provides basic interactive tools such as buttons, option boxes, scroll bars, etc.

tcl file - event processing file. See Event Handler

UG/Post Execute——execute post-processing. UG/Post is a post-processing tool provided by UG. Use user-defined event processing files and definition files to process tool paths into machine codes.

Post Builder - post-processing builder. UG provides a tool for constructing post-processors with a graphical interface. You can create formats, word addresses, program lines, sequences, and define output content and formats by dragging and dropping. Control program start and end, operation start and end, tool change, cycle, etc.

User Defined Event——User Defined Event, referred to as UDE. Used in the machine control of UGCAM, it can be in the start post. Can be attached to tool or program. Users can add or modify according to the requirements of the machine tool.

Wish - Interpreter and executor for Tcl and TK, short for Windows Shell. If you want to use the UG/Post Review Tool function of UG, you must install ugwish.exe in the machauxiliary directory.

Send forespørgsel

whatsapp

skype

E-mail

Undersøgelse