coolant mist pulses

More
14 Nov 2024 20:26 #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. 

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
14 Nov 2024 20:48 #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.
The following user(s) said Thank You: Ismacr63

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

More
14 Nov 2024 20:59 #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 or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
14 Nov 2024 21:03 #314486 by tommylight

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

More
14 Nov 2024 21:16 #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
The following user(s) said Thank You: tommylight, Ismacr63

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

More
14 Nov 2024 22:09 #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

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

More
14 Nov 2024 22:41 - 14 Nov 2024 22:58 #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

 
Last edit: 14 Nov 2024 22:58 by PCW.
The following user(s) said Thank You: Ismacr63

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

More
15 Nov 2024 17:27 #314541 by Ismacr63
Replied by Ismacr63 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


 

Tried to test it but received an error. If I remove the lines that I have added in hal linuxcnc starts normally
Attachments:

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

More
15 Nov 2024 17:46 #314545 by Aciera
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')
The following user(s) said Thank You: Ismacr63

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

More
15 Nov 2024 18:11 #314546 by Ismacr63
Replied by Ismacr63 on topic coolant mist pulses
I've tried several mods but unfortunately I keep getting an error.
Attachments:

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

Moderators: KCJLcvette
Time to create page: 0.090 seconds
Powered by Kunena Forum