[ Register ]
YouTube Channel - 100,000 Subscribers Reached!!!
It blows my mind how many subscribers have shown their unwavering support! If you haven't already, check out our BuildYourCNC and Newbiehack YouTube channel. It's unbelievable how this niche has grown, and I am incredibly grateful for each one of you!

Question #: 535

Question: PROBLEM WITH LIMIT SWITCHES TRIGGERING

Current Solution

Are you using shielded wire? If so, take the shield to ground. If there are any other wires in the cable that is not being used, ground those as well. The customer can also try moving the cables as far away as possible from the motor wires and motors.

Respond:

Other Possible Solutions to this Question

• MY LIMIT SWITCHES ARE TRIGGERING AT RANDOM.

Are you using shielded wire? If so, take the shield to ground. If there are any other wires in the cable that is not being used, ground those as well. The customer can also try moving the cables as far away as possible from the motor wires and motors.

MY LIMIT SWITCHES ARE TRIGGERING AT RANDOM.

• LIMIT SWOTCXH PROBLEM

This is a common problem. Are you using shielded wire? If so, take the shield to ground. If there are any other wires in the cable that is not being used, ground those as well. Also try moving the cables as far away as possible from the motor wires and motors.

LIMIT SWOTCXH PROBLEM

• LIMIT SWITCH PROBLEM

This is a common problem. Are you using shielded wire? If so, take the shield to ground. If there are any other wires in the cable that is not being used, ground those as well. Also try moving the cables as far away as possible from the motor wires and motors.

LIMIT SWITCH PROBLEM

• HOW DO I SET THE DIP SWITCHES?

blueChick:

X-axis
“CW230 (3.0A) Driver”
Set to 1/16 Microstep, 2.7A
Dipswitches: 11001100
Mach3 Motor Tuning: 1422.22 steps/in

Y-axis
“CW230 (3.0A) Driver”
Set to 1/16 Microstep, 2.7A
Dipswitches: 11001100
Mach3 Motor Tuning: 1422.22 steps/in

Z-axis
“CW230 (3.0A) Driver”
Set to 1/4 Microstep, 2.7A
Dipswitches: 10101100
Mach3 Motor Tuning: 1600 steps/in

blackToe:

X-axis
“CW230 (3.0A) Driver”
Set to 1/16 Microstep, 2.7A
Dipswitches: 11001100
Mach3 Motor Tuning: 1422.22 steps/in

Y-axis
“CW230 (3.0A) Driver”
Set to 1/16 Microstep, 2.7A
Dipswitches: 11001100
Mach3 Motor Tuning: 1422.22 steps/in

Z-axis
“CW230 (3.0A) Driver”
Set to 1/4 Microstep, 2.7A
Dipswitches: 10101100
Mach3 Motor Tuning: 1600 steps/in

blackFoot:

X-axis
“CW8060 (6.0A) Driver”
Set to 1/16 Microstep, 2.7A
Dipswitches: 11001100 (“0”=down, “1”=up)
Mach3 Motor Tuning: 914.29 steps/in

Y-axis
“CW230 (3.0A) Driver”
Set to 1/16 Microstep, 2.7A
Dipswitches: 11001100
Mach3 Motor Tuning: 1422.22 steps/in

Z-axis
“CW230 (3.0A) Driver”
Set to 1/4 Microstep, 2.7A
Dipswitches: 10101100
Mach3 Motor Tuning: 1600 steps/in

greenBull:

X-axis
“CW8060 (6.0A) Driver”
Set to 5.43A, 1/16 Microstep
Dipswitches: 01100110 (“0”=down, “1”=up)
Mach3 Motor Tuning: 914.29 steps/in

Y-axis
“CW8060 (6.0A) Driver”
Set to 5.43A, 1/16 Microstep
Dipswitches: 01100110
Mach3 Motor Tuning: 914.29 steps/in

Z-axis
“CW8060 (6.0A) Driver”
Set to 5.43A, 1/4 Microstep
Dipswitches: 01100100
Mach3 Motor Tuning: 1600 steps/in

HOW DO I SET THE DIP SWITCHES?

• THE DUST SHOE HAS STIFF BRISTLES, IS THERE PROBLEM WITH MOVING Z-AXIS DOWN SINCE BRISTLES PUSH AXIS SIDEWAYS

A couple things to consider, the machine is most likely moving sideways, so the bristles won't be a problem. The lead screw has a very hight mechanical advantage and the bristles don't pose an issue with this. We have not found that the bristles cause any appreciable deflection to the work we do in our shop; however, you can change the brush for a more pliable plastic, or reduce the number of bristles by selectively pruning.

THE DUST SHOE HAS STIFF BRISTLES, IS THERE PROBLEM WITH MOVING Z-AXIS DOWN SINCE BRISTLES PUSH AXIS SIDEWAYS

• HOW SERIOUS A PROBLEM INFLUENZA IN THE U.S.?

Influenza is the most frequent cause of death from a vaccine-preventable disease in the United States. From 1990 through 1999, an average of approximately 36,000 influenza-associated pulmonary and circulatory deaths occurred during each influenza season. In addition to fatalities, seasonal influenza is also responsible for more than 200,000 hospitalizations per year. Rates of infection from seasonal influenza are highest among children, but the risks for complications, hospitalizations, and deaths are higher among adults ages 65 and older, children younger than 5 years, and people of any age who have medical conditions that place them at increased risk for complications from influenza.

A novel H1N1 virus was first detected in March of 2009 and quickly spread to pandemic levels. In the U.S., it is estimated that approximately 43-89 million persons became ill with 2009 pandemic H1N1 from April 2009 to April 2010. The virus also resulted in significant hospitalizations and deaths among children, adults 19-65 years, obese persons, and pregnant and post-partum women.

HOW SERIOUS A PROBLEM INFLUENZA IN THE U.S.?

• I HAVE A 2000 WK 11–3 Z LIMIT SWITCHES GOING TO C10R10 BREAKOUT BOARD . CAN ALSO USE THEM AS MY HOME POSITION WELL. NEED THE WIRING CONFIGURATION

No, you should not have received two parallel breakout boards in your CNC kit. You can return the extra item using standard shipping with COD. Our apologies for the confusion and the inconvenience.

I will answer the other question as another FAQ. Please check the Customer Service page to see the answer to that question.

https://www.buildyourcnc.com/FAQ/13636

I HAVE A 2000 WK 11–3 Z LIMIT SWITCHES GOING TO C10R10 BREAKOUT BOARD . CAN ALSO USE THEM AS MY HOME POSITION WELL. NEED THE WIRING CONFIGURATION

• HOW SERIOUS A PROBLEM INFLUENZA (THE FLU) IN THE U.S.?

Influenza is the most frequent cause of death from a vaccine-preventable disease in the United States. From 1990 through 1999, an average of approximately 36,000 influenza-associated pulmonary and circulatory deaths occurred during each influenza season. In addition to fatalities, seasonal influenza is also responsible for more than 200,000 hospitalizations per year. Rates of infection from seasonal influenza are highest among children, but the risks for complications, hospitalizations, and deaths are higher among adults ages 65 and older, children younger than 5 years, and people of any age who have medical conditions that place them at increased risk for complications from influenza.

A novel H1N1 virus was first detected in March of 2009 and quickly spread to pandemic levels. In the U.S., it is estimated that approximately 43-89 million persons became ill with 2009 pandemic H1N1 from April 2009 to April 2010. The virus also resulted in significant hospitalizations and deaths among children, adults 19-65 years, obese persons, and pregnant and post-partum women.

HOW SERIOUS A PROBLEM INFLUENZA (THE FLU) IN THE U.S.?

• THE SWITCHES KEEP TRIPPING! AT TIMES IT IS LITERALLY AS SOON CLICK RESET ON MACH 3 THEY TRIP AGAIN.

http://buildyourcnc.com/PrimeronHomingandLimitSwitches.aspx
There is a pin setting in Mach3 that says how to react to the inputs from the switches. Your setting is probably wrong as the trigger happens immediately.

You may want to think about shielded wire and/or a resistor on each limit switch line. If there are stray wires, connect them to ground. Additionally, the shield from the shielded cable insulation should alse connected to ground at both ends.
Try upping the Debounce interval in Mach3. You have to adjust the debounce interval. You go to config,general config, and it is in the top right corner. I set mine to 100 and it seems to work well.

how to solution cnc revo 540 limit tripped error?

THE SWITCHES KEEP TRIPPING! AT TIMES IT IS LITERALLY AS SOON CLICK RESET ON MACH 3 THEY TRIP AGAIN.

• YOUR CNC SOFTWARE COMPATIBLE WITH MAC?

There are several CAD/CAM programs out there for MacOS. Here is a list of a few: http://www.macuser.de/forum/f53/3d-2d-cad-395058/#post4499316
Of course, there is always SketchUp if you are in a pinch. There are a few CAM plugins for SketchUp as well, but I've never used them, so I can't vouch for them.

CAD/CAM will get you as far as designing your parts and producing the g-code, but if you also want to run the CNC machine with your Mac, you will need a piece of software similar to Mach3 or EMC to run the g-code. I haven't been able to find anything like these programs that runs on Mac, so you may have to run Mach3 or EMC in Windows using Boot Camp or a virtual machine such as VMware or Parallels.

Personally, I would use the Mac to do all the CAD/CAM, then use a cheap PC to run the CNC machine.

EasyDNC for OSX
www.dnc-x.com

Hi guys I’m new to the cnc and I’m beginning to learn how to operate and cad-cam software also my cnc runs on Mach3 my questions is if I should use MacBook to do all designs if I can have all this software to run on Mac or I have to use windows software to operate it? I have separate small computer connected to the cnc table who have Mach3 on it please help. Also if you know any other software much easy for beginners please let me know thank you guys!
My email if needed is r1jastrzebski@gmail.com

YOUR CNC SOFTWARE COMPATIBLE WITH MAC?

• WHAT ELSE DO I NEED WITH THE MACHINE?

PC with parallel port and USB port
20awg stranded wires for the motors - http://www.buildyourcnc.com/electronicscombo.aspx
18awg stranded wires for power supply to drivers
24awg stranded wires for breakout board to drivers
(location and spacing of components varies from one person to another, so we do not provide cables/wires)
- General purpose extension cord (cut the female end off) to provide power to power supply
- USB cable to power breakout board
- Parallel cable to communicate to breakout board
- Router
- (optional - instead of router) Spindle with power inverter http://www.buildyourcnc.com/SpindlesAndAccessories.aspx
- (if purchasing spindle with inverter) General purpose extension cord (240v) (cut the female end off) to provide power to power inverter
- End Mill(s) http://www.buildyourcnc.com/ProductsEndMills.aspx
- CAD, and/or CAD-CAM software (to produce geometry, machine operations, and g-code) http://www.buildyourcnc.com/CNCsoftware.aspx
- CNC control software (to read g-code and control machine) http://www.buildyourcnc.com/CNCsoftware.aspx
- If the machine does not have the table included, then a table will need to be built. The rails, chain and chain mounts are included that are used on this table.

WHAT ELSE DO I NEED WITH THE MACHINE?

• DOES ZY PLATE COME WITH LASER HEAD COMBO.

No the ZY plate is part of the machine kit not the head combo kit.

DOES ZY PLATE COME WITH LASER HEAD COMBO.

• DO NEED LIMIT SWITCHES, IF SO WHAT IS YOUR RECOMMENDATION?

Limit switches are not really needed for this level of a machine, but if you do want to use them, then you will need to connect them with shielded cable and ground the shield at both ends and any other non-used wire in the cable. Limit switches are very susceptible to the motor interference. You will also need to adjust the debounce in the software you will use.

DO NEED LIMIT SWITCHES, IF SO WHAT IS YOUR RECOMMENDATION?

• CAN I USE A STEPPING MOTOR WITH AN ENCODER?

I haven't delved into using encoders with stepping motors too much. From my research, you need to have a controller that can provide the closed loop control, rather than software handling that process. I have also found from my research that using encoders on stepping motors is generally used to stop the machine in the case that the motor failed to achieve the commanded position for some reason and gives the user the chance to correct and continue with the job.

If you want proper closed loop control, it may be best to go with servos and servo controller that provide the closed loop control within the real of those two components.

CAN I USE A STEPPING MOTOR WITH AN ENCODER?

• WHAT NOT INCLUDED WITH THE MACHINE?

PC with parallel port and USB port
20awg stranded wires for the motors - http://www.buildyourcnc.com/electronicscombo.aspx
18awg stranded wires for power supply to drivers
24awg stranded wires for breakout board to drivers
(location and spacing of components varies from one person to another, so we do not provide cables/wires)
- General purpose extension cord (cut the female end off) to provide power to power supply
- USB cable to power breakout board
- Parallel cable to communicate to breakout board
- Router
- (optional - instead of router) Spindle with power inverter http://www.buildyourcnc.com/SpindlesAndAccessories.aspx
- (if purchasing spindle with inverter) General purpose extension cord (240v) (cut the female end off) to provide power to power inverter
- End Mill(s) http://www.buildyourcnc.com/ProductsEndMills.aspx
- CAD, and/or CAD-CAM software (to produce geometry, machine operations, and g-code) http://www.buildyourcnc.com/CNCsoftware.aspx
- CNC control software (to read g-code and control machine) http://www.buildyourcnc.com/CNCsoftware.aspx
- If the machine does not have the table included, then a table will need to be built. The rails, chain and chain mounts are included that are used on this table.

WHAT NOT INCLUDED WITH THE MACHINE?

• DO YOU HAVE BLACKTOES WITH TABLES?

Yes, we have the optional table for the blackToe, but we need to fabricate it, which only takes one day. We generally reserve one week for the total fabrication and packing of all parts.

DO YOU HAVE BLACKTOES WITH TABLES?

• WILL THE USB BREAKOUT BOARD WORK WITH MACH3?

Sure, the USB interface has a place for 4 axes of limit switches.

Each axis can have two limit switches: one for the ++ (positive) end and one for the -- (negative) end. The positive end would be the limit switch at the end of the machine that, say the machine has a 4'x8' area, reaches a bit after the 8 foot mark. The negative end would be the limit switch behind the 0 foot location behind the origin. If the origin is in the middle, the negative would be at a little more than the -4 foot end and the positive would be at a bit more than the +4 foot end. Note that you can have more than one switch on each pin where the NC is connected in serial fashion and the NO is connected in parallel fashion (this can be seen on the diagram in the multiple limits switch section). The software configurations for the limits switches are under File -> Settings -> Limit.

A typical limit switch has three connections on it. These connections consist of COM (common), NC (normally closed) and NO (normally open). The COM would generally go to GND and the NC or the NO would go to the pin. If the NC is used, then the the switch is constantly connected until the switch is pushed (engaged) then the connection from the pin to gnd is broken (open). Use the settings in software to set whether in NC or NO configuration.

Let me know if this information was helpful (or not) by adding information to this question. Thanks.

User response:
Thank you very much for this helpful information. I'm still a little fuzzy on how the 6 limit switches physically connect to each other and to the USB breakout board. You've stated one switch (home) goes to positive and another switch (limit) goes to negative. Are all the GND prongs from all 6 switches connected to each other and going to GND on the breakout board, or no? And the NC prongs, how exactly are they connected to each other? And to the board? There has to be a diagram somewhere shows this visually, no? I don't know how to wire the switches in series or in parallel. I have already physically installed all the switches on the machine and ran the wires to where the board is. Now I just need to know where to plug these wires into the board. Also, taking into consideration that I'm using the Planet CNC software, the only settings I have pertaining to limit switches is "Enable/Disable" for each axis, and the actual limit for each axis. Nothing about NC or NO. Is that only in Mach3?
Thank you.

buildyourcnc response:
On the USB interface, the COM on the switch connects to GND and the NC or NO connects to the input pin (i.e. x++, y--, etc.)

Limit switch configuration is rather difficult to understand, especially with series and parallel. You can think of series as a single wire going from GND to the axis letter input terminal (i.e. X++ or X--). If the wire is broken, then the circuit is open (or the switch is engaged in a normally closed scenario). Normally closed is like an actual wire, and when engaged, the switch "opens" (breaks the wire). This is why we recommend in some systems that you can put many switches in series on a single pin. When one of the switches is engaged (breaking the connection) then the entire circuit of switches is broken and the machine stops.

In a parallel scenario, the state of the circuit is always broken until the one of the switches is engaged and the circuit is then closed or connected. The topology looks like a ladder. All the switches connect to both sides of the ladder and the switches are like the runs of the ladder (the horizontal bars that the feet are placed while climbing). Imagine all of the switches broken in this scenario (normally open). It would be like the ladder could be split in two, but if one of the ladder runs (switches) is closed by engaging it, then that run would connect both sides of the ladder and the two sides of the ladder would have a connection.

There is a diagram on the USB page of the various limit switch configurations. If you need more information (visual and/or otherwise), please let us know and we will immediately add that information to benefit everyone.

WILL THE USB BREAKOUT BOARD WORK WITH MACH3?

• DO I HAVE TO REGISTER WITH YOUR OFFICE BE PROTECTED?

No. In general, registration is voluntary. Copyright exists from the moment the work is created. You will have to register, however, if you wish to bring a lawsuit for infringement of a U.S. work.

DO I HAVE TO REGISTER WITH YOUR OFFICE BE PROTECTED?

• CAN THERE BE CLOSED LOOP CONTROL WITH STEPPING MOTORS?

I haven't delved into using encoders with stepping motors too much. From my research, you need to have a controller that can provide the closed loop control, rather than software handling that process. I have also found from my research that using encoders on stepping motors is generally used to stop the machine in the case that the motor failed to achieve the commanded position for some reason and gives the user the chance to correct and continue with the job.

If you want proper closed loop control, it may be best to go with servos and servo controller that provide the closed loop control within the real of those two components.

CAN THERE BE CLOSED LOOP CONTROL WITH STEPPING MOTORS?

Get Help with:
This Product
Orders
Tech Support
Sales
This Product
Order Query
Tech Support
Sales