The simple impulse generator

More
16 Oct 2012 12:20 #25370 by aike
Hi!
I need to create simple impulse generator, frequency 10Hz, impilse width about 20mS.
What is the best HAL componet for this?
The generator has to operate the hole time of working CNC. (From switch on till switch off).

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

More
16 Oct 2012 12:30 #25371 by BigJohnT
Have you looked at siggen?

linuxcnc.org/docs/html/man/man9/siggen.9.html

John

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

More
16 Oct 2012 12:32 #25372 by aike
Thank you, it is sutable case for me.

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

More
16 Oct 2012 15:05 #25377 by andypugh
aike wrote:

Thank you, it is sutable case for me.


pwmgen would work too. You could run it in the servo thread for that sort of rate.
Set pwm frequency to 10Hz and duty cycle to 0.02.

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

Time to create page: 0.145 seconds
Powered by Kunena Forum