I've been working with the Doosan Mill/Turn with Fanuc 0i/31i Post set to Puma SMX. I've adjusted the post to default for secondary spindles, multiple turrets, and that sort of thing.
I'm currently having issues with G400 on the secondary spindle. The code is mostly good, except it is putting the b-axis at -90 deg, or -45 deg, when those need to be positive values while working on the second spindle. I've been able to adjust the post to output positive values, but it causes the main spindle to reverse B-axis values.
The setup has the secondary spindle selected, which can be seen with the M3 P21, and the J2 in the G400 line.
Below is the Post portion I can adjust to reverse the Value of B-Axis. If there was a SPINDLE_SUB that was independent of this, I think that would solve my issue, but I'm no expert in Java. I did try copying this adding SPINDLE_SUB, but it seemed to be ignored.
"
Sample code below, note the G400 B-90 should be G400 B(+)90
"
Hi,
This should give you an idea how to do it.
https://forums.autodesk.com/t5/hsm-post-processor-forum/x-limit-sub-spindle/td-p/12532531
If you still need a help, send me a message and I will help.
HI @DCDForeman
Thanks for raising your concern via Forum.
Could you please send me the model file? Once you save the file as .F3d, export it and re-attach it to this thread. Don't forget to zip the file before attaching.
Regards
Hi @Arun.rs
I've attached the 3df file of the part, and the post I'm working with in a Zip file.
The OP2 Upper is where the problems seem to arise.
T1, the G400 positions the Neutral CNMG tool at B-45, instead of B45.
T71, the G400 positions the threading tool in B-90, instead of B90.
Hi @AdamKunzo,
I'm not sure how to apply this to my post.
The issue seems to be in the turning, since the milling spindle is outputting the positive B axis when appropriate (at least in B90 direction). I've attempted to alter the code you provided to B-axis, and insert it into the post, it seems to either be ignored, or error,
I have my post and 3df file attached to this thread now, if you're interested in having a look.
HI @DCDForeman
Apologies for delay in reply.
I have modified the post with few changes, kindly check the output with all conditions before actual trail on machine.
Regards
Hi @Arun.rs ,
Thanks for the update! I've looked at the code output with this now post. The Turning portion seems to have been corrected with the changes you've made.
Eg.
HI @DCDForeman
Apologies for the delay in my reply.
I made a few tweaks to the post. Please check the output and let me know your feedback.
Hi @Arun.rs
I'm happy you're working on it, no problem with the delay!
I've posted it with the part, and we aren't quite there yet.
This should be drilling at B-90. and B90. It is posting out with B0., and B90.
eg.
Can't find what you're looking for? Ask the community or share your knowledge.