How to define coolant codes in post processor to include additional information

How to define coolant codes in post processor to include additional information

AtomicGumball
Contributor Contributor
973 Views
4 Replies
Message 1 of 5

How to define coolant codes in post processor to include additional information

AtomicGumball
Contributor
Contributor

I am trying to set up a post processor for our new Mazak Integrex. We have the superflow high pressure coolant option, which allows for different pressure settings using either a P value to select a preset pressure, or a K value to set the pressure. I was hoping to make use of the tool comment line to allow for a K value to be set per tool, and then reference that when posting to add the appropriate code. How can I go about doing this?

Format is

M131 Kxxx

Where xxx can be a value from 200-1000

0 Likes
Accepted solutions (2)
974 Views
4 Replies
Replies (4)
Message 2 of 5

da_fish
Advocate
Advocate
Accepted solution

Hi, here's what I came up with regarding you question. It proved to be more complicated than I had though😀

 

I attached the Mazak Integrex i-200 post that I downloaded and edited. You can download one from the library and compare it to the one I have attached to see the changes I made. You might want to make a few changes but this should get you started.

I spent several hours on this so let me know how it works🙂

Message 3 of 5

da_fish
Advocate
Advocate
Accepted solution

Oh, and I forgot to mention. The way it works is, if the tool comment starts with an uppercase K has any digits after it, then it will add it to the end of the through coolant m-code.

Message 4 of 5

ktorokU233T
Advocate
Advocate

@AtomicGumball 

Another way would be to add a property and set it's scope to operation. This would allow you to set the pressure to any value on an operation by operation basis instead of having a tool tied to a specific value. There are caveats tied to this, but it is doable. I've used this approach for various things.

0 Likes
Message 5 of 5

AtomicGumball
Contributor
Contributor

This is very helpful, thank you. I sat down with one of our software engineers and he helped me set something up, but yours has some nice refinements.