[ Log In ]
[ Register ]

Question #: 14139

Question: I recently wired my CNC machine with limit switches and tested them before mounting to the machine. They were configured and when tested worked great. After mounting them to the machine, they continued to register as triggered. The frame of the CNC machine is made of MDF so I don't think it is shorting off of the machine. Can you tell me what might be wrong?

Current Solution

We recommend using shield wire for wiring the limit switches.

Respond:

Other Possible Solutions to this Question

  • I have the redleaf system for my black toe machine I have wired my limit switches in series NC after setting up in mach 3 I still get limit switch tripped after apply and ok setup can only run if I disable what am I doing wrong

    If you are using Mach3, the setting for the input pin 10 may be enabled as a default for use with the Emergency Stop. If there is no emergency stop on that pin, the reset will trip every time.

    Click the link to add information to this solution:
    I have the redleaf system for my black toe machine I have wired my limit switches in series NC after setting up in mach 3 I still get limit switch tripped after apply and ok setup can only run if I disable what am I doing wrong

  • I'm using Mach3. I have 2 limit switches on X, 2 on Y and 1on Z for retracted/home. I can go to diagnostics and see the switches/inputs working. But when I move with jog or gcode they have no effect. Also I can go right past the soft limits. I must have something turn off but I don't know what.

    Did you set them up as limit switches or home switches?

    Additional Information:
    Not sure where do I check that?

    Additional Information:
    Go to config, then ports and pins, then input signals.

    Additional Information:
    The limits are labeled x++, x— for example.

    Click the link to add information to this solution:
    I'm using Mach3. I have 2 limit switches on X, 2 on Y and 1on Z for retracted/home. I can go to diagnostics and see the switches/inputs working. But when I move with jog or gcode they have no effect. Also I can go right past the soft limits. I must have something turn off but I don't know what.

  • I purchased limit switches from you mounted them on my machine and wire them to the breakout for using pin 12 and the ground on the breakout board, after a few minutes I got a message about a limit switch trip. Am I supposed to use the extra outport on the board instead of the ground?

    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.

    Click the link to add information to this solution:
    I purchased limit switches from you mounted them on my machine and wire them to the breakout for using pin 12 and the ground on the breakout board, after a few minutes I got a message about a limit switch trip. Am I supposed to use the extra outport on the board instead of the ground?

  • [575] I have finally got my limit switches wired and working - thank you. Can they also used as homing switches and if so it it just a question of looping the two inputs on the board i.e. the limit and home terminals IN2 to IN3

    You will want to connect the homing switches (which may also serve as your near limit switches) to different input terminals. It's ok to add more limit switches with the home switches, but each home should be on independent inputs. For example, connect home X and any other limit switch to IN1, connect home Y and any other limit switch to IN2, and so on. This will allow you to properly use the "ref all home" button in Mach3.

    Additional Information:


    Additional Information:
    In the instructions (diagram 1) you show all the home switches connected in parallel? But here you say they need to each have their own inputs. "You will want to connect the homing switches (which may also serve as your near limit switches) to different input terminals." I dont see how the second and third axis can go home if the first axis has already closed the parallel circuit unless they back off a bit until the switch opens up again before the next axis goes to home? My machine has no limit switches so I assume they are home switches.

    Click the link to add information to this solution:
    [575] I have finally got my limit switches wired and working - thank you. Can they also used as homing switches and if so it it just a question of looping the two inputs on the board i.e. the limit and home terminals IN2 to IN3

  • I have nearly completed the CNC machine from the book, but I am using it with a USB breakout board, and have no idea how to wire the 6 limit switches to the board. I'm having difficulty following the diagram on the USB breakout board screen. Can someone please help me?

    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.

    Click the link to add information to this solution:
    I have nearly completed the CNC machine from the book, but I am using it with a USB breakout board, and have no idea how to wire the 6 limit switches to the board. I'm having difficulty following the diagram on the USB breakout board screen. Can someone please help me?

  • hi, I atacched a laser system to my modified book machine. it worked fine for a few trials but for some reason has lost power and is not cutting through any more, it does engrave thou. what can I check for? I´ve tried everything I can think of.
  • I'm trying to test cnc with Mach 3 as it says in the book. When I send the g codes, nothing happens. I occasionally hear a bump from the machine, but there's no real rhyme or reason as to when it will bump. What could be wrong?

    If the machine is not moving when you use a control program to control the electronics, there could be a many reasons this could happen.

    First, make sure that you followed the electronics videos: https://www.buildyourcnc.com/CNCElectronicsandWiring.aspx

    The computer sends pulses from the conmputer while the control program interprets the g-code. These puses from the computer should be received in the correct form from the breakout board, or interface. Make sure that the step low active is enabled if the pin is connected to the CP- (PUL-, or STEP-) and the 5v is connected to the CP+ (PUL+ or STEP?+) at the driver.

    Click the link to add information to this solution:
    I'm trying to test cnc with Mach 3 as it says in the book. When I send the g codes, nothing happens. I occasionally hear a bump from the machine, but there's no real rhyme or reason as to when it will bump. What could be wrong?

  • [575] Hi, for the manage the limit switches, is it possible to have, for example, the same limit switch for X-- and X homing? And what is the configuration in mach3? In my CNC machine they are in the same position. Thank you

    Absolutely! You can have almost unlimited limit switches and home switches on this controller. It all comes down to the wiring scheme used. I recommend the home switches be on separate input terminals. For example, IN1 would have the X home switch, IN2 would have the Y home switch and, IN3 would have the Z home switch if you plan on using home switches for the Z axis.

    Adding the limit switches, these can be located on any input you want, even on the IN1, 2 or 3. The wiring scheme I like to use is as follows:
    - IN1 has the X home, X limit ++, and X Limit --
    - IN1 has the Y home, Y limit ++, and Y Limit --
    - IN1 has the Z home, Z limit ++, and Z Limit --

    In most cases, the Limit -- is the same switch as the Home switch.

    These can be wired as NC (Normally closed) as a serial scheme, or as NO (Normally open) as a parallel scheme.

    To understand the limits and wiring schemes, check out this video:

    Click the link to add information to this solution:
    [575] Hi, for the manage the limit switches, is it possible to have, for example, the same limit switch for X-- and X homing? And what is the configuration in mach3? In my CNC machine they are in the same position. Thank you

  • [789] I need to level my cnc machine, but I didn't purchase it from you, so: Do you offer tech support with leveling a cnc? Because I don't see this problem listed .And: Do you offer support if my machine was purchased in China or from another vendor?
  • I've read your book and I'm looking to purchase the hardware kit with DVD as well as an electronics kit. I would like my machine to have a working area of at least 24" wide by 48" long. Can I just make the bed (and gantry) wider to accommodate larger priceslike 30"x60"? If so what electronics kit would you recommend?

    Considering enlarging the machine, might have its down sides do to the structural integrity of the scratch build machine. Primarily by making the width longer it will start to sag in the center, which will lead to having to redesign the gantry to be more structurally rigid to support the added length. Which then will increase the weight and height of your gantry to support the add size, which will always end up to creating a larger CNC.

    We usually do not recommend modifying the scratch build CNC, due to the very limited capabilities, and the structural design of the scratch build. We also do not recommend using longer than 48" ACME screw/leadscrew due to the increasing chance of warping and bending in the ACME screws/leadscrew in the given length.
    We do recommend modifying the CNC machines we sell to accommodate the added requests that some of our customers desire, but you will be limited to the width of the gantry with our machines.

    Click the link to add information to this solution:
    I've read your book and I'm looking to purchase the hardware kit with DVD as well as an electronics kit. I would like my machine to have a working area of at least 24" wide by 48" long. Can I just make the bed (and gantry) wider to accommodate larger priceslike 30"x60"? If so what electronics kit would you recommend?

  • I recently had a mishap with one of my stepper drivers which resulted in a resistor being burned out. Would you be able to tell me what the resistance is for the R25 resistor inside the 6.0 amp driver?

    Currently we do not know the values of the electronic components inside our drivers, since these drivers are supplied by our manufacture and replaced by them if a manufacture defect is present.
    Please email us at customerservice@buildyourcnc.com for more information on possible replacements.

    Click the link to add information to this solution:
    I recently had a mishap with one of my stepper drivers which resulted in a resistor being burned out. Would you be able to tell me what the resistance is for the R25 resistor inside the 6.0 amp driver?

  • I recently purchased a repalcement 12v DC Switching Power Supply, I hooked it up bur it did not power up the Pump and radiator. I verified the output of the unit at 12v. So I'm assuming I also need to replace the pump and the radiator. Can you supply me a link to purchase them?

    Here are links to the sole pump and heat exchanger/fan. I am sending you amazon links sine I don't ahve listings of my pump and heat exchanger separately from my cooling system:
    Pump: https://amzn.to/3R6zPbj
    Fan/radiator (Heat exchanger): https://amzn.to/3UWOuqN

    Click the link to add information to this solution:
    I recently purchased a repalcement 12v DC Switching Power Supply, I hooked it up bur it did not power up the Pump and radiator. I verified the output of the unit at 12v. So I'm assuming I also need to replace the pump and the radiator. Can you supply me a link to purchase them?

  • Hello, I have a blacktooth laser cutter, the machine has 10hrs of work, suddenly in the middle of a job the laser beam lost all power, I can still se the purple plasma beam but with no power or intensity, the tube is fine, water is running through and there is no arcing to the chasis or some other part. I think it might be a faulty PS how can I test it, Do I have a warranty on it?

    To verify, you are still getting the laser tube to fire, but the laser beam is weak and cannot cut or engrave any materials correct?

    Have you checked your tube's tungsten post terminals to make sure they are getting good contact?
    The Laser tube and laser power supply both have manufacture warranty, please email customerservice@buildyourcnc.com for further assistance.

    Click the link to add information to this solution:
    Hello, I have a blacktooth laser cutter, the machine has 10hrs of work, suddenly in the middle of a job the laser beam lost all power, I can still se the purple plasma beam but with no power or intensity, the tube is fine, water is running through and there is no arcing to the chasis or some other part. I think it might be a faulty PS how can I test it, Do I have a warranty on it?

  • [787] Few month ago I finished my own design an also finish to built it . The control I use is arduino uno with cnc shield v3. The machine works perfectly. But... very slow. I try and change the controller to dlc32 v2. It does not work for me. Too many problems. I tried every option fro github and only frustration is what I gain. Can your system be helpfull?. I use light burn as my design program

    Thanks for the information. The system I sell (Ruida DSP Controller RD RDC6442G) can help as it is specifically designed for Laser machines and can be very fast for engraving swings, acceleration, and speed control specifically designed for the laser intensity. The Ruida controller works very well with the Lightburn software. Ruida controllers are very widely used in the laser community.

    Click the link to add information to this solution:
    [787] Few month ago I finished my own design an also finish to built it . The control I use is arduino uno with cnc shield v3. The machine works perfectly. But... very slow. I try and change the controller to dlc32 v2. It does not work for me. Too many problems. I tried every option fro github and only frustration is what I gain. Can your system be helpfull?. I use light burn as my design program

  • Hello I recently read your site and have a question. I have a driver model DM2722A but I can't connect it to my usb controller due to the fact that the driver is not marked enable, but instead it is marked: mf-, mf +, alm-, alm +. I will be very grateful if you explain to me the meaning of the latter and tell me what should be related to "enable" Thanks in advance!

    Not a problem. The ALM is rather self-explanatory as this is a closed-loop stepper motor and driver that you are using. The ALM (alarm) is a signal that is used to tell the driver/controller that the motor is not in the same condition that the driver expects. In a closed-loop system, the motor has an encoder that tells the driver exactly how many steps that it turned, and if this value does not coincide with the driver's outputted number of steps, and within a specified amount of time, the alarm will trigger so the system can stop and the workpiece can be salvaged.

    The MF is simply a signal that tells the driver that there is impending direction and step pulses coming. If the MF signal is high, then that is similar to an enable signal.

    Click the link to add information to this solution:
    Hello I recently read your site and have a question. I have a driver model DM2722A but I can't connect it to my usb controller due to the fact that the driver is not marked enable, but instead it is marked: mf-, mf +, alm-, alm +. I will be very grateful if you explain to me the meaning of the latter and tell me what should be related to "enable" Thanks in advance!

  • Limit switches for axis. The print shows that you can wire the limits either n.o. or n.c. so if this is correct I would need to tell the board in the software how to look at these limits, I'm either going to get an input or loose an input depend on how i wire it.

    BYCNC Response:
    This is correct. You will need to use a method appropriate for the software you are using. Also remember that NC switches are typically wired in series, while NO switches are normally wired in parallel.

    User Response:
    I am using the cnc planet software for your USB board. Are the limit configurations in this software?

    BYCNC Response:
    Yes, Planet CNC software is compatible with the use of limit switches. Configuration information will depend on your specific application. You can view Planet CNC's information here: http://www.planet-cnc.com/files/CNCUSBController.pdf

    Click the link to add information to this solution:
    Limit switches for axis. The print shows that you can wire the limits either n.o. or n.c. so if this is correct I would need to tell the board in the software how to look at these limits, I'm either going to get an input or loose an input depend on how i wire it.

  • The X-axis stepper motor on my BlackToe suddenly started acting up. It is wired bipolar series, and was working great but then in the midst of a cutting operation the stepper started sounding rough- as though one of the phases was shorting out. However, all the connections and wires are in tact. Any ideas what would most likely cause this?

    If the motor starts acting rough or is excessively trying to move without physically moving the input shaft. Re-check that your pins are in the correct settings and always set the amps required to the closest needed but not exceeded (ex. required 3.00A, but only having 3.14A revert from using 3.14 and go lower to 2.57A).
    Also a software issue that can affect the motor is Config/MotorTunning/(x,y,z)-axis, if you are trying to push your motor to move at a faster rate by modifying the acceleration and velocity could cause your motor to fail if the settings are to high. Lastly out of those two tests, would re-check wiring for continuity lastly.

    Additional Information:
    Also, even if the wiring was checked thoroughly, re-check the wiring for any chafing from wire ties or any other means of causing a short with two or more of the motor wires.

    You can also try swapping the motors from another axis to determine if the cause is derived from the driver or the motor.

    Additional Information:
    I disconnected the stepper motor entirely except left the yellow and blue wires tied together and the motor still made the sound when manually rotating the shaft. When I disconnected the yellow and blue wire the motor rotated smoothly again, so there must be a short inside the motor. Is there a warranty on the motors you sell?

    Click the link to add information to this solution:
    The X-axis stepper motor on my BlackToe suddenly started acting up. It is wired bipolar series, and was working great but then in the midst of a cutting operation the stepper started sounding rough- as though one of the phases was shorting out. However, all the connections and wires are in tact. Any ideas what would most likely cause this?

  • I have a breakout board and it appears that the pin 12 connection has failed: when i move my limit switches to pin 11 they work; they don't work on pin 12. Do i need a new breakout board?

    For safety's sake I would recommend a new board because they are inexpensive compared to the electronics that they support. Alternatively, it's possible that the one dead pin is a simple fix, such as a bad connection or solder joint; if you feel comfortable making those repairs then it could be worthwhile to check. Finally, if you are not using all the input pins, you could continue to operate the limit switch on pin 11 and hope for the best.

    Click the link to add information to this solution:
    I have a breakout board and it appears that the pin 12 connection has failed: when i move my limit switches to pin 11 they work; they don't work on pin 12. Do i need a new breakout board?

  • I wired my vfd (2.2kw version) and tried test running the spindle. I configured to your specs on this website, only issue is we got an error code. Err 02, do you know what this is? OR have a list of error codes? Thank you

    Can you provide the model number of your VFD?

    Yes, I have the "YL600 - 2S - 2K20"

    It just came with a small booklet that is all in Chinese...

    Click the link to add information to this solution:
    I wired my vfd (2.2kw version) and tried test running the spindle. I configured to your specs on this website, only issue is we got an error code. Err 02, do you know what this is? OR have a list of error codes? Thank you

Get Help with:
This Product
Orders
Tech Support
Sales
This Product
Order Query
Tech Support
Sales
Not logged in. Log In Register
Track Order(s)
View Order(s)
I Want to Schecule a One-On-One Paid Tech Support Session
Book an Appointment Pertaining to a BuildYourCNC Product (Free)
Ask a Quesion Below (Free):
Book an Appointment Pertaining Other Equipment ($60/half hour)
Book an Immedite Appointment Pertaining Other Equipment ($120/half hour)
Ask a Quesion Below (Free):
Waiting for response... I may not answer immediately, but I was notified on my cellular phone so my response is forthcoming. If I don't respond immediately, you can always go to the [My Account] page to see all of our chats at any time.