Creating A Basic Postprocessor With NX Post Builder For Beginners
Creating A Basic Postprocessor With NX Post Builder For Beginners
postprocessor
1. Create New Postprocessor (Using NX 7.5 but don't care for version)
(You can modify output Gcode/Mcode according to the machine you use)
6. Change Word Sequencing propery. (G43 H01 Z100. -> G43 Z100. H01)
- 2 -
1. Create a ne Postprocessor Using Post Builder
- 3 -
2. Select Generate Virtual N/C controller(VNC) - (Required for version 7.5)
Notice : In case of Nx 7.5, you must select "Generate Virtual N/C controller(VNC)"
(Don't care if you choose another version)
- 4 -
3. Set Other Data Elements 3.1 Set Sequence Number (N1000 .... etc)
- 5 -
3. Set Other Data Elements
3.2 Insert / Remove Word Separator ( G90 G40 G49 G80 .. G90G40G49G80 )
- In case of Word Separator set to "Space" (ex. G40 G49 G80)
- 6 -
3. Set Other Data Elements
Set to Semicolon(;) at End of Block is Insert EOB character(;) every End of Block.
- 7 -
4. Set Word Format propery. ( T01 M06 -> T1 M6 )
N/C Data Definitions Tab -> Word Tab
You can see the format applied to each WORD.
- 8 -
5. Modify Inche or Metric Gcode Word propery (G70/G71 -> G20/G21)
(You can modify output Gcode/Mcode according to the machine you use)
Program & Tool Path Tab -> Gcode Tab (Mcode Tab)
You can set the Gcode(Mcode) by operation.
- Default value of Inch Mode 70. / Metirc Mode 71.
- Recently, Number 20 used for Inch, Number 21 used for Metric.
- 9 -
6. Change Word Sequencing propery. (G43 H01 Z100. -> G43 Z100. H01)
- 10 -
7. Understanding 5 Main Program order.
3. Tool Path
- Ouputs the code when the command is issued.
Machine Control – Delay, Auxfun, Prefun etc..
Motion – Linear Move / Circular Move / Rapid Move
Canned Cycle – Common Parameters of Drill canned cycle, Cycle off etc..
- 11 -
8. Basic Example1. Remove Character '%' at Start/End Program
- You can remove any unwanted block by Drag and Drop to the trash can.
- You may also remove by pressing the right mouse button(MB3) and select Delete.
- 12 -
9. Basic Example2. Remove Sequence Number
- Also you can re-insert Sequence Number by select New Block – MOM_set_seq_on
and insert it Where you want.
- 13 -
10. Basic Example3. Remove Preselect Tool Function.
- Default post output Preselect Tool(T) function after Auto Tool change (Tx M06)
You can remove this function by Deleting Preselect Tool(T)
- 14 -
11. Basic Example4. Insert G54 Work Coordinate propery
- 15 -
2. Insert G54 work Coordinate at Rapid-Move
- Program & Tool Path Tab - Tool Path - Motion - Rapid Move
- 16 -
12. Basic Example5. Modify I, J, K to R if you needed. ( I Recommand using I,J,K )
1. Program & Tool Path Tab - Program Tab - Tool Path - Motion - Circular Move
2. Remove I, J, K and Insert R - R-Arc Radius. (Edit R to 'Modal? - Set to No')
- 17 -
13. Basic Example6. Change output file extention from ptp to NC
1. Output Setting - Other Options - Output Control Elements
2. Set to value of N/C Output File Extension from ptp to NC.
- 18 -
14. Basic Example7. Using Group output
- 19 -
15. Basic Example8. Using listing file for check toolpath.
- You can check tool path by output listing file.
- 20 -
16. Using Display verbose Error Messages.
- You can see the various variables of NX Post. but it take a little time.
- 21 -