Axis substitution feedrate in NC code for Phillips CNC 432
Hi all
I have been meddling with my post for a while now, and almost everything is working now. My big problem now is to get an radius from the center of the machine added the right place in the code, as the control calculates the feedrate from that R value.
The problems are marked with ( ) in the code. I only want this R value each time the B axis starts moving in G1 at the depth of cuts. As I have mentioned this is an edited Fanuc post, and the post is attached to the post.
The code for the R value is here and the protr is also in the plinout under motion output in the post.
protr
if index = zero & rot_on_x,
[
rotaryr = ((prv_zabs)*1)
srotr = rotaryr
srotr
]
Any suggestions how to fix this?
I have another small problem in mastercam, I have to pick substitute around X instead of Y to get it right, I can live with this, but if it is an easy thing to fix I would like to do that :-)
Re: Axis substitution feedrate in NC code for Phillips CNC 432
Tried a program today, control makes an fault where the R are now, but if I move it manually to line N9, it runs smooth. Is there any way to move an output X numbers down in a post? I think it will be the same problem each time...
Re: Axis substitution feedrate in NC code for Phillips CNC 432
Did it
I had to force the B axis output with pfcout. Just run a small program in free air, and it looks absolutely fine! I cant wait to get home and tell the wife, that the last two months of scratching my head and editing post in half of my spare time finally paid of!
It seems that all is working now, but there may come some bug fixes at some point, bu ill take it as it comes.
Thanks Superman for the help a year ago, I couldn't have done this without some startup advise!