NEWS
LinuxCNC 2.5.2 Release
There are no translations available.

LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release
There are no translations available.

LinuxCNC 2.5.1 Update Released (changelog). If the Package Manager does not prompt you to upgrade see this page.

 
LinuxCNC 2.5.0 Release
There are no translations available.

New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 
Home Forum Machining Turning Help in problem "unexpected switch limit"

Welcome, Guest
Username: Password: Remember me

TOPIC: Help in problem "unexpected switch limit"

Re:Help in problem 09 Déc 2010 04:41 #5937

  • aike
  • aike's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 147
  • Karma: 3
I restricted the errors appear till 1-2 per one shift.
I grounded PC, impulse PC power supply, set capacitors in parralel each switcher.
I think that the main problem in 5V noise.
Probably the best way to power MESA doughter card 7I37 via separate power supply and not
via 50pin cable.
The administrator has disabled public write access.

Re:Help in problem 09 Déc 2010 08:05 #5941

  • PCW
  • PCW's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 1652
  • Thank you received: 87
  • Karma: 116
The 7I37 draws very little power and is well bypassed, its very unlikely that 5V power supply noise is a cause of your symptoms. The 7I37 does however have fairly fast (20 usec or so) and sensitive (~2V) inputs. This is why I suggested using the debounce component. Most likely your noise is impulse noise from PWM motor signals coupled into the opto inputs of the 7I37. cable routing and shielding can help but for low speed signals, the debounce component is a sure fix
The administrator has disabled public write access.

Re:Help in problem 09 Déc 2010 08:48 #5942

  • aike
  • aike's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 147
  • Karma: 3
Hi!
I have never used debonce components. Can you help me or send reference how to use it?
The administrator has disabled public write access.

Re:Help in problem 09 Déc 2010 09:27 #5945

  • PCW
  • PCW's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 1652
  • Thank you received: 87
  • Karma: 116
Heres a link that may help (with appropriate changes for your hardware):

"www.mail-archive.com/emc-users@lists.sou...ge.net/msg17909.html"
Last Edit: 09 Déc 2010 09:49 by PCW. Reason: trying to get forum not to munge link
The administrator has disabled public write access.

Re Debounce component 13 Déc 2010 04:44 #6003

  • ArcEye
  • ArcEye's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 1335
  • Thank you received: 102
  • Karma: 129
Hi

If it helps, the below are extracts from my lathe .hal file which had problems with a home switch that required debounce.
Works perfectly now, 100 may seem big, but I have a fast base thread and trial and error resulted in that figure.

regards

ArcEye

***********************************************************************************************

loadrt debounce cfg=2

addf debounce.0 base-thread

#If necessary, you can
#to change the amount of debounce; the default is apparently 5, which
#means the switch input to emc has to be stable for 5 servo periods
#before the debounce output changes.

setp debounce.0.delay 100

##############################################
# Needed debounce on X home switch. Has quite
# a long travel and did not give a clean on/off
###############################################

net xhome-raw <= parport.0.pin-13-in-not => debounce.0.0.in
net xhome-filtered debounce.0.0.out => axis.0.home-sw-in
The administrator has disabled public write access.

Re:Re Debounce component 13 Déc 2010 19:06 #6017

  • aike
  • aike's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 147
  • Karma: 3
Thank you for answer.
I'll try debounce, if grounded all elements (computer, power supply etc) not solved the problem.
The administrator has disabled public write access.
Moderators: piasdom
Time to create page: 1.113 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.