Welcome to Our Community

Some features disabled for guests. Register Today.

limit switch issues when switched over from x4 to x32

Discussion in 'CNC Mills/Routers' started by Lauren85, Mar 16, 2023.

  1. Lauren85

    Lauren85 New
    Builder

    Joined:
    Sep 29, 2020
    Messages:
    29
    Likes Received:
    4
    I had my x4 blackbox die on my and switched the setup over to the x32. In the x4 setting all the limit switches I installed worked correctly. When I switched over to the x32, they no longer light up or register as triggered. The pugs were pulled from the x4 and installed in the x32, no wiring was changed.

    I have the same machine loaded as before. I have the limit switches turned on on the GLBL setting. This is my code below. Please advise what I need to do to continue to use my existing limit switches.

    [11:55:23] [ ] $0=10.0 ;Step pulse time, microseconds

    [11:55:23] [ ] $1=255 ;Step idle delay, milliseconds

    [11:55:23] [ ] $2=0 ;Step pulse invert, mask

    [11:55:23] [ ] $3=4 ;Step direction invert, mask

    [11:55:23] [ ] $4=0 ;Invert step enable pin, boolean

    [11:55:23] [ ] $5=0 ;Invert limit pins, boolean/mask

    [11:55:23] [ ] $6=0 ;Invert probe pin, boolean

    [11:55:23] [ ] $7=0 ;Disable spindle with 0 speed, boolean

    [11:55:23] [ ] $8=0 ;Ganged axes direction invert as bitfield

    [11:55:23] [ ] $10=2 ;Status report options, mask

    [11:55:23] [ ] $11=0.010 ;Junction deviation, millimeters

    [11:55:23] [ ] $12=0.002 ;Arc tolerance, millimeters

    [11:55:23] [ ] $13=0 ;Report in inches, boolean

    [11:55:23] [ ] $14=0 ;Limit pins invert, mask

    [11:55:23] [ ] $15=0 ;Coolant pins invert, mask

    [11:55:23] [ ] $16=0 ;Spindle pins invert, mask

    [11:55:23] [ ] $17=0 ;Control pins pullup disable, mask

    [11:55:23] [ ] $18=0 ;Limit pins pullup disable, mask

    [11:55:23] [ ] $19=0 ;Probe pin pullup disable, boolean

    [11:55:23] [ ] $20=0 ;Soft limits enable, boolean

    [11:55:23] [ ] $21=1 ;Hard limits enable, boolean

    [11:55:23] [ ] $22=1 ;Homing cycle enable, boolean (Grbl) / mask (GrblHAL)

    [11:55:23] [ ] $23=3 ;Homing direction invert, mask

    [11:55:23] [ ] $24=100.0 ;Homing locate feed rate, mm/min

    [11:55:23] [ ] $25=1000.0 ;Homing search seek rate, mm/min

    [11:55:23] [ ] $26=250 ;Homing switch debounce delay, milliseconds

    [11:55:23] [ ] $27=5.000 ;Homing switch pull-off distance, millimeters

    [11:55:23] [ ] $28=0.100 ;G73 retract distance, in mm

    [11:55:23] [ ] $29=0.0 ;Step pulse delay (ms)

    [11:55:23] [ ] $30=255.000 ;Maximum spindle speed, RPM

    [11:55:23] [ ] $31=0.000 ;Minimum spindle speed, RPM

    [11:55:23] [ ] $32=1 ;Laser-mode enable, boolean

    [11:55:23] [ ] $33=5000.0 ;Spindle PWM frequency

    [11:55:23] [ ] $34=0.0 ;Spindle off Value

    [11:55:23] [ ] $35=0.0 ;Spindle min value

    [11:55:23] [ ] $36=100.0 ;Spindle max value

    [11:55:23] [ ] $37=0 ;Stepper deenergize mask

    [11:55:23] [ ] $39=1 ;Enable printable realtime command characters, boolean

    [11:55:23] [ ] $40=0 ;Apply soft limits for jog commands, boolean

    [11:55:23] [ ] $43=1 ;Homing passes

    [11:55:23] [ ] $44=4 ;Homing cycle 1

    [11:55:23] [ ] $45=3 ;Homing cycle 2

    [11:55:23] [ ] $46=0 ;Homing cycle 3

    [11:55:23] [ ] $62=0 ;Sleep Enable

    [11:55:23] [ ] $63=3 ;Feed Hold Actions

    [11:55:23] [ ] $64=0 ;Force Init Alarm

    [11:55:23] [ ] $65=0 ;Require homing sequence to be executed at startup

    [11:55:23] [ ] $70=7 ;Network Services

    [11:55:23] [ ] $73=1 ;Wifi Mode

    [11:55:23] [ ] $74= ;Wifi network SSID

    [11:55:23] [ ] $75= ;Wifi network PSK

    [11:55:23] [ ] $100=199.100 ;X-axis steps per millimeter

    [11:55:23] [ ] $101=199.100 ;Y-axis steps per millimeter

    [11:55:23] [ ] $102=199.100 ;Z-axis steps per millimeter

    [11:55:23] [ ] $110=4000.000 ;X-axis maximum rate, mm/min

    [11:55:23] [ ] $111=4000.000 ;Y-axis maximum rate, mm/min

    [11:55:23] [ ] $112=4000.000 ;Z-axis maximum rate, mm/min

    [11:55:23] [ ] $120=400.000 ;X-axis acceleration, mm/sec^2

    [11:55:23] [ ] $121=400.000 ;Y-axis acceleration, mm/sec^2

    [11:55:23] [ ] $122=400.000 ;Z-axis acceleration, mm/sec^2

    [11:55:23] [ ] $130=810.000 ;X-axis maximum travel, millimeters

    [11:55:23] [ ] $131=730.000 ;Y-axis maximum travel, millimeters

    [11:55:23] [ ] $132=90.000 ;Z-axis maximum travel, millimeters

    [11:55:23] [ ] $300=Grbl ;Hostname

    [11:55:23] [ ] $302=192.168.5.1 ;IP Address

    [11:55:23] [ ] $303=192.168.5.1 ;Gateway

    [11:55:23] [ ] $304=255.255.255.0 ;Netmask

    [11:55:23] [ ] $305=23 ;Telnet Port

    [11:55:23] [ ] $306=80 ;HTTP Port

    [11:55:23] [ ] $307=81 ;Websocket Port

    [11:55:23] [ ] $341=0 ;Tool Change Mode

    [11:55:23] [ ] $342=30.0 ;Tool Change probing distance

    [11:55:23] [ ] $343=25.0 ;Tool Change Locate Feed rate

    [11:55:23] [ ] $344=200.0 ;Tool Change Search Seek rate

    [11:55:23] [ ] $345=100.0 ;Tool Change Probe Pull Off rate

    [11:55:23] [ ] $370=0 ;Invert I/O Port Inputs (mask)

    [11:55:23] [ ] $384=0 ;Disable G92 Persistence

    [11:55:23] [ ] ok

    [11:55:23] [ $$ ] [VER:1.1f.20220325:cbeam]

    [11:55:23] [ $$ ] [OPT:VNSLW2,35,1024,3,0]

    [11:55:23] [ $$ ] [NEWOPT:ENUMS,RT+,HOME,TC,SED,WIFI,SD]

    [11:55:23] [ $$ ] [FIRMWARE:grblHAL]

    [11:55:23] [ $$ ] [NVS STORAGE:*FLASH]

    [11:55:23] [ $$ ] [DRIVER:ESP32]

    [11:55:23] [ $$ ] [DRIVER VERSION:220327]

    [11:55:23] [ $$ ] [DRIVER OPTIONS:v4.3.2-555-gb4ef1b80a2-dirty]

    [11:55:23] [ $$ ] [BOARD:BlackBox X32]

    [11:55:23] [ $$ ] [AUX IO:1,0,0,0]

    [11:55:23] [ $$ ] [WIFI MAC:94:B5:55:0A:96:98]

    [11:55:23] [ $$ ] [IP:0.0.0.0]

    [11:55:23] [ $$ ] [PLUGIN:SDCARD v1.05]

    [11:55:23] [ $$ ] [PLUGIN:ESP32 WebUI v0.03]

    [11:55:23] [ $$ ] ok
     
  2. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    13,986
    Likes Received:
    4,105
    Did you load it from the Select Machine dropdown? There are a couple values that doesn't match our profiles (or you used a very old version of CONTROL?)
     
  3. Lauren85

    Lauren85 New
    Builder

    Joined:
    Sep 29, 2020
    Messages:
    29
    Likes Received:
    4
    This is for a lead cbeam machine setting set up in 2020
     
  4. Lauren85

    Lauren85 New
    Builder

    Joined:
    Sep 29, 2020
    Messages:
    29
    Likes Received:
    4
    I am using the direct CBEAM machine settting from drop down on OpenBuilds Control V1.0.355. Only change made was $4 to a 0 to get motors running
     
    #4 Lauren85, Mar 16, 2023
    Last edited: Mar 16, 2023
  5. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    13,986
    Likes Received:
    4,105
    CONTROL up to date? V1.0.362?

    That's the odd part - CONTROL should have set $4=0 for you, the fact that you had to do it manually means either used an old version of CONTROL, or you perhaps forgot to click Save after loading the profile, or some other operator-error :)

    Reload the profile from the dropdown, using 1.0.362, click Save, click Reset when prompted
     
  6. Lauren85

    Lauren85 New
    Builder

    Joined:
    Sep 29, 2020
    Messages:
    29
    Likes Received:
    4
    updated global setting, still no response from limit switches

    [14:45:47] [ ] $0=10.0 ;Step pulse time, microseconds

    [14:45:47] [ ] $1=255 ;Step idle delay, milliseconds

    [14:45:47] [ ] $2=0 ;Step pulse invert, mask

    [14:45:47] [ ] $3=5 ;Step direction invert, mask

    [14:45:47] [ ] $4=0 ;Invert step enable pin, boolean

    [14:45:47] [ ] $5=7 ;Invert limit pins, boolean/mask

    [14:45:47] [ ] $6=1 ;Invert probe pin, boolean

    [14:45:47] [ ] $7=0 ;Disable spindle with 0 speed, boolean

    [14:45:47] [ ] $8=0 ;Ganged axes direction invert as bitfield

    [14:45:47] [ ] $10=511 ;Status report options, mask

    [14:45:47] [ ] $11=0.010 ;Junction deviation, millimeters

    [14:45:47] [ ] $12=0.002 ;Arc tolerance, millimeters

    [14:45:47] [ ] $13=0 ;Report in inches, boolean

    [14:45:47] [ ] $14=0 ;Limit pins invert, mask

    [14:45:47] [ ] $15=0 ;Coolant pins invert, mask

    [14:45:47] [ ] $16=0 ;Spindle pins invert, mask

    [14:45:47] [ ] $17=0 ;Control pins pullup disable, mask

    [14:45:47] [ ] $18=0 ;Limit pins pullup disable, mask

    [14:45:47] [ ] $19=0 ;Probe pin pullup disable, boolean

    [14:45:47] [ ] $20=0 ;Soft limits enable, boolean

    [14:45:47] [ ] $21=1 ;Hard limits enable, boolean

    [14:45:47] [ ] $22=1 ;Homing cycle enable, boolean (Grbl) / mask (GrblHAL)

    [14:45:47] [ ] $23=1 ;Homing direction invert, mask

    [14:45:47] [ ] $24=2000.0 ;Homing locate feed rate, mm/min

    [14:45:47] [ ] $25=1000.0 ;Homing search seek rate, mm/min

    [14:45:47] [ ] $26=250 ;Homing switch debounce delay, milliseconds

    [14:45:47] [ ] $27=5.000 ;Homing switch pull-off distance, millimeters

    [14:45:47] [ ] $28=0.100 ;G73 retract distance, in mm

    [14:45:47] [ ] $29=0.0 ;Step pulse delay (ms)

    [14:45:47] [ ] $30=1000.000 ;Maximum spindle speed, RPM

    [14:45:47] [ ] $31=0.000 ;Minimum spindle speed, RPM

    [14:45:47] [ ] $32=0 ;Laser-mode enable, boolean

    [14:45:47] [ ] $33=5000.0 ;Spindle PWM frequency

    [14:45:47] [ ] $34=0.0 ;Spindle off Value

    [14:45:47] [ ] $35=0.0 ;Spindle min value

    [14:45:47] [ ] $36=100.0 ;Spindle max value

    [14:45:47] [ ] $37=0 ;Stepper deenergize mask

    [14:45:47] [ ] $39=1 ;Enable printable realtime command characters, boolean

    [14:45:47] [ ] $40=0 ;Apply soft limits for jog commands, boolean

    [14:45:47] [ ] $43=1 ;Homing passes

    [14:45:47] [ ] $44=4 ;Homing cycle 1

    [14:45:47] [ ] $45=3 ;Homing cycle 2

    [14:45:47] [ ] $46=0 ;Homing cycle 3

    [14:45:47] [ ] $62=0 ;Sleep Enable

    [14:45:47] [ ] $63=2 ;Feed Hold Actions

    [14:45:47] [ ] $64=0 ;Force Init Alarm

    [14:45:47] [ ] $65=0 ;Require homing sequence to be executed at startup

    [14:45:47] [ ] $70=7 ;Network Services

    [14:45:47] [ ] $73=1 ;Wifi Mode

    [14:45:47] [ ] $74= ;Wifi network SSID

    [14:45:47] [ ] $75= ;Wifi network PSK

    [14:45:47] [ ] $100=199.100 ;X-axis steps per millimeter

    [14:45:47] [ ] $101=199.100 ;Y-axis steps per millimeter

    [14:45:47] [ ] $102=199.100 ;Z-axis steps per millimeter

    [14:45:47] [ ] $110=1000.000 ;X-axis maximum rate, mm/min

    [14:45:47] [ ] $111=1000.000 ;Y-axis maximum rate, mm/min

    [14:45:47] [ ] $112=1000.000 ;Z-axis maximum rate, mm/min

    [14:45:47] [ ] $120=100.000 ;X-axis acceleration, mm/sec^2

    [14:45:47] [ ] $121=100.000 ;Y-axis acceleration, mm/sec^2

    [14:45:47] [ ] $122=100.000 ;Z-axis acceleration, mm/sec^2

    [14:45:47] [ ] $130=270.000 ;X-axis maximum travel, millimeters

    [14:45:47] [ ] $131=270.000 ;Y-axis maximum travel, millimeters

    [14:45:47] [ ] $132=80.000 ;Z-axis maximum travel, millimeters

    [14:45:47] [ ] $300=Grbl ;Hostname

    [14:45:47] [ ] $302=192.168.5.1 ;IP Address

    [14:45:47] [ ] $303=192.168.5.1 ;Gateway

    [14:45:47] [ ] $304=255.255.255.0 ;Netmask

    [14:45:47] [ ] $305=23 ;Telnet Port

    [14:45:47] [ ] $306=80 ;HTTP Port

    [14:45:47] [ ] $307=81 ;Websocket Port

    [14:45:47] [ ] $341=0 ;Tool Change Mode

    [14:45:47] [ ] $342=30.0 ;Tool Change probing distance

    [14:45:47] [ ] $343=25.0 ;Tool Change Locate Feed rate

    [14:45:47] [ ] $344=200.0 ;Tool Change Search Seek rate

    [14:45:47] [ ] $345=100.0 ;Tool Change Probe Pull Off rate

    [14:45:47] [ ] $370=0 ;Invert I/O Port Inputs (mask)

    [14:45:47] [ ] $384=0 ;Disable G92 Persistence

    [14:45:47] [ ] ok

    [14:45:47] [ $$ ] [VER:1.1f.20220325:cbeam]

    [14:45:47] [ $$ ] [OPT:VNSL2,35,1024,3,0]

    [14:45:47] [ $$ ] [NEWOPT:ENUMS,RT+,HOME,TC,SED,WIFI,SD]

    [14:45:47] [ $$ ] [FIRMWARE:grblHAL]

    [14:45:47] [ $$ ] [NVS STORAGE:*FLASH]

    [14:45:47] [ $$ ] [DRIVER:ESP32]

    [14:45:47] [ $$ ] [DRIVER VERSION:220327]

    [14:45:47] [ $$ ] [DRIVER OPTIONS:v4.3.2-555-gb4ef1b80a2-dirty]

    [14:45:47] [ $$ ] [BOARD:BlackBox X32]

    [14:45:47] [ $$ ] [AUX IO:1,0,0,0]

    [14:45:47] [ $$ ] [WIFI MAC:94:B5:55:0A:96:98]

    [14:45:47] [ $$ ] [IP:0.0.0.0]

    [14:45:47] [ $$ ] [PLUGIN:SDCARD v1.05]

    [14:45:47] [ $$ ] [PLUGIN:ESP32 WebUI v0.03]

    [14:45:47] [ $$ ] ok
     
  7. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    13,986
    Likes Received:
    4,105
    Do you know what caused the 4X to die, and was that resolved? If not it may have already caused damage to the new one (depending on what it was, for example short circuit in wiring somewhere, bad PSU etc)

    Fault indicator :see the Current Adjustment section on BlackBox X32 Documentation
     
  8. Lauren85

    Lauren85 New
    Builder

    Joined:
    Sep 29, 2020
    Messages:
    29
    Likes Received:
    4
    I am unsure what caused the x4 to die. We purchased the x4 in 2020 and we had slight intermittent problems that a power on-off cycle would fix. The USB connection would also occasionally give us problems. About two/three weeks ago the issues diversified to the x-axis not responding to commands halfway through an operation. A power on-off cycle would resolve this issue. This week the x4 stated that the firmware was no longer installed on the motion control box. I attempted to reload the firmware and still, it would not take. I went through the help options for this issue and the computer indicated that the USB was functioning accurately and the firmware was downloaded but the USB would still not recognize the device. I attempted to use a different computer and a different USB cable and then the x4 would no longer power on.

    The power box is set to the low current adjustment. When I transferred the plugs, I confirmed wiring was installed correctly and that all wires were secured. The computer used to operate the x4 was a windows 7 operating system (that currently is unable to take the latest update due to missing folder issues - will post in a different thread), and the x4 was running the limit switches functioned as expected. When I switched the box to x32 the limit switches no longer worked on the windows 7 nor on the windows 11 system I previously ran the x32 on in our other machine cnc configuration with limit switches that operate as expected.

    As of yesterday, the system was functioning as expected (minus the limit switch operation) and then a few cycles into dry testing the gcode, the z-axis motors stop functioning mid-operation. I am attempting the suggested swap of ports to localize issue and a re-check of the power setting. I have NEMA 23s motors.
     
  9. Lauren85

    Lauren85 New
    Builder

    Joined:
    Sep 29, 2020
    Messages:
    29
    Likes Received:
    4
    I have resolved the Nema 23s motor issue. Loose wiring at a wire extension position
     
    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:
    13,986
    Likes Received:
    4,105
    Win7: out of support. Windows 10 or 11 please: Microsoft Windows
    Limits: Are you using our Xtension Limits or 3rd party? Anything nonstandard (moved Limits-V Jumper? Different Switches? Etc?)

    Please post a Grbl Settings backup for review (Grbl Settings tab > Backup Settings button)
     
  11. ArmsandLegs

    Builder

    Joined:
    Mar 16, 2023
    Messages:
    7
    Likes Received:
    1
    I'm having a similar problem with my X32. If I have the GRBL settings like this:

    14:55:48] [ $$ ] $0=10.0 ;Step pulse time, microseconds

    [14:55:48] [ $$ ] $1=255 ;Step idle delay, milliseconds

    [14:55:48] [ $$ ] $2=0 ;Step pulse invert, mask

    [14:55:48] [ $$ ] $3=4 ;Step direction invert, mask

    [14:55:48] [ $$ ] $4=0 ;Invert step enable pin, boolean

    [14:55:48] [ $$ ] $5=7 ;Invert limit pins, boolean/mask

    [14:55:48] [ $$ ] $6=1 ;Invert probe pin, boolean

    [14:55:48] [ $$ ] $7=0 ;Disable spindle with 0 speed, boolean

    [14:55:48] [ $$ ] $8=0 ;Ganged axes direction invert as bitfield

    [14:55:48] [ $$ ] $10=511 ;Status report options, mask

    [14:55:48] [ $$ ] $11=0.010 ;Junction deviation, millimeters

    [14:55:48] [ $$ ] $12=0.002 ;Arc tolerance, millimeters

    [14:55:48] [ $$ ] $13=0 ;Report in inches, boolean

    [14:55:48] [ $$ ] $14=0 ;Limit pins invert, mask

    [14:55:48] [ $$ ] $15=0 ;Coolant pins invert, mask

    [14:55:48] [ $$ ] $16=0 ;Spindle pins invert, mask

    [14:55:48] [ $$ ] $17=0 ;Control pins pullup disable, mask

    [14:55:48] [ $$ ] $18=0 ;Limit pins pullup disable, mask

    [14:55:48] [ $$ ] $19=0 ;Probe pin pullup disable, boolean

    [14:55:48] [ $$ ] $20=0 ;Soft limits enable, boolean

    [14:55:48] [ $$ ] $21=0 ;Hard limits enable, boolean

    [14:55:48] [ $$ ] $22=1 ;Homing cycle enable, boolean (Grbl) / mask (GrblHAL)

    [14:55:48] [ $$ ] $23=3 ;Homing direction invert, mask

    [14:55:48] [ $$ ] $24=100.0 ;Homing locate feed rate, mm/min

    [14:55:48] [ $$ ] $25=1000.0 ;Homing search seek rate, mm/min

    [14:55:48] [ $$ ] $26=250 ;Homing switch debounce delay, milliseconds

    [14:55:48] [ $$ ] $27=5.000 ;Homing switch pull-off distance, millimeters

    [14:55:48] [ $$ ] $28=0.100 ;G73 retract distance, in mm

    [14:55:48] [ $$ ] $29=0.0 ;Step pulse delay (ms)

    [14:55:48] [ $$ ] $30=1000.000 ;Maximum spindle speed, RPM

    [14:55:48] [ $$ ] $31=0.000 ;Minimum spindle speed, RPM

    [14:55:48] [ $$ ] $32=0 ;Laser-mode enable, boolean

    [14:55:48] [ $$ ] $33=5000.0 ;Spindle PWM frequency

    [14:55:48] [ $$ ] $34=0.0 ;Spindle off Value

    [14:55:48] [ $$ ] $35=0.0 ;Spindle min value

    [14:55:48] [ $$ ] $36=100.0 ;Spindle max value

    [14:55:48] [ $$ ] $37=0 ;Stepper deenergize mask

    [14:55:48] [ $$ ] $39=1 ;Enable printable realtime command characters, boolean

    [14:55:48] [ $$ ] $40=0 ;Apply soft limits for jog commands, boolean

    [14:55:48] [ $$ ] $43=1 ;Homing passes

    [14:55:48] [ $$ ] $44=4 ;Homing cycle 1

    [14:55:48] [ $$ ] $45=3 ;Homing cycle 2

    [14:55:48] [ $$ ] $46=0 ;Homing cycle 3

    [14:55:48] [ $$ ] $62=0 ;Sleep Enable

    [14:55:48] [ $$ ] $63=2 ;Feed Hold Actions

    [14:55:48] [ $$ ] $64=0 ;Force Init Alarm

    [14:55:48] [ $$ ] $65=0 ;Require homing sequence to be executed at startup

    [14:55:48] [ $$ ] $70=7 ;Network Services

    [14:55:48] [ $$ ] $73=1 ;Wifi Mode

    [14:55:48] [ $$ ] $74= ;Wifi network SSID

    [14:55:48] [ $$ ] $75= ;Wifi network PSK

    [14:55:48] [ $$ ] $100=199.100 ;X-axis steps per millimeter

    [14:55:48] [ $$ ] $101=199.100 ;Y-axis steps per millimeter

    [14:55:48] [ $$ ] $102=199.100 ;Z-axis steps per millimeter

    [14:55:48] [ $$ ] $110=2500.000 ;X-axis maximum rate, mm/min

    [14:55:48] [ $$ ] $111=2500.000 ;Y-axis maximum rate, mm/min

    [14:55:48] [ $$ ] $112=2500.000 ;Z-axis maximum rate, mm/min

    [14:55:48] [ $$ ] $120=150.000 ;X-axis acceleration, mm/sec^2

    [14:55:48] [ $$ ] $121=150.000 ;Y-axis acceleration, mm/sec^2

    [14:55:48] [ $$ ] $122=150.000 ;Z-axis acceleration, mm/sec^2

    [14:55:48] [ $$ ] $130=1000.000 ;X-axis maximum travel, millimeters

    [14:55:48] [ $$ ] $131=1000.000 ;Y-axis maximum travel, millimeters

    [14:55:48] [ $$ ] $132=100.000 ;Z-axis maximum travel, millimeters

    [14:55:48] [ $$ ] $300=NaN ;Hostname

    [14:55:48] [ $$ ] $302=192.168.5.1 ;IP Address

    [14:55:48] [ $$ ] $303=192.168.5.1 ;Gateway

    [14:55:48] [ $$ ] $304=255.255.255.0 ;Netmask

    [14:55:48] [ $$ ] $305=23 ;Telnet Port

    [14:55:48] [ $$ ] $306=80 ;HTTP Port

    [14:55:48] [ $$ ] $307=81 ;Websocket Port

    [14:55:48] [ $$ ] $341=0 ;Tool Change Mode

    [14:55:48] [ $$ ] $342=30.0 ;Tool Change probing distance

    [14:55:48] [ $$ ] $343=25.0 ;Tool Change Locate Feed rate

    [14:55:48] [ $$ ] $344=200.0 ;Tool Change Search Seek rate

    [14:55:48] [ $$ ] $345=100.0 ;Tool Change Probe Pull Off rate

    [14:55:48] [ $$ ] $370=0 ;Invert I/O Port Inputs (mask)

    [14:55:48] [ $$ ] $384=0 ;Disable G92 Persistence

    [14:55:48] [ $$ ] ok

    Then I can use the OpenBuilds Xtension limit switches just fine to home. It works great. However, if I change my grbl settings to enable hard limits like this:

    [14:59:12] [ ] ALARM:1

    [14:59:12] [ ] [MSG:Reset to continue]

    [14:59:12] [ ] GrblHAL 1.1f ['$' or '$HELP' for help]

    [14:59:12] [ ] [MSG:'$H'|'$X' to unlock]

    [14:59:24] [ $$ ] $0=10.0 ;Step pulse time, microseconds

    [14:59:24] [ $$ ] $1=255 ;Step idle delay, milliseconds

    [14:59:24] [ $$ ] $2=0 ;Step pulse invert, mask

    [14:59:24] [ $$ ] $3=4 ;Step direction invert, mask

    [14:59:24] [ $$ ] $4=0 ;Invert step enable pin, boolean

    [14:59:24] [ $$ ] $5=7 ;Invert limit pins, boolean/mask

    [14:59:24] [ $$ ] $6=1 ;Invert probe pin, boolean

    [14:59:24] [ $$ ] $7=0 ;Disable spindle with 0 speed, boolean

    [14:59:24] [ $$ ] $8=0 ;Ganged axes direction invert as bitfield

    [14:59:24] [ $$ ] $10=511 ;Status report options, mask

    [14:59:24] [ $$ ] $11=0.010 ;Junction deviation, millimeters

    [14:59:24] [ $$ ] $12=0.002 ;Arc tolerance, millimeters

    [14:59:24] [ $$ ] $13=0 ;Report in inches, boolean

    [14:59:24] [ $$ ] $14=0 ;Limit pins invert, mask

    [14:59:24] [ $$ ] $15=0 ;Coolant pins invert, mask

    [14:59:24] [ $$ ] $16=0 ;Spindle pins invert, mask

    [14:59:24] [ $$ ] $17=0 ;Control pins pullup disable, mask

    [14:59:24] [ $$ ] $18=0 ;Limit pins pullup disable, mask

    [14:59:24] [ $$ ] $19=0 ;Probe pin pullup disable, boolean

    [14:59:24] [ $$ ] $20=0 ;Soft limits enable, boolean

    [14:59:24] [ $$ ] $21=1 ;Hard limits enable, boolean

    [14:59:24] [ $$ ] $22=1 ;Homing cycle enable, boolean (Grbl) / mask (GrblHAL)

    [14:59:24] [ $$ ] $23=3 ;Homing direction invert, mask

    [14:59:24] [ $$ ] $24=100.0 ;Homing locate feed rate, mm/min

    [14:59:24] [ $$ ] $25=1000.0 ;Homing search seek rate, mm/min

    [14:59:24] [ $$ ] $26=250 ;Homing switch debounce delay, milliseconds

    [14:59:24] [ $$ ] $27=5.000 ;Homing switch pull-off distance, millimeters

    [14:59:24] [ $$ ] $28=0.100 ;G73 retract distance, in mm

    [14:59:24] [ $$ ] $29=0.0 ;Step pulse delay (ms)

    [14:59:24] [ $$ ] $30=1000.000 ;Maximum spindle speed, RPM

    [14:59:24] [ $$ ] $31=0.000 ;Minimum spindle speed, RPM

    [14:59:24] [ $$ ] $32=0 ;Laser-mode enable, boolean

    [14:59:24] [ $$ ] $33=5000.0 ;Spindle PWM frequency

    [14:59:24] [ $$ ] $34=0.0 ;Spindle off Value

    [14:59:24] [ $$ ] $35=0.0 ;Spindle min value

    [14:59:24] [ $$ ] $36=100.0 ;Spindle max value

    [14:59:24] [ $$ ] $37=0 ;Stepper deenergize mask

    [14:59:24] [ $$ ] $39=1 ;Enable printable realtime command characters, boolean

    [14:59:24] [ $$ ] $40=0 ;Apply soft limits for jog commands, boolean

    [14:59:24] [ $$ ] $43=1 ;Homing passes

    [14:59:24] [ $$ ] $44=4 ;Homing cycle 1

    [14:59:24] [ $$ ] $45=3 ;Homing cycle 2

    [14:59:24] [ $$ ] $46=0 ;Homing cycle 3

    [14:59:24] [ $$ ] $62=0 ;Sleep Enable

    [14:59:24] [ $$ ] $63=2 ;Feed Hold Actions

    [14:59:24] [ $$ ] $64=0 ;Force Init Alarm

    [14:59:24] [ $$ ] $65=0 ;Require homing sequence to be executed at startup

    [14:59:24] [ $$ ] $70=7 ;Network Services

    [14:59:24] [ $$ ] $73=1 ;Wifi Mode

    [14:59:24] [ $$ ] $74= ;Wifi network SSID

    [14:59:24] [ $$ ] $75= ;Wifi network PSK

    [14:59:24] [ $$ ] $100=199.100 ;X-axis steps per millimeter

    [14:59:24] [ $$ ] $101=199.100 ;Y-axis steps per millimeter

    [14:59:24] [ $$ ] $102=199.100 ;Z-axis steps per millimeter

    [14:59:24] [ $$ ] $110=2500.000 ;X-axis maximum rate, mm/min

    [14:59:24] [ $$ ] $111=2500.000 ;Y-axis maximum rate, mm/min

    [14:59:24] [ $$ ] $112=2500.000 ;Z-axis maximum rate, mm/min

    [14:59:24] [ $$ ] $120=150.000 ;X-axis acceleration, mm/sec^2

    [14:59:24] [ $$ ] $121=150.000 ;Y-axis acceleration, mm/sec^2

    [14:59:24] [ $$ ] $122=150.000 ;Z-axis acceleration, mm/sec^2

    [14:59:24] [ $$ ] $130=1000.000 ;X-axis maximum travel, millimeters

    [14:59:24] [ $$ ] $131=1000.000 ;Y-axis maximum travel, millimeters

    [14:59:24] [ $$ ] $132=100.000 ;Z-axis maximum travel, millimeters

    [14:59:24] [ $$ ] $300=NaN ;Hostname

    [14:59:24] [ $$ ] $302=192.168.5.1 ;IP Address

    [14:59:24] [ $$ ] $303=192.168.5.1 ;Gateway

    [14:59:24] [ $$ ] $304=255.255.255.0 ;Netmask

    [14:59:24] [ $$ ] $305=23 ;Telnet Port

    [14:59:24] [ $$ ] $306=80 ;HTTP Port

    [14:59:24] [ $$ ] $307=81 ;Websocket Port

    [14:59:24] [ $$ ] $341=0 ;Tool Change Mode

    [14:59:24] [ $$ ] $342=30.0 ;Tool Change probing distance

    [14:59:24] [ $$ ] $343=25.0 ;Tool Change Locate Feed rate

    [14:59:24] [ $$ ] $344=200.0 ;Tool Change Search Seek rate

    [14:59:24] [ $$ ] $345=100.0 ;Tool Change Probe Pull Off rate

    [14:59:24] [ $$ ] $370=0 ;Invert I/O Port Inputs (mask)

    [14:59:24] [ $$ ] $384=0 ;Disable G92 Persistence

    [14:59:24] [ $$ ] ok

    I constantly get an Alarm Lock mode that I cannot get out of, even if I try and home before trying to clear the lock alarm. Any help would be appreciated.
     
  12. ArmsandLegs

    Builder

    Joined:
    Mar 16, 2023
    Messages:
    7
    Likes Received:
    1

    Also, I'm just table top testing my system right now. I don't have it installed on a machine yet.
     
  13. ArmsandLegs

    Builder

    Joined:
    Mar 16, 2023
    Messages:
    7
    Likes Received:
    1
    Also, this is on Windows 11 control V 1.0.362 connected via USB.
     
  14. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    13,986
    Likes Received:
    4,105
    What limit switches do you have? Settings is correct for our Switches
    Also, use Troubleshooting tab to test switches before enabling Hard Limits to make sure they are wired and working correctly
     
  15. ArmsandLegs

    Builder

    Joined:
    Mar 16, 2023
    Messages:
    7
    Likes Received:
    1
    I am using your switches. On the troubleshooting tab they don’t show activated, but the alarm lock is showing activated.
     
  16. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    13,986
    Likes Received:
    4,105
    Disable Hard Limits first, so you can test them before enabling Hard Limits... You won't always see the right statusses while its alarmed
     
  17. ArmsandLegs

    Builder

    Joined:
    Mar 16, 2023
    Messages:
    7
    Likes Received:
    1
    Yes, I’ve already done that. As I mentioned in my opening post, if I have hard limits disabled, but homing enabled, I can perform a homing function with the switches just fine. They work as expected. However, as soon as I enable hard limits, it just constantly throws an alarm.
     
  18. sharmstr

    sharmstr OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 23, 2018
    Messages:
    2,035
    Likes Received:
    1,431
    Are you connecting to the X32 over wifi? According to your settings you're not, but you could have removed the ssid and password when you posted your settings. If so, then check out this post: Upgrade to x32
     
  19. ArmsandLegs

    Builder

    Joined:
    Mar 16, 2023
    Messages:
    7
    Likes Received:
    1
    It happens via USB as well as with Wi-Fi as well as if I just have it connected to the CNC interface.
     
  20. sharmstr

    sharmstr OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 23, 2018
    Messages:
    2,035
    Likes Received:
    1,431
    If you read the info at the link I sent, you'll see I had the exact issue, but only over wifi. USB wasnt effected and I didnt try to connect via the Interface. If it were me, I'd rebuild the firmware to see if that fixes your issue. It only takes a few minutes. Instructions are in the link I provided.
     
    Peter Van Der Walt likes this.
  21. ArmsandLegs

    Builder

    Joined:
    Mar 16, 2023
    Messages:
    7
    Likes Received:
    1
    I want to thank you both so much for your guidance on this issue. I was able to confirm, just like @sharmstr that the issue was only present when I had Wi-Fi setting enabled. So bazar. Following the threads that were mentioned above, I was able to build a new firmware, with all of the settings that I wanted, loaded it, and everything worked as expected, both over USB and with Wi-Fi enabled. Again thank you both so much. So that anyone else who encounters this problem has a quick access to the solution here are the parts from the other threads that solved my problem:

    Recap:
    1.) Web Builder - build new firmware and download the ZIP
    Here is a link to web builder: http://svn.io-engineering.com:8080/?driver=ESP32&board=BlackBox X32

    Instructions for web builder settings:
    "Our included firmware on BlackBoxes might be older than that for sure, so if there has been commits since, then @normanruta please build a new Build using http://svn.io-engineering.com:8080/?driver=ESP32&board=BlackBox X32 (set Y to Ganged, Set SD Card to Enabled on Plugins tab, and set WebUI, Wifi, Telnet, Websocket, HTTP on Networking Tab - to match our usual firmware options)
    If you grab the WebUI V3 follow GitHub - grblHAL/Plugin_WebUI: ESP3D-WEBUI backend for networking capable drivers/boards with SD card support to install it if you want to check it out"

    2.) Click "Generate and Download Binary" button after applying the appropriate settings above and any other settings you'd like (I was able to add the door alarm feature for example)

    3.) Extract firmware.bin from the zip and put it somewhere (desktop or wherever)

    4.) Flash the firmware via OpenBuilds Control
    CONTROL > Wizards and Tools > Firmware flashing tool > X32 tab > Machine style: CUSTOM > Click the red Select Custom BIN button > Select the firmware.bin you saved above > Click Flash.

    That should solve the problems. Hopefully OpenBuilds Control will come with updated firmware baked in in the near future so that this issue is resolved.
     
    Rick 2.0 likes this.
  22. sharmstr

    sharmstr OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 23, 2018
    Messages:
    2,035
    Likes Received:
    1,431
  23. Lauren85

    Lauren85 New
    Builder

    Joined:
    Sep 29, 2020
    Messages:
    29
    Likes Received:
    4
    I currently have third-party switches that on the x4 had functioned normally/as expected and lit up when the machine was powered on to indicate when a stop had been activated as well as the openbuilds software flagging a switch had been activated.

    I will also scrap the windows 7 machine and continue to work with the Windows 11 op
     
  24. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    13,986
    Likes Received:
    4,105
    Which switches, perhaps they just aren't compatible. X32 and 4X is both compatible with our switches. But 3rd party switches are always a likely possibility for issues
     
    Lauren85 likes this.
  25. Lauren85

    Lauren85 New
    Builder

    Joined:
    Sep 29, 2020
    Messages:
    29
    Likes Received:
    4
  26. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    13,986
    Likes Received:
    4,105
    One test we can do just to confirm everything else is fine:

    Take two length of any wire you have at hand and wire it into SIG and GND (Careful! Wire nothing into V+) of any endstop connector.

    Watch the Troubleshooting tab while touching the two wires together (simulating a normal Normally Open switch closing SIG to GND) - see if that reflects.

    Those switches doesn't look like anything else than mechanical switches with some capacitors and resistors, but whether they are Normally Open or Normally closed, whether the resistors are pull-up or pull-down etc are unknown.
     
  27. Lauren85

    Lauren85 New
    Builder

    Joined:
    Sep 29, 2020
    Messages:
    29
    Likes Received:
    4
    I'll give this a go

    The product states normally open:
    Normally open mechanical limit switch
     
  28. Lauren85

    Lauren85 New
    Builder

    Joined:
    Sep 29, 2020
    Messages:
    29
    Likes Received:
    4
    Using a multimeter I confirmed that the NO limit switch reads as open when signal and ground are read. We are receiving a blackbox x4 today, and will attempt to re-install the limit switches. I will also attempt the test stated on 3/20, #26.
     
    Peter Van Der Walt likes this.
  29. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    13,986
    Likes Received:
    4,105
    Yes but those additional pullup/pulldowns can affect the filters on the X32. We still strongly recommend Xtension Limit Switch Kit
     

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