Im not 100% sure but 88%...
Invert the direction of the vector that defines your axis in the mashinetree to -1 in Z insted of 1.
this will be used in the calculations and probably tell the mashine all you need to give the correct kommands.
Hi. I've been trying to get my adaptive mori-seiki postprcessor to post inverted g41/g42 for the subspindle because there dont seem to be anywhere to choose different code for main and sub. I've tried some customization procedures but cant find any macros or variables that make it change. Has anybody got any ideas?
Im not 100% sure but 88%...
Invert the direction of the vector that defines your axis in the mashinetree to -1 in Z insted of 1.
this will be used in the calculations and probably tell the mashine all you need to give the correct kommands.
Thanks for the answer, but i can't get it working, actually i can't see any changes in posted code at all relating to kinematics tree changes thou i've tried changing all vectors related to z axles. It didn't even help marking "reverse Z sub spindle driven tools". So i guess it's going to have to be some macro cutomizations to get it working...
I'm not an Edgecam user, but a question: do you have to use the same post for both spindles?
First you get good, then you get fast. Then grouchiness sets in.
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Yes, I don't think it's possible to assign different postprocessors for main and sub-spindle, at least not in any simple way. Especially as i am using parts transfer and adaptive stock, otherwise i guess i could program them as different machines with different postprocessors.
Best solution is to always use edgecam pathcompensation and not the controller
Edgecam pathcompensation is much better especially in difficult situations.
Good luck
I usually use edgecams compensations but then i need to repost every time i want to adjust the size of a hole, which is not very desirable with a 60k line program. Hence the need for cutter radius compensation. And if you meant turning those codes work, its milling that's giving me troubles.
one of the more overlooked issues is "plane selection" G17 G18 G19
G17 for face milling
G18 for turning
G19 for OD milling.
without the right plane selected comp wont work and peck cycles dont peck
Good luck
Good! Keep 'em coming. But i've got those correct too, it's only when using the radius compensation codes i get it wrong. For example: when milling inside of circle without compensation i get correct g2/g3 and path is inside circle, but when adding compensation to this cycle in edgecam in main spindle i get milling inside of circle, but the same cycle at sub spindle will give me in opposite of the inside path edgecam is displaying a path outside of circle. Inverting g41/g42 in the posted code for the sub spindle will then move the toolpath correctly to inside of the circle.