- Posts: 174
- Thank you received: 0
coolant mist pulses
1 year 11 months ago #314481
by Ismacr63
coolant mist pulses was created by Ismacr63
I just started the mist coolant system today and it works great.
I've been looking around the forum for the possibility of having the coolant turn on and off every X seconds.
The information I've found is pretty confusing for me.... I'd really appreciate your help once again.
I hope I'm not too annoying asking about every thing I come across.
I've been looking around the forum for the possibility of having the coolant turn on and off every X seconds.
The information I've found is pretty confusing for me.... I'd really appreciate your help once again.
I hope I'm not too annoying asking about every thing I come across.
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
1 year 11 months ago #314482
by tommylight
Replied by tommylight on topic coolant mist pulses
Using SigGen would probably work fine, but i have yet to use it, but do have a look here:
linuxcnc.org/docs/2.9/html/man/man9/siggen.9.html
it will do the same time on and off, so might not be exactly what you want, ex. at 0.5Hz it will do 1sec on and 1sec off.
There are other ways also, so we need to know if you do need separate times for on and off.
linuxcnc.org/docs/2.9/html/man/man9/siggen.9.html
it will do the same time on and off, so might not be exactly what you want, ex. at 0.5Hz it will do 1sec on and 1sec off.
There are other ways also, so we need to know if you do need separate times for on and off.
Please Log in to join the conversation.
1 year 11 months ago #314485
by Ismacr63
Replied by Ismacr63 on topic coolant mist pulses
I would like to try something like 2 seconds on and 10 seconds off
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
1 year 11 months ago #314486
by tommylight
Replied by tommylight on topic coolant mist pulses
Please Log in to join the conversation.
1 year 11 months ago #314488
by PCW
Replied by PCW on topic coolant mist pulses
Another possibility is to use the siggen to set the rate (0.1 Hz for example)
and drive the oneshot component with the siggen clock pin, then set the on time
with the onseshot width pin.
The oneshot component has a reset input that could be used for enabling
the output with the coolant-on signal
and drive the oneshot component with the siggen clock pin, then set the on time
with the onseshot width pin.
The oneshot component has a reset input that could be used for enabling
the output with the coolant-on signal
Please Log in to join the conversation.
1 year 11 months ago #314494
by Ismacr63
Replied by Ismacr63 on topic coolant mist pulses
I have read the thread and seen the post
forum.linuxcnc.org/49-basic-configuratio...sher?start=10#230922
Can it be adapted to the parallel port?
I thank you very much for the help but I'm such a newbie that everything sounds like Chinese to me T_T
Can it be adapted to the parallel port?
I thank you very much for the help but I'm such a newbie that everything sounds like Chinese to me T_T
Please Log in to join the conversation.
1 year 11 months ago #314497
by PCW
Replied by PCW on topic coolant mist pulses
Yes, all this will work on a parallel port.
something like this:
loadrt siggen
addf siggen.0.update servo-thread
setp siggen.0.frequency .1 # 10 second period)
loadrt oneshot
addf oneshot.0 servo-thread
setp oneshot.0.width 2 # 2 second on time
loadrt not
addf not.0 servo-thread
net cool-trigger siggen.0.clock oneshot.0.in
net coolant-out oneshot.0.out [some_parallel_port_pin]
net coolant-on not.0.in
net gate-coolant not.0.out oneshot.0.reset siggen.0.reset # when coolant is off, reset both siggen and oneshot
something like this:
loadrt siggen
addf siggen.0.update servo-thread
setp siggen.0.frequency .1 # 10 second period)
loadrt oneshot
addf oneshot.0 servo-thread
setp oneshot.0.width 2 # 2 second on time
loadrt not
addf not.0 servo-thread
net cool-trigger siggen.0.clock oneshot.0.in
net coolant-out oneshot.0.out [some_parallel_port_pin]
net coolant-on not.0.in
net gate-coolant not.0.out oneshot.0.reset siggen.0.reset # when coolant is off, reset both siggen and oneshot
Please Log in to join the conversation.
1 year 11 months ago #314541
by Ismacr63
Replied by Ismacr63 on topic coolant mist pulses
Tried to test it but received an error. If I remove the lines that I have added in hal linuxcnc starts normallyYes, all this will work on a parallel port.
something like this:
loadrt siggen
addf siggen.0.update servo-thread
setp siggen.0.frequency .1 # 10 second period)
loadrt oneshot
addf oneshot.0 servo-thread
setp oneshot.0.width 2 # 2 second on time
loadrt not
addf not.0 servo-thread
net cool-trigger siggen.0.clock oneshot.0.in
net coolant-out oneshot.0.out [some_parallel_port_pin]
net coolant-on not.0.in
net gate-coolant not.0.out oneshot.0.reset siggen.0.reset # when coolant is off, reset both siggen and oneshot
Please Log in to join the conversation.
1 year 11 months ago #314545
by Aciera
Make sure you don't have another 'addf not.0 servo-thread' in your 'probe_basic_postgui1.hal'. If you do you need to use another number (eg 'not.1')
Replied by Aciera on topic coolant mist pulses
[qtpyvcp.app.launcher][[36mINFO[0m] Loading POSTGUI_HALFILE: /home/ismael/linuxcnc/configs/Fresadora1/probe_basic_postgui1.hal (launcher.py:96)
not: already exists
Make sure you don't have another 'addf not.0 servo-thread' in your 'probe_basic_postgui1.hal'. If you do you need to use another number (eg 'not.1')
Please Log in to join the conversation.
Time to create page: 0.407 seconds
