- Posts: 184
- Thank you received: 61
lube - time component
2 years 1 month ago - 2 years 1 month ago #309957
by Benb
Replied by Benb on topic lube - time component
Following is a LinuxCNC hal configuration as per your description.
Netlisting of the above schematic:
# Load realtime Components and their counts
loadrt and2 count= 2
loadrt message count= 1 messages="No oil pressure"
loadrt not count= 1
loadrt timedelay count= 1
# Add functions to threads
addf and2.0 servo-thread
addf and2.1 servo-thread
addf message.0 servo-thread
addf not.0 servo-thread
addf timedelay.0 servo-thread
# Set parameters
setp timedelay.0.on-delay 10.0
# Connect pins to signals
net hm2_7i97.0.7i84.0.0.input-01 timedelay.0.in
net hm2_7i97.0.ssr.out-05 and2.1.out
net mot-spndl-on and2.1.in0 and2.0.out
net motion.enabled and2.0.in0
net no-fault not.0.out and2.1.in1
net spindle.enabled and2.0.in1
net trig.msg timedelay.0.out not.0.in message.0.trigger
Netlisting of the above schematic:
# Load realtime Components and their counts
loadrt and2 count= 2
loadrt message count= 1 messages="No oil pressure"
loadrt not count= 1
loadrt timedelay count= 1
# Add functions to threads
addf and2.0 servo-thread
addf and2.1 servo-thread
addf message.0 servo-thread
addf not.0 servo-thread
addf timedelay.0 servo-thread
# Set parameters
setp timedelay.0.on-delay 10.0
# Connect pins to signals
net hm2_7i97.0.7i84.0.0.input-01 timedelay.0.in
net hm2_7i97.0.ssr.out-05 and2.1.out
net mot-spndl-on and2.1.in0 and2.0.out
net motion.enabled and2.0.in0
net no-fault not.0.out and2.1.in1
net spindle.enabled and2.0.in1
net trig.msg timedelay.0.out not.0.in message.0.trigger
Last edit: 2 years 1 month ago by Benb.
The following user(s) said Thank You: besriworld, the_erk
Please Log in or Create an account to join the conversation.
1 year 11 months ago #314857
by Mecanix
Replied by Mecanix on topic lube - time component
Here's the one I use. It's a Travel Distance & Lube component. Rather than time based.
That way you can leave the machine idle for a day and the oil jar won't empty itself in your coolant reservoir.
e.g. at every 3000mm travel in the Z, lube for 2 seconds.
Must have (imho)
That way you can leave the machine idle for a day and the oil jar won't empty itself in your coolant reservoir.
e.g. at every 3000mm travel in the Z, lube for 2 seconds.
Must have (imho)
The following user(s) said Thank You: Ritterchen
Please Log in or Create an account to join the conversation.
Time to create page: 0.052 seconds