Welcome to Our Community

Some features disabled for guests. Register Today.

XYZ Probe Plus with VFDs and other ground-loop inducing components

Discussion in 'General Talk' started by juansierra, Apr 24, 2020.

  1. juansierra

    Builder

    Joined:
    Feb 9, 2019
    Messages:
    10
    Likes Received:
    2
    Just installed this morning, but when I try to test it, machine goes into alarm. Can anybody help me?
     
  2. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,049
    Likes Received:
    4,313
    I also note from your other posts you have a VFD, check that the VFD isnt shorting the clip to GND via the spindle, our recommended Dewalt router setup is isolated, the VFD might not be (particular if you get the error Alarm 4 Probe fail. The probe is not in the expected initial state before starting probe cycle, where G38.2 and G38.3 is not triggered and G38.4 and G38.5 is triggered.)
     
  3. juansierra

    Builder

    Joined:
    Feb 9, 2019
    Messages:
    10
    Likes Received:
    2
    I disconnected the spindle and when I try to probe the Z axis worked ,but the YX still have an alarm, will work on it more tomorrow, to If can get it work.
     
  4. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,049
    Likes Received:
    4,313
    Screenshot the alarm messages. As i said above, we need to see which error exacly to give better advice, as Grbl has different reasons
     
  5. juansierra

    Builder

    Joined:
    Feb 9, 2019
    Messages:
    10
    Likes Received:
    2
    I fixed, disconnected the ground wire to the spindle, working ok now.
     
  6. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,049
    Likes Received:
    4,313
    Yes, big difference between earth (mains earth, spindle body is earthed to dissipate EMI and safety against shorts) and GND (DC common negative)!

    Never connect those together.

    Also, you removed the Gnd from spindle. It should be earthed... Dont forget to put that back (correctly, not gnd... Earth) or you'll have EMI issues
     
    Alex Chambers and juansierra like this.
  7. Sean Griffiths

    Builder

    Joined:
    Sep 18, 2016
    Messages:
    30
    Likes Received:
    14
    I have been having this same problem with my ProbePlus, and sounds like I have a similar VFD setup. I will try the workaround mentioned, but does this mean I have wired up my machine incorrectly/unsafely? Or is it just that the probe was not designed for an earthed spindle?
     
  8. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,049
    Likes Received:
    4,313
    Wiring GND (DC Negative) to Mains Earth IS DANGEROUS!

    Earth could potentially be at mains live level if some appliance shorts a live wire to a chassis, anywhere in the house mind you. That's what Mains Earth is for, to safely conduct that leakage down to the Earth through a copper rod in the Ground

    NB Earth connects to the copper spike in "the ground" [not gnd but the ground, as in soil outside sounds the same, but very different]
    GND connects to DC negative of a DC power supply and is isolated from mains

    That's why the DC side one is called GND. But the mains one is EARTH. not the same thing!

    So, no, the probe is correct, you have an unsafe wiring setup that CAN kill you and fry your electronics

    If in doubt, get in a Sparky
     
    #8 Peter Van Der Walt, Sep 12, 2020
    Last edited: Sep 12, 2020
  9. philcava

    philcava New
    Builder

    Joined:
    Nov 8, 2018
    Messages:
    11
    Likes Received:
    3
    Hi, I have the same problem. After checking twice the wiring is OK. So, I think that the problem is coming from the connection between the Blackbox and the VFD. we have connection from GND BB and the GND of the VFD and from 0-10V BB and the VFD AI1 or ACM depending the version of VFD. When I touch the plate with the magnet light turn on, so it work, but when I touch the magnet with the spindle light turn on and this is not correct. So, I think the problem is the connection of the GND BB and the VFD that turn on the light when magnet on the spindle.
    Waiting for solution from, thanks in advance.
     
    kyrenia likes this.
  10. philcava

    philcava New
    Builder

    Joined:
    Nov 8, 2018
    Messages:
    11
    Likes Received:
    3
    I have also GRBL error 7
     

    Attached Files:

  11. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,049
    Likes Received:
    4,313
    That EEPROM error looks more like your spindle is busy killing your controller (or already caused damage) - disconnect it and make sure its High Voltage side is correctly wired

    You can reset the EEPROM with gnea/grbl (if its just corrupted settings, if its been physically damaged by high voltages it won't help)

    Again: Understand the difference between GND and EARTH. If your spindle is connected to the DC GND (causes the Probing issues) something is wired terribly wrong on the Spindle!

    Keep in mind there are many other Spindle users who successfully use the same probe setup. Except their spindles are wired correctly to not join AC EARTH to DC GND (somewhere in your set up by mistake)
     
    #11 Peter Van Der Walt, Oct 14, 2020
    Last edited: Oct 14, 2020
  12. philcava

    philcava New
    Builder

    Joined:
    Nov 8, 2018
    Messages:
    11
    Likes Received:
    3
    Thanks for the replay.
    The spindle is not earth.
    Only connect PIN 1, 2 and 3 to U, V and W of the VFD.
    When I touch the plate with the magnet green light turn on, so it work well, but not magnet to spindle.
    The only wire connect to GND of VFD is the wire from BB GND.
     
  13. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,049
    Likes Received:
    4,313
    Something (I am not at your machine, so cannot tell you what) is thus GNDing the spindle body - The Magnet is the Signal pin, when the Signal pin, touches a DC GND, it completes the circuit and lights up the LEDs + tells Grbl the probe made contact. The Plate is also GND (thus when magnet touches plate via Endmill, it completes the circuit)

    So, check your machine over, how is there an electrical path from the spindle body (shaft, collet etc) back to DC GND? Via the frame, via Earth wiring done incorrectly etc

    NB You mention there is No earth! That's terribly dangerous, you DO WANT an Earth to safely dissipate any mains potential instead of killing you. Please get an Electrician in, VFDs are not for DIY Guys to play with Guessing games - it can be really lethal! Get a Sparky in, to come wire it properly with Earthing to trip the Earth Leakage Breaker, conduct the short back to Earth (via an Earth wire, not via your body) etc if something goes wrong! Ignoring electrical codes does not make sense
     
  14. philcava

    philcava New
    Builder

    Joined:
    Nov 8, 2018
    Messages:
    11
    Likes Received:
    3
    I know this, I disconnect the earth to test and to know if the problem coming from there.
    All the wiring is correct and when i test with a simple probe Z it work.
    SO........
     
  15. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,049
    Likes Received:
    4,313
    So, check with a Multimeter, if you have continuity between the spindle and DC gnd, find why, and fix

    100% sure the cheap chinese spindle / vfd is not shorting DC GND from the terminals to Earth or even a coil inside the VFD or Spindle (; ?
     
  16. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,049
    Likes Received:
    4,313
    If a plain Z probe works: is the clip attached to SIG or GND? If the clip is GND, the spindle Ground and clip ground are already the same (and you can technically even skip the clip then) and it touches the plate that is SIG

    You can wire the XYZ plate the same (except VERY NB do not connect V+ then as you will short out V+ and kill the controller) using just the SIG and GND terminals

    docs:xyzprobe:wiringgeneric [OpenBuilds Documentation]
     
    #16 Peter Van Der Walt, Oct 15, 2020
    Last edited: Oct 15, 2020
  17. Netechsys

    Netechsys Journeyman
    Builder

    Joined:
    Mar 25, 2020
    Messages:
    149
    Likes Received:
    108
    Hello.

    ok. I am having the same issue here as well. I do not have the vfd connected to the spindle, and when I attach the magnet to the spindle I get a connection(green light). I have traced back all wires and only way I can get the light off is if I disconnect all end stops.

    When the end stops are connected, they all work and identify correctly. I have dual end stops on each axis hooked in parallel. And if one end stop is triggered both show the red light on them. I am using the xtension switches. The wiring goes from black box to switch one, and a 2nd wire is jumped from switch one to switch 2.

    I have a cable that runs from the black box to the front of the machine where the probe plugs into. I have removed that extension, same results.

    also, with the spindle connected, the case of the spindle is grounded, so I get the light as well, even with the end stops disconnected.

    I can send pics if needed.
     
    #17 Netechsys, Oct 27, 2020
    Last edited: Oct 27, 2020
  18. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,049
    Likes Received:
    4,313
    Any of these shorting to the frame (thus providing a GND to the spindle body via and endstop?) - forgotten rubber spacer for example?


    At the end of the day it is just a matter of probing around with a multimeter in continuity to find where your collet is finding a path to DC GND from, then removing that link. The spindle shaft should not be connected to DC gnd under normal circumstances. (logically right). The fact that it is, is a warning that something is set up wrong, and somehow your spindle body is directly connected to DC GND.

    One of the people from earlier in this thread later got back to me via PM that they had wired DC- to AC GND at the PSU terminals (super dangerous) based on some youtube video about EMI. That is super scary. Explains how they had a path back to DC GND via a spindle body earth though. Fixed it by removing that wire they added.
     
  19. philcava

    philcava New
    Builder

    Joined:
    Nov 8, 2018
    Messages:
    11
    Likes Received:
    3
    Hi, I find a solution.
    • THE TOUCHE PLATE
    • Disconnect the wire with magnet on PIN 4
    • PIN 1 BLACK
    • PIN 2 RED
    • PIN 3 BLUE
    • CONNECTOR TO BLACKBOX
    • PIN 1 BLUE
    • PIN 2 DISCONNECT
    • PIN 3 BLACK
    • Look picture for wire of the touche plate and to BlackBox
    The green LED on the touche plate gone ON and when the you touche the plate on the spindle the light go OFF.
    For me it work perfectly with all the options in PROBE from Openbuilds CONTROL.
     

    Attached Files:

    #19 philcava, Oct 27, 2020
    Last edited: Oct 27, 2020
    kyrenia likes this.
  20. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,049
    Likes Received:
    4,313
    Yip that is one way (keep the spindle GNDed and make the plate the SIG pin)

    I mentioned it here


    But keep in mind that is working around the spindle connected to GND, which can still someday cause serious issues with mains voltages getting into your DC rails

    Please, try to eliminate the GND/EARTH interaction first
     
    #20 Peter Van Der Walt, Oct 27, 2020
    Last edited: Oct 27, 2020
  21. Netechsys

    Netechsys Journeyman
    Builder

    Joined:
    Mar 25, 2020
    Messages:
    149
    Likes Received:
    108
    Sooo. If I measure from the ground of a xtension switch to the frame. And the switch is not connected to the black box. I should not get a connection. And it has the spacers in place. So. Why then.

    147DB6B0-2062-4A28-88A2-400C5D802EC3.jpeg
     
  22. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,049
    Likes Received:
    4,313
    Problem confirmed, now the hunt for why:

    1) Disconnect the limits one-by one, and keep on measuring - see if goes away
    2) Look for other possible ways that the path could be completed back to DC GND

    Thank you for taking the time to try and fix the root issue :)
     
  23. Netechsys

    Netechsys Journeyman
    Builder

    Joined:
    Mar 25, 2020
    Messages:
    149
    Likes Received:
    108
    Sooo. I pulled the switch off of the machine. And if I test from ground to the through hole for the mounting screw, I get a connection. That is then, through the screw, passing to the frame. So if they are suppose to be isolated, they are not.

    38AB7A1E-0C19-4253-9572-882959373D76.jpeg
     
  24. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,049
    Likes Received:
    4,313
    Aha! Good catch! Will make a note to amend that in the next version! Excellent detective work!

    The hole is not plated on the inside edges, its just that outside face (normally against the rubber spacer), so if you can flip the switch and mount it with the rubber spacer on the "bottom" side it should be isolated.

    This will also only affect cases with the following combinations all met:
    - Switch mounted "upside down" (screw touching the PCB pad)
    - On the Z axis only (as rest of machine is isolated by plastic v-wheels
    - Only on Z-Axis designs where the router is not isolated from where-ever the Z-Axis limit switch is attached to (normally isolated by plastic V-Wheels, and plastic Leadnuts if the switch is not mounted to the same carriage)

    So wouldn't be the case for everyone, but easy fix (mount the switches the other
    way round if you are affected - with the rubber washer on the bottom )​
     
    #24 Peter Van Der Walt, Oct 27, 2020
    Last edited: Oct 27, 2020
  25. Netechsys

    Netechsys Journeyman
    Builder

    Joined:
    Mar 25, 2020
    Messages:
    149
    Likes Received:
    108
    After some reworking. And a bit of Re-running of wire, it is ok. And for me, it’s not just the z axis, since I’m using linear rails all around. Now, that said, since I am getting a connection through out the entire machine, it makes mounting the probes sensor much easier.. I can now mount the wire to the frame anywhere and get it to work. Maybe I’ll use a 4 wire from the probe to the extension, and just ground the 4th wire at the connection. Makes it easier to mount and remove the probe. 1 wire to the touch plate, and nothing else needed.
     
    Peter Van Der Walt likes this.
  26. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,049
    Likes Received:
    4,313
    Yeah, spindle case should be AC EARTHED for safety and EMI reasons

    (to avoid confusion, GND = DC, Earth = AC)

    Machine Frame is no longer DC GND right? But when you attach the spindle, the frame, via the spindle body, is now AC EARTH as well (which is fine and what you normally want)

    So then, why does the probe SIGNAL get connected to DC GND via the EARTH?
    Possible reasons:
    - VFD badly designed and the DC inputs aren't isolated from mains earth
    - Wiring mistake somewhere on the VFD inputs connecting DC GND to an Earth?
     
    #26 Peter Van Der Walt, Oct 27, 2020
    Last edited: Oct 27, 2020
  27. kyrenia

    kyrenia New
    Builder

    Joined:
    Oct 27, 2020
    Messages:
    14
    Likes Received:
    6
    same issue for me . i have disconnected vfd cable . measuring on vfd terminals i have 78ohms between dc gnd and ac earth .
     
    Peter Van Der Walt likes this.
  28. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,049
    Likes Received:
    4,313
    Well if the VFDs are the path, then the fix from earlier in the thread will be your only way forward. Swop SIG and GND so the plate is signal, magnet is GND. Then NB NB do not connect V+ (works fine, just no pretty green LEDs)
     
  29. kyrenia

    kyrenia New
    Builder

    Joined:
    Oct 27, 2020
    Messages:
    14
    Likes Received:
    6
    :thumbsup: or work flow change - disconnect vfd cable , probe , reconnect vfd cable
     
  30. kyrenia

    kyrenia New
    Builder

    Joined:
    Oct 27, 2020
    Messages:
    14
    Likes Received:
    6
    i might be barking up the wrong tree , and i am still at testing stage . but i did receive a openbuilds control update this evening . i do not recall seeing this issue before today . could there be a connection ?
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice