100% found this document useful (1 vote)
486 views

Post Processor NX PDF

Uploaded by

Cong Luong
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
100% found this document useful (1 vote)
486 views

Post Processor NX PDF

Uploaded by

Cong Luong
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 70
Lesson The NX/Post Post Processor Purpose ‘This lesson describes the post processing function of NX and the various components of a NX/Post post processor. An overview of the Post Builder module is also presented. Objective Upon completion of this lesson, you will be able to: + Understand the terminology and interrelationships of the various components of NX/Post. * Understand the use of the Post Builder as a tool to build post processors. ©UGS Corp, All Rights Reserved Post Building Techniques - Student Guide 44 The NXPost Post Processor Post processing You use the Manufacturing applications of NX to generate tool paths. The tool path consists of GOTO points and other information that controls the movement of the tool. This tool path usually cannot be used for machining since each machine tool/controller combination has different requirements, tool change requirements, and software characteristics, such as the sequence of G codes which are permitted on a line of output. ‘The tool path must be formatted to match the unique characteristics of the machine too/controller combination. The procedure of modifying this generic tool path to a form that can be understood and used by the machine tool controller is called post processing. ‘Two clements are required for post processing. They are: * Tool path - A NX internal tool path. * Post processor - this is a computer program that reads, converts and reformats tool path information for a particular machine tooV/eontroller combination. NX/Post execute NX provides a post processor, NX/Post, which utilizes NX tool path data as input, and outputs machine controller readable NC/CNC code. Post Processors for NX/Post are customizable through the use of user created Event Handler and Definition files. These files, in conjunction with NX/ Post, are used to generate output for the simplest to the very complex of machine tooV/eontroller combinations. ‘The NX/Post processor can be used to generate output for simple milling machines and lathes to ultra complex multi-axis (4+ axis) machining and production centers (a production center is considered to be a milling/turning type machine). The extensibility of NX/Post post processors is achieved through the scripting language Tel and the use of the NX concept of Definition files. ‘The following flowchart illustrates the steps required to process (post process) tool path data in an acceptable format for a machine tooV/controller using the NX/Post post processor: 1.2 Post Building Techniques Student Guide ©UGS Corp, All Rights Reserved rmet1060_g NXS The NXPost Post Processor NX Post Architect Event Handler | s] Oefnition Fite td = Hl jl Il H NK Data it Generator Storage JOutput File| ‘The NX/Post execute module consists of the following components: * Event Generator - sends Events and variables to NX/Post when you post process, An Event is a collection of data which is processed by NX/Post, creating data which causes a specific action(s) by the machine tool/controller. + Event Handler - is a file containing a specific set of instructions, written in the Tel scripting language, dictating how each event type is to be processed. This file is created when using Post Builder. * Definition file - is a file containing specific information about machine tool/controller format. This file is also created when using Post Builder. * Output file - is a machine tool readable file generate by NX/Post, passed to the machine tool/controller, that executes specific machine tool instructions. ‘The Event Generator, Event Handler, and the Definition file are interdependent and together convert the internal tool path into a set of instructions that can be read and executed by the specific machine tooVeontroller combination. ©UGS Corp, All Rights Reserved Poet Building Techniques ~ Student Guide 43 The NXPost Post Processor Manufacturing Output Manager (MOM) ‘The Manufacturing Output Manager, referred to as MOM, is a utility program used by NX/ Post for generating output based upon data that is stored within the internal tool path. NX/Post uses the MOM to start, add data and specify functions to the interpreter, and to load Event Handlers and Definition files. Post Builder ‘The NX/Post mechanism uses Tel (Tool Command Language) scripts and files for post processing. These files extract information from the part file, process this information according to defined rules, formats the information for output and then outputs the data to a file which is later used by the machine control, for machining a part. These files are highly customizable, and if manually edited, require the working knowledge of the Tel scripting language. Post Builder provides a graphical User Interface for building posts. Post Builder is very flexible and allows for the definition of various types of output blocks and word addresses. Sequence of output in the NC output file is very easy to control for blocks involving the start of program, start of operation, end of operation, end of program, tool changes and canned cycles. Post Builder currently configures post processors for the following: + S-axis milling machines + 3-axis mill-turn centers (XZC) + multi-axis mill-turn centers + 4-axis milling machines with a rotary table or a rotary head + 5-axis milling machines with dual rotary heads or rotary tables + 5-axis milling machines with rotary head and rotary table * 2-axis lathes © and 4-axis Wire EDM machines 1.4 Post Building Techniques ~ Student Guide ©UGS Corp, All Rights Reserved rmet1060_g NXS The NXPost Post Processor ‘The following flowchart illustrates the process of building a post processor using the Post Builder: Get Machine Tool Info and controller data From manuals Post Builder Functional Post ©UGS Corp, All Rights Reserved Poet Building Techniques ~ Student Guide 1-5 The NXPost Post Processor Summary In this lesson you were introduced to: ‘The post processing function of NX/ Post. Interrelationships and functionality of the various NX/ Post components. 1-8 Post Building Techniques ~ Student Guide ©UGS Corp, All Rights Reserved rmet1060_g NXS Lesson Build a Post Processor with Post Builder Purpose ‘This lesson describes the procedures of building post processors through the use of the Post Bt Objective Upon completion of this lesson, you will be able to: © Understand the various components of Post Builder. the Post Builder to build a 3-axis mill post processor. ©UGS Corp, All Rights Reserved Post Building Techniques - Student Guide 24 Build a Post Processor with Post Builder Get Machine Tool Info and controller data From manuals Post Builder Functional Post 22 Post Building Techniques Student Guide ©UGS Corp, All Rights Reserved rmet1060_g NXS Build a Post Processor with Post Builder Post Builder overview Post Builder provides an easy to use interface for creating and modifying post processors. Drag and drop functions allow the creation of formats, addresses, sequences and blocks. The Post Builder creates the definition of output blocks, formats for addresses and controls the sequence of output for the start and end of program, start and end of operation and tool path Events. ‘The Post Builder works in conjunction with three files. * The Definition file, with def extension, contains information about the machine tooV/controller functionality and format requirements. © The Event Handler, with .tel extension, contains instructions of how each Event type is to be processed. + The Post Builder parameter file, with .pui extension, contains the parameters that are used by Post Builder for an individual post. This file is referenced whenever you would edit or customize a post processor using the Post Builder. An existing library of post processors is provided by UGS at http://ftp.ugs.com/unigraphics/pb_posts/post_index. htm. Machine tools and machine controllers in industry vary greatly, you should be aware that postprocessors made available on this fip site should be considered as example postprocessors only and considerable adjustment of these postprocessor may be required to suit the specific machine tool. ‘The activities, in this lesson, will use a copy of the main CAM mach/resource directory. The logic behind this concept is that you can experiment with various ideas and techniques without the worry of corrupting any system files that would normally be used by NX/Post or Post Builder. The following activity will take you through the process of creating a copy of the mach/resource directory structure to your home directory. ©UGS Corp, All Rights Reserved Poet Building Techniques ~ Student Guide 23 Build a Post Processor with Post Builder Activity — Preparation for using the Post Builder 24 In this activity you will make a copy of the MACH/RESOURCE directory structure in the home directory and modify the directories for read/write access, Step 1: Copy the mach/resource directory. = Start NX. ™ On the NX Main Menu Bar, click Help NX Log File to verify the mach/resource directory being used. Search for the environment variable UGII_CAM_RESOURCE_DIR. C Open an XP Explorer window and locate the directory from the previous action item. = Highlight the mach/resource directory, right click on mach Iresource directory and select Copy. C Highlight your home directory, right click on your home directory and select Paste. Step 2: Copy the environment file, ugii_env.dat to your home directory. From the XP Explorer window locate the ugii_env.dat file in the /NXxx0/UGII directory (note: xx represents current version). C1 Highlight the ugii_env.dat file, right click on the ugli_env.dat file and select Copy. C Highlight your home directory, right click on your home directory and select Paste. Step 3: Edit the ugii_env.dat file to redefine your mach/resource directory location. C1 Highlight the ugii_env.dat file from your home directory, right, click on the ugii_env.dat file and select Open with Wordpad (note: prior to editing this file, you may have to asso file with either Wordpad or Notepad). = Scroll down the file until you find the following line: UGII_CAM_RESOURCE_DIR=${UGII_CAM_BASE_DIR}resource/ and change the line to UGII_CAM_RESOURCE_DIR=${HOMEDRIVE}${HOMEPATH}/resource! where HOMEDRIVE is the letter designator of the disk drive where your home directory is located and HOMEPATH is the directory structure. Post Building Techniques ~ Student Guide ©UGS Corp, All Rights Reserved rmet1060_g NXS Build a Post Processor with Post Builder = Save the file and exit from the editor. Step 4: Change protection on the resource directory that was created. C1 Navigate to your home directory, highlight the r. directory, right click, select properties, select the security tab, highlight the user name Everyone in the upper dialog, on the lower dialog, check on Full Control. = Choose OK until you return to the main Explorer dialog. Step 5: Restart NX. Log off NX and then log back on. 1 On the NX Main Menu bar, select Help NX Log File to verify the updated /mach/resource directory is being used. ‘This completes this activity. ©UGS Corp, All Rights Reserved Post Building Techniques ~ Student Guide 25 Build a Post Processor with Post Builder Post Builder menu and tool bars Post Builder is started by choosing from the desktop menu bar, StartAll Programs—NX—Post Tools—Post Builder When you initially enter the Post Builder you will see the Post Builder Menu Bar. The Menu Bar contains a Cue Line and two Tool Bars. Post Builder Menu Bar Hae gytans nimes Help (celal Emel ——— Filing Tool Ber = Hel Tool Bar ‘The Cue line displays prompt messages on expected input by the current option. These messages indicate the next action which you need to take. Hie Options Ubies Help cure ea [Soi Nonur Gun mini uiFienenis __| ‘The Post Filing toolbar contains three command buttons associated with creating new, opening and saving post processors. Past ‘Open Existing Greate New Create New option allows for creation of a new post processor. Open Existing option allows for modification or editing of an existing post processor. Save option allows for saving the post processor currently being worked upon. ‘The Help tool bar contains command buttons associated with help options. 28 Post Building Techniques Student Guide ©UGS Corp, All Rights Reserved rmet1060_g NXS Build a Post Processor with Post Builder User’s Manual Balloon Tip Contest Help: Balloon Tip option, when turned on, displays a message balloon that contains descriptions concerning the functionality of the widget, whenever the cursor stops at a widget on the dialog. Context Help option when turned on, changes the pointer into a question mark. You can then click on an icon or item on the display that you are in question about and will see an explanation of the function of the icon or item. Click on the explanation window to close. User’s Manual is a complete online manual on the Post Builder. The User's Manual also contains MOM events and variables. Pull Down menus are also available for File, Options, U s and Help. aul Template Posts Data File Usities Pull own oa a Browse NO Variables, Fig Pull Down eat cnx. _=[5) x! Recon OpencaPoste , tities Hep ‘Valawe Custom commande > | Help Pull own Options Pull Down Sactup Post , About Pust Builder elk Reference Manus ‘The File list allows for the creation, opening, saving and closing of post processor files. It also allows you to access a list of the most recently opened posts as well as exiting from the Post Builder program. ‘The Options list allows for the validation of the syntax, addresses, blocks and formats used in Custom Commands as well as the number of backup files created. ‘The Utilities list allows for modification of the Template_post.dat data file and the addition of MOM variables. ©UGS Corp, All Rights Reserved Pet Building Techniques ~ Student Guide 27 Build a Post Processor with Post Builder ‘The Help list allows for the activation of Balloon Tips, Context Sensitive Help, access to the User's Manual, Release Notes and specific information concerning the version of the Post Builder being utilized. 28 Post Building Techniques Student Guide ©UGS Corp, All Rights Reserved rmet1060_g NXS Build a Post Processor with Post Builder Use the Post Builder to create a new Post Processor ‘To create a new post processor, the New option (or Create New command button from the Post Filing Tool Bar) from the File pull down menu is selected. The Create New Post Processor menu is displayed which allows for post processor naming and description, output units and machine tool and controller type. Post Name Destription Post Output Unit @ inches © sMilimaters Machine Too! @ wil @ Laine @ wreeom Gontrater @ cenene = Libra = Users hen _paet [This is a 3-Axts Mating Machine. | Sais 1 aie Mi Tun EY ‘xis wih Raary Table ‘his with Rotary Head Sats wt ua Rotary Hens Sans wae ust RBtary Tales Shale with Ratory Head and Table ‘The Post Name field is the name of the post processor being created. Spaces are not allowed. ‘The Description field allows for text describing machine tool/controller characteristics and any other miscellaneous information. Post Output Units selection buttons allow for inch or metric output. ©UGS Corp, All Rights Reserved Poet Building Techniques ~ Student Guide 29 Build a Post Processor with Post Builder 240 Machine Tool allows the selection of various milling (multi-axis) machine, lathe configurations and Wire EDM type machines. Controller allows the selection of generic, library or User’s machine controllers. * Generic controller contains defaults for a generic control * Library allows the selection of controller from a NX supplied list * User's allows the selection of post processors by browsing for specific post processors NOTE: You can select a previously created post processor. ‘The Machine Tool and Controller selections determine base files used to create the post processor which contains various Events, commands and procedures. ‘The Ok button enables acceptance of specifications for the machine tool and controller and advances you to the main editor portion of the user interface. ‘The Cancel button will dismiss the current menu, terminates the process of creating a new post processor and returns you to the Post Builder menu bar. When you create a new post processor, you can add the name of the post to the template_post.dat file. This file contains a list of post processors for NX/Post to use. It defines a list of post processors that are available in the Post Process dialog. The name of the post processor can be added by using the Utilities pull down menu from the main tool bar. ‘The following activity will introduce you to the basic concepts and use of the Post Builder module. Post Building Techniques ~ Student Guida (©UGS Corp. All Rights Reserved rmet1060_g NXS Build a Post Processor with Post Builder Activity — Introduction to Post Builder Step 1: Start the Post Builder. = On the menu bar, choose Start—All Programs—NX—Post Tools—Post Builder C Select New from the File menu and in the Post Name field, name the post processor ***_my_post, where ** stands for your initials. Note: Use lower case characters only and no spaces. Step 2 Select various initial options. For Post Output Unit you will accept the default of inches. For Machine Tool you will accept the default of Mill. Notice the 3-axis button bar. Select the 3-axis button bar and notice the choices available. You will accept the default for 3-axis 1 Dismiss the 3-axis. For Controller you will accept the default of Generic. Some common controllers are already provided. If you were to select the Library option, a list of available controllers would be available for selection as a template in building your post. O Click OK. ‘The Main Editor property page (tab) is displayed ©UGS Corp. All Rights Rese Poet Building Techniques ~ Student Guide 241 Build a Post Processor with Post Builder 22 vase Joan aioaran Dla Hactina Toot i ces be Step 3: Step 4: we oasovene| FC osne sot 3] ratr rou Outi citer Record = Rie Me x i ae ioe] Y i ie | 2 i ie t | Miicurn or anima [ea Save your newly created post processor to your home directory. (Select File from the menu bar and then select Save As. CO Select OK at the Select License dialog. = Filter to your home post processor directory. C1 Visually check the File name box, if the file name shown is the same as the file name of your post processor, select OK, otherwise type in the correct name and then select OK. ‘When you save your file, three files are actually saved. The files have the extension .pui, tcl, and.def. In order for your newly created post processor to be included in the NX Post Processing window by default, you must save the post to your home post processing directory and modify the template_post.dat file to include the new post processor. This file is also located in the home post processor directory. This file is added to the template_post.dat file by using the Utilities function from the main menu bar. Add your newly created post processor to the template_post.dat file. Post Building Techniques ~ Student Guida (©UGS Corp. All Rights Reserved rmet1060_g NXS Build a Post Processor with Post Builder = Select Edit Template Posts Data File from the Utilities list. 'UG/ Rost Buicer =[5)x/ Fie Options Edi Template Posts Data File Browse MOM Variables ‘The Install Posts dialog is displayed. = Browse to your post processor directory in your home directory, then select the template_post.dat file and choose OK. Click the TOOL LIST line as shown below, then select the NEW }OOL LIST, $(UGH_ CAM POST_DIpost too is MnKAcLS(UGI_CAIA POST DIFIpost_shopdoc.dor THON_LISTiext {GH_CAM_POST_DFGpost_operatlon_ist_textse,{(UG_CAN_POST Fgpost_shapdoc.det SHON LIST, ${UGI_CAN_POST_DI}post_opetaton Ist MmktclSQUGI_CAML POST_UR}post_shoprlc.det ‘The Open dialog is displayed. 1 Navigate to your home directory and select the post processor which you previously saved. = Click Open. ‘The path and name of the file are inserted into the Template_post.dat file. Click OK. ‘The Save As dialog appears. 1 Ifnecessary, select the file name template_post.dat. © Click Save. & Click Yes to the Save As warning message to replace the template_post.dat file. Step 5: Verify the post processor has been added to the Post Process dialog. = Return to a NX session and retrieve the part file mill_test from your student_homelparts directory. UGS Corp. All Rights Reserved Post Building Techniques Student Guide 243, Build a Post Processor with Post Builder & Verify the post processor by entering the Manufacturing Ips baa) Application in NX and select Post Processing suit You will see your post processor,***_ my_post, under Available Machines on the Post Process dialog. = Click Cancel. Return to the Post Bi ler main dialog. ‘This concludes the activity. 244 Post Building Techniques ~ Student Guide (©UGS Corp. All Rights Reserved rmet1060_g NXS Build a Post Processor with Post Builder NX/Post Builder Parameters As you proceed to build a post processor using the Post Builder, the user interface takes on the appearance of a tabbed notebook. There are five major tabs (also referred to as property pages) which are displayed © Machine Tool Program & Tool Path NC Data Definitions Output Settings Post Files Review When a major property page is selected, menus and or sub property pages are displayed which allows for the setting of various parameters used in creation of your post processor. UGS Corp. All Rights Reserved Pos Building Techniques Student Guide 245 Build a Post Processor with Post Builder 246 Post Building Techniques ~ Student Guida Machine Tool Property Page o| protein Display Macl ane Te ‘| Ade Wal 8B conraloansies! nou Sherk Pacer == pee eee Linear ds Tava Lis He Posten x fo | x _ y mo ae | is fo |a2@ -_ Lear oon Reston IeversaFeee Pave vinicnam = FTO seus stars ta Sete sos Diameter Proyramuny 1 Dt mm 7 Z — io Meroe Out x © my my mz mK ‘The Machine Tool property page allows the selection of output to include Circular Records or to output linear motion only. You can also specify Linear Axis Travel Limits, Home Position, Linear Motion Step Size and Traversal Feed Rate, Axis Multipliers and vectors representing the Initial Spindle Axis. ‘The Display Machine Tool button gives a simple, generic, representation of the motions of the machine tool being configured. ‘The Default button returns you to the state when the post was last saved for the current "screen". ‘The Restore button returns you to the state when you entered the current "screen". (©UGS Corp. All Rights Reserved rmet1060_g NXS Build a Post Processor with Post Builder Activity — Machine Tool Parameter selections In this activity you will examine and modify some of the various Machine ‘Tool Parameters located within the Machine Tool selection of the Post Builder and will then restore them to their original state. Step 1: | Examine the various Machine Tool Parameters. © Click Display Machine Tool. FEM sccrine toot | UGS Corp. All Rights Reserved Post Building Techniques Student Guide 247 Build a Post Processor with Post Builder Notice the display of a simple 3-axis mill _ lowe Window button 1 Click Close on the Machine Tool title bar. Set the linear travel limits to the following: X= z=40. Select the Restore button. Notice that the X, Y and Z axis limits are returned to their original settings. This concludes the activity. 248 Post Building Techniques ~ Student Guide (©UGS Corp. All Rights Reserved rmet1060_g NXS Build a Post Processor with Post Builder Program and Tool Path Property page FE oto | Foes) 3 ere te stn rtf eran tra Word Sequencing | CustomCommand | Linked Posts Display Combined Wc Coda Blocks Tool ath ‘acta Conta etn Came cries Operatnnnd Sequence $B Progam ene Soauorce (teamed a] ‘The Program and Tool Path property page allows for creation, modification and customization of the Event Handlers for all Events which occur by the ‘use of multiple function property pages. These functions, presented in the tab format, are: Program allows the addition, modification and customization of Program Start Sequences, Operation Start Sequences, ‘Tool Path Events including Machine Control Events, Motion Events, Canned Cycles Events, Operation End Sequences and Program End Sequences G Codes property page will allow you to specify default G-codes used throughout the post processor. Changing any of the G-codes in this list will update the G-codes globally. M Codes property page will allow you to specify default M-codes used throughout the post processor. Changing any of the M codes in this list, will update the M-codes globally. Word Summary property page provides a summary of all addresses and allows the individual modification of the various elements used in data definition of the address. This property page allows the modification of groups of words that use the same format and also allows modification of the format itself. If UGS Corp. All Rights Reserved Post Building Techniques Student Guide 249 Build a Post Processor with Post Builder 220 you want to specify a different format for only one of the words, you would go to ‘the Format section of NC Data Definitions property page to make the change. ‘The following parameters are available in Word Summary: Word is the same that you will find in the word section of the NC Data Definitions section, Leader/Code - allows you to modify the leader for any word. The leader is the character that precedes the numeric information. For example, if the word is X20.0000, then the leader is X. You can either enter a new leader or right click on the existing leader and choose from the list. Data ‘Type - can be either numeric or text. Specify text when the code needed cannot be formatted from a number directly into a word address and a value. If, for example, you need a G84.1 for tapping and G81 (without a decimal) for drilling, you would make the G-motion word text and change all of the G codes to G81 instead of 81 with a leader of G. ‘You may also go to the format property page in NC Data Definitions to change only the G-motion word to text. Plus (+) - allows a plus sign for all positive numbers. If set to no the (+) sign is not generated. A minus sign (-) is generated for all numeric data if the value is negative., Lead Zero - will allow the output of leading zeros. Integer - controls number of digits output to the left of the decimal point. ‘An error is generated if the numeric data exceeds the format specified. Decimal (.) - controls whether or not numeric data has a decimal point. ‘An error is generated if the decimal is suppressed and leading or trailing zeroes are not output. Fraction - determines how many digits are output to the right of the decimal point. Trail Zero - will allow the output of trailing zeros. To change how the post processor will output a value of zero for coordinate data, select either the zero_int or zero_real option for formats in the NC Data Definitions section under the Format property page. This will output a zero in front of the decimal point. Post Building Techniques ~ Student Guida (©UGS Corp. All Rights Reserved rmet1060_g NXS Build a Post Processor with Post Builder Activity — Word summary and Word Summary section of the Post Builder. In this activity you will modify some of the various word formats and change the sequence number. You will find these items in the Program and Tool Path Step 1: Enter the Word Summary subsection of the Program and Tool Path section of Post Builder. C1 Select the Program & Tool Path property page from the Post Builder selection menu. Fi ie vorans ones | Ef uconstaitoe | FY onsets | 3 ponitn tome Custom Comman! | Linked Posts Program Codes codes [Word Summary | Worl Sequencing C1 Select Word Summary property page. | ee ee eee ee Program | 6cotes | MCS Surmary | WortSexienhg | Custom Comnod | inkodPasts cewtcom [Po be] | @ numer ten wo le [mw | ale en el © Numeric © Tost = | r fo a] | Step 2: Change the X, Y, and Z-axis word format to 3.3. = Scroll down the Word column until you reach the X address. 1 In the row of the X address, locate the integer column and change the value from 4 to 3, @ numerc © tee | & |= | ale © Nurmi © Tot | a= |Fal= © Numoic © Toe | el Ae See UGS Corp. All Rights Reserved Post Building Techniques Student Guide 224 Build a Post Processor with Post Builder = In the row of the X address, locate the fraction column and change the value from 4 to 3. @ Nuronc © Tot fe © Numeric © Tat fal) = @ Numenic © Tow fale Notice that changing the X address word format also changes all other axis word formats. Step 3: Change the F address format to 3.1. = Scroll down the Word column until you reach the F address. C1 In the row of the F addre , locate th iteger column and change the value from 7 to 3. The fraction column is set to 2, change the value to 1 © Numero © Tad @ wumers © Tet © sumone © Tat ae Ee Step 4: Change the S address format to 4. 1 In the row of the § address, locate the integer column and change the value from 5 to 4. The fraction column is set to 0 and does not need to be changed. © humane © Tee Pi] | © tameic © ree FT | « tumene © Tet 222 Step 5: Allow for maximum tool offset of 999 by changing the D address to 3.0. Post Building Techniques ~ Student Guida (©UGS Corp. All Rights Reserved rmet1060_g NXS Build a Post Processor with Post Builder = Scroll down the Word column until you reach the address D. FE | @ tumere eve ono [fo | — | [i Notice that the range for the offset is from 0 to 99. The maximum number allowable since the format for the word is Digit_2. By changing the format to Digit_4, you can then allow for the maximum desired tool offset of 999. C1 Click on the word, under the Word column heading. The Word D: property page is displayed. Mods? Bis to acim Value ie Voleton Handing _TruncateVelue —1 amu vas i Voletontenciing Truncate Waive —! UGS Corp. All Rights Reserved Post Building Techniques Student Guide 223 Build a Post Processor with Post Builder & Change the format from 2 to 4 select Digit_4 from the Format list. Per | Format ‘aller Moxa 2 C1 Change the number of available offsets from 99 to 999 by changing the Maximum value parameter from 99 to 999. Choose OK. Step 6: Change the sequence number to start at 5 and increment by 5 for each block afterwards. O Select Other Data Elements from the Word Summary property page. > |e nee ore fm | me ER * a fenmen em fe |e a numer 6 tot [mw | me lee | =e [Palm a a @ numee © te |e | © numa tet | | ‘The Other Data Elements property page is displayed. 224 Post Building Techniques ~ Student Guide (©UGS Corp. All Rights Reserved rmet1060_g NXS Build a Post Processor with Post Builder = Change the Sequence Number Start from 10 to 5, then change the Sequence Number Increment from 10 to 5. 1 Choose OK. Step 7: Save the post and run it against the test part, mill_test. < If necessary, enter the Manufacturing Application in NX. = Using the Operation Navigation Tool, expand the 112345-A parent and select the FACE_MILLING operation. he FRosRan. Nor 3. f feirizsea ca enenins TLEMGA —MILLROUGH FART Facen PTE ianae pRorue rin TIER | MILFINGH PART vat WepLaNoe ILL THEA | MILLFINIH FART pau DRIUL_ S00 TEMG DRILL SW TA... DRILL GEOM DRILL Tar S-Ni TAHA TAPING DAML GEGM TAPS: f - ok ] = Click Post Process : = Click your post processor and select OK. ‘The default directory is write protected, you will need to change the output directory to your home directory. = Change the default for Output File to your home directory and then click OK. Verify the output. Your output will be similar to the following: UGS Corp. All Rights Reserved Pos Building Techniques Student Guide 225 Build a Post Processor with Post Builder 226 INooos G40 INOO10 G91 woo1s T30 Noo20 Goo INoDZs G43 NOOO 22.2 INOO3S 22.1 wooo GOL Noo4s xi7. INOOSO X-3. G17 G28 mos 630 4. z2. eso zo. wig #30 Fi3 INOOSS GOO X-S.25 Return to the Post Builder. This completes the a Post Building Techniques ~ Student Guide ora 0 -5 Y-.2 $456 MOS - DOO3O mos (©UGS Corp. All Rights Reserved rmet1060_g NXS Build a Post Processor with Post Builder Program & Tool Path Property page (continuation) Word Sequencing allows the customization of the order of output of words comprising a block of NC data. The sequence order of the words will prevail throughout the post processor. If for example, the X and Y words were reversed, it will be reflected in all of the blocks generated by all Events. You can also suppress or make any word active. If Balloon Help is active, each word will display the context of that word. By default, a representative code is, used to display that word, for example, the G17 word can also be G18 or G19. In other cases a D or T represents the adjust register or tool number register. Custom Command allows the addition of user created custom commands ‘These are Tel procedures that are executed by an Event. When creating a custom command, the Post Builder will place all of the correct syntax around the body of the procedure that you are creating. The first line of the Custom Command will be: proc PB_CMD_name_of_proc {}{ and the last line will be }. ‘The Custom Command procedure will be processed in the sequence where it was placed. The Post Builder will check the validity of the syntax of Custom Commands. Numerous Custom Commands, designed for common. "special applications", are supplied with every release of the Post Builder. Linked Posts allows you to specify posts that can be linked to your current post. Linked Posts would be applicable in situations where separate posts have been developed for special machine options such as right angle milling heads, specialized mill-turn centers, machining centers having more than two rotary axis or any application that requires multiple post processors UGS Corp. All Rights Reserved Post Building Techniques Student Guide 227 Build a Post Processor with Post Builder About the interface Under the Program property page, you will see two distinct windows displayed. The left most window, also referred to as the Component Window, contains a list of components that make up a program, displayed in a tree format. When a component is selected, the parameters associated with the component is displayed in the right most window, also referred to as the Parameter Window. Proasm |/ BCodes || Modes || Word Simmnay || Word Semmncing || Cistom Command | Unked Posts | Program stat Sequence Machina Cantal Maton Canned eyos pet atin En Sequence Program End Sequence 1. Program Sequence tree 2, Add Block 3. Display Combined Blocks 4. New Block 5. Trash Can 6. Sequence Marker 7. Sequence Block A detailed explanation of the above numbered components follows: 2.28 Post Building Techniques ~ Student Guide OUGS Corp. All Rights Reserved met1060_g NXS Build a Post Processor with Post Builder Bl verte Coes (Bj voter ff corre 2ycies ‘uupersuon tna sequence bragram ena Sequence ‘The Program contains the following sequences; An NC program has a beginning and an end with a number of operations or steps in between. Collectively, the program is considered to be composed of a sequential order of Events. Due to the way that tool paths are created within NX, certain Events, such as Tool Change, Spindle Start or Approach Motion Events can occur at the start and end of an NC program and for each operation, At the markers (designated as yellow rectangular blocks) of these pre-determined Events, you can force certain instruction blocks to be output. ‘This is referred to as a Sequence. Understanding the sequences and the events that trigger them allow you to properly place custom commands and blocks to obtain the desired output. ‘Three types of components can be attached to the markers of the various sequences. They are identified by the following icons: a * Cube: a normal block + Hand: a custom or MOM commana! a * Page: an operator message UGS Corp. All Rights Reserved Post Building Techniques Student Guide 229 Build a Post Processor with Post Builder {GI Auta Toot change PRISER FER hokey background ees | Marker Cube gas veigouns white: background: ans | bege EG (hi a epee maeaye) When a rectangular block appears light-blue in color, it designates the component as being used by more than one marker. Changing one instance will affect all instances of that component. When a rectangular block appears white in color, it designates the component as being used only once. From the post processor's view, an NC program consists of five sequences and a collection of Events that can occur in each operation. They are as follows: + Program Start Sequence which determines which blocks are output when this particular Event occurs before the tool path is read. This Event occurs before any other Event is processed. + Operation Start Sequence contains Events and actions that will occur from the start of an operation to the first cut motion. Every operation will have a first tool change, automatic tool change, manual tool change or no tool change. * Tool Path Sequence consist of Events and actions that pertain to machine control, motion control and canned cycles. + Machine Control options control items such as coolant, spindle, tailstocks and clamps. They can also be used to change modes such as incremental or absolute, inverse time, feed per minute/per revolution and constant surface speed. Information can be passed to a post processor by parameter data which is available at the Start of Operation. This includes feeds and speeds and any cutting parameters such as stepover and tolerances. Information can also be passed by way of User Defined Events-UDEs- (sometimes referred to as post commands). UDEs specified as Start of Post come out after the Start of Operation in the order specified by 230 Post Building Techniques ~ Student Guide (©UGS Corp. All Rights Reserved rmet1060_g NXS Build a Post Processor with Post Builder Operation Markers (a marker indicates Events that may occur). UDEs associated with the tool, program, method, or any other parent group are output before the Start of Operation Event. The recommended method of output for the Start of Operation NC code is to organize all of the data (spindle speed, spindle direction, coolant status, length compensation, tool number) and then output this data as part of the Operation Start Sequence. * Motion options describe how the post processor will process GOTO records in the tool path. All motion generated with a feed rate of zero is processed by the Rapid Move Event. If any motion types have a non-zero feed rate, the Linear Move Event will be used. Motion types included in this Event type are cut, engage, first cut, stepover and side cut. Circular motion is handled by the Circle Move Event. An Event type for Nurbs is currently handled by the Post Builder for Fanuc 6M, Siemens and Heidenhain controls. * Canned Cycle options describe how the post processor will handle canned cycles, You can define and or modify the G-code, associated parameters, and output blocks that will be used with pre-defined cycles. * Operation End Sequence contains Events and actions that occur from the final retract motion to the end of the operation. These are items like returning to a home position or turning off the spindle and or coolant. If the same End of Operation function is always going to be performed at the end of every operation you can enter it into this sequence instead of programming UDEs. * Program End Sequence contains Events and actions that occur from the end of the last operation to the end of the program. By activating the Add Block button, you can drag and drop a block component into the location desired. The block component can be placed above, below or next to an existing block component. Block components which are available are listed in the Add Block component available option menu. UGS Corp. All Rights Reserved Post Building Techniques - Student Guide 234 Build a Post Processor with Post Builder Add Black Component Program G Codes M Codes Word Summary Wa Tf Program start Sequence] TE Toot Path Gl Machine Control Motion Activating the Display Combined N/C Code Blocks toggle button will display all block components in the form of NC codes. By default, block components are displayed in terms of their descriptions. The Add Block component option menu describes the blocks which are available. You can create a new block component and apply it to a sequence. ‘You may also select one of the pre-defined block components. ‘The Trash bin is used to delete any unwanted block component by dragging the block component to the trash bin icon, You can also delete the component by right clicking on the component and selecting delete from the drop down menu. ‘The Operation Start sequence is one of the sequences which can occur with each operation (one of the five sequences, Program Start, Operation Start, Tool Path, Operation End and Program End). Yellow colored blocks always represent the sequence blocks (also referred to as markers). 232 Post Building Techniques ~ Student Guide (©UGS Corp. All Rights Reserved rmet1060_g NXS Build a Post Processor with Post Builder saab far oa 8) 4 Spun rcacaqmece [H(i Setetven vi a(_senner__] af 1 _Aietotine J) [aswnaicnaai | ‘You can neither add or delete Event blocks. A block component can be placed above, below or next to an existing block. TF topnycararaa cab ipa 3 a oo faarmmnn mee 2] Be a @ Bleck Components Bows [rasa eeonmcene ons w Ifyou right click on the block component, a pop-up menu appears which allows you to Cut, Copy As or Delete a custom command block. If a block contains NC data, your options are Edit, Force Output, Cut, Copy As or Delete. UGS Corp. All Rights Reserved Pos Building Techniques ~ Student Guide 233 Build a Post Processor with Post Builder Activity — Program & Tool Path parameters In this activity you will examine and modify Program & Tool Path Parameters. Step 1: Enter the Program and Tool Path section of Post Builder. ~ Click Program &Tool Path. 1 If necessary click Program Step 2: Create a Program Start Sequence with a Rewind Stop Code of (#). CO Click Program Start Sequence from the Component Window. FE ere | i ora on on] cone nr | onsets | EB} roar ron Progam | Gcodes | mcodes | Word summary | Word Sequencing custom Command | Unkes Posts TE Display Combined NC Code Blocks machine Carol noon Came cstes PB operatoncna seaence 1 Double-click the block component containing the % from the Sequence Window. Prior to selecting this particular component, notice the light-blue color of the block component. This indicates that this particular block is used agaii ier the same or another sequence. In this particular example, this block component appears again in the Program End sequence. nko Pott Disb Combed WC ot Boveri Sart Serer totam Busevneconts Brcon Berne ion B oreraion Et Sequece eres ees a: << \d_stop_code property page is displayed. ‘The Block: re 234 Post Building Techniques ~ Student Guide (©UGS Corp. All Rights Reserved rmet1060_g NXS Build a Post Processor with Post Builder fowind_stop code eid Word | [Smee (G00-Aosolatoineremental Mode) | Highlight the selection box containing the %, then ssisct Change Element, and then anal lover separator (> Foxe Out Delt = Highlight the selection box containing the "%", right-click, select Change Element, then select User Defined Expression. ‘The Expression Entry text box is displayed. pression ff Change the "%" to "# & Click OK from the Expression Entry text box. 11 Choose OK from the Block: rewind_stop_code property page. ‘As mentioned earlier in this activity, this block component also appears in the Program End sequence. A change to one block component will change all like components, regardless of their location. Step 3: Create a Program Start sequence with a G70G90G40G17G94 block by modifying the Word sequence (NOTE: list the G codes in the order shown). UGS Corp. All Rights Reserved Post Building Techniques Student Guide 235 Build a Post Processor with Post Builder = Click Word Sequencing. la Gender | Meades | wera Sumnf PS ordsemenceg | Coxon Command | nod Ps Tou: soe J om upp sses CO Click the "G" block and "drag" it to the beginning of the line. Brogan | GCades | MCodae | WerdSomeran’ | YardSaamncnss | Carlen Canmand | Linked Poste Tou ate | cup-suprorees [ics [ies [ee [ie [is= Ter T= Ts] = Click the "G90" block and "drag" it between the "G" and "G40" block, Prowram | odes | MCodes | Word Summary | WrdSeemenciag | Custon Command | Linked Pests TT cuput-aetve _] oun surnsees eT ere me 236 Post Building Techniques ~ Student Guide (©UGS Corp. All Rights Reserved rmet1060_g NXS Build a Post Processor with Post Builder = Select the "G01" block and position it between the "G17" and "G43" block. g Step 4: Suppress the output of selected words. 1 Click "697" once to suppress the "697" output (turns from pink to blue). Repeat the previous action and suppress the following: "G99", the three "P" words and the "E" word. Step 5: Change the order of the "D" and "H" words. = Move the "D" word behind the "H" word. Step 6: Change the tool parameter number to a maximum of 999 and minimum of 1. C1 Right-click 'T" and select Edit. 7 Change the maximum value from 99 to 999. = Change the minimum value from 0 to 1. UGS Corp. All Rights Reserved Post Building Techniques Student Guide 237 Build a Post Processor with Post Builder = Change the Teode output format by selecting Edit under Format and change the output field from 2 to 3. Format Tals oon? 6 ve Macnee te Type vale co @ une © 184 YuitenFanding —_Trureat Vue — Mininuen ne -— uur Lasany Huss + VidatonFanding —_Trureate Vite — cup rang 2002 = Choose, OK twice. 11 Save the post processor. Step 7: Save the post and run it against the test part, mill_test. 1 Ifnecessary, enter the Manufacturing application. 238 Post Building Techniques ~ Student Guide (©UGS Corp. All Rights Reserved rmet1060_g NXS Build a Post Processor with Post Builder Using the Operation Navigation Tool, expand the T12345-A parent and click FACE_MILLING. He pacceaw Teincue = BITIzoH6.A A perace smuns TiaeA MUL ROU 6 Braver rece piv Ti2ssa ML FSH BEruaner smu TLS MILL_FINISH p€oem_sco TLEEA PRIM SOOT. Op tap sou riaesn Tape Goons 17 ruzae5.n e175 § fw eoar_s.000 TiZein ORT §fRoen cco Teen RLS = Click Post Process PART PART PART Face 4.00 ML .275 EAULMILL 67S DRILL GEOM — GRILL .S00 ROUL_GEOM TAPE HSUNC Parr PART PART Ra 3.75 BORING FAR... ora 2008 CO Select your post processor and select OK. ee es ves es vee wee Ming Tor Ming Toc Ming Toc Dating Tor Deling Tce Dating Toe Dating Toe Dafing Toe = Accept the default for Output File and then select OK. = Verify the output. Your output should be similar to the following: UGS Corp. All Rights Reserved Pot Building Techniques Stadent Guide 209 Build a Post Processor with Post Builder File Edit H NOOOS G70 G90 Gan Gi? G94 NOO10 G28 G91 20.0 10015 Too, mo6 woozo0 To30 NOO25 G90 GOO X-3. ¥-3. SO mO3 NOD30 G43 Z6. NOO3S X7. Y-3.1 Nona0 Z4, NOD45 22.4 NOOSO GO1 22, Fig. MOS NOOSS ¥-1.2 NOD6O X-1.2 NooeS ¥9.2 NOO70 Xi5.2 NOO7S ¥-1.2 wouso xT. NOOBS Yi.777 NOO9O X1.777 NO0SS ¥6.223 NOLOO ¥12.223 NO1OS ¥1.777 ee Return to the Post Builder. ‘This completes this activity. 2-40 Post Building Techniques ~ Student Guide (©UGS Corp. All Rights Reserved rmet1060_g NXS Build a Post Processor with Post Builder NC Data Definitions property page ‘The NC Data Defi for NC data. BR mice tot) I Prearam tos pats | MY we sta Der | [Ey extn seine | ERY nt re reno BLOCK | WORD | FORMAT | Other Data Elements ions property page allows the definition of output formats ‘Ade Wora| [cconcom ar-cutiom CEFTRIGHTIORFD | tirculat_move soolant of cootdinals_oysiom cuom_of tyela_bore ‘yele_ore tank ‘ycle_bore_otag I I Ge I Ge I Gr yete_ore_cve tyole_ore_rranus tyele_pore_rrianus tyele_nore_no_are yele_ Ld Data definitions are broken down into four sub classifications, also represented in tabular format. These sub classes are: * Block defines the format sequence of the instruction data that appears as output. Blocks are made up of word elements, each being defined by an address and variable. There are two methods used to create a block. From the sequence or event property page you may drag a blank block and drop it into a sequence or event. You can also edit any existing block with the sequence, event or NC Data Definitions block property page. You may then edit or build your block of data, + Word defines the address, output format and the structure of the words that comprise the instructions. Parameters associated with address are format, maximum and minimum values, modality and leading and trailing characters. A word is composed of an address leader, a number or text and a trailer. An address leader may be any character. The address leader is usually a single character such as G, M, X, Y, Z, ete. The trailer is usually a blank character. You can specify the format for current words UGS Corp. All Rights Reserved Post Building Techniques - Student Guide 244 Build a Post Processor with Post Builder 242 from an existing list of formats or edit one of the existing formats. You can also create a new format from the Format section of this property page. * Format for data output can be defined as real, integer or character string. Parameters for Format vary according to the data type selected. Real numbers are generally used for co-ordinate values; integers are used for registers and character strings are used for commentary messages and special output. * Other Data Elements allow for the control of sequence number output, the use of special characters for word separation, end of block and message start and end codes. You have probably noticed that block word address icons have symbols associated with them. These various icon symbols are switched on when you pass the mouse over the word address icon, right-click and select the pull down menu. Choosing Optional, No Word Separator, Force Output or any combination of the three from the pull down menu will turn the various symbols on. Word Address leon G ao } No options selected Pull Down Menu Ect Opti We wor ge Klement Ga? Froptionat” Separator G a, Fone Word Separator” selected Fores Qutpurt Delete G aL J} rere Output” selected G aL eo } All options selected A checkmark before the option is an indicator of the option being turned on. * Force Output forces the selected code for output within the current block only. This is useful, for example, to force out aT or some other code for each tool change. By default all words are modal and will output only if the value changes from one block to the next. Force Output can only be specified within the context of an Event or sequence. * No Word Separator results in the separator character being suppressed following the word on output. This is used mainly for CLS output. Post Building Techniques ~ Student Guide (©UGS Corp. All Rights Reserved rmet1060_g NXS Build a Post Processor with Post Builder * Optional will test to see if the address has a variable defined, if defined, it will be used; if the variable is not defined, the address will be suppressed. Note that this option takes priority over the "Force Output" option. UGS Corp. All Rights Reserved Pos Building Techniques Student Guide 243 Build a Post Processor with Post Builder Activity — NC Data Definition In this activity you will modify a word address to force a “G91” code and then modify the existing “G84” tapping code to produce a “G84.1’ rigid tapping cycle. Step 1: Enter NC Data Definition section of the Post Builder. 1 Click NC Data Definition from the Post Builder selection menu. vac too | EZ] Proran2001 gM: pata nets Lock | worn | Format | omer neta clemems 1 create | cut a ‘nai nvord [G_eacen (041 - Cuteam (LEP TRIGN HOFF cup senngs | FE%] eos rae reson sireulat_moee roolant of oondinal_system sutcom ot ycte_bore tyele_ore ack tyole_ore cay yela_pora_ci yetepore same | = Ifnecessary, click Block. BR eee tot | EZ erosrrn toa Pats | EM we sta etna Lock {mop | FORMAT | Otho Data Elements QQ oweresernas | FEB] eos tes Preven Step 2: Change the incremental mode block address variable to force out a G91 code. 244 Post Building Techniques ~ Student Guide ©UGS Corp. All Rights Reserved rmet1060_g NXS Build a Post Processor with Post Builder & Click the incremental_mode variable and then right-click G91 and select Force Output . PB deler CBend_ot_pstn (9 end_of_program OB ftom _g- Pase:the cursor over this: black adress oe Change Elmont > incremenial_mode! ‘cpt " oe No arator Delete (1 Notice the white bar, indicating Force Output, that appears on the block address icon. Step 3: Create a G84.1 Rigid tapping sequence. You will now modify the existing G code that will be output for a tapping cycle. You will change the standard G84 code to G84.1 used in a rigid tapping sequence. = Ifnecessary click N/C Data Definition. © Click Word. = Select the G block, right-click, select Create. ‘The G_1 block is created. UGS Corp. All Rights Reserved Post Building Techniques Student Guide 245 Build a Post Processor with Post Builder Fetters] Ef rosene ira | EM uc dite [BLOCK | WoRD | FORMAT | Othor DataEioments HS mate E ‘The standard tap code is G84 which represents a two digit integer. You will be creating a new tap code, G84.1, which represents a three digit, real number. You will now create a new format to represent the new tapping code of G84.1 [Click New under Format. \ Format mga torah be Data Type © purer © ten < ‘Type digit_2_1 in the Format Name text box. 246 Post Building Techniques ~ Student Guide (©UGS Corp. All Rights Reserved rmet1060_g NXS Build a Post Processor with Post Builder gt 21 Data Tyee © numer = Select Numeric under Data Type. Data Type Go Numeric © Text ‘The Format: user_fmt property page displayed is expanded. ot 21 a Data Type © Numer lo po © Tes FF oulsut Decimal Pint) F ouput eading Plus sin F cuputLeasing 2108 Outputs Z0r06 = Change the output to two places to the left of the decimal and one place to the right. UGS Corp. All Rights Reserved Post Building Techniques Student Guide 247 Build a Post Processor with Post Builder © Select the Output Decimal Point box. Numeric | © Tea Doar Point = Click OK. You have just completed setting the format for the G84.1 code. You must now set the parameters to allow customization of the tapping code. = Click Program & Tool Path. < Ifnecessary, click Program = Click Canned Cycles and then click on Common Parameters. FS vo | nc | Fe | J > Proeram | codes | wtcodes | word Summary | wordSequencmg | Cusemcommand | Unkeo \ Program star Seauet Operation Sta oat Path EB Machine Conta BH usion a® Hel iM aired EE operation Ee Sonu || j Program Ena Sequent ‘The Event: Cycle Parameters property page is displayed. 2.48 Post Building Techniques ~ Student Guide (©UGS Corp. All Rights Reserved rmet1060_g NXS Build a Post Processor with Post Builder moana mene & Under the G Code and Customization section, scroll down to Customize Tap and check the box. | Bee ow | = Click OK. ‘You must now discard the previous tapping word block and create a tapping word block that allows for the G84.1 word. = Click N/C Data Definitions. = Click Block, = Select eycle_tap. UGS Corp. All Rights Reserved Post Building Techniques Student Guide 2-49 Build a Post Processor with Post Builder 1a | FY mt ste | 3 pnt Peter stint |] ror ans (CG pevoee | wor | FoRsT | oterDatatements ‘aa word, [GLeuteom (Gat- Cucom MEF TRIGHTIOFD | shsoits_ode atu Gu tealant of cealan hu corsmate orton cureon_or ete bore P fete.bra_back a ez ee = Click G_1 from the Add Word list , then choose G-User Defined Expression. 250 Post Building Techniques ~ Student Guide (©UGS Corp. All Rights Reserved rmet1060_g NXS Build a Post Processor with Post Builder Ti asc, amar Ba 4 | a esoset « 5 Fo esos Grete = [enna ayn ‘eka Senay cree ae ‘8b evens Sowcem r ‘Ge Semen raotnns) Chae Lan {rata Catt [ae ‘foam eo) het Bae ‘root ene x : ‘ir eatdnats Seen ZR) 54-5) : eee ‘Sus react t=) i He enter nan ‘atta ene : He enter 5 ey te Hers SR [ey ‘The Expression Entry dialog box is displayed. Type 84.1 into the Expression Entry box. = Click OK. Save the post and run it against the test part, mill_tes = Ifnecessary, enter the Manufacturing application in NX. © Expand T12345-A and select the TAP_.5_13UNC operation. UGS Corp. All Rights Reserved Post Building Techniques - Student Guide 2-54 Build a Post Processor with Post Builder 282 & Click Post Process = Select your post processor and select OK. = Accept the default for Output and then click OK. = Verify the output. ‘Your output should be similar to the following: Ton = Return to the Post Builder. ‘This completes this activity. Post Building Techniques ~ Student Guide (©UGS Corp. All Rights Reserved rmet1060_g NXS Build a Post Processor with Post Builder Create new M or G code groups M and G codes are normally classified into logical groups. One such group is the Motion group. This group consists of the words G00 for rapid, G01 for linear feed, G02 for circular interpolation CW, G03 for circular interpolation CCW and G80 thru G89 codes that represent drill cycles. Only one word from this group can be active at any given time, i.e. it is illogical for a machine to be moving in the G00 mode (rapid) while making a G01 move (linear feed) simultaneously. As a general rule, Post Builder supports all common M and G code groups. In some instances however, certain machine tooV/controller combinations support functions that are unique and require custom M or G codes. Post Builder allows you to create these new M or G code groups as will be shown in the following activity. UGS Corp. All Rights Reserved Post Building Techniques Student Guide 253 Build a Post Processor with Post Builder Activity — Create a new M-Code group 24 In this activity, you will create a new M-code group to support a machine tool feature of coolant through the tool. In a later activity, you will modify the coolant UDE (User Defined Event) to support this function within NX Step 1: Step 2: Step 3: Step 4: Continue using “*_my_post in Post Builder. C1 Ifnecessary open ***_my_post using the Post Builder. Create the new M-code word group. O Click Ne Data Defini = Click Word. You will create the new M-code word group by copying an existing group. Scroll down and then ighlight the M_coolant word. Choose the Create button. ci | I on | wc roe | FY ows stock | worn | Foray | omer nata Elements ‘The M_coolant _1 word is created. Change the name of the new word group. C1 Click the M_coolant_1 word. 1 Change the name to M_coolant_thru. AS w_spindle TiS W_range Save the post processor. Post Building Techniques ~ Student Guide (©UGS Corp. All Rights Reserved rmet1060_g NXS Build a Post Processor with Post Builder ‘This completes this activity. In support of the creation of the new word M_coolant_thru, you will need to build a UDE to turn on the coolant through the tool, create a custom command to detect and interpret the coolant-through the tool UDE and then output the appropriate M-code. These steps will be performed in future activities. UGS Corp. All Rights Reserved Post Building Techniques Student Guide 285 Build a Post Processor with Post Builder Output Settings property page ‘The Output Settings property page allows the generation and control of output used in a listing file. Items for output are X, Y and Z co-ordinates, 4th and 5th-axis angle, and feeds and speeds. You can also specify file extensions for listing and NC output. Tabs are present for Listing File control and for Other Options. BR ese too) BF erara a oot eat | EM rece oetntons | [I] ono sarees | FER posts breve tsa ae | ormerOpaons Listing Fe Elements Lustig Fle Etenston ee Ganporents 7 i-coorsinate ¥-Coordinate Ecoorsinate stnate angie Sthaie Anale Feo Speed 256 Under Other Options, the Output Control Elements section, Generate Group Output allows the definition of how the post processor will process Groups. Operations may be organized into groups in order to create more than one NC program in a part file. Each group is considered to be a separate program. The default setting for this option is OFF. This option should only be used when you want to post process more than one NC program at a time. Selecting more than one Group with this option turned ON will result in one file containing all the Groups which have been selected. The file naming convention will be the name of your file with the name of the group appended. For example, if the base file name is "1234" and the group is called "finish_mill", then the name of the file will be 1234_finish_mill.ptp. When Group output is set to ON, you should not mix operations in groups with operations outside of groups. This will result in unpredictable output. When the group output setting is OFF, you will only get a single NC output Post Building Techniques ~ Student Guide (©UGS Corp. All Rights Reserved rmet1060_g NXS Build a Post Processor with Post Builder file called 1234.ptp. All operations in any selected group will be output in a single file. Any group organization will be ignored. Ferrer | Ef roves ore if uc narine| FO ones | Errno ‘ouput Contra esaments INE Output File tension ite FE benerata Croup Output outpatweming Messages BD eon) o1spiay verbose esrormessages FF stnste Review Toot User Fe Seurce Source Users Tel File Fiename [To ‘The name of the group or program in NX can be used as the program name in the Start of Program Event. This will be passed as the variable name mom_group_name. By changing the name of the PROGRAM in the Operation Navigator, and by creating a custom command, you can create the equivalence of a PARTNO statement. Output Warning Messages will result in warnings generated to a log fie. Display Verbose Error Messages will sult in detailed error messages being displayed as your job is being post proc ed. Activate Review Tool initiates the Review Tool which aides in the debugging of a post processor. ‘The Review Tool consists of three list boxes, each having horizontal and vertical scroll bars to assist in viewing the information, UGS Corp. All Rights Reserved Pos Building Techniques Student Guide 287 Build a Post Processor with Post Builder 250 Ese: MOM slat ot pagan Ft up onastenaent an Minarcaeneamn MoMaeiega) + } romatgodt)-oummammmarasy —~|No Osp.trow Ever Mormecnepede 2+ Ps ema pot}=Ocmmnomimarrnoy | Moraga fs comatredz)-ncncammarnan —|ymocancrr sagen om + q Ro Quorn ee OH cach weriogs i naossr canza0 MoH iano + % 93000 HEE a) hy rom ae oor NOW cach waren Fy roma aise]=1cxonceoronnen | dsp.tFow axe urna ores

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy