Relay1 is intermittently staying closed after M5 command or after completion of a job, this doesn’t happen often but when it does, I cannot get it to disengage. I have sent an additional M5 command, hit abort, restarted GRBL, disconnected/reconnected, power cycled blackbox and all result in relay1 staying energized. Anyone have an idea on what to try next??
how much power has been passing through the relay contacts? if you have been switching your router on and off with the relay then you may have burnt the contacts and that is why it is sticking closed
It was purchased in Sept, this year, if that tells you anything. If not, I’ll look when I get back home in about 30 minutes.
Then it should work fine Check and recheck wiring. Could also be a problem inside the spindle controller perhaps We can check a Grbl Settings backup just in case if you want to post one
shouldn’t be wiring, I’m getting continuity when testing straight across the output, no wires connected. I’ll do some more testing in a bit and post results along with Grbl settings if nothing else stands out.
Noted. Was the controller disconnected during the measurements? Is the Tool Enable LED lit too (same signal lights the LED and triggers the relay1 coil) Second bullet point of 1(c) at docs:blackbox-x32:layout [OpenBuilds Documentation]
Well, it started working "normally" again, I'll have to wait on another fault before testing. On a side note, is there a way to enable soft stop on the 0-10V output or delay relay-1 from deenergizing? When I use M5, the spindle stops quite abruptly, surely that can't be good for it.
OK, I've narrowed this down a little more. It appears that what is happening, is the M5 command at the end of a job is not registering for relay-1. At the end of the last two jobs I ran, the 0-10V output reduced to ~.5V but relay-1 stayed energized ( Tool On indicator light stays on). I can manually enter another M5 command but there are no changes in the outputs. So far, the only way to get the relay to disengage and "Tool On indicator" to turn off is to command a M3 Sxxx and then command another M5. I also noted that the M3 command had to be from the "Variable speed spindle on" selection and also had to be a value less than M3 S12000 ( 12,000 being my max RPM), I mainly used M3 S6000 to accomplish this. Settings listed below, maybe I'm just missing something. [08:35:49] [ connect ] PORT INFO: Port is now open: /dev/tty.usbserial-A10OS2VX - Attempting to detect Firmware [08:35:49] [ connect ] Checking for firmware on /dev/tty.usbserial-A10OS2VX [08:35:49] [ connect ] Detecting Firmware: Method 1 (Autoreset) [08:35:49] [ ] ok [08:35:50] [ connect ] Detecting Firmware: Method 2 (Ctrl+X) [08:35:50] [ ] GrblHAL 1.1f ['$' or '$HELP' for help] [08:35:52] [ $$ ] $0=10.0 ;Step pulse time, microseconds [08:35:52] [ $$ ] $1=25 ;Step idle delay, milliseconds [08:35:52] [ $$ ] $2=0 ;Step pulse invert, mask [08:35:52] [ $$ ] $3=3 ;Step direction invert, mask [08:35:52] [ $$ ] $4=0 ;Invert step enable pin, boolean [08:35:52] [ $$ ] $5=7 ;Invert limit pins, boolean/mask [08:35:52] [ $$ ] $6=1 ;Invert probe pin, boolean [08:35:52] [ $$ ] $8=0 ;Ganged axes direction invert as bitfield [08:35:52] [ $$ ] $9=1 ;PWM Spindle as bitfield where setting bit 0 enables the rest [08:35:52] [ $$ ] $10=511 ;Status report options, mask [08:35:52] [ $$ ] $11=0.010 ;Junction deviation, millimeters [08:35:52] [ $$ ] $12=0.002 ;Arc tolerance, millimeters [08:35:52] [ $$ ] $13=0 ;Report in inches, boolean [08:35:52] [ $$ ] $14=0 ;Limit pins invert, mask [08:35:52] [ $$ ] $15=0 ;Coolant pins invert, mask [08:35:52] [ $$ ] $16=0 ;Spindle pins invert, mask [08:35:52] [ $$ ] $17=0 ;Control pins pullup disable, mask [08:35:52] [ $$ ] $18=0 ;Limit pins pullup disable, mask [08:35:52] [ $$ ] $19=0 ;Probe pin pullup disable, boolean [08:35:52] [ $$ ] $20=1 ;Soft limits enable, boolean [08:35:52] [ $$ ] $21=1 ;Hard limits enable, boolean [08:35:52] [ $$ ] $22=1 ;Homing cycle enable, boolean (Grbl) / mask (GrblHAL) [08:35:52] [ $$ ] $23=3 ;Homing direction invert, mask [08:35:52] [ $$ ] $24=300.0 ;Homing locate feed rate, mm/min [08:35:52] [ $$ ] $25=5000.0 ;Homing search seek rate, mm/min [08:35:52] [ $$ ] $26=250 ;Homing switch debounce delay, milliseconds [08:35:52] [ $$ ] $27=3.000 ;Homing switch pull-off distance, millimeters [08:35:52] [ $$ ] $28=0.500 ;G73 retract distance, in mm [08:35:52] [ $$ ] $29=5.0 ;Step pulse delay (ms) [08:35:52] [ $$ ] $30=12000.000 ;Maximum spindle speed, RPM [08:35:52] [ $$ ] $31=0.000 ;Minimum spindle speed, RPM [08:35:52] [ $$ ] $32=0 ;Laser-mode enable, boolean [08:35:52] [ $$ ] $33=5000.0 ;Spindle PWM frequency [08:35:52] [ $$ ] $34=0.0 ;Spindle off Value [08:35:52] [ $$ ] $35=0.0 ;Spindle min value [08:35:52] [ $$ ] $36=50.0 ;Spindle max value [08:35:52] [ $$ ] $37=0 ;Stepper deenergize mask [08:35:52] [ $$ ] $39=1 ;Enable printable realtime command characters, boolean [08:35:52] [ $$ ] $40=1 ;Apply soft limits for jog commands, boolean [08:35:52] [ $$ ] $41=0 ;Parking cycle as bitfield where setting bit 0 enables the rest [08:35:52] [ $$ ] $42=2 ;Parking axis [08:35:52] [ $$ ] $43=1 ;Homing passes [08:35:52] [ $$ ] $44=4 ;Homing cycle 1 [08:35:52] [ $$ ] $45=3 ;Homing cycle 2 [08:35:52] [ $$ ] $46=0 ;Homing cycle 3 [08:35:52] [ $$ ] $56=5.0 ;Parking pull-out distance in mm [08:35:52] [ $$ ] $57=100.0 ;Parking pull-out rate in mm/min [08:35:52] [ $$ ] $58=-5.0 ;Parking target in mm [08:35:52] [ $$ ] $59=500.0 ;Parking fast rate in mm/min [08:35:52] [ $$ ] $60=0 ;Restore overrides [08:35:52] [ $$ ] $61=0 ;Safety door options as bitfield [08:35:52] [ $$ ] $62=0 ;Sleep Enable [08:35:52] [ $$ ] $63=2 ;Feed Hold Actions [08:35:52] [ $$ ] $64=0 ;Force Init Alarm [08:35:52] [ $$ ] $65=0 ;Require homing sequence to be executed at startup [08:35:52] [ $$ ] $70=7 ;Network Services [08:35:52] [ $$ ] $73=1 ;Wifi Mode [08:35:52] [ $$ ] $100=40.290 ;X-axis steps per millimeter [08:35:52] [ $$ ] $101=40.290 ;Y-axis steps per millimeter [08:35:52] [ $$ ] $102=400.000 ;Z-axis steps per millimeter [08:35:52] [ $$ ] $110=10000.000 ;X-axis maximum rate, mm/min [08:35:52] [ $$ ] $111=10000.000 ;Y-axis maximum rate, mm/min [08:35:52] [ $$ ] $112=2500.000 ;Z-axis maximum rate, mm/min [08:35:52] [ $$ ] $120=250.000 ;X-axis acceleration, mm/sec^2 [08:35:52] [ $$ ] $121=250.000 ;Y-axis acceleration, mm/sec^2 [08:35:52] [ $$ ] $122=100.000 ;Z-axis acceleration, mm/sec^2 [08:35:52] [ $$ ] $130=430.000 ;X-axis maximum travel, millimeters [08:35:52] [ $$ ] $131=388.000 ;Y-axis maximum travel, millimeters [08:35:52] [ $$ ] $132=80.000 ;Z-axis maximum travel, millimeters [08:35:52] [ $$ ] $320=GrblHal ;Hostname, max: 64 [08:35:52] [ $$ ] $322=192.168.5.1 ;IP Address [08:35:52] [ $$ ] $323=192.168.5.1 ;Gateway [08:35:52] [ $$ ] $324=255.255.255.0 ;Netmask [08:35:52] [ $$ ] $325=23 ;Telnet port [08:35:52] [ $$ ] $326=80 ;HTTP port [08:35:52] [ $$ ] $327=81 ;Websocket port [08:35:52] [ $$ ] $341=0 ;Tool Change Mode [08:35:52] [ $$ ] $342=30.0 ;Tool Change probing distance [08:35:52] [ $$ ] $343=25.0 ;Tool Change Locate Feed rate [08:35:52] [ $$ ] $344=200.0 ;Tool Change Search Seek rate [08:35:52] [ $$ ] $345=200.0 ;Tool Change Probe Pull Off rate [08:35:52] [ $$ ] $346=1 ;Restore position after M6 as boolean [08:35:52] [ $$ ] $370=0 ;Invert I/O Port Inputs (mask) [08:35:52] [ $$ ] $384=0 ;Disable G92 Persistence [08:35:52] [ $$ ] $392=2.0 ;Spindle on delay in s [08:35:52] [ $$ ] $393=1.0 ;Coolant on delay in s [08:35:52] [ $$ ] $396=30 ;WebUI timeout in minutes [08:35:52] [ $$ ] $397=0 ;WebUI auto report interval in milliseconds [08:35:52] [ $$ ] $398=35 ;Planner buffer blocks [08:35:52] [ $$ ] $481=0 ;Autoreport interval in ms [08:35:52] [ $$ ] ok [08:35:52] [ $I ] [VER:1.1f.20230501:custom] [08:35:52] [ $I ] [OPT:VNSL+2,35,1024,3,0] [08:35:52] [ $I ] [AXS:3:XYZ] [08:35:52] [ $I ] [NEWOPT:ENUMS,RT+,HOME,REBOOT,TC,SED,RTC,WIFI,SD] [08:35:52] [ $I ] [FIRMWARE:grblHAL] [08:35:52] [ $I ] [NVS STORAGE:*FLASH] [08:35:52] [ $I ] [DRIVER:ESP32] [08:35:52] [ $I ] [DRIVER VERSION:230501] [08:35:52] [ $I ] [DRIVER OPTIONS:4.3.1] [08:35:52] [ $I ] [BOARD:BlackBox X32] [08:35:52] [ $I ] [AUX IO:1,0,0,0] [08:35:52] [ $I ] [PLUGIN:WebUI v0.17] [08:35:52] [ $I ] [PLUGIN:SDCARD v1.09] [08:35:52] [ $I ] ok [08:35:52] [ $G ] [GC:G0 G54 G17 G21 G90 G94 G49 G98 G50 M5 M9 T0 F0 S0.] [08:35:52] [ $G ] ok [08:35:53] [ connect ] Firmware Detected: grbl version 1.1f on /dev/tty.usbserial-A10OS2VX