2 mks-sbase problems with k40

hello forum, I connected mks-sbase to k40, firmware cpprice grbl-lpc, motors ok, 1 pin L to the right connected pin negative hot bed, the 1 problem is the laser always on, or always off, how do I adjust? i connected G-IN-5v power supply,should i also connect pin L near G-IN-5v?
pin-alimentatori-nuovo-e-vecchio
(upload://9ryNaWTCme0YVr1WW6du9OhMJRG.png)
the second problem i connected a 2 wire mechanical limit switch you have pin SG mks limit switch x- and y-, if I click nothing happens, is it right to connect x- and y- or x + and y +?


$0 = 10 (Step pulse time, microseconds)
$1 = 255 (Step idle delay, milliseconds)
$2 = 0 (Step pulse invert, mask)
$3 = 3 (Step direction invert, mask)
$4 = 0 (Invert step enable pin, boolean)
$5 = 1 (Invert limit pins, boolean)
$6 = 0 (Invert probe pin, boolean)
$10 = 0 (Status report options, mask)
$11 = 0.010 (Junction deviation, millimeters)
$12 = 0.002 (Arc tolerance, millimeters)
$13 = 0 (Report in inches, boolean)
$20 = 0 (Soft limits enable, boolean)
$21 = 1 (Hard limits enable, boolean)
$22 = 1 (Homing cycle enable, boolean)
$23 = 1 (Homing direction invert, mask)
$24 = 50.000 (Homing locate feed rate, mm/min)
$25 = 6000.000 (Homing search seek rate, mm/min)
$26 = 250 (Homing switch debounce delay, milliseconds)
$27 = 2.000 (Homing switch pull-off distance, millimeters)
$30 = 1000 (Maximum spindle speed, RPM)
$31 = 0 (Minimum spindle speed, RPM)
$32 = 1 (Laser-mode enable, boolean)
$33 = 5000.000
$34 = 0.000
$35 = 1.000
$36 = 100.000
$100 = 160.000 (X-axis travel resolution, step/mm)
$101 = 160.000 (Y-axis travel resolution, step/mm)
$102 = 160.000 (Z-axis travel resolution, step/mm)
$103 = 160.000
$110 = 24000.000 (X-axis maximum rate, mm/min)
$111 = 24000.000 (Y-axis maximum rate, mm/min)
$112 = 24000.000 (Z-axis maximum rate, mm/min)
$113 = 24000.000
$120 = 2500.000 (X-axis acceleration, mm/sec^2)
$121 = 2500.000 (Y-axis acceleration, mm/sec^2)
$122 = 2500.000 (Z-axis acceleration, mm/sec^2)
$123 = 2500.000
$130 = 300.000 (X-axis maximum travel, millimeters)
$131 = 200.000 (Y-axis maximum travel, millimeters)
$132 = 50.000 (Z-axis maximum travel, millimeters)
$133 = 100.000
$140 = 0.600
$141 = 0.600
$142 = 0.000
$143 = 0.000

Blockquote

Let’s first deal with the LPS.

  • Looks like your supply is type E in the attached chart.
  • Let’s ensure that is correctly wired.
  1. Verify that your LPS is wired according to this chart.
  2. Post a picture of the actual wiring of the LPS when you are complete.

K40 LPS Type Conversion (2).pdf (68.1 KB)

sorry i don’t speak english, i understand little pdf, i drew my schematic,GND and p + connected water flow sensor, i connected pin G-IN-5v to the cable that goes to the digital display, connected pin L on the left that goes to the display, I turn on the machine and the test fire button works , I connect laser to UGS, the power on the digital display is at maximum, I do gcode M03 S1000 the laser does not fire, am I wrong connection?

I do not know what UGS is?

Try this:

WARNING this will fire the laser so ensure you have eye protection!

  • With machine off

  • Disconnect the wire that goes from the hotbed [-] to the LPS-L [far right pin][blue wire on your drawing]

  • Add a jumper wire to LPS-L [far right pin] on the LPS

  • Turn the machine on

  • Turn the “Laser Switch” to ON.

  • Then temporarily connect the LPS-L [far right pin] to grnd.

Does the laser fire?

Universal Gcode Sender

2 Likes

Obviously I don’t use it lol

3 Likes

1 problem solved, the blue cable connected to L broke.
I have to solve the 2nd problem, endstop don’t work
the swicths are NC, when I turn on UGS or lasergrbl it goes into alarm, I unlock the program with soft reset + unlock, but then the endstop don’t work

Instead of reset + unlock you should send $H which starts the homing sequence. After successful homing, grbl clears the alarm state and the machine is ready for a job.

Please read the grbl wiki for details:

4 Likes