Oct 18, 2023 Leave a message

UG post-processing, common terms

 

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

Block - program line. A line in the NC program. A row is composed 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 Post Builder events or sequences to generate special commands that cannot be output by Post Builder alone.

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. Used simultaneously with tcl and pui files.

Event - event. Generated by the event generator and passed to the post-processor. The post-processor processes a series of events, and each event contains a series of variables. UG/Post processes an event and generates an action performed by the machine tool/control system.

Event Generator - event generator. It extracts tool path information and organizes it into events and variables and passes them to UG/Post. When you select the operation in CAM, select the post-processor 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 determines whether to output an NC program and what program instructions to output. UG extends the functions of Tcl, making it easy for users to control output content based on definition files. Event handling files can also handle variables produced by event generators.

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

Global variable--global variable. A scalar that is valid in all subroutines in the event processing file. These variables are also valid in definition files. If you want to use this variable in several subprograms, it must be defined 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, and each sequence is composed of some tags. Markers are possible events. Each tag/event defines output information for several program lines. For example, Start_of_Path is a tag.

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 is also used to output workshop process documents, CLS, access UG library, and operate UG/Post. Lowercase mom is the variable name, such as mom_feed_rate; uppercase MOM is the time processing name, such as MOM_linear_move; or Tcl extension, such as MOM_do_template.

Operation End Sequence - Operation end sequence. A sequence in Post Builder. Handles events from the last retraction 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, and program tail). Handles events from the start of the operation to the first cutting motion.

Operation Message--Operation message. Information contained in the 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 postprocessing file. It is a tool that converts tool path information into codes acceptable to machine tools. In UG/Post, it includes 3 files: event processing file (.tcl), definition file (.def), and 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. Template files in CAM are specified in the TEMPLATE_POST section of the configuration file. The default name is: template_post.dat.

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

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

Procedure Start Sequence - Procedure start sequence. A sequence in Post Builder. Handles events from the beginning of the program to the first operation.

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), it forms a post-processor. The pui file is not used when doing post-processing, but when using Post Builder to modify the tcl and def files, they are opened through the pui file.

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

Sequence--Sequence. Post Builder divides the output NC into 5 parts: program head, operation head, tool path, operation tail, and program tail. Each part is a sequence, 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 languages are very popular because of their simplicity and ease of use. There are also two parts: TK - user interaction tools; WISH - windows commands, including TK.

TK - User interaction tool used in 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 - post-execution processing. UG/Post is a post-processing tool provided by UG. Use user-defined event processing files and definition files to process the tool path into machine tool code.

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

User Defined Event-User-defined event, referred to as UDE. Used in machine control of UGCAM, it can be found in the start post. Can be attached to tools or programs. Users can add or modify it according to the requirements of the machine tool.

Wish - the interpreter and executor of Tcl and TK, which is the abbreviation of Windows Shell. If you want to use UG's UG/Post Review Tool function, you must install ugwish.exe in the machauxiliary directory.

 

Send Inquiry

whatsapp

skype

E-mail

Inquiry