[FluidNC Issue#1588] Problem: Web Installer detects wrong stepping engine in UI compared to yaml config

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

Issue #1588 | 状态: 进行中 | 作者: Kleebz | 创建时间: 2025-10-07


Wiki Search Terms

http://wiki.fluidnc.com/en/installation

I reviewed the above wiki just in case but this seems like a small UI bug.

Controller Board

6xCNCController

Machine Description

Gantry router, XYYZ, DM556, Nema23, 1.5kw spindle

Input Circuits


Configuration file

board: 6xcnccontroller
name: Minimal Test
stepping:
  engine: I2S_static
  idle_ms: 255
  pulse_us: 4
  dirdelayus: 4
  disabledelayus: 0
  segments: 6

axes: x: stepspermm: 320.000 maxratemmpermin: 3000.000 accelerationmmper_sec2: 300.000 maxtravelmm: 1500.000 motor0: standard_stepper: step_pin: I2SO.2 direction_pin: I2SO.1:low disable_pin: I2SO.0 y: stepspermm: 320.000 maxratemmpermin: 3000.000 accelerationmmper_sec2: 300.000 maxtravelmm: 1500.000 motor0: standard_stepper: step_pin: I2SO.5 direction_pin: I2SO.4 disable_pin: I2SO.7 motor1: standard_stepper: step_pin: I2SO.10 direction_pin: I2SO.9 disable_pin: I2SO.8 z: stepspermm: 800.000 maxratemmpermin: 1200.000 accelerationmmper_sec2: 300.000 maxtravelmm: 340.000 motor0: standard_stepper: step_pin: I2SO.13 direction_pin: I2SO.12:low disable_pin: I2SO.15

i2so: bck_pin: gpio.22 data_pin: gpio.21 ws_pin: gpio.17

start: must_home: false

Startup Messages

Grbl 3.9 [FluidNC v3.9.9 (wifi) '$' for help]
[MSG:INFO: uart_channel0 created]

[MSG:RST] [MSG:INFO: FluidNC v3.9.9 https://github.com/bdring/FluidNC] [MSG:INFO: Compiled with ESP32 SDK:v4.4.7-dirty] [MSG:INFO: Local filesystem type is littlefs] [MSG:INFO: Configuration file:config_test.yaml] [MSG:INFO: Machine Minimal Test] [MSG:INFO: Board 6xcnccontroller] [MSG:INFO: I2SO BCK:gpio.22 WS:gpio.17 DATA:gpio.21Min Pulse:2us] [MSG:INFO: Stepping:I2S_STATIC Pulse:4us Dsbl Delay:0us Dir Delay:4us Idle Delay:255ms] [MSG:INFO: Axis count 3] [MSG:INFO: Axis X (-1500.000,0.000)] [MSG:INFO: Motor0] [MSG:INFO: standard_stepper Step:I2SO.2 Dir:I2SO.1:low Disable:I2SO.0] [MSG:INFO: Axis Y (-1500.000,0.000)] [MSG:INFO: Motor0] [MSG:INFO: standard_stepper Step:I2SO.5 Dir:I2SO.4 Disable:I2SO.7] [MSG:INFO: Motor1] [MSG:INFO: standard_stepper Step:I2SO.10 Dir:I2SO.9 Disable:I2SO.8] [MSG:INFO: Axis Z (-340.000,0.000)] [MSG:INFO: Motor0] [MSG:INFO: standard_stepper Step:I2SO.13 Dir:I2SO.12:low Disable:I2SO.15] [MSG:INFO: Kinematic system: Cartesian] [MSG:INFO: Connecting to STA SSID:**] [MSG:INFO: Connecting.] [MSG:INFO: Connecting..] [MSG:INFO: Connected - IP is **] [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]

Grbl 3.9 [FluidNC v3.9.9 (wifi) '$' for help] ok [VER:3.9 FluidNC v3.9.9:] [OPT:PHS] [MSG:Machine: Minimal Test]

User Interface Software

No response

What happened?

Stepping engine detected is incorrect when using the file browser and editing the config in the web UI. RMT detected, config value has I2S_static.

Image

Steps to reproduce:

1. Click Edit, pencil icon
2. Paste the configuration provided above by editing in the webUI
3. Save
4. Click Edit again
5. Navigate to Axes tab

*Uploading as a new config produces the same result

Observations:

Clicking save does not overwrite the engine in the config file unless the dropdown field is modified and made dirty.

GCode File

No response

Other Information

No response


评论 (5)

#1 – breiler 于 2025-10-07

To be fair, the documentation says that the value should be I2SSTATIC and not I2Sstatic:
http://wiki.fluidnc.com/en/config/axes#stepping

However it looks like FluidNC can handle the setting without being case sensitive so I have adjusted the editor to handle that.


#2 – Kleebz 于 2025-10-07

Fair point about value casing in the docs. I’ll pay more attention that all of my values are valid in the future.


#3 – breiler 于 2025-10-09

I actually found the wrong casing in the documentation further down in the example section:

Image

I’ve corrected that and the installer can now also handle the wrong casing. I think that we can close this issue.


#4 – MitchBradley 于 2025-10-10

FluidNC config files are intended to be case-insensitive. There would be exceptions for strings passed-through to other agents, but for the most part such things are NVS variables instead of config file entries – for example SSIDs and passwords.


#5 – breiler 于 2025-10-10

I have only changed so that reading the stepping engine setting will be case insensitive. Most of the others are still case sensitive.

I am currently working on a JSON schema (that was suggested in another thread) which can be used to validate configs in both the installer and in other editors which may help people diagnose similar problems in the future.


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

喜欢 (0)