[FluidNC Issue#1563] Problem: Bad speed number

未分类 bolang 4个月前 (10-14) 41次浏览

Issue #1563 | 状态: 已关闭 | 作者: FMD14 | 创建时间: 2025-09-10


Wiki Search Terms

Error restarting update 3.9.8

Controller Board

MKS-DLC32 V2.1

Machine Description

Laser corexy neje a40640II

Input Circuits


Configuration file

board: MKS-DLC32 V2.1
name: CoreXY Laser NJE A40640
meta: 20/12/2024 FMD14
kinematics: 
  corexy:
stepping:
  engine: I2S_STATIC
  idle_ms: 0
  pulse_us: 4
  dirdelayus: 1
  disabledelayus: 0
axes:
  sharedstepperdisable_pin: i2so.0
  x:
    stepspermm: 80
    maxratemmpermin: 25000
    accelerationmmper_sec2: 3200
    maxtravelmm: 520
    soft_limits: true
    homing:
      cycle: 2
      positive_direction: false
      mpos_mm: 0
      feedmmper_min: 300
      seekmmper_min: 5000
      settle_ms: 500
      seek_scaler: 1.1
      feed_scaler: 1.1
    motor0:
      limitnegpin: gpio.35:low
      hard_limits: true
      pulloff_mm: 5
      stepstick:
        step_pin: i2so.1
        direction_pin: i2so.2:low
        disablepin: NOPIN
        ms1pin: NOPIN
        ms2pin: NOPIN
        ms3pin: NOPIN
      limitpospin: NO_PIN
      limitallpin: NO_PIN
  y:
    stepspermm: 80
    maxratemmpermin: 25000
    accelerationmmper_sec2: 3200
    maxtravelmm: 550
    soft_limits: true
    homing:
      cycle: 3
      positive_direction: false
      mpos_mm: 0
      feedmmper_min: 300
      seekmmper_min: 5000
      settle_ms: 500
      seek_scaler: 1.1
      feed_scaler: 1.1
    motor0:
      limitnegpin: gpio.36:low
      hard_limits: true
      pulloff_mm: 5
      stepstick:
        step_pin: i2so.5
        direction_pin: i2so.6:low
        disablepin: NOPIN
        ms1pin: NOPIN
        ms2pin: NOPIN
        ms3pin: NOPIN
      limitpospin: NO_PIN
      limitallpin: NO_PIN
  z:
    stepspermm: 3200
    maxratemmpermin: 500
    accelerationmmper_sec2: 20
    maxtravelmm: 40
    soft_limits: True
    homing:
      cycle: 1
      positive_direction: false
      mpos_mm: 0
      feedmmper_min: 300
      seekmmper_min: 5000
      settle_ms: 500
      seek_scaler: 1.1
      feed_scaler: 1.1
    motor0:
      limitnegpin: gpio.34:low
      hard_limits: true
      pulloff_mm: 5
      stepstick:
        step_pin: i2so.3:low
        direction_pin: i2so.4:low
        disablepin: NOPIN
        ms1pin: NOPIN
        ms2pin: NOPIN
        ms3pin: NOPIN
      limitpospin: NO_PIN
      limitallpin: NO_PIN
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
  carddetectpin: NO_PIN
control:
  safetydoorpin: NO_PIN
  resetpin: NOPIN
  feedholdpin: NO_PIN
  cyclestartpin: NO_PIN
  macro0_pin: gpio.33:pu:low
  macro1pin: NOPIN
  macro2pin: NOPIN
  macro3pin: NOPIN
  faultpin: NOPIN
  estoppin: NOPIN
macros:
  macro0: $SD/Run=lasertest.gcode
  macro1: $SD/Run=home.gcode
coolant:
  floodpin: NOPIN
  mist_pin: gpio.04:low
  delay_ms: 0
probe:
  pin: gpio.22
  checkmodestart: true
  toolsetterpin: NOPIN
Laser:
  pwm_hz: 5000
  output_pin: gpio.32
  enable_pin: i2so.7
  disablewiths0: false
  s0withdisable: false
  tool_num: 0
  speed_map: 0=0.000%  1000=100.000%
user_outputs:
  analog0pin: NOPIN
  analog1pin: NOPIN
  analog2pin: NOPIN
  analog3pin: NOPIN
  analog0_hz: 5000
  analog1_hz: 5000
  analog2_hz: 5000
  analog3_hz: 5000
  digital0pin: NOPIN
  digital1pin: NOPIN
  digital2pin: NOPIN
  digital3pin: NOPIN
start:
  must_home: false

Startup Messages

ets Jun  8 2016 00:22:57

rst:0x1 (POWERONRESET),boot:0x17 (SPIFASTFLASHBOOT) configsip: 0, SPIWP:0xee clkdrv:0x00,qdrv:0x00,ddrv:0x00,cs0drv:0x00,hddrv:0x00,wpdrv:0x00 mode:DIO, clock div:1 load:0x3fff0030,len:1184 load:0x40078000,len:13260 load:0x40080400,len:3028 entry 0x400805e4 [MSG:INFO: uart_channel0 created]

[MSG:RST] [MSG:INFO: FluidNC v3.9.8 https://github.com/bdring/FluidNC] [MSG:INFO: Compiled with ESP32 SDK:v4.4.7-dirty] [MSG:INFO: Local filesystem type is spiffs] [MSG:INFO: Configuration file:Corexy122024.yaml] [MSG:ERR: Bad speed number ] [MSG:INFO: Machine CoreXY Laser NJE A40640] [MSG:INFO: Board MKS-DLC32 V2.1] [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 cspin:gpio.15 detect:NOPIN freq:8000000] [MSG:INFO: Stepping:I2S_STATIC Pulse:4us Dsbl Delay:0us Dir Delay:1us Idle Delay:0ms] [MSG:INFO: Axis count 3] [MSG:INFO: Shared stepper disable I2SO.0] [MSG:INFO: Axis X (0.000,520.000)] [MSG:INFO: Motor0] [MSG:INFO: stepstick Step:I2SO.1 Dir:I2SO.2:low Disable:NO_PIN] [MSG:INFO: Neg Limit gpio.35:low] [MSG:INFO: Axis Y (0.000,550.000)] [MSG:INFO: Motor0] [MSG:INFO: stepstick Step:I2SO.5 Dir:I2SO.6:low Disable:NO_PIN] [MSG:INFO: Neg Limit gpio.36:low] [MSG:INFO: Axis Z (0.000,40.000)] [MSG:INFO: Motor0] [MSG:INFO: stepstick Step:I2SO.3:low Dir:I2SO.4:low Disable:NO_PIN] [MSG:INFO: Neg Limit gpio.34:low] [MSG:INFO: macro0_pin gpio.33:low:pu] [MSG:INFO: Kinematic system: CoreXY] [MSG:INFO: Connecting to STA SSID:Freebox-C30E80] [MSG:INFO: Connecting.] [MSG:INFO: Connecting..] [MSG:INFO: Connecting...] [MSG:INFO: Connecting....] [MSG:INFO: Connected - IP is 192.168.1.52] [MSG:INFO: WiFi on] [MSG:INFO: Start mDNS with hostname:http://fluidnc.local/] [MSG:INFO: HTTP started on port 80] [MSG:INFO: Telnet started on port 23] [MSG:INFO: Laser Ena:I2SO.7 Out:gpio.32 Freq:5000Hz Period:8191] [MSG:INFO: Mist coolant gpio.4:low] [MSG:INFO: Probe gpio.22]

Grbl 3.9 [FluidNC v3.9.8 (wifi) '$' for help] ok [VER:3.9 FluidNC v3.9.8:] [OPT:MPHS] [MSG:Machine: CoreXY Laser NJE A40640] [MSG:Mode=STA:SSID=Freebox-C30E80:Status=Connected:IP=192.168.1.52:MAC=0C-8B-95-1B-E2-2C] ok

User Interface Software

No response

What happened?

Hello, I just installed the latest version with the web console without changing the config file. When restarting, I get the Bad speed number error. How do I remove this error? Because my machine is no longer working.

GCode File

No response

Other Information

No response


评论 (5)

#1 – MitchBradley 于 2025-09-10

Remove the extra space after the first % in the speed_map entry. It should be
speed_map: 0=0.000% 1000=100.000%

We will fix the parser to ignore extra spaces as time permits.


#2 – FMD14 于 2025-09-10

Good evening,
I just removed the extra space, it works.
Thank you.


#3 – FMD14 于 2025-09-21

Good evening, after replacing the case of my MKS card, the motor starts to grunt and moves a little and then comes back into place. Since then, only the Z motor moves and I have an alarm 2. How can I check if the card is not dead? And which card can I replace it with to be compatible with Fluidnc? Corexy 3 axes and air assist


#4 – MitchBradley 于 2025-09-21

This does not seem like a controller failure.

Motor problems like you mention are often caused by bad wiring between the driver and the motor. When you replaced the case, maybe a connector or wire was damaged.

Alarm:2 is Soft Limit. That is caused by trying to move past the limits that were established by the config file. You did not say what commands that you executed prior to the alarm, so we cannot analyze the problem any deeper. In any case, Alarm:2 suggests user error rather than controller failure.


#5 – MitchBradley 于 2025-09-21

If you need further assistance with this problem, please create a new ticket instead of reusing one that is titled “Bad speed number”, since the speed number issue is solved.


原始Issue: https://github.com/bdring/FluidNC/issues/1563

喜欢 (0)