Welcome to Our Community

Some features disabled for guests. Register Today.

EMI issues

Discussion in 'Control Software' started by Raul Rabaça, May 28, 2023.

  1. Raul Rabaça

    Builder

    Joined:
    Dec 5, 2022
    Messages:
    37
    Likes Received:
    1
    Hi everyone,
    I'm having issues with the blackbox x32 plus OB Interface.
    I'm not able to run a simple job as surfacing the spoilboard because it keeps given me errors; error 20, error 30, error 36,.... The most I can do is 15/20 minutes run, and that's it. again error.
    If I press (touch) the Abort button on the Interface, at first doesn't react, then if I keep pressing it accelerates the spindle speed, then, plunge the spindle further down, and just after all that stops the job.
    Some time ago, I asked for help here because the OB Interface doesn't start right. It starts one time and halfway stops and restart again.
    I don't know if there is something to do with it, but the reality is I'm not able to use the Blackbox sistem.
    Someone can help me on that, please?
     
  2. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,487
    Likes Received:
    4,210
    • Interface Firmware up to date? (V1.57)
    • Gcode made with a proper Grbl compatible CAM/Post?
    • Could be EMI, any 3rd party parts (not from OpenBuilds) in use?
     
  3. Raul Rabaça

    Builder

    Joined:
    Dec 5, 2022
    Messages:
    37
    Likes Received:
    1
    Interface is up to date
    Gcode: I tried the option on the Ob Control V. 10369, errors; tried the Aspire, errors.
    I'm using the A2- 8015 Inverter with Vevor 1.5kw spindle.
    I have shielded cables and use original (Openbuilds) connection cable from Blackbox to the Interface. I even put some ferrite beads on the cable
     
  4. Raul Rabaça

    Builder

    Joined:
    Dec 5, 2022
    Messages:
    37
    Likes Received:
    1
    When I connect directly, the Interface to the computer it states that the software is up-to-date V. 157, but doesn't reboot 2 times.
     
  5. Raul Rabaça

    Builder

    Joined:
    Dec 5, 2022
    Messages:
    37
    Likes Received:
    1
    Now, I tried to run the same Gcode but dry, without cutting, and again it stopped after a while, 15/30 minutes. This time no error messages on the interface, but also didn't display the job coordinates at all.
    This time, the cancel/abort button was completely dead. No response at all
     
  6. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,487
    Likes Received:
    4,210
    Keep the spindle off and do an aircut (zero Z high) to play the elimination game. See if it runs through with spindle removed from the equation
     
  7. Raul Rabaça

    Builder

    Joined:
    Dec 5, 2022
    Messages:
    37
    Likes Received:
    1
    I run half of the Gcode without the spindle on, and seemed ok. no errors.

    So I stopped the job with the Interface Abort/cancel button and tried to home. The Z axis goes up, engage the limit switch but doesn't stop, 2 alarms show on the interface display: Alarme code: 6 and Error nº 2.
    Switched off everything, but the now it doesn't go home, always these two alarms.
    The inverter is unplugged all the time.
     
  8. Raul Rabaça

    Builder

    Joined:
    Dec 5, 2022
    Messages:
    37
    Likes Received:
    1
    Actually, none of the limit switches are responding anymore. I can see the red light coming from the limit switches, but the machine doesn't stop, it crashes into the gantry
     
  9. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,487
    Likes Received:
    4,210
    Check that you have Hard Limits enabled in Grbl Settings

    Test them by hand in the Troubleshooting tab, smashing into them will break them.
     
  10. Raul Rabaça

    Builder

    Joined:
    Dec 5, 2022
    Messages:
    37
    Likes Received:
    1
    Ok, I will try that.
    My limit switches are inductive switches.
    I have Soft Limits, bur the machine doesn't respond to that anymore after the air run.
    Everything was runing quite well, apart from the constant errors.
     
  11. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,487
    Likes Received:
    4,210
    Test them first. Make sure you set the V+ jumper. Softlimits needs homing
     
  12. Raul Rabaça

    Builder

    Joined:
    Dec 5, 2022
    Messages:
    37
    Likes Received:
    1


    [22:12:03] [ ] $1=255 ;Step idle delay, milliseconds

    [22:12:03] [ ] $2=0 ;Step pulse invert, mask

    [22:12:03] [ ] $3=5 ;Step direction invert, mask

    [22:12:03] [ ] $4=0 ;Invert step enable pin, boolean

    [22:12:03] [ ] $5=7 ;Invert limit pins, boolean/mask

    [22:12:03] [ ] $6=1 ;Invert probe pin, boolean

    [22:12:03] [ ] $7=0 ;Disable spindle with 0 speed, boolean

    [22:12:03] [ ] $8=0 ;Ganged axes direction invert as bitfield

    [22:12:03] [ ] $10=511 ;Status report options, mask

    [22:12:03] [ ] $11=0.010 ;Junction deviation, millimeters

    [22:12:03] [ ] $12=0.002 ;Arc tolerance, millimeters

    [22:12:03] [ ] $13=0 ;Report in inches, boolean

    [22:12:03] [ ] $14=0 ;Limit pins invert, mask

    [22:12:03] [ ] $15=0 ;Coolant pins invert, mask

    [22:12:03] [ ] $16=0 ;Spindle pins invert, mask

    [22:12:03] [ ] $17=0 ;Control pins pullup disable, mask

    [22:12:03] [ ] $18=0 ;Limit pins pullup disable, mask

    [22:12:03] [ ] $19=0 ;Probe pin pullup disable, boolean

    [22:12:03] [ ] $20=0 ;Soft limits enable, boolean

    [22:12:03] [ ] $21=1 ;Hard limits enable, boolean

    [22:12:03] [ ] $22=1 ;Homing cycle enable, boolean (Grbl) / mask (GrblHAL)

    [22:12:03] [ ] $23=0 ;Homing direction invert, mask

    [22:12:03] [ ] $24=50.0 ;Homing locate feed rate, mm/min

    [22:12:03] [ ] $25=1500.0 ;Homing search seek rate, mm/min

    [22:12:03] [ ] $26=250 ;Homing switch debounce delay, milliseconds

    [22:12:03] [ ] $27=1.000 ;Homing switch pull-off distance, millimeters

    [22:12:03] [ ] $28=0.100 ;G73 retract distance, in mm

    [22:12:03] [ ] $29=0.0 ;Step pulse delay (ms)

    [22:12:03] [ ] $30=24000.000 ;Maximum spindle speed, RPM

    [22:12:03] [ ] $31=0.000 ;Minimum spindle speed, RPM

    [22:12:03] [ ] $32=0 ;Laser-mode enable, boolean

    [22:12:03] [ ] $33=5000.0 ;Spindle PWM frequency

    [22:12:03] [ ] $34=0.0 ;Spindle off Value

    [22:12:04] [ ] $35=0.0 ;Spindle min value

    [22:12:04] [ ] $36=100.0 ;Spindle max value

    [22:12:04] [ ] $37=0 ;Stepper deenergize mask

    [22:12:04] [ ] $39=1 ;Enable printable realtime command characters, boolean

    [22:12:04] [ ] $40=1 ;Apply soft limits for jog commands, boolean

    [22:12:04] [ ] $43=1 ;Homing passes

    [22:12:04] [ ] $44=4 ;Homing cycle 1

    [22:12:04] [ ] $45=3 ;Homing cycle 2

    [22:12:04] [ ] $46=0 ;Homing cycle 3

    [22:12:04] [ ] $62=0 ;Sleep Enable

    [22:12:04] [ ] $63=2 ;Feed Hold Actions

    [22:12:04] [ ] $64=0 ;Force Init Alarm

    [22:12:04] [ ] $65=0 ;Require homing sequence to be executed at startup

    [22:12:04] [ ] $70=7 ;Network Services

    [22:12:04] [ ] $73=1 ;Wifi Mode

    [22:12:04] [ ] $74=NaN ;Wifi network SSID

    [22:12:04] [ ] $75=NaN ;Wifi network PSK

    [22:12:04] [ ] $100=160.000 ;X-axis steps per millimeter

    [22:12:04] [ ] $101=160.000 ;Y-axis steps per millimeter

    [22:12:04] [ ] $102=320.000 ;Z-axis steps per millimeter

    [22:12:04] [ ] $110=2000.000 ;X-axis maximum rate, mm/min

    [22:12:04] [ ] $111=2000.000 ;Y-axis maximum rate, mm/min

    [22:12:04] [ ] $112=2000.000 ;Z-axis maximum rate, mm/min

    [22:12:04] [ ] $120=150.000 ;X-axis acceleration, mm/sec^2

    [22:12:04] [ ] $121=150.000 ;Y-axis acceleration, mm/sec^2

    [22:12:04] [ ] $122=100.000 ;Z-axis acceleration, mm/sec^2

    [22:12:04] [ ] $130=320.000 ;X-axis maximum travel, millimeters

    [22:12:04] [ ] $131=320.000 ;Y-axis maximum travel, millimeters

    [22:12:04] [ ] $132=500.000 ;Z-axis maximum travel, millimeters

    [22:12:04] [ ] $300=NaN ;Hostname

    [22:12:04] [ ] $302=192.168.5.1 ;IP Address

    [22:12:04] [ ] $303=192.168.5.1 ;Gateway

    [22:12:04] [ ] $304=255.255.255.0 ;Netmask

    [22:12:04] [ ] $305=23 ;Telnet Port

    [22:12:04] [ ] $306=80 ;HTTP Port

    [22:12:04] [ ] $307=81 ;Websocket Port

    [22:12:04] [ ] $341=0 ;Tool Change Mode

    [22:12:04] [ ] $342=30.0 ;Tool Change probing distance

    [22:12:04] [ ] $343=25.0 ;Tool Change Locate Feed rate

    [22:12:04] [ ] $344=200.0 ;Tool Change Search Seek rate

    [22:12:04] [ ] $345=100.0 ;Tool Change Probe Pull Off rate

    [22:12:04] [ ] $370=0 ;Invert I/O Port Inputs (mask)

    [22:12:04] [ ] $384=0 ;Disable G92 Persistence

    [22:12:04] [ ] ok

    [22:12:04] [ $$ ] [VER:1.1f.20220325:custom]

    [22:12:04] [ $$ ] [OPT:VNSL2,35,1024,3,0]

    [22:12:04] [ $$ ] [NEWOPT:ENUMS,RT+,HOME,TC,SED,WIFI,SD]

    [22:12:04] [ $$ ] [FIRMWARE:grblHAL]

    [22:12:04] [ $$ ] [NVS STORAGE:*FLASH]

    [22:12:04] [ $$ ] [DRIVER:ESP32]

    [22:12:04] [ $$ ] [DRIVER VERSION:220327]

    [22:12:04] [ $$ ] [DRIVER OPTIONS:v4.3.2-555-gb4ef1b80a2-dirty]

    [22:12:04] [ $$ ] [BOARD:BlackBox X32]

    [22:12:04] [ $$ ] [AUX IO:1,0,0,0]

    [22:12:04] [ $$ ] [WIFI MAC:94:B5:55:13:07:4C]

    [22:12:04] [ $$ ] [IP:0.0.0.0]

    [22:12:04] [ $$ ] [PLUGIN:SDCARD v1.05]

    [22:12:04] [ $$ ] [PLUGIN:ESP32 WebUI v0.03]

    [22:12:04] [ $$ ] ok
     
  13. Raul Rabaça

    Builder

    Joined:
    Dec 5, 2022
    Messages:
    37
    Likes Received:
    1
    Yes I had set the V+ jumper before and the switch limits where working ok, homing was working ok.
    Because I wanted to surfacing the spoilboard, I had to do homing before and I used the hard limits to define the work area. I just couldn't finish any job (surfacing) because I kept receiving error messages.
    Now not even homing is possible.
     
  14. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,487
    Likes Received:
    4,210
    Well as it was working, backtrack what you might have changed. And restore your working Grbl Settings backup (always good to take a backup regularly from the provided Grbl Settings Backup button on the Grbl Settings tab). If you don't have a backup, check your settings manually or reload one of our proven profiles
     
  15. Raul Rabaça

    Builder

    Joined:
    Dec 5, 2022
    Messages:
    37
    Likes Received:
    1
    Is what I'm doing now....Some Grbl setting values are changed...
    Let's see if I can make it homing at least
     
  16. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,487
    Likes Received:
    4,210
    Don't test by homing. You are going to break something :)
    Test by hand, using the Troubleshooting tab first. Activating the switch by hand with a piece of metal in front of it, is safer than a runaway machine slamming into them.
    Make sure a) that they work, b) that they aren't inverted, and c) correct axis per switch (Didnt plug Z into X for example)

    Load a machine profile as a base, our profiles set things like Pin Inversions, Report Masks etc that can all play into this. Report mask $10=511 for example, is important for the Troubleshooting tab to work
     
  17. Raul Rabaça

    Builder

    Joined:
    Dec 5, 2022
    Messages:
    37
    Likes Received:
    1
    Hi Peter,
    So, I reloaded the machine profile again and checked all the wiring carefully from the machine to the Blackbox.
    I found out that the black wire (ground) from the Z axe limit switch was loose. Reconnect it again, did homing without any problem and ran the same Gcode as before.
    Went all the way without any issue.

    Could be that the loose wire from the limit switch provoked such a series of different errors?
    Shall I do or look for something else to check the stability of the system?

    Thank you Peter
     
  18. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,487
    Likes Received:
    4,210
    Monitor it, see if it made the difference.

    A floating wire (not connected on both ends) acts effectively like an antenna - catching more EMI than one that is connected.
     
  19. Raul Rabaça

    Builder

    Joined:
    Dec 5, 2022
    Messages:
    37
    Likes Received:
    1
    Ok, I will
    The wire was just loose in one end (into the Balckbox), the other end and extension connection was ok.

    Thanks Peter
     

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