how to add a delay to machine on/off button

More
10 years 4 days ago #82166 by b2unit
you are so genius!!
I was so stupid..

THANK YOU!

Please Log in or Create an account to join the conversation.

More
10 years 4 days ago #82183 by Todd Zuercher
No, you're not. You were just looking at it from the wrong angle.

Please Log in or Create an account to join the conversation.

More
5 years 9 months ago #195438 by Thods1222
Hello all, I know this is an old thread but I am looking to do something similar with my cincinnati retrofit. I am running 7i92h with 7i71 for my output card and 7i77 for my servo interface card. I used the code above and modified it for my cards and pins but it was not liking the stepgen line. Also I am running linuxcnc 2.8.

Please Log in or Create an account to join the conversation.

More
5 years 9 months ago #195440 by andypugh
Can you describe exactly what you want to do (and, possibly more importantly, why)
Then we can either modify this answer to suit you, or tell you a better way to do it.

Please Log in or Create an account to join the conversation.

More
5 years 9 months ago #195445 by Thods1222
Yep. So I want to delay the brake on the z axis until the drive is enabled and the motor is fully energized so it doesn't drop a small amount upon enabling/disabling the machine. As of now when I enable there is a slight clunk and I want to make sure I don't wear out the brake prematurely.

Please Log in or Create an account to join the conversation.

More
5 years 9 months ago #195447 by andypugh
Is the brake released by the same signal that enables the drive?

Does the drive have a "ready" output? That would probably work better than a fixed time delay.

Please Log in or Create an account to join the conversation.

Time to create page: 0.388 seconds
Powered by Kunena Forum