I am using the latest Heidenhain generic post processor available from Fusion library;
My machine is a Hardinge VMC1000 running iTNC 530 and has a 4th Axis running as A axis.
Using a test piece to check the code is right, I'm getting errors I believe coming from the post processor as there's a lot of Z movement in the code even though the simulation is running right and there is no Z movement apart from the tool coming in at the start and retracting at the end.
In the post processor I have enabled the aAxis only, I think.
I have attached a photo of the part, the tool path, the part in the post processor I have edited and the code generated by the post processor in as follows;
0 BEGIN PGM GBX MM
1 BLK FORM 0.1 Z X-9 Y-29.25 Z-58.5
2 BLK FORM 0.2 X+9 Y+29.25 Z+0
3 ;-------------------------------------
4 ;Machine
5 ; vendor: Autodesk
6 ; model: Generic 4-axis (A Table)
7 ; description: This machine has YXA axis on the Table and Z axis on the Head
8 ;T1 D=+2 CR=+0 - flat end mill
9 ;-------------------------------------
10 M126
11 TOOL CALL Z ;SET TOOL AXIS FOR M140
12 L M140 MB MAX
13 PLANE RESET STAY
14 ;-------------------------------------
15 * - Rotary Contour1
16 TOOL CALL 1 Z S7000
17 L M140 MB MAX
18 M3
19 L A+57.257 R0 FMAX M94
20 CYCL DEF 7.0 DATUM SHIFT
21 CYCL DEF 7.1 X+2.798
22 CYCL DEF 7.2 Y-39.854
23 CYCL DEF 7.3 Z-3.859
24 PLANE SPATIAL SPA+57.257 SPB+0 SPC+0 STAY
25 L X+0 Y+0 R0 FMAX
26 L Z+0 R0 FMAX
27 CYCL DEF 7.0 DATUM SHIFT
28 CYCL DEF 7.1 X+0
29 CYCL DEF 7.2 Y+0
30 CYCL DEF 7.3 Z+0
31 PLANE RESET STAY
32 M128
33 M8
34 CYCL DEF 32.0 TOLERANCE
35 CYCL DEF 32.1
36 L X+2.798 Y-39.854 Z-3.859 FMAX
37 L Y-31.443 Z-9.268 FMAX
38 L Y-23.032 Z-14.677 F112
39 L X+2.829 Y-23.031 Z-14.675
40 L X+2.883 Y-23.022 Z-14.661
41 L X+2.93 Y-23.005 Z-14.635
42 L X+2.967 Y-22.982 Z-14.599
43 L X+2.99 Y-22.954 Z-14.555
44 L X+3 Y-22.924 Z-14.508
45 L Y-22.103 Z-13.304 A+54.192
46 L Y-21.219 Z-12.145 A+51.128
47 L Y-20.275 Z-11.036 A+48.064
48 L Y-19.272 Z-9.978 A+45
49 L Y-18.214 Z-8.975 A+41.936
50 L Y-17.105 Z-8.031 A+38.872
51 L Y-15.946 Z-7.147 A+35.808
52 L Y-14.742 Z-6.326 A+32.743
53 L Y-13.495 Z-5.571 A+29.679
54 L Y-12.21 Z-4.883 A+26.615
55 L Y-10.89 Z-4.265 A+23.551
56 L Y-9.539 Z-3.719 A+20.487
57 L Y-8.161 Z-3.245 A+17.423
58 L Y-6.759 Z-2.846 A+14.358
59 L Y-5.338 Z-2.523 A+11.294
60 L Y-3.901 Z-2.276 A+8.23
61 L Y-2.454 Z-2.106 A+5.166
62 L Y-1 Z-2.013 A+2.102
63 L X-3
64 L Y-2.454 Z-2.106 A+5.166
65 L Y-3.901 Z-2.276 A+8.23
66 L Y-5.338 Z-2.523 A+11.294
67 L Y-6.759 Z-2.846 A+14.358
68 L Y-8.161 Z-3.245 A+17.423
69 L Y-9.539 Z-3.719 A+20.487
70 L Y-10.89 Z-4.265 A+23.551
71 L Y-12.21 Z-4.883 A+26.615
72 L Y-13.495 Z-5.571 A+29.679
73 L Y-14.742 Z-6.326 A+32.743
74 L Y-15.946 Z-7.147 A+35.808
75 L Y-17.105 Z-8.031 A+38.872
76 L Y-18.214 Z-8.975 A+41.936
77 L Y-19.272 Z-9.978 A+45
78 L Y-20.275 Z-11.036 A+48.064
79 L Y-21.219 Z-12.145 A+51.128
80 L Y-22.103 Z-13.304 A+54.192
81 L Y-22.924 Z-14.508 A+57.257
82 L Y-23.679 Z-15.755 A+60.321
83 L Y-24.367 Z-17.04 A+63.385
84 L Y-24.985 Z-18.36 A+66.449
85 L Y-25.531 Z-19.711 A+69.513
86 L Y-26.005 Z-21.089 A+72.577
87 L Y-26.404 Z-22.491 A+75.642
88 L Y-26.727 Z-23.912 A+78.706
89 L Y-26.974 Z-25.349 A+81.77
90 L Y-27.144 Z-26.796 A+84.834
91 L Y-27.237 Z-28.25 A+87.898
92 L X+3
93 L Y-27.144 Z-26.796 A+84.834
94 L Y-26.974 Z-25.349 A+81.77
95 L Y-26.727 Z-23.912 A+78.706
96 L Y-26.404 Z-22.491 A+75.642
97 L Y-26.005 Z-21.089 A+72.577
98 L Y-25.531 Z-19.711 A+69.513
99 L Y-24.985 Z-18.36 A+66.449
100 L Y-24.367 Z-17.04 A+63.385
101 L Y-23.679 Z-15.755 A+60.321
102 L Y-22.924 Z-14.508 A+57.257
103 L X+2.99 Y-22.894 Z-14.461
104 L X+2.967 Y-22.866 Z-14.418
105 L X+2.93 Y-22.843 Z-14.382
106 L X+2.883 Y-22.826 Z-14.356
107 L X+2.829 Y-22.817 Z-14.342
108 L X+2.798 Y-22.816 Z-14.34
109 L Y-31.227 Z-8.931 FMAX
110 L Y-39.638 Z-3.523 FMAX
111 M129
112 M9
113 M5
114 L M140 MB MAX
115 L A+0 R0 FMAX M94
116 PLANE RESET STAY
117 M127
118 M30
119 END PGM GBX MM