Siemens 828D Post

tony3W49B
Enthusiast
Enthusiast

Siemens 828D Post

tony3W49B
Enthusiast
Enthusiast

Hi,

I 'm after some help please.

I have a application whereby I need to post a program for a Siemens 828D control system.(Milling)

There, obviously, isnt currently one available in the Fusion library. Which is the closest post to use?

I've noticed that for some reason the ones in the post library don't recognise "through tool" as the coolant command in the CAM. Getting round this isnt an issue, however, I would like some confidence that if I use another post that it will be relativly save to do so.

Any info would be greatly appreciated, any pointers on what to be careful with etc.

Thanks in advance

0 Likes
Reply
Accepted solutions (1)
2,133 Views
6 Replies
Replies (6)

andrew.millardCYPQ9
Autodesk
Autodesk

Hi,

 

It would be best if you could supply sample working code and what the machine is so we can help more effectively.

 

However, if you would like to try one of the library posts, I would begin with the siemens 840D post (https://cam.autodesk.com/posts/download.php?name=siemens-840d&type=post), as the code should be similar (a number of people on the forums have used this for an 828D effectively already).  This may need some modifications to run perfectly for your machine, but it should at least get you something to start with.  Just be cautious when you first try the code on the machine (one thing to note is the tool length compensation is always output as D1 using this post - this can be easily modified if required).

 

The reason that posting fails when THROUGH_TOOL is selected is because the post needs to be modified with the correct coolant on command that suits your machine.

If you open the post and go to line 221, you should see the COOLANT_THROUGH_TOOL line :- 

 

through.jpg

As you can see, the coolant is listed, but there's no 'on:' or 'off:' M code assigned.

You just need to replace that line with one of the following lines and modify the on/off codes - if the machine requires flood and through coolant together (M8 and M88 for example), you can change the line to :-

 

{id: COOLANT_THROUGH_TOOL, on: [8, 88], off: [9, 89]},

 

or if just one M code for through coolant is required :-

 
{id: COOLANT_THROUGH_TOOL, on: 88, off: 89},

 

(note the ',' at the end, this is required)

This would then give you the M codes in the NC code and post successfully.

If my post answers your question, please click the 'Accept Solution' button. This helps everyone find answers more quickly!



Andy Millard

Product Support Specialist


tony3W49B
Enthusiast
Enthusiast
Hi,

Thanks for your response. I had seen that the 840D post would probably work, however, the issue with the through tool coolant was something I needed advice on.
I'll give that a try, like you say, taken the precautions before cutting.
Also, thanks for the code regarding the through tool coolant.
One other thing, regarding the tool length compensation, what is the correct address for this. Instead of D1 what would you recommend?
Siemens is a control system that I've not had much experience on.

Thanks again.
0 Likes

andrew.millardCYPQ9
Autodesk
Autodesk
Accepted solution

The post by default is set to use 1, as most people will use this on the controller.  I believe you can use up to 9 per tool, which if you needed to, the post would have to have a simple change to enable picking this up from Fusion.

If you want to do this, you can search in the post for var lengthOffset = 1; and change this to var lengthOffset = tool.lengthOffset;

If my post answers your question, please click the 'Accept Solution' button. This helps everyone find answers more quickly!



Andy Millard

Product Support Specialist


tony3W49B
Enthusiast
Enthusiast

Hi Andrew,

 

Thanks for the reply, once again, I will edit as advised.

The machine is a Dugard and the application is simple drilling and some circular interpolation.

Once last question, do you think there will be anything to tweek, within the post, for the interpolation. Or would you say that the 840D post would handle that without any tweeking?

 

Thanks in advance.

0 Likes

andrew.millardCYPQ9
Autodesk
Autodesk

Apologies for the delay.  As you are using a milling post, the library Siemens posts aren't set to do Polar Interpolation by default unfortunately no. 

If my post answers your question, please click the 'Accept Solution' button. This helps everyone find answers more quickly!



Andy Millard

Product Support Specialist


0 Likes

tony3W49B
Enthusiast
Enthusiast

Hi,

 

With regards to the interpolation, I ran the post and it worked without any tweeks.

It was only basic interpolation, arc on; interpolate; arc off;, it posted with no problems.

 

Thank you for your help, @andrew.millardCYPQ9 its very much appreciated.

0 Likes