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, 10:48:17 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
Help Needed on Debounce
Pages:
1
2
»
Go Down
« previous
next »
Author
Topic: Help Needed on Debounce (Read 576 times)
0 Members and 1 Guest are viewing this topic.
Bob Hepple
Active Member
Offline
Posts: 27
Help Needed on Debounce
«
on:
June 03, 2011, 02:24:48 PM »
I have a new system and put mach on - the problem is the stop keeps lighting up and stopping everything debounce was set at 3000 so I uped it to 4 still not good then uped it to 5000 and sstill trigers happen ruffly every 4-5 mins I thought 5000 was as high as I should go unless you all know different, and I thought this might have an underlying problem.
p.s pc has an atom processor built onto the board.
Help
Logged
BR549
Active Member
Offline
Posts: 2,557
Re: Help Needed on Debounce
«
Reply #1 on:
June 03, 2011, 03:49:38 PM »
Is there any error messages shown when it does it. Sounds like NOISE or ground loop problem.
(;-) TP
Logged
ger21
Global Moderator
Offline
Posts: 2,619
Re: Help Needed on Debounce
«
Reply #2 on:
June 03, 2011, 05:11:52 PM »
You can crank it up to 20,000 or higher if you want, but the higher it's set to, the longer the delay before Mach3 sees the switches close.
As Terry says, you probably have a noise problem, and fixing it is a better option than a very high debounce.
Logged
Gerry
2010 Screenset
http://home.comcast.net/~cncwoodworker/2010.html
Tweakie.CNC
Active Member
Offline
Posts: 3,263
Super Kitty.
Re: Help Needed on Debounce
«
Reply #3 on:
June 04, 2011, 05:15:25 AM »
Bob,
It would help if you connected a 0.1uF (small ceramic type would be OK) capacitor between each input terminal you are using for your switches and ground (GND or 0 Volts).
This should reduce the noise pickup and enable you to run with quite a low de-bounce setting.
Tweakie
Logged
Success consists of going from failure to failure without loss of enthusiasm. Winston Churchill.
Bob Hepple
Active Member
Offline
Posts: 27
Re: Help Needed on Debounce
«
Reply #4 on:
June 04, 2011, 07:19:07 AM »
Thanks Chaps I also think it is noise but going to check wiring to the emergecy off switch, I am going to run mach and see if the request still happens (without running mill and cutting obviously)
if the request still comes back then theres issues . because the way my mill is placed I have to have long wires to the control box could this also be causing the problem?? TWEEKIE I also was thinking about putting some type of filters on and I think it would be better on than off. I don't know nothing about electronics but in RC Racing I used to use 0.1 Microfad capacitors on dc motors to stop noise are these what you talking about..
Logged
Tweakie.CNC
Active Member
Offline
Posts: 3,263
Super Kitty.
Re: Help Needed on Debounce
«
Reply #5 on:
June 04, 2011, 07:26:23 AM »
That's the ones Bob.
Packs of them are available on EBay for small money.
Tweakie.
Logged
Success consists of going from failure to failure without loss of enthusiasm. Winston Churchill.
Bob Hepple
Active Member
Offline
Posts: 27
Re: Help Needed on Debounce
«
Reply #6 on:
June 04, 2011, 07:31:37 AM »
Tweeky thanks the reason I asked so specifically regarding Rc is I have a lot of these lying around from the Old RC days they are ceramic and will fit these for a matter of course and try again after checking wiring. Do you think the length of cables could be an issue???
Also looking on the forum about infomation on fitting limit switches...
Bob
Logged
Tweakie.CNC
Active Member
Offline
Posts: 3,263
Super Kitty.
Re: Help Needed on Debounce
«
Reply #7 on:
June 04, 2011, 07:38:36 AM »
Bob,
Length of cables are an issue but as long as they are screened and correctly terminated you will be OK.
Limit switches must be connected with screened (shielded) cable with the screen connected to GND at the controller end only. A single point GND for all common connections is also good practice.
Tweakie.
Logged
Success consists of going from failure to failure without loss of enthusiasm. Winston Churchill.
Bob Hepple
Active Member
Offline
Posts: 27
Re: Help Needed on Debounce
«
Reply #8 on:
June 04, 2011, 08:19:08 AM »
Tweakie sorry for the newb question BUT the filter's you said put between each input terminal I am using for my my switches (grnd or 0 volts) do you mean the drives for the motors
if not where exactly are we talking about in Lay mens terms.
Logged
Tweakie.CNC
Active Member
Offline
Posts: 3,263
Super Kitty.
Re: Help Needed on Debounce
«
Reply #9 on:
June 04, 2011, 09:58:40 AM »
Hi Bob,
One wire from a capacitor goes to the same terminal as the switch is connected to and the other wire from the capacitor goes to GND.
Fit one for the EStop wire and every other limit switch that you have connected. They are fitted at the controller end (usually the breakout board).
If you post here or email me a copy of your wiring diagram I will indicate where they are fitted if you are still in doubt.
Tweakie.
Logged
Success consists of going from failure to failure without loss of enthusiasm. Winston Churchill.
Pages:
1
2
»
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...