HAAS ST30 Post with

Lonnie.Cady
Advisor
Advisor

HAAS ST30 Post with

Lonnie.Cady
Advisor
Advisor

I downloaded the latest HAAS ST30 post.  I see they are all basically the same post and even the 2 axis lathe post has the mill turn in it.

 

I tried to go thru the fixed settings and set the live tooling and c axis to false so I would not get the M155 spindle brake commands.

However the post now errors out with the following error.

 

TypeError: machineConfigurationXC is undefined

All I change was

 

var gotLiveTooling = false; // specifies if the machine is able to do live tooling
var gotCAxis = false;

Anyone have any suggestions?

 

0 Likes
Reply
950 Views
12 Replies
Replies (12)

Laurens-3DTechDraw
Mentor
Mentor

After a quick glance over the post I think these three lines are the problem:

  // dump machine configuration
  var vendor = machineConfigurationXC.getVendor();
  var model = machineConfigurationXC.getModel();
  var description = machineConfigurationXC.getDescription();

Tip: If a post errors out it gives the line number on where this happens.

This  makes looking for the problem much easier.

Laurens Wijnschenk
3DTechDraw

AutoDesk CAM user & Post editor.
René for Legend.


0 Likes

Lonnie.Cady
Advisor
Advisor

Yes I am aware that it gives the line number and have looked at those lines.

 

I am not seeing when setting the c axis to false causes the error.

 

They list this post for a ST30 which is a simple 2 axis lathe, no need for spindle brake commands.

 

 

 

 

0 Likes

Laurens-3DTechDraw
Mentor
Mentor

@lonniecady wrote:

Yes I am aware that it gives the line number and have looked at those lines.

 

I am not seeing when setting the c axis to false causes the error.

 

They list this post for a ST30 which is a simple 2 axis lathe, no need for spindle brake commands.

  

 


That causes the error because with setting c-axis is looked at in the machinecofinguration part of the post.

Setting it to false causes that part to be skipped and causes those lines to error.

 

Apart from that, you can buy the ST30 with live tooling which means that you can need the spindle brake commands as far as I know.

You are right that this shouldn't happen when you turn that off when you don't have the machine with live tooling.

Laurens Wijnschenk
3DTechDraw

AutoDesk CAM user & Post editor.
René for Legend.


0 Likes

Lonnie.Cady
Advisor
Advisor
So is the only solution to go thru and just manually remove all the spindle break commands?
Never mind I will try the generic haas post.
0 Likes

Laurens-3DTechDraw
Mentor
Mentor

@lonniecady wrote:
So is the only solution to go thru and just manually remove all the spindle break commands?
Never mind I will try the generic haas post.

I think the best way is to take those out of the post.

Not out of every posted file.

Laurens Wijnschenk
3DTechDraw

AutoDesk CAM user & Post editor.
René for Legend.


0 Likes

Lonnie.Cady
Advisor
Advisor

@Laurens-3DTechDraw that is what I meant.

 

I will look into it more some other time.  Seems as though if the post is only intended for live tooled then they should not even have the property in there to set to false in the first place.  If it is designed to cover all ST30 configurations then it needs to be fixed so someone can turn off the C axis with out an error.

 

 

0 Likes

Laurens-3DTechDraw
Mentor
Mentor

@bob.schultz

Laurens Wijnschenk
3DTechDraw

AutoDesk CAM user & Post editor.
René for Legend.


0 Likes

bob.schultz
Autodesk
Autodesk

@Lonnie.Cady I have looked at the latest production version of the Haas ST 30 post and cannot see why you would be getting the M155 code when the C-axis is disabled.   I am attaching the latest post with modifications made so that you don't get the error when posting (this post has gotCAxis and gotLiveTooling set to false by default, though they will be set to true again in the updated production post).  Give it a try and see if the output is good.  If not, then please provide a test part, as I said I cannot see why the M155 code would be output and cannot duplicate it here.

 

Please let me know either way so that the other Haas turning posts can be updated.

 

Thanks.



Bob Schultz
Sr. Post Processor Developer

Lonnie.Cady
Advisor
Advisor

@bob.schultz thanks for looking into this.  The issue is not that I get a 155 brake command with c axis set to false.  It is that setting c axis to false causes the file not to post and error out.

 

I may be doing something wrong so I tried to make a screen cast.

 

0 Likes

bob.schultz
Autodesk
Autodesk

That explains why I don't see the M155 code.  Try the post I attached in my previous response, it should work for you.



Bob Schultz
Sr. Post Processor Developer

0 Likes

Lonnie.Cady
Advisor
Advisor

@bob.schultz

 

Yes the attached one seems to work.  The one I down loaded for the video 10 minutes ago did not.

 

Thanks for looking into this.

0 Likes

Lonnie.Cady
Advisor
Advisor

Anyone see any difference in the attached post processors?

The ST30 works and the ST35 trows the above posted error.  File Compare editor shows no difference between them.

 

Not really a big deal as the one works, but just the same it is very frustrating not to see why one fails and one does not.

 

 

Never Mind, I used a different file compare and it found the differences.  

0 Likes