Home
Downloads
Mach3
Plugins
CAM Post Processors
Screensets
Purchase
Support
Forum
Tutorial Videos
Documentation
Yahoo Group
Mach Wiki
Resources
Contact Us
Links
CNCZone
German Forum
Italian Forum
Korean Forum
Portugese (Brazil) Forum
Russian Forum (RSK CNCROUTER)
Thai Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 27, 2012, 09:00:22 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Select from and to languages
Chinese-simp to English
Chinese-trad to English
English to Chinese-simp
English to Chinese-trad
English to Dutch
English to French
English to German
English to Greek
English to Italian
English to Japanese
English to Korean
English to Portuguese
English to Russian
English to Spanish
Dutch to English
Dutch to French
French to English
French to German
French to Greek
French to Italian
French to Portuguese
French to Dutch
French to Spanish
German to English
German to French
Greek to English
Greek to French
Italian to English
Italian to French
Japanese to English
Korean to English
Portuguese to English
Portuguese to French
Russian to English
Spanish to English
Spanish to French
Machsupport Forum
Mach Discussion
General Mach Discussion
Wiring limit, home, an E-stop switches
Pages:
1
Go Down
« previous
next »
Author
Topic: Wiring limit, home, an E-stop switches (Read 441 times)
0 Members and 1 Guest are viewing this topic.
gumball
Active Member
Offline
Posts: 14
Wiring limit, home, an E-stop switches
«
on:
April 28, 2011, 02:48:24 PM »
I have my machine running with a plain Jane breakout board, problem is I keep getting transient signals.
If tightened up every thing I can and still get a quick flash on the diagnostics screen, so I don't think loose connections are the problem.
Of course the darn thing just stops and when I hit reset it happens again.
I used unshielded 2 conductor and separated it as far as I could from the motor wiring, still get stops...
Will a optical isolation board (expensive)stop the transients or should I rewire with shielded wire(cheaper).
If I have to rewire I can make sure the wires don't go near a motor wire. And maybe use roller switches instead of the cheesy switches I am using now...
Logged
ostie01
Active Member
Offline
Posts: 563
Re: Wiring limit, home, an E-stop switches
«
Reply #1 on:
April 28, 2011, 02:59:25 PM »
Hi, I think you will need sheilded cable for low voltage signal.
Try to hook up a small capacitor (.o1uF) between faulty pin and ground.
Also, try to increase debounce setting in the General Config page.
Enter 2000 as a value and see if it makes any difference.
Jeff
Logged
gumball
Active Member
Offline
Posts: 14
Re: Wiring limit, home, an E-stop switches
«
Reply #2 on:
May 09, 2011, 09:29:55 AM »
I changed the debounce value to 2000, I ran a test program and it worked without a problem, thanks...
I will also rewire the switches with shielded wire and I''m going to move the break out board a couple feet away from the driver and computer. I think having the breakout board sitting next to the driver box is also part of the problem. Thank again.
Logged
HimyKabibble
V4 Screen Contributor
Offline
Posts: 1,347
Re: Wiring limit, home, an E-stop switches
«
Reply #3 on:
May 09, 2011, 09:53:43 AM »
Input signals, like home/limit switches, probe inputs, etc. should work very reliably without having to put huge de-bounce values in IF you properly shield the wires (use shielded cable, with the shield connected to ground at the BOB end ONLY!), AND put a stiff pull-up resistor at the BOB end (220 ohms or so to +5V). Being near the motor drivers should make no difference if things are properly shielded and grounded. Mine are all inches from a 3HP VFD, and four servo drivers, and I run my encoder cables alongside the motor cable for their full 12-foot length. Never a problem. It's all in the grounding and shielding.
Regards,
Ray L.
Logged
Regards,
Ray L.
Fastest1
Active Member
Offline
Posts: 443
Houston, TX
Re: Wiring limit, home, an E-stop switches
«
Reply #4 on:
May 10, 2011, 07:10:20 AM »
Ray, doesnt your resistor do the same as a debounce setting? I was under the impression that once all the wiring was cleaned up and properly drained possibly no resistor or debounce would be needed. I am not sure why I thought/think the resistor has a time value also.
Logged
I want to die in my sleep like my grandfather, not like the passengers in the car! :-)
Jeff_Birt
Active Member
Offline
Posts: 809
Re: Wiring limit, home, an E-stop switches
«
Reply #5 on:
May 10, 2011, 08:03:40 AM »
Quote
I was under the impression that once all the wiring was cleaned up and properly drained possibly no resistor or debounce would be needed.
Nothing could be further from the truth. No matter how well you plan your wiring, shield it, etc, etc there will always be some noise present. That is why there are so many different ways to deal with it. Some things, like mechanical switches will always need some debounce because the contacts 'bounce' as they open and close.
I always like to describe the situation as building lines of defense. Your wiring layout, and choice of shielding is the first line of defense. You then move on to any filtering or isolation that your I/O boards provide, and finally your left with any software settings there might be. All of these items are important, none of them are mutually exclusive.
Logged
Happy machining , Jeff Birt
Check out
www.soigeneris.com
HimyKabibble
V4 Screen Contributor
Offline
Posts: 1,347
Re: Wiring limit, home, an E-stop switches
«
Reply #6 on:
May 10, 2011, 09:07:05 AM »
Quote from: Fastest1 on May 10, 2011, 07:10:20 AM
Ray, doesnt your resistor do the same as a debounce setting? I was under the impression that once all the wiring was cleaned up and properly drained possibly no resistor or debounce would be needed. I am not sure why I thought/think the resistor has a time value also.
No, the resistor and de-bounce serve completely different purposes. The resistor lowers the impedance of the circuit, requiring much stronger interference to be able to influence the signal level. The stiffer the pull-up, the higher the current required to pull the line down, and the faster it will pull itself back up. That higher current also helps keep the contacts in the switch clean. De-bounce is a crude means of removing noise, and slows down the signal, adding time-delay from when the switch changes state to when the software "see"s the change. A de-bounce of 2000 adds a LOT of delay. Adding a capacitor on the input has more or less the same effect as de-bounce. With noise, it's always better to prevent it from getting into the system in the first place, rather than try to remove it after it's already there. I've never had to use de-bounce at all.
Regards,
Ray L.
Logged
Regards,
Ray L.
Pages:
1
Go Up
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Mach Discussion
-----------------------------
=> General Mach Discussion
=> Mach3 under Vista
=> Quantum
=> Mach SDK plugin questions and answers.
===> Finished Plugins for Download
=> VB and the development of wizards
=> Brains Development
=> Video P*r*o*b*i*n*g
=> Mach Screens
===> Screen designer tips and tutorials
===> Works in progress
===> Finished Screens
===> Flash Screens
===> JetCam screen designer
===> Machscreen Screen Designer
===> CVI MachStdMill (MSM)
=> Feature Requests
=> Non English Forums
===> Italian
===> French
===> Spanish
===> Chinese
===> German
===> Russian
===> Romanian
===> Japanese
===> Vietnamese
=> FAQs
-----------------------------
*****VIDEOS*****
-----------------------------
=> *****VIDEOS*****
-----------------------------
General CNC Chat
-----------------------------
=> Share Your GCode
=> Show"N"Tell ( What you have made with your CNC machine.)
=> Building or Buying a Wood routing table.. Beginnners guide..
=> Show"N"Tell ( Your Machines)
-----------------------------
G-Code, CAD, and CAM
-----------------------------
=> G-Code, CAD, and CAM discussions
=> LazyCam (Beta)
-----------------------------
Third party software and hardware support forums.
-----------------------------
=> LazyTurn
=> GearoticMotion Preliminary testing
=> Tempest Trajectory Planner
=> Contec
=> dspMC/IP Motion Controller
=> HiCON Motion Controller
=> Third party software and hardware support forums.
=> Galil
=> Newfangled Solutions Wizards
=> Mach3 and G-Rex
=> Mesa
=> Modbus
=> NC Pod
=> PoKeys
=> SmoothStepper USB
=> Sieg Machines
=> Promote and discuss your product
-----------------------------
Tangent Corner
-----------------------------
=> Tangent Corner
=> Competitions
=> Polls
=> Bargain Basement
-----------------------------
Support
-----------------------------
=> Downloads
===> XML files
===> Post Processors
===> Macros
===> Tutorials
===> Others
===> Beta Brains
===> Screen Sets
===> Documents
===> MACH TOOL BOX
=> One on one phone support.
=> Forum suggestions and report forum problems.
-----------------------------
Mach4
-----------------------------
=> Mach4 pre-Alpha Testing
Loading...