Timed delay

More
21 Dec 2024 20:12 #317105 by Sternfox
Timed delay was created by Sternfox
Hi good folks :) 

I'm fairly new to linuxcnc, so please go easy on me lol.

I will try to explain what I need. It's not straight forward but im sure one of you geniuses will be able to help me out.

I have a haas mini mill, running linux cnc (probebasic), im 99% finished just the atc pneumatics to do. Now the haas mills have two solenoids to operate the drawbar.

 one opens and closes for 0.5 seconds first to pre charge the cylinder with 20psi. Like a soft push.

the second dose all the hard work and takes over immediately after the first and stays open untill the button is released.

how would this be accomplished?  I have found timedelay, but not sure how to implement it. 

I would also like to be able to control this action with a physical input button. 

I'm on latest linuxcnc using a mesa 7i95T.

Many thanks in advance.

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

More
21 Dec 2024 20:36 #317106 by PCW
Replied by PCW on topic Timed delay
I would do this with two components: a oneshot component and an and2 gate:

The oneshot would be set for 0.5 seconds and triggered by the drawbar signal.
The active high output of the oneshot would drive the low pressure solenoid
(so its driven for 0.5 seconds on the rising edge of the drawbar signal)

The high pressure solenoid would be driven by the output of the and2 gate
The and2 gate inputs would be the drawbar signal and the active-low output of the
oneshot. The active low oneshot output would disable the and2 output driving
the high pressure solenoid for the first 0.5 seconds when the low pressure solenoid
is activated.

 

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

Time to create page: 0.051 seconds
Powered by Kunena Forum