I've been facing this problem for a long time. I used to run my "Frankenmitsu" (a Sainsmart Genmitsu frame with an open-build controller). I finally upgraded the frame and got an open-builds lead 1515 kit, and I've finally set it up. It was working with a single switch, and the soft and hard limits were enabled in the firmware. Then, I added two additional limit switches for X and Y. I soldered the connections together. They're in parallel per the documentation. The firmware tells me they've been triggered, and I can't reset them. The machine does work when I disable hard limit switches in the firmware. It's inoperable with hard limits enabled. Here's a short video showing what I'm seeing. https://photos.app.goo.gl/EJgdGTYs8oV2CxNo8 I've tried many of the suggestions on the EMI page, but because it was working with a single limit switch, I suspect something else is the problem. I know that I can use the machine, but I'd like to use it with hard limits enabled. I appreciate any help you guys can provide. Cheers, Dan x32 config: x32 - Pastebin.com
Pictures of the switch wiring, perhaps wired NC vs NO? (Take clear closeups so we can see C, NC, NO labelling on switches or help ID them) We use parallel for Normally Open (NO) switches, and Series for Normally Closed (NC) wiring Also, make sure $5 is set correctly (What is it set to, and then we'll see if that corresponds to how the switches are wired)
Thank you for the quick response, I'm pretty sure they are wired up as NO, I followed this page docs:blackbox-x32:connect-xtension-limit [OpenBuilds Documentation], Code: black:ground red: voltage blue: signal Code: $5=7 ; Invert limit pins, boolean/mask Y limit min, Y limit max, controller connector X max, X min
Code: $0=10.0 ; Step pulse time, microseconds $1=25 ; Step idle delay, milliseconds $2=0 ; Step pulse invert, mask $3=7 ; 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=115 ; Status report options, mask $11=0.010 ; Junction deviation, millimeters $12=0.002 ; Arc tolerance, millimeters $13=0 ; Report in inches, boolean (CONTROL needs $13=0) $14=0 ; Invert control input signals, 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=1 ; Soft limits enable, boolean $21=1 ; Hard limits enable, boolean $22=1 ; Homing cycle enable, boolean (Grbl) / mask (GrblHAL) $23=3 ; Homing direction invert, mask $24=750.0 ; Homing locate feed rate, mm/min $25=2500.0 ; Homing search seek rate, mm/min $26=250 ; Homing switch debounce delay, milliseconds $27=10.000 ; Homing switch pull-off distance, millimeters $28=0.100 ; G73 retract distance, in mm $29=0.0 ; Step pulse delay (ms) $30=1000.000 ; Maximum spindle speed, RPM $31=0.000 ; Minimum spindle speed, RPM $32=0 ; Laser-mode enable, boolean $33=5000.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=161.430 ; X-axis steps per millimeter $101=159.550 ; Y-axis steps per millimeter $102=160.670 ; Z-axis steps per millimeter $110=5000.000 ; X-axis maximum rate, mm/min $111=5000.000 ; Y-axis maximum rate, mm/min $112=1000.000 ; Z-axis maximum rate, mm/min $120=30.000 ; X-axis acceleration, mm/sec^2 $121=30.000 ; Y-axis acceleration, mm/sec^2 $122=10.000 ; Z-axis acceleration, mm/sec^2 $130=1450.000 ; X-axis maximum travel, millimeters $131=1600.000 ; Y-axis maximum travel, millimeters $132=100.000 ; Z-axis maximum travel, millimeters $300=NaN ; unknown $302=192.168.5.1 ; unknown $303=192.168.5.1 ; unknown $304=255.255.255.0 ; unknown $305=23 ; unknown $306=80 ; unknown $307=81 ; unknown $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=custom
I was on some old firmware, an update did the trick. I'm only suspicious, with my luck, this was too easy. Thanks for the help Peter.