Hello, I need a little help, I want to make a hole with the drill on the lathe in tha middle (x=0), of the part and the processor changes my rotation from the chuck to the drill as if I had a mill
here I think it is wrong, do not check the second condition, the lathe is a DMG MORI T1
thank you for your time
switch (currentSection.spindle) {
case SPINDLE_PRIMARY: // main spindle
if (machineState.isTurningOperation || machineState.axialCenterDrilling) { // turning main spindle
gSpindleModeModal.reset();
writeBlock(
spindleMode,
"S" + getSpindleCode(currentSection) + "=" + sOutput.format(_spindleSpeed),
(tool.clockwise ? getCode("START_MAIN_SPINDLE_CW") : getCode("START_MAIN_SPINDLE_CCW"))
);
} else { // milling main spindle
writeBlock(
spindleMode,
"S" + getSpindleCode(currentSection) + "=" + sOutput.format(_spindleSpeed),
tool.clockwise ? getCode("START_LIVE_TOOL_CW") : getCode("START_LIVE_TOOL_CCW")
);
Solved! Go to Solution.
Solved by seth.madore. Go to Solution.
In your tool library, do you have the tool defined as a "live tool"?
Is the hole perfectly on center? If it's the slightest bit off, it will force out a live tool command.
Can't find what you're looking for? Ask the community or share your knowledge.