Comments (13)
I assume so, but there may be few things we could try to fix it in FluidNC. I could create a test branch with the changes, but there is no guarantee it will be fixed.
from fluidnc.
Ok, a friend will let me play with his 3d printer drivers. I will try to run some tests this we :)
from fluidnc.
OK, test the main branch first. Run some gcode through a full range of current levels.
I will create a new branch for you to compare it with. That will take a day or 2.
from fluidnc.
I think it is fixed. Try the Trinamic branch.
from fluidnc.
I just try the trinamic branch and the bug is still here (running 1A, holding 0.75A) using coolstep as well as stealthchop mode.
What do you need as information?
here is my last config file
`
board: 4 Axis SPI Daisy
name: 4 Axis SPI Daisy Test
stepping:
engine: RMT
idle_ms: 255
pulse_us: 2
dir_delay_us: 1
disable_delay_us: 0
axes:
shared_stepper_disable_pin: NO_PIN
x:
steps_per_mm: 800.000
max_rate_mm_per_min: 5000.000
acceleration_mm_per_sec2: 100.000
max_travel_mm: 300.000
soft_limits: false
homing:
cycle: 2
positive_direction: false
mpos_mm: 150.000
feed_mm_per_min: 100.000
seek_mm_per_min: 200.000
debounce_ms: 500
seek_scaler: 1.100
feed_scaler: 1.100
motor0:
limit_neg_pin: NO_PIN
limit_pos_pin: NO_PIN
limit_all_pin: NO_PIN
hard_limits: true
pulloff_mm:1.000
tmc_5160:
cs_pin: gpio.17
spi_index: 1
r_sense_ohms: 0.075
run_amps: 1.000
hold_amps: 1.000
microsteps: 16
stallguard: 0
stallguard_debug: false
toff_disable: 0
toff_stealthchop: 5
toff_coolstep: 3
run_mode: CoolStep
homing_mode: CoolStep
use_enable: true
step_pin: gpio.12
direction_pin: gpio.14
disable_pin: NO_PIN
y:
steps_per_mm: 800.000
max_rate_mm_per_min: 5000.000
acceleration_mm_per_sec2: 100.000
max_travel_mm: 300.000
soft_limits: false
homing:
cycle: 2
positive_direction: false
mpos_mm: 150.000
feed_mm_per_min: 100.000
seek_mm_per_min: 200.000
debounce_ms: 500
seek_scaler: 1.100
feed_scaler: 1.100
motor0:
limit_neg_pin: NO_PIN
limit_pos_pin: NO_PIN
limit_all_pin: NO_PIN
hard_limits: true
pulloff_mm:1.000
tmc_5160:
spi_index: 2
r_sense_ohms: 0.075
run_amps: 1.000
hold_amps: 1.000
microsteps: 16
stallguard: 0
stallguard_debug: false
toff_disable: 0
toff_stealthchop: 5
toff_coolstep: 3
run_mode: CoolStep
homing_mode: CoolStep
use_enable: true
step_pin: gpio.27
direction_pin: gpio.26
disable_pin: NO_PIN
z:
steps_per_mm: 800.000
max_rate_mm_per_min: 5000.000
acceleration_mm_per_sec2: 100.000
max_travel_mm: 300.000
soft_limits: false
homing:
cycle: 2
positive_direction: false
mpos_mm: 150.000
feed_mm_per_min: 100.000
seek_mm_per_min: 200.000
debounce_ms: 500
seek_scaler: 1.100
feed_scaler: 1.100
motor0:
limit_neg_pin: NO_PIN
limit_pos_pin: NO_PIN
limit_all_pin: NO_PIN
hard_limits: true
pulloff_mm:1.000
tmc_5160:
spi_index: 3
r_sense_ohms: 0.075
run_amps: 1.000
hold_amps: 1.000
microsteps: 16
stallguard: 0
stallguard_debug: false
toff_disable: 0
toff_stealthchop: 5
toff_coolstep: 3
run_mode: CoolStep
homing_mode: CoolStep
use_enable: true
step_pin: gpio.15
direction_pin: gpio.2
disable_pin: NO_PIN
spi:
miso_pin: gpio.19
mosi_pin: gpio.23
sck_pin: gpio.18
sdcard:
card_detect_pin: NO_PIN
cs_pin: NO_PIN
probe:
pin: gpio.35
check_mode_start: true
macros:
startup_line0:
startup_line1:
macro0:
macro1:
macro2:
macro3:
start:
must_home: false
PWM:
pwm_freq: 5000
output_pin: gpio.25
enable_pin: gpio.4
direction_pin: NO_PIN
disable_with_zero_speed: false
zero_speed_with_disable: true
spinup_ms: 0
spindown_ms: 0
tool: 0
speeds: 0=0% 12000=100%
`
from fluidnc.
What is happening exactly.
from fluidnc.
Motors (random position) stops working but the gcode continue.
First time it was the x axes, the second time with lower current the y axis stops when running the same gcode (spindle running without bit speed and acceleration very conservative)
from fluidnc.
It might be a problem we cannot fix in firmware.
from fluidnc.
maybe, i'll run it with my tmc2130 to be sure.
from fluidnc.
Can you please double and triple-check that you have the right branch? https://github.com/bdring/FluidNC/tree/Trinamic is the right one, not to be confused with the TMCsomething branch. You can spot it in the TrinamicSPI class with all the if's if you look for 5160 and 2130. The boot message of Fluidnc should also dump the version with the git tag.
from fluidnc.
FWIW: It has been pushed to main already.
from fluidnc.
Ok, you were right, I did swap the TMC5160 with another (thanks for 3d printer to have so much drivers :)) and no more problems.
Did another test using the faulty driver on another axe and I had the same problem on this axe.
with "good" drivers, I've been able to run 3 gcodes without problem.
Even tried last Devt from this night without problem, it seems that the problem is gone :)
thanks a lot !
from fluidnc.
Great. Thanks for the help and patience as we iron out the wrinkles in beta mode. Here is a link to our Discord server.
from fluidnc.
Related Issues (20)
- Problem: Web GUI unresponsive, Pendant have a blacscreen HOT 10
- Alarm 14 may not be cleared if an axis is not set to home HOT 1
- Problem: Some alarm conditions can disable the steppers, even with idle_ms set to 255
- Problem with homing with 2 motor HOT 4
- Second limit switch Y axis is not working properly HOT 6
- FluidDial Pendant no read sdcard and Macros don't load HOT 13
- Problem: CL86T v4.1 external driver Timing config, Startup error using ":pu" or the CNC will not move. HOT 24
- Problem: Homing only turns on 1 axis, and that starts to block and whine HOT 11
- Problem: Trying to Run JTAG debugging HOT 6
- Problem: Withdrawn: After updating FluidNC firmware to 3.7.18, old WebUI version shown (not v3) HOT 2
- Problem: Homing and TMC2209 Driver Response HOT 2
- Problem: HOT 1
- PWM and RS485 issues HOT 3
- Error Message: Ignored key SingleArmScara HOT 1
- upload any file via web and X move 1mm HOT 4
- Problem: ESP32, WIFI on causes consumption jump from 0.07A to 0.13A and overhearts HOT 30
- controllare un motore nidec a 6 fili mediante mks dlc32 HOT 25
- Problem: Can't use SYNRAD CO2 RF laser HOT 1
- Problem: Stepper motors not moving HOT 43
- Steering gear configuration file consult HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluidnc.