[FluidNC Issue#1497] Problem: Tool setter not working.

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

Issue #1497 | 状态: 已关闭 | 作者: MadeInRu | 创建时间: 2025-05-12


Wiki Search Terms

I’ve searched online for possible solutions and tried a few. The biggest problem for me is that I don’t know whether there’s a hardware issue or not. If you guys can advise on a solution, it would be much appreciated! Thanks a lot in advance.

Controller Board

6-pack

Machine Description

https://ratrig.com/cnc-kits/mills-coming-soon/rat-rig-mill.html

Beginner bundle

Input Circuits

https://us.ratrig.com/bigtreetech-rat-rig-rodent-cnc-controller-tmc2160.html

Configuration file

board: BTT Rodent-Z V1.0
name: Rat Rig Mill
meta: (19.12.2024) by MCruz Rat Rig PWM Spindle Config

kinematics: Cartesian:

stepping:

engine: RMT

idle_ms: 250

dirdelayus: 1

pulse_us: 2

disabledelayus: 0

stepping: engine: I2S_STREAM idle_ms: 255 pulse_us: 4 dirdelayus: 1 disabledelayus: 0

axes: sharedstepperdisablepin: NOPIN x: stepspermm: 400.000 maxratemmpermin: 3000.000 accelerationmmper_sec2: 300.000 maxtravelmm: 340.000 soft_limits: True homing: cycle: 1 positive_direction: false mpos_mm: 0 feedmmper_min: 400.000 seekmmper_min: 800.000 settle_ms: 500 seek_scaler: 1.100 feed_scaler: 1.500

motor0: limitnegpin: NO_PIN limitpospin: gpio.35 limitallpin: NO_PIN hard_limits: false pulloff_mm: 3.000 tmc_5160: step_pin: I2SO.2 direction_pin: I2SO.1 disable_pin: I2SO.0 cs_pin: gpio.5 spi_index: 1 rsenseohms: 0.075 run_amps: 2.0 hold_amps: 1.5 microsteps: 16 toff_disable: 0 toff_stealthchop: 5 use_enable: false run_mode: CoolStep homing_mode: CoolStep stallguard: 16 stallguard_debug: false toff_coolstep: 3 tpfd: 4

y: stepspermm: 400.000 maxratemmpermin: 3000.000 accelerationmmper_sec2: 300.000 maxtravelmm: 160 soft_limits: True homing: cycle: 1 positive_direction: false mpos_mm: 0.000 feedmmper_min: 400.000 seekmmper_min: 800.000 settle_ms: 500 seek_scaler: 1.100 feed_scaler: 1.500

motor0: limitnegpin: NO_PIN limitpospin: gpio.34 limitallpin: NO_PIN hard_limits: false pulloff_mm: 3.000 tmc_5160: step_pin: I2SO.5 direction_pin: I2SO.4:high disable_pin: I2SO.7 cspin: NOPIN spi_index: 2 rsenseohms: 0.075 run_amps: 2.0 hold_amps: 1.5 microsteps: 16 toff_disable: 0 toff_stealthchop: 5 use_enable: false run_mode: CoolStep homing_mode: CoolStep stallguard: 16 stallguard_debug: false toff_coolstep: 3 tpfd: 4

z: stepspermm: 400.000 maxratemmpermin: 1500.000 accelerationmmper_sec2: 200.000 maxtravelmm: 105.000 soft_limits: true homing: cycle: 1 positive_direction: true mpos_mm: 0 feedmmper_min: 400.000 seekmmper_min: 800.000 settle_ms: 500 seek_scaler: 1.100 feed_scaler: 1.500

motor0: limitnegpin: NO_PIN limitpospin: gpio.33 limitallpin: NO_PIN hard_limits: false pulloff_mm: 3.000 tmc_5160: step_pin: I2SO.10 direction_pin: I2SO.9 disable_pin: I2SO.8 cspin: NOPIN spi_index: 3 rsenseohms: 0.075 run_amps: 2.0 hold_amps: 1.5 microsteps: 16 toff_disable: 0 toff_stealthchop: 5 use_enable: false run_mode: CoolStep homing_mode: CoolStep stallguard: 16 stallguard_debug: false toff_coolstep: 3 tpfd: 4

a: #Not Used in the Mill # E0 stepspermm: 157.750 maxratemmpermin: 18000.000 accelerationmmper_sec2: 1500.000 maxtravelmm: 325.000 soft_limits: false homing: cycle: -1 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: NO_PIN limitpospin: NO_PIN limitallpin: NO_PIN hard_limits: false pulloff_mm: 1.000 tmc_5160: step_pin: I2SO.13 direction_pin: I2SO.12 disable_pin: I2SO.15 cspin: NOPIN spi_index: 4 rsenseohms: 0.022 run_amps: 0.5 hold_amps: 0.5 microsteps: 16 toff_disable: 0 toff_stealthchop: 5 use_enable: false run_mode: CoolStep homing_mode: CoolStep stallguard: 16 stallguard_debug: false toff_coolstep: 3 tpfd: 4

probe: toolsetter_pin: gpio.37:low

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.0 carddetectpin: NO_PIN frequency_hz: 8000000

I2SO.3

coolant:

flood_pin: gpio.2:high

mist_pin: gpio.3:low

gpio.4 # HB MOS

probe:

pin: gpio.5:low:pu

toolsetter_pin: gpio.14:low

Begin Huanyang

#uart1:

txd_pin: gpio.15

rxd_pin: gpio.16

rts_pin: gpio.14

baud: 9600

mode: 8N1

Huanyang:

uart_num: 1

modbus_id: 1

tool_num: 0

speed_map: 0=0% 8000=22% 10000=27% 15000=40% 2000=54% 24000=63%

offonalarm: false

PWM: pwm_hz: 5000 output_pin: gpio.13 enablepin: NOPIN directionpin: NOPIN disablewiths0: false s0withdisable: true spinup_ms: 0 spindown_ms: 0 tool_num: 0 speed_map: 0=0% 8000=29% 15000=54% 2000=69% 24000=85% offonalarm: false

i2c0: sda_pin: gpio.27 scl_pin: gpio.26

status_outputs: reportintervalms: 500 idle_pin: I2SO.11:low run_pin: I2SO.14:low alarm_pin: I2SO.3:low

hold_pin: gpio.16

Startup Messages

[MSG:INFO: FluidNC v3.9.7 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.yaml]
[MSG:DBG: Running after-parse tasks]
[MSG:DBG: Checking configuration]
[MSG:INFO: Machine Rat Rig Mill]
[MSG:INFO: Board BTT Rodent-Z V1.0]
[MSG:INFO: I2SO BCK:gpio.22 WS:gpio.17 DATA:gpio.21Min Pulse:2us]
[MSG:INFO: SPI SCK:gpio.18 MOSI:gpio.23 MISO:gpio.19]
[MSG:INFO: SD Card cspin:gpio.0 detect:NOPIN freq:8000000]
[MSG:INFO: I2C SDA: gpio.27, SCL: gpio.26, Freq: 100000, Bus #: 0]
[MSG:INFO: Stepping:I2S_STREAM Pulse:4us Dsbl Delay:0us Dir Delay:1us Idle Delay:255ms]
[MSG:INFO: Axis count 4]
[MSG:INFO: Axis X (0.000,340.000)]
[MSG:INFO:   Motor0]
[MSG:DBG: TMCStepper Library Ver. 0x703]
[MSG:INFO:     tmc_5160 Step:I2SO.2 Dir:I2SO.1 CS:gpio.5 Disable:I2SO.0 Index:1 R:0.075]
[MSG:INFO:  Pos Limit gpio.35]
[MSG:INFO: Axis Y (0.000,160.000)]
[MSG:INFO:   Motor0]
[MSG:INFO:     tmc5160 Step:I2SO.5 Dir:I2SO.4 CS:NOPIN Disable:I2SO.7 Index:2 R:0.075]
[MSG:INFO:  Pos Limit gpio.34]
[MSG:INFO: Axis Z (-105.000,0.000)]
[MSG:INFO:   Motor0]
[MSG:INFO:     tmc5160 Step:I2SO.10 Dir:I2SO.9 CS:NOPIN Disable:I2SO.8 Index:3 R:0.075]
[MSG:INFO:  Pos Limit gpio.33]
[MSG:INFO: Axis A (-175.000,150.000)]
[MSG:INFO:   Motor0]
[MSG:INFO:     tmc5160 Step:I2SO.13 Dir:I2SO.12 CS:NOPIN Disable:I2SO.15 Index:4 R:0.022]
[MSG:INFO: X Axis driver test passed]
[MSG:DBG: X Axis Coolstep]
[MSG:INFO: Y Axis driver test passed]
[MSG:DBG: Y Axis Coolstep]
[MSG:INFO: Z Axis driver test passed]
[MSG:DBG: Z Axis Coolstep]
[MSG:INFO: A Axis driver test passed]
[MSG:DBG: A Axis Coolstep]
[MSG:INFO: Kinematic system: Cartesian]
[MSG:INFO: AP SSID Mill 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]
[MSG:INFO: Status outputs Interval:500 Idle:I2SO.11:low Cycle:I2SO.14:low Hold:NOPIN Alarm:I2SO.3:lowDoor:NOPIN]
[MSG:INFO: PWM Spindle Ena:NOPIN Out:gpio.13 Dir:NOPIN Freq:5000Hz Period:8191]
[MSG:INFO: Toolsetter gpio.37]

User Interface Software

No response

What happened?

Good time of the day. I’m having trouble connecting the tool setter to my RatRig Mill. I’m using the Rodent board version 1.1. I’ve tried all possible wiring combinations with the four wires, but none seem to work.

I mistakenly posted a photo of an error message saying the text couldn’t be found, but I can now confirm that message is unrelated. There’s no reaction from the tool setter in debug mode when I press it. Meanwhile, the endstops for X, Y, and Z respond immediately.

I’ve checked the tool setter with a multimeter and identified the correct wire pairs. In my configuration, I’m only using the pin for the tool setter because the 3D probe isn’t working (or isn’t working properly), so I can’t confirm its behavior.

I’m new to this, so I’m not entirely sure how to check whether the Rodent board might be faulty. However, all endstops and motors function correctly. I’ve also noticed that if I set the tool setter pin to low, the “P” icon in the dashboard turns dark blue — as if it’s permanently activated.

GCode File

No response

Other Information

!Image
!Image
!Image
!Image
!Image


评论 (10)

#1 – bdring 于 2025-05-12

Are the pins you are using on the toosetter N.C or N.O.

Do you have a link to the toolssetter where you bought it?


#2 – MadeInRu 于 2025-05-12

> Are the pins you are using on the toosetter N.C or N.O.
>
> Do you have a link to the toolssetter where you bought it?

Hi!

It’s this one and from what i see it’s N.C.

https://www.aliexpress.com/item/1005002315538312.html


#3 – bdring 于 2025-05-12

Change low to high on the pin


#4 – MadeInRu 于 2025-05-12

This is all i get and i’ve tried all possible combinations. Could my board be faulty? But if so then the rest of it shouldn’t be working either. Is there a way to test pin37 and that port in general?

!Image


#5 – MadeInRu 于 2025-05-12

Is it possible to test it if i set Z limit to pin 37 and see if the limit switch will work? So at least i would know if the whole port with pin 37 is working? Cause i have no idea.


#6 – MadeInRu 于 2025-05-12

I think there is something wrong with the board. I switched the Z limit to pin 37 and the tool setter to pin 33. The Z limit switch appears to be “working” — the light is on — but it doesn’t activate. However, the tool setter suddenly came to life! I can now activate it easily. I think the board might be defective.


#7 – MitchBradley 于 2025-05-12

I found the problem. BTT changed the pin assignment for that signal between revision 1.0 (GPIO37) and 1.1(GPIO39). Look at pages 6 and 7 of the user manual at https://github.com/bigtreetech/Rodent/blob/master/BIGTREETECH%20Rodent%20V1.x%20User%20Manual.pdf

If you change to toolsetter_pin: gpio.39 it will probably work.


#8 – MitchBradley 于 2025-05-13

To use the Rodent Probe input with a probe that pulls the signal pin to ground, it is necessary to install both the NPN jumper and also one of the adjacent jumpers – +5V, +12V, or +VB, depending on the characteristics of the probe. Most typically you would use +5V.

I did not find information on a “Carbide3D Bitsetter v2”, but there is a “Carbide3D BitZero v2”. Its manual goes into great detail about how to plug it into Carbide3D boards, but I could not find any description of how it actually works at the level necessary to be sure how to connect it to a Rodent board.

In the future, please proofread you posts for errors like the device name and the jumper name (PNP vs NPN). Wondering what you actually meant wastes our time.


#9 – bdring 于 2025-05-15

@MadeInRu Is this issue resolved?


#10 – MadeInRu 于 2025-05-15

> @MadeInRu Is this issue resolved?

Hi yes thanks a lot! It is pin 39 and not 37.


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

喜欢 (0)