I'm trying to set up a machine I've been collecting parts for for over 3 years. I don't remember when I bought my Blackbox x32 Controller but I literally just put power to it tonight after working for the last 3 weeks getting this new machine together. The machine is a CnC4Newbie frame with 4 269oz steppers (4 wire). I just finished hooking the Black Box up and haven't even turned on the VFD. I simply tried to move the Y axis 10mm just to see if everything worked. I've since tried the Y1, X+, X-, and Z - after completely power cycling the box each time and get the same thing, one beep from somewhere and no movement. I hear what sound like a millisecond of voltage getting sent to a motor (I'm assuming the one I try to move) and then any button press after that results in nothing. I initially had the machine "built" in grbl as a custom machine (which it is) and same issue. I tried "building" as a WorkBee 1010 thinking I had some grbl error and same issue. I disconnected all of the motors and same issue (but no beep). There is no SD card in the unit (as I can't find anywhere that says it needs it) and I flashed the latest firmware thru the wizard, did the restart and still the same thing. One thing odd is I don't get an Unlock Alarm like I used to in my old box on my old 1010. I'm connected thru the same serial cable I used with the old 1010 that worked fine. Below is the output I receive in Control. [21:40:17] [ ] Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled. [21:40:17] [ ] Core 1 register dump: [21:40:17] [ ] PC : 0x400827fc PS : 0x00060031 A0 : 0x800814d4 A1 : 0x3ffbf260 [21:40:17] [ ] A2 : 0x3ffc3cec A3 : 0x00000000 A4 : 0x3ffc86f4 A5 : 0x3ffc3d50 [21:40:17] [ ] A6 : 0x00000000 A7 : 0x00000000 A8 : 0x800827fa A9 : 0x3ffbf240 [21:40:17] [ ] A10 : 0x400d3288 A11 : 0x000000ff A12 : 0x3ffc8a98 A13 : 0x3ffc86f4 [21:40:17] [ ] A14 : 0x3ffbf2a8 A15 : 0x00000001 SAR : 0x00000000 EXCCAUSE: 0x0000001c [21:40:17] [ ] EXCVADDR: 0x00000031 LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0x00000000 [21:40:17] [ ] Backtrace:0x400827f9:0x3ffbf260 0x400814d1:0x3ffbf280 0x400846a1:0x3ffbf2a0 0x400dcbda:0x3ffb6560 0x400dcd0f:0x3ffb6590 0x400dce6a:0x3ffb65b0 0x400d5b2c:0x3ffb65f0 0x400d3237:0x3ffb6620 [21:40:17] [ ] ELF file SHA256: d9be32d5ec0905d2 [21:40:17] [ ] CPU halted. This is what I get after I pressed the reset button on the Black Box [21:52:54] [ $J=G91G21Y-10F4000 ] ets Jun 8 2016 00:22:57 [21:52:54] [ $J=G91G21Y-10F4000 ] rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) [21:52:54] [ $J=G91G21Y-10F4000 ] configsip: 0, SPIWP:0xee [21:52:54] [ $J=G91G21Y-10F4000 ] clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 [21:52:54] [ $J=G91G21Y-10F4000 ] modeIO, clock div:2 [21:52:54] [ $J=G91G21Y-10F4000 ] load:0x3fff0030,len:1184 [21:52:54] [ $J=G91G21Y-10F4000 ] load:0x40078000,len:12784 [21:52:54] [ $J=G91G21Y-10F4000 ] load:0x40080400,len:3040 [21:52:54] [ $J=G91G21Y-10F4000 ] entry 0x400805e4 [21:52:54] [ $J=G91G21Y-10F4000 ] GrblHAL 1.1f ['$' or '$HELP' for help] [21:52:54] [ $J=G91G21Y-10F4000 ] [MSG:Warning: Failed to initialize SD card] [21:52:54] [ $J=G91G21Y-10F4000 ] [MSG:Warning: Failed to initialize SD card]
Did you remember to load a machine profile? CONTROL > Grbl Settings tab > Select machine from the list (CUSTOM is an option) > Save and Reset when prompted. Without a profile Invert Enable might be wrong along with $1=25 instead of 255 - causing the sound you describe. Otherwise could be a PSU issue, are you using our recommended PSU? There are no Beepers onboard, so maybe noise came from motors? Totally incorrect Steps per mm for whatever drive system you have? Different settings (like haven't enabled Homing yet) Firmware up to date? https://docs.openbuilds.com/doku.php?id=docs:blackbox-x32:firmware That's normal. ROM messages followed by succesful Grbl bootup
I did some more testing after I sent this message. I also had an alarm under the Z axis indicator on the Black Box I didn't notice initially so I disconnected everything except power and the serial cable, restarted and retried. I get the same messages but no "beep" so it is one of the motors making the noise. I used the Wizard in Control to update the firmware so I believe it is up to date. Is there a command I can run to dispay firmware version??
I remember when I originally built my 1010 that there was a page that detailed everything I needed to do to get the controller up and running. Is there somehting like that for the x32?? I haven't been able to find it.
I just reflashed the firmware again. Here is the bootup output. I feel like this is something easy that I'm missing. It's been quite a few years since I built my 1010. I'd loaded a 1010 profile but this looks like the custom profile I modified. With no steppers hooked up, I just tried to send a jog and still got the same error as referenced above. [08:47:23] [ Firmware Upgrade ] Wrote 898480 bytes (603668 compressed) at 0x00010000 in 13.9 seconds (effective 516.4 kbit/s)... Hash of data verified. Leaving... Hard resetting via RTS pin... [08:47:23] [ Firmware Upgrade ] [exit:0] [08:47:23] [ Firmware Upgrade ] Firmware Update COMPLETED! Please click the Reset button on the device now, to reboot it with the new firmware. [08:47:39] [ connect ] PORT INFO: Port is now open: COM7 - Attempting to detect Controller... [08:47:39] [ connect ] Attempting to detect Controller (1): (Autoreset) [08:47:39] [ ] ok [08:47:39] [ connect ] Attempting to detect Controller (2): (Ctrl+X) [08:47:39] [ ] GrblHAL 1.1f ['$' or '$HELP' for help] [08:47:41] [ $$ ] $0=10.0 ;Step pulse time, microseconds [08:47:41] [ $$ ] $1=255 ;Step idle delay, milliseconds [08:47:41] [ $$ ] $2=0 ;Step pulse invert, mask [08:47:41] [ $$ ] $3=4 ;Step direction invert, mask [08:47:41] [ $$ ] $4=0 ;Invert step enable pin, boolean [08:47:41] [ $$ ] $5=7 ;Invert limit pins, boolean/mask [08:47:41] [ $$ ] $6=1 ;Invert probe pin, boolean [08:47:41] [ $$ ] $8=0 ;Ganged axes direction invert as bitfield [08:47:42] [ $$ ] $9=1 ;PWM Spindle as bitfield where setting bit 0 enables the rest [08:47:42] [ $$ ] $10=511 ;Status report options, mask [08:47:42] [ $$ ] $11=0.020 ;Junction deviation, millimeters [08:47:42] [ $$ ] $12=0.002 ;Arc tolerance, millimeters [08:47:42] [ $$ ] $13=0 ;Report in inches, boolean [08:47:42] [ $$ ] $14=0 ;Limit pins invert, mask [08:47:42] [ $$ ] $15=0 ;Coolant pins invert, mask [08:47:42] [ $$ ] $16=0 ;Spindle pins invert, mask [08:47:42] [ $$ ] $17=0 ;Control pins pullup disable, mask [08:47:42] [ $$ ] $18=0 ;Limit pins pullup disable, mask [08:47:42] [ $$ ] $19=0 ;Probe pin pullup disable, boolean [08:47:42] [ $$ ] $20=0 ;Soft limits enable, boolean [08:47:42] [ $$ ] $21=1 ;Hard limits enable, boolean [08:47:42] [ $$ ] $22=1 ;Homing cycle enable, boolean (Grbl) / mask (GrblHAL) [08:47:42] [ $$ ] $23=3 ;Homing direction invert, mask [08:47:42] [ $$ ] $24=25.0 ;Homing locate feed rate, mm/min [08:47:42] [ $$ ] $25=750.0 ;Homing search seek rate, mm/min [08:47:42] [ $$ ] $26=250 ;Homing switch debounce delay, milliseconds [08:47:42] [ $$ ] $27=5.000 ;Homing switch pull-off distance, millimeters [08:47:42] [ $$ ] $28=0.100 ;G73 retract distance, in mm [08:47:42] [ $$ ] $29=5.0 ;Step pulse delay (ms) [08:47:42] [ $$ ] $30=24000.000 ;Maximum spindle speed, RPM [08:47:42] [ $$ ] $31=0.000 ;Minimum spindle speed, RPM [08:47:42] [ $$ ] $32=0 ;Laser-mode enable, boolean [08:47:42] [ $$ ] $33=400.0 ;Spindle PWM frequency [08:47:42] [ $$ ] $34=0.0 ;Spindle off Value [08:47:42] [ $$ ] $35=0.0 ;Spindle min value [08:47:42] [ $$ ] $36=100.0 ;Spindle max value [08:47:42] [ $$ ] $37=0 ;Stepper deenergize mask [08:47:42] [ $$ ] $39=1 ;Enable printable realtime command characters, boolean [08:47:42] [ $$ ] $40=0 ;Apply soft limits for jog commands, boolean [08:47:42] [ $$ ] $43=1 ;Homing passes [08:47:42] [ $$ ] $44=4 ;Homing cycle 1 [08:47:42] [ $$ ] $45=3 ;Homing cycle 2 [08:47:42] [ $$ ] $46=0 ;Homing cycle 3 [08:47:42] [ $$ ] $62=0 ;Sleep Enable [08:47:42] [ $$ ] $63=2 ;Feed Hold Actions [08:47:42] [ $$ ] $64=0 ;Force Init Alarm [08:47:42] [ $$ ] $65=0 ;Require homing sequence to be executed at startup [08:47:42] [ $$ ] $70=7 ;Network Services [08:47:42] [ $$ ] $73=1 ;Wifi Mode [08:47:42] [ $$ ] $74= ;Wifi network SSID [08:47:42] [ $$ ] $75= ;Wifi network PSK [08:47:42] [ $$ ] $100=133333.00000 ;X-axis steps per millimeter [08:47:42] [ $$ ] $101=133333.00000 ;Y-axis steps per millimeter [08:47:42] [ $$ ] $102=50059.00000 ;Z-axis steps per millimeter [08:47:42] [ $$ ] $110=4000.000 ;X-axis maximum rate, mm/min [08:47:42] [ $$ ] $111=4000.000 ;Y-axis maximum rate, mm/min [08:47:42] [ $$ ] $112=2000.000 ;Z-axis maximum rate, mm/min [08:47:42] [ $$ ] $120=100.000 ;X-axis acceleration, mm/sec^2 [08:47:42] [ $$ ] $121=100.000 ;Y-axis acceleration, mm/sec^2 [08:47:42] [ $$ ] $122=100.000 ;Z-axis acceleration, mm/sec^2 [08:47:42] [ $$ ] $130=1344.000 ;X-axis maximum travel, millimeters [08:47:42] [ $$ ] $131=1315.000 ;Y-axis maximum travel, millimeters [08:47:42] [ $$ ] $132=150.000 ;Z-axis maximum travel, millimeters [08:47:42] [ $$ ] $320=grblHAL ;Hostname, max: 64 [08:47:42] [ $$ ] $322=192.168.5.1 ;IP Address [08:47:42] [ $$ ] $323=192.168.5.1 ;Gateway [08:47:42] [ $$ ] $324=255.255.255.0 ;Netmask [08:47:42] [ $$ ] $325=23 ;Telnet port [08:47:42] [ $$ ] $326=80 ;HTTP port [08:47:42] [ $$ ] $327=81 ;Websocket port [08:47:42] [ $$ ] $337= ;WiFi Access Point (AP) BSSID [08:47:42] [ $$ ] $341=0 ;Tool Change Mode [08:47:42] [ $$ ] $342=30.0 ;Tool Change probing distance [08:47:42] [ $$ ] $343=25.0 ;Tool Change Locate Feed rate [08:47:42] [ $$ ] $344=200.0 ;Tool Change Search Seek rate [08:47:42] [ $$ ] $345=200.0 ;Tool Change Probe Pull Off rate [08:47:42] [ $$ ] $346=1 ;Restore position after M6 as boolean [08:47:42] [ $$ ] $370=4 ;Invert I/O Port Inputs (mask) [08:47:42] [ $$ ] $384=0 ;Disable G92 Persistence [08:47:42] [ $$ ] $394=4.0 ;Spindle on delay in s, range: 0.5 - 20 [08:47:42] [ $$ ] $396=30 ;WebUI timeout in minutes [08:47:42] [ $$ ] $397=0 ;WebUI auto report interval in milliseconds [08:47:42] [ $$ ] $398=35 ;Planner buffer blocks [08:47:42] [ $$ ] $481=0 ;Autoreport interval in ms [08:47:42] [ $$ ] $484=1 ;Unlock required after E-Stop as boolean [08:47:42] [ $$ ] $486=0 ;Unlock required after E-Stop as boolean [08:47:42] [ $$ ] $650=0 ;File systems options as bitfield [08:47:42] [ $$ ] $673=1.0 ;Coolant on delay in s, range: 0.5 - 20 [08:47:42] [ $$ ] ok [08:47:42] [ $I ] [VER:1.1f.20240402:custom] [08:47:42] [ $I ] [OPT:VNSL2,35,1024,3,0] [08:47:42] [ $I ] [AXS:3:XYZ] [08:47:42] [ $I ] [NEWOPT:ENUMS,RT+,HOME,ES,REBOOT,SED,RTC,WIFI,SD] [08:47:42] [ $I ] [FIRMWARE:grblHAL] [08:47:42] [ $I ] [SIGNALS:HSEP] [08:47:42] [ $I ] [NVS STORAGE:*FLASH] [08:47:42] [ $I ] [FREE MEMORY:192K] [08:47:42] [ $I ] [DRIVER:ESP32] [08:47:42] [ $I ] [DRIVER VERSION:240330] [08:47:42] [ $I ] [DRIVER OPTIONS:4.3.2] [08:47:42] [ $I ] [BOARD:BlackBox X32] [08:47:42] [ $I ] [AUX IO:2,0,0,0] [08:47:42] [ $I ] [WIFI MAC:c8:f0:9e:ad:25:04] [08:47:42] [ $I ] [IP:0.0.0.0] [08:47:42] [ $I ] [PLUGIN:WebUI v0.21] [08:47:42] [ $I ] [PLUGIN:SDCARD v1.13] [08:47:42] [ $I ] [PLUGIN:FS macro plugin v0.07] [08:47:42] [ $I ] ok [08:47:42] [ $G ] [GC:G0 G54 G17 G21 G90 G94 G49 G98 G50 M5 M9 T0 F0 S0.] [08:47:42] [ $G ] ok [08:47:43] [ connect ] Firmware Detected: grblHAL version 1.1f dated on COM7
Click connect, watch log scrolling by (Or send $I): 20240402 is latest included in CONTROL (For even newer you can use grblHAL Web Builder but 20240402 is stable and well tested, log entries above would not be related to version then) That first rom messages could also have been a short, that Z switch maybe shorting V+ to GND? Version: No there has always only been the Videos. And its as simple as plug it in, connect, go to CONTROL > Grbl Settings tab > Select the machine > Save and Reset when prompted. If machine is built as per video, and you use our profiles its all the same for 4X or X32, we take care of the differences transparently in the machine profiles in the backend. About only way an X32 vs 4X issue can come up is if you run old version of CONTROL that doesn't know about the X32s existence (You should be on V1.0.376 at the moment, nothing newer publicly available yet) That is custom, and pretty insane. Our leadscrews are 200 steps per mm. 133THOUSAND and 50k on Z are likely not the valid numbers and will just beep at you. (Sends a bunch of super fast motor pulses that never gets moving because no motor is gonna spin up with that many steps!) Load > Save > Reset when prompted. Easy to forget to Save
Was just able to get back to this: I just reloaded the WorkBee 1010 profile and I have MOVEMENT now!! I'm sure it was the $100-$102 commands that were the root of the issue. The way the grbl commands are written on the CnC4N sheet is 133,333 and my guess is it should have been 133.333. I'm going to contact them tho to see what the value is supposed to be. Thanks for all of the help and patience! I think I am back to building now.
for real? values for leadscrews are usually around 200 for steps per millimeter. did you load a machien proifile and then calibrate?
Yeah, I got that fixed and got movement finally.... Believe it or not, the X & Y steps are in the 133.xxx range. The Z is more "normal" in the 200.xxx range. I'm not sure what software that cheat sheet was written for but I based everything off of the WorkBee1010 profile and adjusted as needed.