Wondering if anyone can help me out with this problem.
We have a Hermle c42 u 5 axis mill turn using siemens 840D, I have a post that can generate this milling side of things, however when I try to combine turning and milling within the same program it throws up the error:
Hi @trevor7RDJL
this is not an easy thingd to do.
But it is not impossible.
We already have some Simens post for turn mill machine. (A lathe that know how to mill)
But the logic is the same for a mill turn machine ( A milling machine that know how to turn the part)
Step one will be to alter the post capabilities from:
capabilities = CAPABILITY_MILLING | CAPABILITY_MACHINE_SIMULATION;
to
capabilities = CAPABILITY_MILLING | CAPABILITY_MACHINE_SIMULATION | CAPABILITY_TURNING;
Then inside the onSection, and potentially in the defineWorkplane / setWorkplane functions, some changes may be required.
Because if the currentSection.getType() == TYPE_MILLING, or TYPE_TURNING you will have to activate different controller functions, inside the onSection function.
For example, on the Hermle, using a Siemens controller without the OPERATE system, the commands ttcon, ttron, turnof had to be used.
They select or cancel the turning mode, or turning mode with inclined axis.
The OPERATE version uses Cycle800 and ttron.
The post will have to be modified, to deal with feed rate in unit per revolution, and not only unit per minute.
You can take a look at the controller turn mill post for help on that subject.
If you don’t intent to use the roughing canned cycles, and to drill in turning mode, you don’t have tons of work to do.
It will be mainly tricks to avoid passing in some functions.
For example in turning mode, we don’t want to output a Cycle800 for switching a tilted workplane.
Regards.
______________________________________________________________
If my post answers your question, please click the "Accept Solution" button. This helps everyone find answers more quickly!
Can't find what you're looking for? Ask the community or share your knowledge.