Welcome! Log In Create A New Profile

Advanced

Constant value layer shifting

Posted by Bogumillll 
Constant value layer shifting
January 23, 2024 05:59AM
ello I have strange for me problem when i homing my printer everything is fine. When i starting print first layer still everything is fine but when its come not even new layer but for example infil the hotend gets ,,shifted" like for aroud 5mm and with every layer pirinter move more to the left and little to the back of the printer.

The printer is Tronxy X5SA with SKR 1.4 Turbo board and with TMC2208 stepper drivers and marlin softwere

And i attach how to print from printer look now and configuration files of marlin
Attachments:
open | download - Configuration_adv.h (173.3 KB)
open | download - Configuration.h (124.1 KB)
open | download - eaba6bd3-ebdd-4049-91a2-07e1df79f908.jpeg (84.3 KB)
Re: Constant value layer shifting
January 23, 2024 05:56PM
your using tmc2208, but all the tmc setting are the defaults

eg for X you have

#define X_CURRENT 800 // (mA) RMS current. Multiply by 1.414 for peak current.
#define X_RSENSE 0.11 // Multiplied x1000 for TMC26X


are these actually correct for your machine?

The rsense value is dependent on your stepper drivers
the current is dependent on your stepper motors

Edited 1 time(s). Last edit at 01/23/2024 05:57PM by Dust.
Re: Constant value layer shifting
January 24, 2024 09:56AM
ok i check with multiple values and change CURRENT 1000 and for RSENSE 0.12 for X and for Y but still nothing
I have SL42STH40-1684A motors for X and Y
if its help shifting apper when printer is in the middle of making infill or when new layer is making and shift is in left and to the back of the printer
I choose values for RSENSE using this table
And the current from datasheet formula
Attachments:
open | download - Screenshot 2024-01-24 155453.png (11.8 KB)
Re: Constant value layer shifting
January 24, 2024 11:38AM
You don't choose RSENSE

RSENSE is a physical resistor on your stepper drivers

For example, if you have BIGTREETECH-TMC2208-V3.0 you look at the circuit diagram [github.com]
This shows the rsense resistors are 0.11


The SL42STH40-1684A are listed as 1.8A stepper motors.
This is probably a PEAK value and we need RMS so we multiply it by 0.707
1800 x 0.707 = 1272.6 is your absolute max
I prefer not to exceed 90% so we further lower this 1272.6 * 0.9 = 1145
1145 is your X and Y CURRENT value.

NOTE just updating these values in your Configuration_adv.h and re uploading a new firmware is not sufficient to change it
These vales are store in eeprom
You need to reset the eeprom to firmware defaults. M502 then M500 or enable EEPROM_INIT_NOW and marlin will do this every time you upload new firmware.

Edited 2 time(s). Last edit at 01/24/2024 11:45AM by Dust.
Re: Constant value layer shifting
January 24, 2024 11:58AM
ok i change what you talk about thanks a lot but still problem occurse but the diffrace is that when pirnter makes brim then last layer shift not to left but to the back of the printer but rest stay preety much the same.
I attach print form today that i make still simple cube ( and my z axis is still not calibratet properli ) but shifting still shows up in strange places

Edited 1 time(s). Last edit at 01/24/2024 12:32PM by Bogumillll.
Attachments:
open | download - 1f007fab-2a64-49bf-9204-c611bfacd17e.jpg (405.9 KB)
Sorry, only registered users may post in this forum.

Click here to login