Sculpfun S9 limits/ air assist with Makerbase DLC32 v2

New to lasers but experienced 3d printer enthusiast. I’ve fitted a DLC32 with limit switches to my new S9.
The issue is that it will home to the front left but will crash into either stop switch it reaches first and continues to run the motor for a few seconds, eventually throwing up ‘ALARM:1 Hard limit triggered.’
Wiring to the switches has been treble checked and is OK for continuity and are OK for matching the wiring diagram. (The x axis also runs in reverse on the screen to lightburn although y is OK).
Enclosed are a couple of screenshots below of the current configuration and a listing via the command line. I’ve tried whatever I can to resolve this to no avail, so any advice is gratefully received.

I also have mains air assist pump I want to control via lightburn. I’ve looked to use the (manual recommended) S12C interface feeding a step-up convertor to a 12v relay that will turn on and off the mains supply. Despite looking across the web I can’t find which pins to use to send a 5v signal to the relay. I’ve metered the connections across the S/G/5v and the max output seems to be around 3.3v, which isn’t being controlled by a M8/M9 command- just being constant. Which pins do I use and what to I do within any grbl settings?

Many thanks!

[MSG:Using machine:MKS DLC32]

If X is inverted is it looking at the wrong limit switch? Have you tried fixing$Homing/DirInvert yet? And maybe start with homing one axis at a time ­— make $Homing/Cycle0=X and $Homing/Cycle1=Y or vice versa?

Do the status messages (<...>) show when you manually trigger the limit switches?

1 Like

Thanks for the reply. $Homing/Cycle0=Y homed the y axis to the switch and it successfully ‘bounced’ and retracted the specified 3mm.
The x axis still ran into the frame but it prompted me to yet again check the connections and it turned out to be a faulty pin in one of the connectors- it wasn’t fully home and sporadically produced the weird results despite multiple meter checks! At least the thing homes successfully now…

1 Like

So now you are down to automatically turning air assist on and off?

I don’t have a Makerbase DLC32 to probe to answer the 5V question with any confidence. However, it’s common for switches to switch ground, so sometimes you can connect a general 5V supply to one side and the other side to the negative side of a switched port. Have you found the makerbase documentation on github?

This document shows all the pins. All the 12/24V pins are connected directly to the supply voltage. Then you can see 5V and 3V3 pins labeled.

The I2C interface there is documented to supply 3.3V (3V3).

Michael, thanks for the pointer; I figured out the air assist- used this diagram- Hardware Wiring · makerbase-mks/MKS-DLC32 Wiki · GitHub

The other issue was that lightburn was using M8 instead of M7- I now get a change of voltage to 3.3v as anticipated across the pins. Unfortunately the boost convertor I purchased of a famous online retailer is busted with no uprated output to 12v so the air assist is on hold until replaced… sooo close but oh so far.

Yay! The new relay arrived and I now have a fully controlled air assist. Many thanks for your help- most appreciated.