Community
Fusion Manufacture
Talk shop with the Fusion (formerly Fusion 360) Manufacture Community. Share tool strategies, tips, get advice and solve problems together with the best minds in the industry.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to remove the "D12" output in my GCode, Sinumerik 828D Mill Turn Postprocessor

6 REPLIES 6
SOLVED
Reply
Message 1 of 7
apsTWRDF
228 Views, 6 Replies

How to remove the "D12" output in my GCode, Sinumerik 828D Mill Turn Postprocessor

Hello guys,

 

I`m pretty new to cnc turning and about to work my way through Fusion 360 right now.

My machine is a CNC lathe with X,Y,Z, C and a Siemens Sinumerik 828D Controller.

 

Here is a simple program, which should just face off a piece of round stock which actually works just to one point.

 

The Postprocessor I use (Siemens Mill/Turn) generates in N27 the Command D12, which leads to an error. If I remove that line,  it works.

Is there an option in Fusion / Tool Library to avoid that output or, if necessary, how can I supress that in the postprocessor?

 

Here is the generated GCode:

 

; %_N_TEST1_MPF
; T12 NR=0.2 - ZMIN=-1 - general turning
N10 WORKPIECE(,,,"CYLINDER",192,0,-40,-39,30.12)
N11 G94 G18
N12 G71
N13 LIMS=3000
N14 G53 G0 X0 D0
N15 G53 Y0 D0
N16 G53 Z0 D0

N17 MSG ("; Planen1")
N18 G18
N19 DIAMON
N20 T12 D1
N21 M6
N22 SETMS(1)
N23 G97 S1=1059 M1=3
N24 G54
N26 LIMS[1]=3000
N27 D12                                         <-------- This
N28 M8
N29 G0 Y0
N30 Z5 X60.12
N31 SETMS(1)
N32 G96 S1=200 M1=3
N33 Z1.414
N34 X40.12
N35 G1 X32.948 F0.1
N36 X30.12 Z0
N37 X-0.4
N38 X2.428 Z1.414
N39 G0 X40.12
N40 Z1.214
N41 G1 X32.948
N42 X30.12 Z-0.2
N43 X-0.4
N44 X2.428 Z1.214
N45 G0 X40.12
N46 Z1.014
N47 G1 X32.948
N48 X30.12 Z-0.4
N49 X-0.4
N50 X2.428 Z1.014
N51 G0 X40.12
N52 Z0.814
N53 G1 X32.948
N54 X30.12 Z-0.6
N55 X-0.4
N56 X2.428 Z0.814
N57 G0 X40.12
N58 Z0.614
N59 G1 X32.948
N60 X30.12 Z-0.8
N61 X-0.4
N62 X2.428 Z0.614
N63 G0 X40.12
N64 Z0.414
N65 G1 X32.948
N66 X30.12 Z-1
N67 X-0.4
N68 X2.428 Z0.414
N69 G0 X60.12
N70 Z5
N71 SETMS(1)
N72 G97 S1=1059 M1=3

N73 M9
N74 G53 X0 D0
N75 G53 Y0 D0
N76 G53 Z0 D0
N77 M1=5

N79 M30
%

 

Thanks ,

Jochen

 

6 REPLIES 6
Message 2 of 7
seth.madore
in reply to: apsTWRDF

So it looks like that's the tool offset number? At line 20, I see you're calling T12 D1, are all your tools "D1", and the only thing that changes is the T number?


Seth Madore
Customer Advocacy Manager - Manufacturing
Message 3 of 7
seth.madore
in reply to: apsTWRDF

Or is it a case where you don't even need that second "D" callout since it's specified at the beginning in the tool call?


Seth Madore
Customer Advocacy Manager - Manufacturing
Message 4 of 7
apsTWRDF
in reply to: seth.madore

Hi,

 

If I use Tool 12 it generates the T12 D1  and a few lines later the D12

If I use Tool 3 its according T3 D1  but later the D3

 

As far as I read the D1 is for tool length compensation. I dont even use that for at the moment. A simple D0 would do it to turn it off.

 

Jochen

Message 5 of 7
seth.madore
in reply to: apsTWRDF

At line 2067, toss a couple "//" in front of the block, as shown below:

2024-03-22_08h39_45.png

This will remove the second call of the "D" value.


Seth Madore
Customer Advocacy Manager - Manufacturing
Message 6 of 7
seth.madore
in reply to: apsTWRDF

What is the alarm that it generates, by the way?


Seth Madore
Customer Advocacy Manager - Manufacturing
Message 7 of 7
apsTWRDF
in reply to: seth.madore

Thanks, that solved it!

 

Controller just displayed that D12 - Doesnt exist

 

Jochen

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report