Welcome to Our Community

Some features disabled for guests. Register Today.

Control software USB issues at end of carve

Discussion in 'Control Software' started by JSuster, Aug 5, 2020.

  1. JSuster

    JSuster New
    Builder

    Joined:
    Jun 11, 2020
    Messages:
    31
    Likes Received:
    9
    I have had this issue a few times where at the end of a carve it does not fully finish the G-code. The M5 command gets sent, however, the machine does not move to the normal position after a carve and the M9 command is not displayed in the serial display, however the coolant does shut off. Each time it has ended in the same spot and hasn't stopped mid-carve.

    Following this issue, the stop and pause buttons are still available, but do not do anything. The only way i have found to resolve this is to unplug the USB, plug it back in and re-connect the software to the controller.

    It is not specific to the file as i have a file multiple times and have had mixed results. Also, carve time doesn't seem to be the issue as this has occurred on 2 hour carves as well as 2 minute carves.

    Is this a USB issue or something going on with the CONTROL software?
     
  2. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,749
    Likes Received:
    4,264
    You could give an alternative control application a go to help narrow it down between potential bug vs usb / emi: See docs:software:overview [OpenBuilds Documentation] for some alternative options


    What is connected to the Coolant port? (as this sounds like turning off that device, creates an EMI event)
     
  3. JSuster

    JSuster New
    Builder

    Joined:
    Jun 11, 2020
    Messages:
    31
    Likes Received:
    9
    I copied it to a text file but I seem to have lost that. The last item it shows is the M5 command with no other errors shown. Just the normal warnings after I unplug the USB then re connect. I will try to copy it again the next time I have the issue. I will try giving UGS a try for a bit to see if it repeats there to point us towards USB issues.
     
  4. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,749
    Likes Received:
    4,264
    Lets also investigate this:
     
  5. JSuster

    JSuster New
    Builder

    Joined:
    Jun 11, 2020
    Messages:
    31
    Likes Received:
    9
    I use the coolant commands to control the relay in the controller which I have hooked up to a 240v pond pump for my water cooled spindle as well as the LED light for the spindle (24V OB design) plugged into the controller with the jumper configured appropriately. This way I know if the lights are on, the spindle has coolant.
     
    Peter Van Der Walt likes this.
  6. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,749
    Likes Received:
    4,264
    OK that should be fine :)
    But do a test with the pump disconnected / relay jumper removed, etc too, just to help narrow things down
     
  7. JSuster

    JSuster New
    Builder

    Joined:
    Jun 11, 2020
    Messages:
    31
    Likes Received:
    9
    Peter, sorry for the delay in getting to this. I did some tests tonight with both OpenBuilds Control as well as UGS. I was able to narrow it down to something with turning off the pump based on your previous comments. I simply cycled M8 and M9 until it would freeze up. I then repeated with pump and jumper unplugged, followed by jumper installed, pump not installed. Only with the pump plugged into the relay was i able to get "results". All of these tests were run with the spindle off and the machine stationary so there should have been no other EMI. I have attached the CMD prompt from UGS from when this occurred following unplugging the USB cable.

    I am not sure what the best solution to this, or what is causing it. I would imagine a large in-rush current at start up of the pump, not sure what the physics is behind a disconnect that could cause this. I am running a 240V 75watt pump through the relay, not sure if that is an issue with the proximity of the relay to other components on the board as it appears the relay is rated for up to 250V.
     

    Attached Files:

  8. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,749
    Likes Received:
    4,264
    Couple options:

    Use another IoT relay to switch the pump
    NB The onboard relay is not intended for mains usage, nor is it deemed safe. The PCB layout is not designed with mains isolation intended. it is intended for plasma trigger signals, misting solenoids, etc (DC loads).

    Or option 2, Control pump manually
     
    JSuster likes this.
  9. JSuster

    JSuster New
    Builder

    Joined:
    Jun 11, 2020
    Messages:
    31
    Likes Received:
    9
    Thanks for your help on this! I will likely just remove the relay from the equation and run the pump any time my system is powered up. I'm not a fan of manual control since forgetting could lead to an expensive mistake!
     
    Peter Van Der Walt likes this.
  10. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,749
    Likes Received:
    4,264
    Agreed, manual is definately the 2nd option. But another IoT is cheap expansion (; so do consider that (or wait are you in a 220v country? No IoT option...)

    Depending on your skill/confort level with mains, consider a inline RF/EMI filter/supressor as well?
     
  11. JSuster

    JSuster New
    Builder

    Joined:
    Jun 11, 2020
    Messages:
    31
    Likes Received:
    9
    I am not in a 220V country, i ordered a 220V spindle just to have lower current as well as well as future expansion possibilities. They then sent a 220V pump to go along with it. I would have preferred 120V but have been able to make everything work up to this point.

    Having the pump running the whole time might actually be better as letting it run after a carve will help take all the heat out of the spindle rather than letting it heat-soak.
     
  12. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,749
    Likes Received:
    4,264
    Ahhh good.

    So if you decide to automate after all, an IoT relay connected to the Coolant port, and a 120v pump from the pond section of your big box store, will be perfect.

    I assume your pump is one of those pond pumps with the brass fitting for the smaller hose?


    Or ..
    G4 P120 ; wait 120 seconds or whatever you think you need
    M9 ; Coolant off

    RE Heatsoak, the water cooling should prevent heat from building up in the first place - if a bucket+pump doesn't do it on long carves, investigate a "CW-5000" chiller
     
    #12 Peter Van Der Walt, Aug 10, 2020
    Last edited: Aug 10, 2020
  13. JSuster

    JSuster New
    Builder

    Joined:
    Jun 11, 2020
    Messages:
    31
    Likes Received:
    9
    Correct, i highly doubt i am getting the rated flow from that. Not sure on how little flow is needed for the spindle, i don't think it takes much, just more temp increase as the water goes through.

    Maybe another add to the Fusion PP ? ;) If other tool movements are needed following a carve (I move my Y 200mm out of the way after a carve is complete to remove clamps, etc) you could just stop the file, and turn coolant on manually.
     
    Peter Van Der Walt likes this.

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