Hi everyone, I'm new at both this very forum and as a CNC hobbyist. I have purchased a custom version of Lead 1010 which is as long as model 1515 but wide as 1010. Machine came to with blackbox x32 and I'm using my whole available time to get to know it. During my learning, tests, configurations I have came into a trouble. I have everything configured and machine works as it should however when I'm adding WiFi config it triggers: A ALARM: 1 - Hard limit triggered. Machine position is likely lost due to sudden and immediate halt. Re-homing is highly recommended. [ undefined ] And it loops. I can't home, can't move. Only cancel error message but the alarm stays on. It seems that either I can have hard limits turned on or WiFi. As soon as I delete settings for SSID and PSK the problem goes away. I have tried to reset blackbox using reset button with or without USB attached but it does not matter. I tried also changing SSID and PSK on my access point and made it as short as possible without special characters but that didn't helped. Steps: Machine configured and working properly Adding SSID and PSK Allowing for reboot Manually resetting machine with a button WiFi is working and I'm able to connect Alarm is triggered on both USB and WiFi connection Clearing out SSID and PSK Allowing for reboot Manually resetting machine with a button Issue is gone Config below that I'm using is the default for 1515 plus some minor changes for spindle (VFD) and calibration: $0=10.0 ; Step pulse time, microseconds $1=255 ; Step idle delay, milliseconds $2=0 ; Step pulse invert, mask $3=0 ; Step direction invert, mask $4=0 ; Invert step enable pin, boolean $5=7 ; Invert limit pins, boolean/mask $6=1 ; Invert probe pin, boolean $7=0 ; Disable spindle with 0 speed, boolean $8=0 ; Ganged axes direction invert as bitfield $10=511 ; Status report options, mask $11=0.010 ; Junction deviation, millimeters $12=0.002 ; Arc tolerance, millimeters $13=0 ; Report in inches, boolean $14=0 ; Limit pins invert, mask $15=0 ; Coolant pins invert, mask $16=0 ; Spindle pins invert, mask $17=0 ; Control pins pullup disable, mask $18=0 ; Limit pins pullup disable, mask $19=0 ; Probe pin pullup disable, boolean $20=0 ; Soft limits enable, boolean $21=1 ; Hard limits enable, boolean $22=1 ; Homing cycle enable, boolean (Grbl) / mask (GrblHAL) $23=7 ; Homing direction invert, mask $24=100.0 ; Homing locate feed rate, mm/min $25=2000.0 ; Homing search seek rate, mm/min $26=250 ; Homing switch debounce delay, milliseconds $27=1.000 ; Homing switch pull-off distance, millimeters $28=0.100 ; G73 retract distance, in mm $29=0.0 ; Step pulse delay (ms) $30=24000.000 ; Maximum spindle speed, RPM $31=0.000 ; Minimum spindle speed, RPM $32=0 ; Laser-mode enable, boolean $33=400.0 ; Spindle PWM frequency $34=0.0 ; Spindle off Value $35=0.0 ; Spindle min value $36=100.0 ; Spindle max value $37=0 ; Stepper deenergize mask $39=1 ; Enable printable realtime command characters, boolean $40=0 ; Apply soft limits for jog commands, boolean $43=1 ; Homing passes $44=4 ; Homing cycle 1 $45=3 ; Homing cycle 2 $46=0 ; Homing cycle 3 $62=0 ; Sleep Enable $63=2 ; Feed Hold Actions $64=0 ; Force Init Alarm $65=0 ; Require homing sequence to be executed at startup $70=7 ; Network Services $73=1 ; Wifi Mode $74= ; Wifi network SSID $75= ; Wifi network PSK $100=200.040 ; X-axis steps per millimeter $101=200.000 ; Y-axis steps per millimeter $102=200.770 ; Z-axis steps per millimeter $110=3500.000 ; X-axis maximum rate, mm/min $111=3500.000 ; Y-axis maximum rate, mm/min $112=1000.000 ; Z-axis maximum rate, mm/min $120=350.000 ; X-axis acceleration, mm/sec^2 $121=350.000 ; Y-axis acceleration, mm/sec^2 $122=350.000 ; Z-axis acceleration, mm/sec^2 $130=752.000 ; X-axis maximum travel, millimeters $131=1302.000 ; Y-axis maximum travel, millimeters $132=122.000 ; Z-axis maximum travel, millimeters $300=GRBL ; Hostname $302=192.168.5.1 ; IP Address $303=192.168.5.1 ; Gateway $304=255.255.255.0 ; Netmask $305=23 ; Telnet Port $306=80 ; HTTP Port $307=81 ; Websocket Port $341=0 ; Tool Change Mode $342=30.0 ; Tool Change probing distance $343=25.0 ; Tool Change Locate Feed rate $344=200.0 ; Tool Change Search Seek rate $345=100.0 ; Tool Change Probe Pull Off rate $370=0 ; Invert I/O Port Inputs (mask) $384=0 ; Disable G92 Persistence $I=leadmachine1515
I'm glad that it helped. Just in case anyone would have some difficulties in finding it on github here is a link: WiFi \ Hard limit error · Issue #61 · grblHAL/ESP32
Been available for months via grblHAL Web Builder, but coincidentally, see section 7.2 of the BlackBox X32 documentation (and 7.1 for Instructions) as another option
I don't seem to be able to flash the firmware I get: [13:25:38] [ Firmware Upgrade ] [Starting...] [13:25:38] [ disconnect ] PORT INFO: Port closed [13:25:38] [ Firmware Upgrade ] env: python: No such file or directory [13:25:38] [ Firmware Upgrade ] [exit:127] [13:25:38] [ Firmware Upgrade ] Firmware Update FAILED! Please review the logs above, or try again I am selecting X32, usb, custom firmware.bin which I then select using the red box
Your computer doesn't have a working python install. Try a different PC (Windows a little easier, doesn't need python)