Heidenhain TNC 426 mod to us Z150 FMAX instead of Z? M91

Heidenhain TNC 426 mod to us Z150 FMAX instead of Z? M91

CNCBits
Enthusiast Enthusiast
639 Views
2 Replies
Message 1 of 3

Heidenhain TNC 426 mod to us Z150 FMAX instead of Z? M91

CNCBits
Enthusiast
Enthusiast

Note I have very limited experience PP's use this with Caution

Hi All this may help some people with older Heidenhain TNC 426 controls. I have edited the latest iTNC 426 Post processor so that instead of using M140 with tiled axis  (which is not supported on old machines) it uses Z+150 FMAX instead. This is controlled through the options dialog, turning it off gives the normal Z M91 option.

I have however a problem  I would like the PP to output  CYCL DEF 19.1 B-3 C+0 where it posts CYCL DEF 19.1 B+3 C+180. my B axis is (-5 +95 ) angles my C axis is (0 +360) both B+C axis are manual. I would also like to remove the

"L B+Q121 C+Q122 R0 FMAX" lines as they are not required.

Any help would be appreciated

Note again I have very limited experience PP's use this with Caution

0 BEGIN PGM pptest1 MM
1 ; X-Y- ZTOP
2 BLK FORM 0.1 Z X+0 Y+0 Z-11
3 BLK FORM 0.2 X+52 Y+52 Z+0
4 ; post version: 42798
5 ; -------------------------------------
6 ; Tools
7 ;   #45 D=10 TAPER=118deg - drill
8 ; -------------------------------------
9 ; 
10 CYCL DEF 19.0 WORKING PLANE
11 CYCL DEF 19.1 B+0 C+0
12 L Z+150 R0 FMAX
13 * - Drill1
14 M5
15 TOOL CALL 45 Z S5000
16 L Z+150 R0 FMAX
17 M3
18 CYCL DEF 19.0 WORKING PLANE
19 CYCL DEF 19.1 B+3 C+180
20 L B+Q121 C+Q122 R0 FMAX
21 L X-25.015 Y-26.615 R0 FMAX
22 L Z+50 R0 FMAX
23 M8
24 CYCL DEF 32.0 TOLERANCE
25 CYCL DEF 32.1
26 CYCL DEF 200 DRILLING ~
  Q200=+5 ;SET-UP CLEARANCE ~
  Q201=-13.542 ;DEPTH ~
  Q206=1000 ;FEED RATE FOR PLUNGING ~
  Q202=+13.542 ;INFEED DEPTH ~
  Q210=0 ;DWELL AT TOP ~
  Q203=-2.05 ;SURFACE COORDINATE ~
  Q204=+9.05 ;2ND SET-UP CLEARANCE ~
  Q211=0 ;DWELL AT BOTTOM
27 L FMAX M99
28 L Z+50 FMAX
29 M9
30 M5
31 L Z+150 R0 FMAX
32 L B+0 C+0 FMAX M94
33 CYCL DEF 19.0 WORKING PLANE
34 CYCL DEF 19.1 B+0 C+0
35 L B+Q121 C+Q122 R0 FMAX
36 END PGM pptest1 MM

 

0 Likes
640 Views
2 Replies
Replies (2)
Message 2 of 3

CNCBits
Enthusiast
Enthusiast

Please also note there are other edits to this Post Processor to suit my needs and machine.

0 Likes
Message 3 of 3

CNCBits
Enthusiast
Enthusiast

I have managed to fix this problem  [I would like the PP to output CYCL DEF 19.1 B-3 C+0 where it posts CYCL DEF 19.1 B+3 C+180. my B axis is (-5 +95 ) angles my C axis is (0 +360) both B+C axis are manual.]

by changing this line  preference:-1}) from +1 to -1

var bAxis = createAxis({coordinate:1, table:true, axis:[0, 1, 0], range:[-5.0001, 95.0001],; preference:-1})

This now leaves me with this problem, [ L B+Q121 C+Q122 R0 FMAX  ] from the original post

0 Likes