Error after connecting to LightBurn 1.7.04 mks dlc32 fluid nc

Hi. need help/
Plotter with servo on axis z, after connecting error 152 or alarm 9, tried different configurations, error only in lightborn, lasergrbl, Openbuild connects and works fine. after connecting to openbuild, homing it works fine with lightborn until the next time it is turned on.

[MSG:RST]

[MSG:INFO: FluidNC v3.9.4 GitHub - bdring/FluidNC: The next generation of motion control firmware]

[MSG:INFO: Compiled with ESP32 SDK:v4.4.7-dirty]

[MSG:INFO: Local filesystem type is littlefs]

[MSG:INFO: Configuration file:Plotter3.yaml]

[MSG:ERR: gpio.32 - Pin is already used.]

[MSG:ERR: Configuration error at /machine/Laser: ]

[MSG:INFO: Machine PenPlotter_A0]

[MSG:INFO: Board MKS-DLC32 V2.1]

[MSG:INFO: UART1 Tx:gpio.18 Rx:gpio.23 RTS:NO_PIN Baud:115200]

[MSG:INFO: I2SO BCK:gpio.16 WS:gpio.17 DATA:gpio.21Min Pulse:2us]

[MSG:INFO: SPI SCK:gpio.14 MOSI:gpio.13 MISO:gpio.12]

[MSG:INFO: SD Card cs_pin:gpio.15 detect:gpio.39 freq:8000000]

[MSG:INFO: Stepping:I2S_STATIC Pulse:2us Dsbl Delay:0us Dir Delay:1us Idle Delay:255ms]

[MSG:INFO: Axis count 3]

[MSG:INFO: Shared stepper disable I2SO.0]

[MSG:INFO: Axis X (0.000,1000.000)]

[MSG:INFO: Motor0]

[MSG:INFO: stepstick Step:I2SO.1 Dir:I2SO.2 Disable:NO_PIN]

[MSG:INFO: X Neg Limit gpio.36:low]

[MSG:INFO: Axis Y (0.000,1000.000)]

[MSG:INFO: Motor0]

[MSG:INFO: stepstick Step:I2SO.5 Dir:I2SO.6 Disable:NO_PIN]

[MSG:INFO: Y Neg Limit gpio.35:low]

[MSG:INFO: Axis Z (-5.000,0.000)]

[MSG:INFO: Motor0]

[MSG:INFO: rc_servo Pin:gpio.22 Pulse Len(1000,2000 period:1048575)]

[MSG:INFO: Update timer for rc_servo at 20 ms]

[MSG:INFO: Motor1]

[MSG:INFO: Kinematic system: Cartesian]

[MSG:INFO: STA SSID is not set]

[MSG:INFO: AP SSID FluidNC IP 192.168.0.1 mask 255.255.255.0 channel 1]

[MSG:INFO: AP started]

[MSG:INFO: WiFi on]

[MSG:INFO: Captive Portal Started]

[MSG:INFO: HTTP started on port 80]

[MSG:INFO: Telnet started on port 23]

Grbl 3.9 [FluidNC v3.9.4 (wifi) ‘$’ for help]

[MSG:ERR: Configuration is invalid. Check boot messages for ERR’s.]

[VER:3.9 FluidNC v3.9.4:]

[OPT:PHS]

[MSG:Machine: PenPlotter_A0]

[MSG:Mode=AP:SSID=FluidNC:IP=192.168.0.1:MAC=C8-2E-18-9A-63-19]

ok

Waiting for connection…

[VER:3.9 FluidNC v3.9.4:]

[OPT:PHS]

[MSG:Machine: PenPlotter_A0]

[MSG:Mode=AP:SSID=FluidNC:IP=192.168.0.1:MAC=C8-2E-18-9A-63-19]

ok

error:152

error:152

my config

board: MKS-DLC32 V2.1
name: PenPlotter_A0
meta: (Jun 2023) by SerFabio89
stepping:
engine: I2S_STATIC
idle_ms: 255
pulse_us: 2
dir_delay_us: 1
disable_delay_us: 0
uart1:
txd_pin: gpio.18
rxd_pin: gpio.23
rts_pin: NO_PIN
cts_pin: NO_PIN
baud: 115200
mode: 8N1
axes:
shared_stepper_reset_pin: NO_PIN
shared_stepper_disable_pin: i2so.0
x:
steps_per_mm: 80
max_rate_mm_per_min: 10000
acceleration_mm_per_sec2: 800
max_travel_mm: 1000
soft_limits: false
homing:
cycle: 2
allow_single_axis: true
positive_direction: false
mpos_mm: 0
feed_mm_per_min: 1500
seek_mm_per_min: 1500
settle_ms: 500
seek_scaler: 1.1
feed_scaler: 1.1
motor0:
limit_neg_pin: gpio.36:low
hard_limits: true
pulloff_mm: 5
stepstick:
step_pin: i2so.1
direction_pin: i2so.2
disable_pin: NO_PIN
ms1_pin: NO_PIN
ms2_pin: NO_PIN
ms3_pin: NO_PIN
limit_pos_pin: NO_PIN
limit_all_pin: NO_PIN
y:
steps_per_mm: 80
max_rate_mm_per_min: 10000
acceleration_mm_per_sec2: 800
max_travel_mm: 1000
soft_limits: false
homing:
cycle: 2
allow_single_axis: true
positive_direction: false
mpos_mm: 0
feed_mm_per_min: 1000
seek_mm_per_min: 1000
settle_ms: 500
seek_scaler: 1.1
feed_scaler: 1.1
motor0:
limit_neg_pin: gpio.35:low
hard_limits: true
pulloff_mm: 5
stepstick:
step_pin: i2so.5
direction_pin: i2so.6
disable_pin: NO_PIN
ms1_pin: NO_PIN
ms2_pin: NO_PIN
ms3_pin: NO_PIN
limit_pos_pin: NO_PIN
limit_all_pin: NO_PIN
z:
steps_per_mm: 100
max_rate_mm_per_min: 7200
acceleration_mm_per_sec2: 100
max_travel_mm: 5
soft_limits: false
homing:
cycle: 1
mpos_mm: 0
positive_direction: true
motor0:
rc_servo:
pwn_hz: 50
output_pin: gpio.22
min_pulse_us: 1000
max_pulse_us: 2000
limit_neg_pin: NO_PIN
limit_pos_pin: NO_PIN
limit_all_pin: NO_PIN
pulloff_mm: 2
i2so:
bck_pin: gpio.16
data_pin: gpio.21
ws_pin: gpio.17
spi:
miso_pin: gpio.12
mosi_pin: gpio.13
sck_pin: gpio.14
sdcard:
cs_pin: gpio.15
card_detect_pin: gpio.39
control:
safety_door_pin: NO_PIN
reset_pin: NO_PIN
feed_hold_pin: NO_PIN
cycle_start_pin: NO_PIN
macro0_pin: NO_PIN
macro1_pin: NO_PIN
macro2_pin: NO_PIN
macro3_pin: NO_PIN
macros:
startup_line0: $X $HZ
startup_line1: G92 Z1.0000
start:
must_home: false
check_limits: false
deactivate_parking: true
laser:
tool_num: 0
speed_map: 0=0.0% 1000=100.0%
output_pin: gpio.32
disable_with_s0: false
s0_with_disable: false
pwm_hz: 1000
arc_tolerance_mm: 0.002
junction_deviation_mm: 0.01
verbose_errors: false
report_inches: false
enable_parking_override_control: false
use_line_numbers: false

try but not work(
after reconnecting
On or near line 0:

error:9

G-code locked out during alarm or jog state.

On or near line 0:

Stream completed in 0:00

$h

error:152

Do you have limit switches?

  • 152: Configuration is invalid. Check boot messages for ERR’s.

I know very little about FluidNC. Maybe this page will help.
http://wiki.fluidnc.com/en/support/alarm_and_error_codes

Your original Alarm 9 was due to the Controller not finding a limit switch. that should be solved first.

  • 9: Homing fail Homing fail. Could not find limit switch within search distances. Try increasing max travel, decreasing pull-off distance, or check wiring.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.