Z-Steppers not functioningcorrectly

Question to those smarter then me. I have a Octopus Max EZ that I am having issues with the Z axis. When I do the stepper buzz test it works with stepper_z but gives the uart IFCNT error when I try Z1, Z2 etc. If I change say Z1 to Z and remark out original Z then that new Z axis works so I know the driver is good. I am curious if the system thinks I only have 1 Z and therefor the others fail. And if so how to go about making it see the other Z axis. @mietzekatzi
35 Replies
Mietzekatzi
Mietzekatzi2y ago
Ok, imho the config is a bit chaotic:
Mietzekatzi
Mietzekatzi2y ago
1. uncomment the lines with x and y pin names in your added config.cfg.
No description
Mietzekatzi
Mietzekatzi2y ago
2. Right now the pin definitions in config.cfg aren't used. For them to work, (I think) you need to import them earlier, in the sections where the control board is usually placed. See the screenshot below 3. Uncomment this line: [include RatOS/printers/v-core-3/steppers.cfg]
No description
Mietzekatzi
Mietzekatzi2y ago
4. In the section STEPPER MOTORS, DRIVERS & SPEED LIMITS revert your changes, and change to this (for starters, you can enable performance mode later)
No description
Mietzekatzi
Mietzekatzi2y ago
5. Remove everything that concers pins in the override section at the end. This should be handled by the the boards config.cfg and the steppers.cfg Ok, i see that you have 5160s on x/y, then in the stepper motors section do this:
Comment these out
#[include RatOS/printers/v-core-3/tmc2209.cfg]
#[include RatOS/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-x.cfg]
#[include RatOS/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-y.cfg]

# Add these instead
# TMC 5160 + LDO-42STH48-2504AC 48V
[include RatOS/steppers/ldo/42sth48-2504ac/5160/50v-1.768a-x.cfg]
[include RatOS/steppers/ldo/42sth48-2504ac/5160/50v-1.768a-y.cfg]
Comment these out
#[include RatOS/printers/v-core-3/tmc2209.cfg]
#[include RatOS/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-x.cfg]
#[include RatOS/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-y.cfg]

# Add these instead
# TMC 5160 + LDO-42STH48-2504AC 48V
[include RatOS/steppers/ldo/42sth48-2504ac/5160/50v-1.768a-x.cfg]
[include RatOS/steppers/ldo/42sth48-2504ac/5160/50v-1.768a-y.cfg]
And add the following things in the override section to replace the tmc2209.cfg:
# Stepper Performance
[tmc5160 stepper_x]
stealthchop_threshold: 0
interpolate: False

[tmc5160 stepper_y]
stealthchop_threshold: 0
interpolate: False

[tmc2209 extruder]
uart_pin: e_uart_pin
run_current: 0.5
stealthchop_threshold: 0
interpolate: False

[tmc2209 stepper_z]
stealthchop_threshold: 1

[tmc2209 stepper_z1]
stealthchop_threshold: 1

[tmc2209 stepper_z2]
stealthchop_threshold: 1
# Stepper Performance
[tmc5160 stepper_x]
stealthchop_threshold: 0
interpolate: False

[tmc5160 stepper_y]
stealthchop_threshold: 0
interpolate: False

[tmc2209 extruder]
uart_pin: e_uart_pin
run_current: 0.5
stealthchop_threshold: 0
interpolate: False

[tmc2209 stepper_z]
stealthchop_threshold: 1

[tmc2209 stepper_z1]
stealthchop_threshold: 1

[tmc2209 stepper_z2]
stealthchop_threshold: 1
That should be it
Teckgeek
TeckgeekOP2y ago
Thanks I’ll give that a try when I get from Dr appt
miklschmidt
miklschmidt2y ago
Excellent support there Flo chefkiss appreciate it!
Teckgeek
TeckgeekOP2y ago
Okay put changes in z1 and z2 still give Unable to read tmc uart 'stepper_z1' register IFCNT. z0 gives new error: TMC 'stepper_z' reports error: DRV_STATUS: 00130090 s2vsa=1(ShortToSupply_A!) olb=1(OpenLoad_B!) cs_actual=19
miklschmidt
miklschmidt2y ago
Check that your driver jumpers are correct This means your motor cable is miswired. Check pin order and redo your crimps.
Teckgeek
TeckgeekOP2y ago
Ok fixed the cable Stepper_Buzz Stepper=stepper_z works again. z1 and z2 still: Unable to read tmc uart 'stepper_z1' register IFCNT
Mietzekatzi
Mietzekatzi2y ago
In which sockets do you have the z1, z2 stepper drivers? And please post your printer.cfg again
Teckgeek
TeckgeekOP2y ago
Z is in 8, z1 in 9, and z2 in 10
Teckgeek
TeckgeekOP2y ago
No description
Mietzekatzi
Mietzekatzi2y ago
Ok, I have placed them in 5-7 on my board. In this case you would not need to override so much. The pins look okay though... THINKING
Teckgeek
TeckgeekOP2y ago
I did try 5-7 first and thought maybe I had a board or driver issue so moved for testing
Mietzekatzi
Mietzekatzi2y ago
Have you swapped the stepper modules around to check if they work in another socket?
Teckgeek
TeckgeekOP2y ago
Yes z1 and z2 were moved into z spot at least once Are you using MAX EZ by chance?
Mietzekatzi
Mietzekatzi2y ago
Yes, I'm using the same board
Teckgeek
TeckgeekOP2y ago
Could I see your printer.cfg and config.cfg?
Mietzekatzi
Mietzekatzi2y ago
I vagely remember testing 8-10 once, and I think it did work. So I'm not sure whats the issue But I reverted it because of the cables exiting inconvenietly (getting to close to the fan mounted on top of the board) I'm using 5160s on Z so my cfg will be of limited use. The board's config.cfg is literally the same as yours already (might be mine) :P
Teckgeek
TeckgeekOP2y ago
Could be I got it from a github I was going to get 5160's for Z but was talked out of them
Mietzekatzi
Mietzekatzi2y ago
tbh I'm too afraid of crashing something, so they are a waste of money kek should be the relevant bits
Teckgeek
TeckgeekOP2y ago
That was my reasoning for wanting all 5160's
Mietzekatzi
Mietzekatzi2y ago
I'd suggest to try and roll back most of your manual pin overrides and test 5-7. Maybe even start with a fresh printer.cfg; you only should need to add the things I told you in my first posts (all the pin names come from the config.cfg). The stepper module power jumpers are certainly set? stare
Teckgeek
TeckgeekOP2y ago
I’ll try the 5-7 and fresh printer.cfg. Pin 'x_uart_pin' is not a valid pin name on mcu 'mcu'
Teckgeek
TeckgeekOP2y ago
is it this file causing uart_pin error?
Mietzekatzi
Mietzekatzi2y ago
It might be, if you still have the line defining x_uart_pin commented out?
No description
Teckgeek
TeckgeekOP2y ago
It is commented out still. I only redid the printer.cfg
Mietzekatzi
Mietzekatzi2y ago
Well, then please uncomment these lines. They are necessary to define the pins stare
Teckgeek
TeckgeekOP2y ago
Trying now No errors after restart. Z and z2 worked. Looks like I have a wiring issue on z1. Thank you so much for your help.
Mietzekatzi
Mietzekatzi2y ago
perfect!
Teckgeek
TeckgeekOP2y ago
Got wiring issue fixed z1 came back good. Off to test the rest. @mietzekatzi thank you again
Mietzekatzi
Mietzekatzi2y ago
glad to hear 👍

Did you find this page helpful?