Counterclockwise Spindle Rotation?

Counterclockwise Spindle Rotation?

lucasD7TLR
Participant Participant
1,334 Views
3 Replies
Message 1 of 4

Counterclockwise Spindle Rotation?

lucasD7TLR
Participant
Participant

Hey Fusion 360 folks,


I have a counter clockwise fly cutter that I frequently use, but I'm not able to find any settings that automatically posts with the M4 code. Even if I've unchecked the box that states "Clockwise Spindle Rotation", the tool will still post with an M3. Having to manually edit code to change the M3 to an M4 isn't difficult, but I'm always worried that I'll forget one day and crash the tool. Is there any way to have this tool automatically post with counter clockwise rotation?

 

Thanks!

Lucas

0 Likes
1,335 Views
3 Replies
Replies (3)
Message 2 of 4

randyT9V9C
Collaborator
Collaborator

Normally removing the Clockwise Spindle Rotation checkmark in the tool library should do it. As a test, I just changed one of my tools, re-generated the operation, and it posted correctly using M04. I'm using a Fanuc post processor.

 

What post processor are you using?

 

Make sure your post processor supports counter clockwise rotation. Generally it's mapped like below.

var mapCommand = {
  COMMAND_STOP:0,
  COMMAND_OPTIONAL_STOP:1,
  COMMAND_END:2,
  COMMAND_SPINDLE_CLOCKWISE:3,
  COMMAND_SPINDLE_COUNTERCLOCKWISE:4,
  COMMAND_STOP_SPINDLE:5
};
0 Likes
Message 3 of 4

lucasD7TLR
Participant
Participant

Hey Randy,

 

Thanks so much for your response. I'm using the Haas (pre-NGC)  / Haas for my Haas VF2SS. I've made sure that the clockwise spindle rotation box is unchecked and I'm still unable to get it to produce an M4 command. 

 

Mine shows the following:

 

var mapCommand = {
COMMAND_STOP:0,
COMMAND_OPTIONAL_STOP:1,
COMMAND_END:2,
COMMAND_SPINDLE_CLOCKWISE:3,
COMMAND_SPINDLE_COUNTERCLOCKWISE:4,
COMMAND_STOP_SPINDLE:5,
COMMAND_ORIENTATE_SPINDLE:19,
COMMAND_LOAD_TOOL:6
};

 

 

0 Likes
Message 4 of 4

randyT9V9C
Collaborator
Collaborator

I just tested with the generic Haas (Pre-NGC) post processor. Posted correctly based upon the tool check box.

 

I've attached my test model. Post it and see if it works. I also uploaded the g-code for comparison. 

 

Export your model and upload it here and I'll take a look.

 

 

0 Likes