Hardware Problem - Latency Test and Screen Freeze - Linuc CNC 10.04

More
11 Apr 2021 09:02 #205619 by andypugh

Are there any options in LINUX CNC to changes the reaction time or to deactivate
the switches for dedicated situations where vibrations occur for example ?


Yes, take a look at linuxcnc.org/docs/2.8/html/man/man9/debounce.9.html

Are you using the parallel port or some other hardware interface?

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

More
12 Apr 2021 04:56 #205699 by JohannesL
Hello Andypugh,

thanks for your help. I am using an parallel port.
Yesterday I set up a machine configuration without limit switches.
But I wish would be to implement the "Debounce Filter "
How does it congrete work in Linux CNC ?

Normaly I define an time which will be count after high or low leven of an pin and afterwards the µC acepts the level and use it for the code so the limit switches
must be read out and after a short time period the level of the limit switches will be used as Hard Stop but not if the level is for very short time 1ms or less high....

Have a nice day and again thank you for your help.

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

More
12 Apr 2021 18:23 #205725 by andypugh
The way debounce works is that the component needs to see the same value at the input for as many thread cycles as the time parameter before changing state.
You can debounce in either the base thread or the servo thread, when there is a base thread.

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

Time to create page: 0.146 seconds
Powered by Kunena Forum