Community
Fusion Manufacture
Talk shop with the Fusion (formerly Fusion 360) Manufacture Community. Share tool strategies, tips, get advice and solve problems together with the best minds in the industry.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Spindle Not Starting Up After Certain Processes

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
nmccarvill
323 Views, 3 Replies

Spindle Not Starting Up After Certain Processes

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? DMG.PNG

Labels (3)
3 REPLIES 3
Message 2 of 4
KrupalVala
in reply to: nmccarvill

HI @nmccarvill ,

 

Could you please share the modified post?   

Thanks,



Krupal Vala
Senior Technology Consultant - Post Processor & Machine Simulation
Message 3 of 4
nmccarvill
in reply to: KrupalVala

I attached it here. I am not sure what was modified as it was done by someone who used my machine earlier. Thanks. 

Message 4 of 4
KrupalVala
in reply to: nmccarvill

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,

 

Search for function onCommand(command) { add following code,
 case COMMAND_COOLANT_OFF:
    setCoolant(COOLANT_OFF);
    return;​

Now search for following codes and change it from these
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,



Krupal Vala
Senior Technology Consultant - Post Processor & Machine Simulation

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report