makerbase-mks / MKS-DLC32

MKS DLC32 motherboard kit, which is an offline engraving master control kit developed for desktop engraving machines. The hardware is equipped with a 32-bit high-speed ESP32 module, integrated WIFI function, and directly drives a 3.5-inch touch color screen; it can realize fast engraving and WEB web pages. Control, mobile phone APP control and other functions.
https://www.aliexpress.com/item/1005003183498253.html?spm=a2g0o.store_pc_home.productList_8356958.pic_0
262 stars 108 forks source link

Hard limit problem (depends on WiFi connection) #416

Open SlaUA opened 10 months ago

SlaUA commented 10 months ago

Hello, I just installed MKS-DLC32 v2.1 board on a CNC router, connected the hard limit switches (normally closed), so $5=0, enabled them by $21=1, rebooted the board, checked. Everything works fine without WiFi connection. When WiFi is connected, opened=not connected X limit switch gives limit switch error all the time. It looks like another issue. On the connected screen TS35 appears a window with the message "Hard Limit!" and when I click "Yes" it appears again untill X limit pin is shorted to GND. Y and Z limits work just fine. Tested with firmware V2.0.8_H35_20220105_N_CNC.bin, V2.1.0_H35_20220510_N_CNC_001.bin, V2.1.0_H35_20220526_02_N_CNC.bin - behavior remains the same. Can anyone check this please? Thank you very much.

zebsboards commented 3 weeks ago

Did you ever figure this out? I'm just now having the same issue

zebsboards commented 3 weeks ago

Posting this in case anyone else has the same issue in the future.

The fix for me was to increase the homing switch pulloff value ($27) to 2mm from the default value of 1mm

Even though the 1mm value worked fine in every mode except when wifi was enabled, changing the value to 2mm made the difference and I no longer get the hard limit error.

jnl1105 commented 2 weeks ago

I normally do a 4mm to 5mm pull off but I normally use roller arm style instead of push button.