how to add a delay to machine on/off button

More
15 Jan 2021 15:42 #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
15 Jan 2021 15:51 #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.

More
15 Jan 2021 16:53 #195461 by Thods1222
It is hooked up now to the machine enable signal. I will have to see of there is a drive ready signal to tie into. This is an Acramatic 2100 retrofit and I was able to get the 7i71 and 7i70 cards to interface with the IDC50 connectors from the machine. I seem to remember a "machine ready" that is triggered on an input. If that will work, how do I hook the input pin to the output pin in hal? (Sorry for the noob question)

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

More
15 Jan 2021 17:42 #195469 by andypugh

If that will work, how do I hook the input pin to the output pin in hal?


If they are both present in hal, then just connect them to the same net.
either
net netname pin1 pin2
or
net netname pin2
...
net netname pin1
(ie, in any order and anywhere in any HAL file)
The following user(s) said Thank You: Thods1222

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

More
15 Jan 2021 19:05 #195477 by Thods1222
I will give that a shot to see how it helps.

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

Time to create page: 0.070 seconds
Powered by Kunena Forum