Welcome to Our Community

Some features disabled for guests. Register Today.

Relay Issue on LEAD 1010 Plasma Table

Discussion in 'OpenBuilds Forum Help' started by ion529, Jul 19, 2021.

  1. ion529

    ion529 New
    Builder

    Joined:
    Jul 19, 2021
    Messages:
    11
    Likes Received:
    4
    Very new to Open Builds and CNC so be gentle ;)

    I'm having an issue where when I run the hello world G-Code the relay will kick on with the M3S1000 command and then as soon as it pierces it will switch off again so I'm just left with a bunch of holes. I don't think this is an issue with the plasma cutter as I can physically hear the black box relay clicking off.

    I tried to run these commands manually to see if it had the same effect but there was no problem, M3S1000 would turn it on and M5 would turn it off as expected. I then thought that the G04 P0.5 might be the issue, but yet again this had no effect when I entered it manually.

    Any thoughts on this are appreciated as I am very much stumped at this stage. G-Code is attached.

    Thanks in advance.
     

    Attached Files:

  2. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,026
    Likes Received:
    4,117
    Is $30=1000 in Grbl Settings?
    IS $32=0 (Its a plasma, not a laser)

    Is the Plasma Inverter a Blowback/LF type? (HF Plasmas generate tonnes of EMI)

    Is your pierce and cut heights appropriate - too far from the material and the arc will extinguish
     
  3. ion529

    ion529 New
    Builder

    Joined:
    Jul 19, 2021
    Messages:
    11
    Likes Received:
    4
    Thanks for the reply :)

    1. Yep
    2. Yep, Laser mode disabled
    3. Blowback Start
    4. In line with the manufacturers recommendations (Which were nearly the exact same as the default open builds one)
     
    Peter Van Der Walt likes this.
  4. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,026
    Likes Received:
    4,117
    With the plasma's power off, run an aircut and see if you still hear the relay clicking off. And if you have a multimeter, in continuity mode, over the relay terminals - might be better than listening for the click, see if it really opens?
     
  5. ion529

    ion529 New
    Builder

    Joined:
    Jul 19, 2021
    Messages:
    11
    Likes Received:
    4
    Just tested it there with the multimeter. Can confirm its only closing briefly at the pierce.
     
  6. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,026
    Likes Received:
    4,117
    There is no OFF commands in the gcode (at that point), so that is interesting.

    Does the TOOL ON button on the top menu in CONTROL trigger it to stay on?
     
  7. ion529

    ion529 New
    Builder

    Joined:
    Jul 19, 2021
    Messages:
    11
    Likes Received:
    4
    Yep TOOL ON and TOOL OFF work perfectly. So does manually sending M3 and M5.

    Do you reckon reinstalling Open Builds control would help / eliminate the possibility of some software glitch etc.?
     
  8. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,026
    Likes Received:
    4,117
    Unlikely to be software related no.

    But do upload a Grbl Settings backup, lets just take a peek. Grbl settings tab > Backup settings button is on the top toolbar
     
  9. ion529

    ion529 New
    Builder

    Joined:
    Jul 19, 2021
    Messages:
    11
    Likes Received:
    4
    Grbl Settings attached:
     

    Attached Files:

  10. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,026
    Likes Received:
    4,117
    Are there any clues in the Serial Log when it stops, i notice Hard Limits is turned on, perhaps a Hard Limits alarm (will kill relay too), or a Grbl Reset?
     
  11. ion529

    ion529 New
    Builder

    Joined:
    Jul 19, 2021
    Messages:
    11
    Likes Received:
    4
    Nothing in the serial log about hard limit.

    I reset the grbl settings but that had no effect. I also disabled the "limit switches installed" and saved that; still no change.

    What about resetting the EEPROM? Is that what you meant by 'Grbl Reset'? I'm not too familiar with the terms :p
     
    Peter Van Der Walt likes this.
  12. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,026
    Likes Received:
    4,117
    :) no was referring to seeing Grbl reset (reboot) itself in the Log at the time it cuts off perhaps.

    Just for my own sanity, can you clarify:

    Replied as

    :) i lay awake last night going over this again and again, and assume that test was, as requested, with the Plasma itself removed from the equation. But as you didnt say that for certain i keep wondering.

    Just please confirm, with the plasma itself off (emi source) does it also just cut off shortly after being turned on?

    And if it was off in that earlier test, use the Serial Console and feed the gcode line by line (copy/paste) see if you can identify where it switches on (M3) and then off (after the m3 but before the next line, or after the first g1, or... Etc)
     
  13. ion529

    ion529 New
    Builder

    Joined:
    Jul 19, 2021
    Messages:
    11
    Likes Received:
    4
    1. Yea no nothing in the logs I'm afraid.
    2. The plasma cutter was (still is) completely disconnected from the machine.
    3. I fed the G-Code line by line and it's the second G1 where it switches off.

    And I think I know why: I just noticed that at end of each G1 command is S1 but when I enter M3S1 the relay doesn't click on. I've replaced all the S1s with S1000 and I'm gonna test it now.
     
  14. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,026
    Likes Received:
    4,117
    The file you posted above has the right S1000 at the end:

    upload_2021-7-20_16-28-25.png

    So , uploaded the wrong file, or testing with a different file than the one provided? - i did check the file when you posted it.
     
  15. ion529

    ion529 New
    Builder

    Joined:
    Jul 19, 2021
    Messages:
    11
    Likes Received:
    4
    Well now I feel incredibly stupid, I don't know how I even managed to get a file from openbuilds cam that had S1, I cut and pasted the hw.gcode to my USB stick then downloaded another one to upload here assuming they would be the same but somewhere my settings were different.

    Sorry for leading you on a wild goose chase, its working perfectly now. It's like they always say: 99% of the problems are between the steering wheel and the drivers seat.

    Just out of curiosity, does the relay only click on at S1000? or is there a range of values?
     
  16. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,026
    Likes Received:
    4,117
    Reliably 1000. May turn on with less, but its not healthy to PWM the relay coil - its not the intended use case. With the relay/plasma its an ON/OFF situation - the relay cannot control output power. The S-Word is more useful for spindles connected via the 0-10v output, or lasers connected via the PWM output. Knowing you have a device that needs an ON/OFF signal, its up to you to ensure the gcode is only turning it on (M3S1000) and OFF (M3S0 or M5)
     
  17. ion529

    ion529 New
    Builder

    Joined:
    Jul 19, 2021
    Messages:
    11
    Likes Received:
    4
    Ah okay so the relay coil is controlled with a PWM signal.

    Thanks for all the help! Sorry again.
     
  18. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,026
    Likes Received:
    4,117
    Other way round. If S<1000 Grbl outputs a PWM signal. You want a non-pwm signal holding the relay coil, thus you use S1000
     

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