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: 

Dwell after spindle start on generic heidenhain post.

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
ollienor
358 Views, 2 Replies

Dwell after spindle start on generic heidenhain post.

Nice simple one for somebody who's better at JavaScript than me.

 

I'm using the generic heidenhain.cps post processor for fusion360.  I need it to generate a 3 second dwell after the spindle starts up.  It's an older machine and the spindle takes a bit of time to speed up and it doesn't wait to reach speed before it moves.  Putting a 3 second dwell after every single M3 or M4 would totally fix all my problems.

 

I can see there's a function for dwell on line 1751 and a command to start the spindle on line 3164.  I just don't know how to connect the two.

 

I suspect this will involve a couple lines of code and about 30 seconds of somebody who is competent's time.

Labels (4)
2 REPLIES 2
Message 2 of 3
Arun.rs
in reply to: ollienor

Hi @ollienor 

 

You can add 'onDwell(3);' function just after line number 1451,

 

Dwell.png

 

Save the file and check the result.

 

Regards



Arun.RS
Technical Consultant - Post Processor
Message 3 of 3
ollienor
in reply to: ollienor

Thank you @Arun.rs, for me that was after line 1480 but I was able to locate the equivalent part of the script.

 

That is exactly what I wanted. Thanks! 

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

Post to forums  

Autodesk Design & Make Report