[FluidNC Issue#1528] Problem: Normally closed endstop boot into an indeterminate state in 3.9.6 and 3.9.7

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

Issue #1528 | 状态: 已关闭 | 作者: V1EngineeringInc | 创建时间: 2025-07-21


Wiki Search Terms

$limits

Controller Board

Jackpot CNC Controller

Machine Description

Standard proven LowRider Configs, work on all previous versions.

Input Circuits


Configuration file

board: Jackpot TMC2209
name: LowRider
meta: 10-31-2024 RyanZ

planner_blocks: 32

stepping: engine: I2S_STATIC idle_ms: 255 pulse_us: 2 dirdelayus: 1 disabledelayus: 0

uart1: txd_pin: gpio.0 rxd_pin: gpio.4 rtspin: NOPIN baud: 115200 mode: 8N1

axes: sharedstepperdisablepin: NOPIN

x: stepspermm: 50.000 maxratemmpermin: 9000.000 accelerationmmper_sec2: 200.000 maxtravelmm: 1260 soft_limits: false homing: cycle: 2 positive_direction: false mpos_mm: 3 feedmmper_min: 300.000 seekmmper_min: 1500.000 settle_ms: 500 seek_scaler: 1.100 feed_scaler: 1.100 #X motor0: limitnegpin: gpio.25:high limitpospin: NO_PIN limitallpin: NO_PIN hard_limits: false pulloff_mm: 4.000 tmc_2209: uart_num: 1 addr: 0 cspin: NOPIN rsenseohms: 0.110 run_amps: 0.800 homing_amps: 0.800 hold_amps: 0.700 microsteps: 8 stallguard: 0 stallguard_debug: false toff_disable: 0 toff_stealthchop: 5 toff_coolstep: 3 run_mode: StealthChop homing_mode: StealthChop use_enable: false direction_pin: I2SO.1 step_pin: I2SO.2 disable_pin: I2SO.0

y: stepspermm: 50.000 maxratemmpermin: 9000.000 accelerationmmper_sec2: 200.000 maxtravelmm: 2480 soft_limits: false homing: cycle: 2 positive_direction: false mpos_mm: 3 feedmmper_min: 300.000 seekmmper_min: 1500.000 settle_ms: 500 seek_scaler: 1.100 feed_scaler: 1.100 #Y motor0: limitnegpin: gpio.33:high limitpospin: NO_PIN limitallpin: NO_PIN hard_limits: false pulloff_mm: 4.000 tmc_2209: uart_num: 1 addr: 1 cspin: NOPIN rsenseohms: 0.110 run_amps: 0.800 homing_amps: 0.800 hold_amps: 0.700 microsteps: 8 stallguard: 0 stallguard_debug: false toff_disable: 0 toff_stealthchop: 5 toff_coolstep: 3 run_mode: StealthChop homing_mode: StealthChop use_enable: false step_pin: I2SO.5 direction_pin: I2SO.4 disable_pin: I2SO.7

#A motor1: limitnegpin: gpio.35:high limitpospin: NO_PIN limitallpin: NO_PIN hard_limits: false pulloff_mm: 4.000 tmc_2209: uart_num: 1 addr: 3 cs_pin: i2so.14 rsenseohms: 0.110 run_amps: 0.800 homing_amps: 0.800 hold_amps: 0.700 microsteps: 8 stallguard: 0 stallguard_debug: false toff_disable: 0 toff_stealthchop: 5 toff_coolstep: 3 run_mode: StealthChop homing_mode: StealthChop use_enable: false step_pin: I2SO.13 direction_pin: I2SO.12 disable_pin: I2SO.15

z: stepspermm: 200.000 maxratemmpermin: 1800.000 accelerationmmper_sec2: 80.000 maxtravelmm: 300.000 soft_limits: false homing: cycle: 1 positive_direction: true mpos_mm: 3 feedmmper_min: 200.000 seekmmper_min: 800.000 settle_ms: 500 seek_scaler: 1.100 feed_scaler: 1.100

motor0: limitnegpin: NO_PIN limitpospin: gpio.32:high limitallpin: NO_PIN hard_limits: false pulloff_mm: 4.000 tmc_2209: uart_num: 1 addr: 2 cspin: NOPIN rsenseohms: 0.110 run_amps: 0.800 homing_amps: 0.800 hold_amps: 0.700 microsteps: 8 stallguard: 0 stallguard_debug: false toff_disable: 0 toff_stealthchop: 5 toff_coolstep: 3 run_mode: StealthChop homing_mode: StealthChop use_enable: false step_pin: I2SO.10 direction_pin: I2SO.9 disable_pin: I2SO.8

#B motor1: limitnegpin: NO_PIN limitpospin: gpio.34:high limitallpin: NO_PIN hard_limits: false pulloff_mm: 4.000 tmc_2209: uart_num: 1 addr: 3 cs_pin: i2so.19 rsenseohms: 0.110 run_amps: 0.800 homing_amps: 0.800 hold_amps: 0.700 microsteps: 8 stallguard: 0 stallguard_debug: false toff_disable: 0 toff_stealthchop: 5 toff_coolstep: 3 run_mode: StealthChop homing_mode: StealthChop use_enable: false step_pin: I2SO.18 direction_pin: I2SO.17 disable_pin: I2SO.16

c:

stepspermm: 80.000

maxratemmpermin: 5000.000

accelerationmmper_sec2: 100.000

maxtravelmm: 300.000

soft_limits: false

homing:

cycle: 0

positive_direction: true

mpos_mm: 150.000

feedmmper_min: 100.000

seekmmper_min: 800.000

settle_ms: 500

seek_scaler: 1.100

feed_scaler: 1.100

#

motor0:

limitnegpin: gpio.39:low

limitpospin: NO_PIN

limitallpin: NO_PIN

hard_limits: false

pulloff_mm: 3.000

tmc_2209:

uart_num: 1

addr: 3

cs_pin: i2so.22

rsenseohms: 0.110

run_amps: .8

homing_amps: 0.800

hold_amps: 0.050

microsteps: 16

stallguard: 0

stallguard_debug: false

toff_disable: 0

toff_stealthchop: 5

toff_coolstep: 3

run_mode: StealthChop

homing_mode: StealthChop

use_enable: false

step_pin: I2SO.21

direction_pin: I2SO.20

disable_pin: I2SO.23

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

spi: miso_pin: gpio.19 mosi_pin: gpio.23 sck_pin: gpio.18

sdcard: cs_pin: gpio.5 carddetectpin: NO_PIN frequency_hz: 20000000

probe: pin: gpio.36:low toolsetterpin: NOPIN checkmodestart: true

start: must_home: false

coolant: flood_pin: gpio.2 mist_pin: gpio.16 delay_ms: 0

control: safetydoorpin: NO_PIN resetpin: NOPIN feedholdpin: NO_PIN cyclestartpin: NO_PIN macro0pin: NOPIN macro1pin: NOPIN macro2pin: NOPIN macro3pin: NOPIN

macros: startup_line0: startup_line1: macro0: macro1: macro2: macro3:

user_outputs: analog0pin: NOPIN analog1pin: NOPIN analog2pin: NOPIN analog3pin: NOPIN analog0_hz: 5000 analog1_hz: 5000 analog2_hz: 5000 analog3_hz: 5000 digital0_pin: gpio.26 digital1_pin: gpio.27 digital2pin: NOPIN digital3pin: NOPIN

#Laser:

pwm_hz: 5000

output_pin: gpio.27

enablepin: NOPIN

disablewiths0: false

s0withdisable: true

tool_num: 0

speed_map: 0=0.000% 255=100.000%

offonalarm: true

pwm:

pwm_hz: 5000

direction_pin: gpio.26

output_pin: gpio.27

enablepin: NOPIN

disablewiths0: false

s0withdisable: true

spinup_ms: 0

spindown_ms: 0

tool_num: 0

speed_map: 0=0.000% 1000=100.000%

offonalarm: false

5V out gpio.26/27

VMot out gpoi.2/16

In's left to right gpoi.25/33/32/35/34/39/36

Startup Messages

No startup warnings.

User Interface Software

webui, or terminal

What happened?

The end stops only correctly work after they get triggered once. So no big issue if the machine is in the middle of the work area. If the machine is booted in a position that an endstop is triggered that endstop is ignored and will try to home that axis and grind until it errors out.

An easy test is to boot a board with Normally closed end stops in the config file and run $limits. All endstops will show open until they get triggered once.

GCode File

No response

Other Information

No response


评论 (4)

#1 – LASPTCJim 于 2025-07-30

I have the same issue reported in this ticket. This is true with V1e jackpot board and three different ESP-32s (Genuine espressif, genuine V1e, and amazon clone).
I also have the issue with a release candidate version of the upcoming Jackpot V2 (integrated genuine Espressif ESP-32).

Works fine in 3.9.5, broken in 3.9.6 and 3.9.7.


#2 – Z3r0shin 于 2025-07-30

I too have this issue. I have an MKS DLC32 V2.1. I do also have the check_limits: true under the start section.


#3 – bdring 于 2025-08-01

I was able to reproduce this issue on a Corgi controller.


#4 – bdring 于 2025-08-04

There is a PR that appears to fix the issue.

https://github.com/bdring/FluidNC/pull/1536


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

喜欢 (0)