At this forum I found a shortcut to postprocessor, which makes G-code for Heidenhain TNC 155, for program GibbsCam. Here I have for example G code, that make postprocesor (Before I send G-code on the machine, I would like to know some things that we are not clear):
%1008 G71*
N10 G30 G17 X-34. Y-34. Z-26.5*
N20 G31 G90 X+34. Y+34. Z+0*
N30 G99 T1 L-60. R+10.* Lenght corect have a negative sign
N40 G99 T2 L-60. R+10.*
N50 G99 T3 L-60. R+10.1*
N10 T1 G17 S1800 M06* Again, the N10 runs
N20 G54 G90 Z+10.*
N30 G00 G40 G90 X+36. Y-36.4 M13*
N40 Z+10.*
N50 Z+5.*
N60 G01 Z-8.8 F1000*
N70 L2*
N80 G00 X+36. Y-36.4*
N90 Z-3.8*
N100 G01 Z-17.6 F1000*
N110 L2*
N120 T2 G17 S1800 M06*
N130 G54 G90*
N140 G00 G40 G90 X+36. Y-36. M13*
N150 Z+10.*
N160 Z+5.*
N170 G01 Z-18.25 F1000*
N180 G41 X+26. F500*
N190 X-36.*
N200 Y+36.*
N210 X+36.*
N220 Y-26.*
N230 G40 Y-36.*
N240 G00 Z+10.*
N250 T3 G17 S1800 M06*
N260 G54 G90*
N270 G00 G40 G90 X+36. Y-32.5 M13*
N280 Z+10.*
N290 Z+5.*
N300 G01 Z-4. F1000*
N310 G41 X+26. F500*
N320 X-32.5*
N330 Y+32.5*
N340 X+32.5*
N350 Y-26.*
N360 G40 Y-36.*
N370 G00 Z+10.*
N380 G54 G90 X+0 Y+0*
N390 X+220. Y+75. Z+100.*
N400 T1 M06*
N410 Z+200.*
N420 M02*
N10 G98 L2* Again, the N10 runs
N20 G41 X+26. F300*
N30 X-36.4*
N40 Y+36.4*
N50 X+36.4*
N60 Y-26.*
N70 G40 Y-36.*
N80 G00 Z+10.*
N90 G98 L0*
N9999%1008 G71*
Why we do spaces between the lines? Will the controller wanted to take?
Strikes me run from the beginning, by definition tools, and defines the sub again.
Does anyone have experience with this?


LinkBack URL
About LinkBacks




