Community
A360 Forum
Welcome to Autodesk’s A360 Forums. Share your knowledge, ask questions, and explore popular A360 topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Adding conditional dwell based on spindle speed, to allow spindle to spin down before tool change

1 REPLY 1
Reply
Message 1 of 2
claylong
212 Views, 1 Reply

Adding conditional dwell based on spindle speed, to allow spindle to spin down before tool change

I'm running a Sharp 2412 with a Fanuc control. Using a modified Fanuc post. I want to add a conditional dwell of 6 seconds at the end on any tool with 6000 or more rpm spindle speed. (over 6000 rpms the spindle is still spinning too much for a tool change and it alarms out, if I dwell 6 sec after the spindle stop command the tool change works without a problem. I have figured out how to add a dwell to all the tool changes but can't seem to get to the current spindle speed at the end of a tool path. Below the M08 in the post on a given tool, it thinks the spindle speed is the next tool's speed. If I put an IF statement in to write the dwell line if the spindle speed is over 6000, it looks at the next tool's speed rather than the current tool's speed (the tool that just stopped). If I add a writeBlock (spindle speed) it writes the next tool's speed, If I add writeBlock (sOutput.format(spindle speed), it writes the current tool's speed which is the one I want to use.

Can someone explain how I can get the If statement to query the current spindle speed of the tool that just ended and not the next toll up? Been messing with this a couple of weeks and think it's time for some expert help.

 

Thanks,

Clay

1 REPLY 1
Message 2 of 2
claylong
in reply to: claylong

I think I posted this in the wrong forum, sorry about that. First time posting so don't even know how to take it down. Going to try to repost in the post processor section. 

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

Post to forums  

Technology Administrators