I am using a modified DMG_Mori post processor with Fusion 360 on a DMG Mori DMC 65 Monoblock. When I post my CAM certain processes will have an M05 command at the end to turn off spindle but the next process will be missing a S command to start the spindle back up again. The tool gets run into the part in an attempt to cut without the spindle running. Could this be something with Fusion 360 or is it something wrong with my post processor?
Solved! Go to Solution.
Solved by KrupalVala. Go to Solution.
HI @nmccarvill ,
Could you please share the modified post?
Thanks,
I attached it here. I am not sure what was modified as it was done by someone who used my machine earlier. Thanks.
Hi @nmccarvill ,
Open you post in VS code or any editor.
To force the coolant code, Please search following codes in function onSection() { and set forceSpindleSpeed as true.
if ((insertToolCall ||
forceSpindleSpeed ||
isFirstSection() ||
(rpmFormat.areDifferent(spindleSpeed, sOutput.getCurrent())) ||
(tool.clockwise != getPreviousSection().getTool().clockwise)) &&
!isProbeOperation() && !isInspectionOperation(currentSection)) {
forceSpindleSpeed = true; // set it to true
I also have noticed that You are forcing the coolant OFF code at the end of each operation and not turning ON in the next operation. To Turn ON the coolant at the beginning of the each operation, Please change the following codes,
case COMMAND_COOLANT_OFF:
setCoolant(COOLANT_OFF);
return;
writeBlock("M09"); // Coolant Off
writeBlock("M05"); // Stop Spindle
to these
onCommand(COMMAND_COOLANT_OFF);
onCommand(COMMAND_STOP_SPINDLE);
Save the post modification and test the code.
Thanks,
Can't find what you're looking for? Ask the community or share your knowledge.