Re: Intermittant diagonal layer shift, how to diagnose? June 16, 2020 03:11AM |
Registered: 6 years ago Posts: 155 |
Re: Intermittant diagonal layer shift, how to diagnose? June 16, 2020 06:39PM |
Registered: 6 years ago Posts: 61 |
Quote
ruggb
This is what I used;
[www.aliexpress.com]
This is even simpler; but I didn't find it till after I installed the above.
[www.aliexpress.com]
It mounts under the driver if you have one of these, TMC2100 A4988 Drv8825
I can't vouch for this as I did not order any.
Re: Intermittant diagonal layer shift, how to diagnose? June 16, 2020 07:19PM |
Registered: 10 years ago Posts: 294 |
Re: Intermittant diagonal layer shift, how to diagnose? June 16, 2020 11:28PM |
Registered: 7 years ago Posts: 619 |
Quote
mcdanlj
Quote
ruggb
This is what I used;
[www.aliexpress.com]
This is even simpler; but I didn't find it till after I installed the above.
[www.aliexpress.com]
It mounts under the driver if you have one of these, TMC2100 A4988 Drv8825
I can't vouch for this as I did not order any.
Those "smoothers" are not flyback diodes, as used to protect against back-emf from a relay or solenoid coil, and are a workaround for a weakness in some stepper drivers (at least the DRV8825, and maybe others), but not relevant to modern drivers like the new TMC drivers in the Duet 2 Maestro that dlc60 is using. I'm not sure where the earliest description of the problem is, but here's the best I know of:
[cabristor.blogspot.com]
; Configuration file for Duet Maestro (firmware version 3) ; executed by the firmware on start-up ; ; generated by RepRapFirmware Configuration Tool v3.1.1 on Thu Jun 04 2020 20:04:14 GMT-0600 (Mountain Daylight Time) ; General preferences G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"MiniCoreXY" ; set printer name M669 K1 ; select CoreXY mode M918 P1 E-4 F2000000 ; configure direct-connect display ; Network M551 P"" ; set password M552 P0.0.0.0 S1 ; enable network and acquire dynamic address via DHCP M586 P0 S1 ; enable HTTP M586 P1 S0 ; disable FTP M586 P2 S0 ; disable Telnet ; Drives M569 P0 S0 ; physical drive 0 goes backwards M569 P1 S1 ; physical drive 1 goes forwards M569 P2 S0 ; physical drive 2 goes backwards M569 P3 S0 ; physical drive 3 goes backwards M584 X0 Y1 Z2 E3 ; set drive mapping M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X80.00 Y80.00 Z400.00 E420.00 ; set steps per mm M566 X300.00 Y300.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min) M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min) M201 X200.00 Y200.00 Z20.00 E250.00 ; set accelerations (mm/s^2) M906 X800 Y800 Z800 E800 I50 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout ; Axis Limits M208 X0 Y0 Z0 S1 ; set axis minima M208 X155 Y200 Z180 S0 ; set axis maxima ; Endstops M574 X1 S1 P"!xstop" ; configure active-high endstop for low end on X via pin !xstop M574 Y1 S1 P"!ystop" ; configure active-high endstop for low end on Y via pin !ystop M574 Z1 S1 P"!zstop" ; configure active-high endstop for low end on Z via pin !zstop ; Z-Probe M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed M557 X15:155 Y15:195 S20 ; define mesh grid ; Heaters M308 S0 P"bedtemp" Y"thermistor" T100000 B3950 ; configure sensor 0 as thermistor on pin bedtemp M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0 M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S100 ; set temperature limit for heater 0 to 100C M307 H0 B1 A103.3 C481.9 D3.0 V11.7 P0.8 ; bed tuned values M308 S1 P"e0temp" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin e0temp M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1 M307 H1 B0 S1.00 A911.9 C295.5 D4.2 V11.9 ; disable bang-bang mode for heater and set PWM limit and PID tune values ; Fans M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency M106 P1 S0 H-1 ; set fan 1 value. Thermostatic control is turned off ; Tools M563 P0 D0 H1 F0 ; define tool 0 G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C ; Custom settings are not defined
Re: Intermittant diagonal layer shift, how to diagnose? June 17, 2020 01:30AM |
Registered: 6 years ago Posts: 155 |
Re: Intermittant diagonal layer shift, how to diagnose? June 17, 2020 02:10AM |
Registered: 7 years ago Posts: 619 |
Quote
JoergS5
The config.g looks ok IMHO. The motor currents are a bit low, but should be ok.
An M122 when the problem appears again would be the next I recommend.
Re: Intermittant diagonal layer shift, how to diagnose? June 17, 2020 10:03AM |
Registered: 7 years ago Posts: 619 |
Re: Intermittant diagonal layer shift, how to diagnose? June 17, 2020 10:42AM |
Registered: 10 years ago Posts: 294 |
Re: Intermittant diagonal layer shift, how to diagnose? June 17, 2020 02:08PM |
Registered: 7 years ago Posts: 619 |
Quote
ruggb
The movement to Y after motors are disabled might be indicating an interaction between motors, or maybe a mechanical issue.
Try this, it may help to isolate it.
If it homes X and Y independently, both motors need to run for each home. If one motor stops b4 it gets to Y0, the other will gronk.
If you enable quick_home and place the carriage at X=100, Y=100, then home it, what happens?
With = steps/mm X and Y should get to home at the same time with only 1 motor driving it.
Then try homing from X=100, Y=50. With quick_home the 1st 50 should get to Y0 and X50 with 1 motor then both motors to X0
Then try homing from X=50, Y=100. With quick_home the 1st 50 should get to X0 and Y50 with 1 motor then both motors to Y0
Then try homing from X=0, Y=100. This is 2 motors to Y0
Then try homing from X=100, Y=0. This is 2 motors to X0
At this point, you might have a better clue.
Re: Intermittant diagonal layer shift, how to diagnose? June 17, 2020 05:01PM |
Registered: 6 years ago Posts: 155 |
Re: Intermittant diagonal layer shift, how to diagnose? June 17, 2020 10:08PM |
Registered: 10 years ago Posts: 294 |
Re: Intermittant diagonal layer shift, how to diagnose? June 17, 2020 11:45PM |
Registered: 7 years ago Posts: 619 |
Quote
ruggb
OK, let's assume it is getting stuck. It should make some strange noise when it does. Either the pulley is slipping on the motor shaft or the motor is overpowering the belt and skipping over some grooves.
If it isn't making a different sound, then the motor is just stopping - which would be even harder to explain.
Have you tried slicing it in a different position or at an angle? That might yield a clue.
Just thought of something.
All my idlers are simple smooth bearings. The only geared ones I have are the ones on the motors. Yours are all geared. What if those are not in exactly the right place and the belt doesn't mesh properly. It could raise the belt and tighten it enough to stop the motor, MAYBE?? then again MAYBE not?
Re: Intermittant diagonal layer shift, how to diagnose? June 18, 2020 01:28AM |
Registered: 7 years ago Posts: 619 |
6/17/2020, 11:17:10 PM M122 === Diagnostics === RepRapFirmware for Duet 2 Maestro version 3.1.1 running on Duet Maestro 1.0 Board ID: 08DAM-9F9GA-J24TD-6J1DJ-3SS6K-KR1AV Used output buffers: 3 of 24 (20 max) === RTOS === Static ram: 21924 Dynamic ram: 95296 of which 52 recycled Exception stack ram used: 408 Never used ram: 13392 Tasks: NETWORK(ready,408) HEAT(blocked,1316) MAIN(running,1848) IDLE(ready,84) Owned mutexes: === Platform === Last reset 01:10:31 ago, cause: software Last software reset at 2020-06-17 22:06, reason: User, spinning module GCodes, available RAM 13604 bytes (slot 0) Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0400f000 BFAR 0xe000ed38 SP 0xffffffff Task MAIN Error status: 0 MCU temperature: min 29.7, current 36.7, max 37.1 Supply voltage: min 0.0, current 12.0, max 12.1, under voltage events: 0, over voltage events: 0, power good: yes Driver 0: standstill, read errors 0, write errors 1, ifcount 19, reads 38087, timeouts 0 Driver 1: standstill, read errors 0, write errors 1, ifcount 19, reads 38087, timeouts 0 Driver 2: standstill, read errors 0, write errors 1, ifcount 21, reads 38085, timeouts 0 Driver 3: standstill, read errors 0, write errors 1, ifcount 17, reads 38089, timeouts 0 Driver 4: standstill, read errors 0, write errors 1, ifcount 13, reads 38092, timeouts 0 Driver 5: ok, read errors 0, write errors 0, ifcount 0, reads 0, timeouts 38099 Driver 6: ok, read errors 0, write errors 0, ifcount 0, reads 0, timeouts 38098 Date/time: 2020-06-17 23:17:08 Slowest loop: 113.99ms; fastest: 0.12ms I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0 === Storage === Free file entries: 10 SD card 0 detected, interface speed: 15.0MBytes/sec SD card longest read time 2.0ms, write time 77.0ms, max retries 0 === Move === Hiccups: 0(0), FreeDm: 169, MinFreeDm: 139, MaxWait: 336051ms Bed compensation in use: none, comp offset 0.000 === MainDDARing === Scheduled moves: 25901, completed moves: 25901, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1 === AuxDDARing === Scheduled moves: 0, completed moves: 0, StepErrors: 0, LaErrors: 0, Underruns: 0, 0 CDDA state: -1 === Heat === Bed heaters = 0 -1, chamberHeaters = -1 -1 Heater 0 is on, I-accum = 0.0 Heater 1 is on, I-accum = 0.4 === GCodes === Segments left: 0 Movement lock held by null HTTP is idle in state(s) 0 Telnet is idle in state(s) 0 File is idle in state(s) 0 USB is idle in state(s) 0 Aux is idle in state(s) 0 Trigger is idle in state(s) 0 Queue is idle in state(s) 0 LCD is idle in state(s) 0 Daemon is idle in state(s) 0 Autopause is idle in state(s) 0 Code queue is empty. === Network === Slowest loop: 32.53ms; fastest: 0.02ms Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions HTTP sessions: 2 of 8 Interface state active, link 100Mbps full duplex
Re: Intermittant diagonal layer shift, how to diagnose? June 18, 2020 02:30AM |
Registered: 6 years ago Posts: 155 |
Re: Intermittant diagonal layer shift, how to diagnose? June 18, 2020 10:34AM |
Registered: 7 years ago Posts: 619 |
Quote
JoergS5
The reason why I ask for M122 and hiccups so many times is the thread [forum.duet3d.com]
But you have a very differect firmware version and no hiccups, so it seems not to be a similar reason. He had write errors at the drivers also, however.
My biggest bet would be on the supply voltage min 0.0 volt, but I'm not sure why (and when) this happened. But there is no undervoltage event, so this maybe a value while startup.
BTW I checked the firmware source: the error "write errors" come from the TMC2224 chip, reading the content of the IFCOUNT register. In the TMC datasheet is no documentation if this register, to know the details, one would need to dig deeper. What is strange, is that the write errors occour at every driver, so this seems to be an event which concerns the whole board.
I am out of ideas now, sorry.
Re: Intermittant diagonal layer shift, how to diagnose? June 19, 2020 02:12AM |
Registered: 10 years ago Posts: 14,684 |
Re: Intermittant diagonal layer shift, how to diagnose? June 19, 2020 12:31PM |
Registered: 10 years ago Posts: 294 |
Re: Intermittant diagonal layer shift, how to diagnose? June 19, 2020 08:07PM |
Registered: 7 years ago Posts: 619 |
Quote
ruggb
Interesting
EDIT
Well, predictably, the "smoothers" did nothing but make the system louder. I am now out of ideas.
is the noise coming from the motors?
On mine, they quieted the motors significantly.
Re: Intermittant diagonal layer shift, how to diagnose? June 19, 2020 08:10PM |
Registered: 7 years ago Posts: 619 |
I do not see a way to do that in the configurator. How do I reassign Y to E1?Quote
dc42
Have you tried connecting the Y motor to the E1 motor output yet, to rule out a problem with the driver?
Re: Intermittant diagonal layer shift, how to diagnose? June 19, 2020 08:36PM |
Registered: 7 years ago Posts: 619 |
Quote
dlc60
I do not see a way to do that in the configurator. How do I reassign Y to E1?Quote
dc42
Have you tried connecting the Y motor to the E1 motor output yet, to rule out a problem with the driver?
EDIT
Never mind, I found it.
DLC
; Drives M569 P4 S0 ; physical drive 4 goes backwards M569 P1 S1 ; physical drive 1 goes forwards M569 P2 S0 ; physical drive 2 goes backwards M569 P3 S0 ; physical drive 3 goes backwards M584 X4 Y1 Z2 E3 ; set drive mapping M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation M92 X80.00 Y80.00 Z4000.00 E420.00 ; set steps per mm M566 X900.00 Y900.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min) M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min) M201 X500.00 Y500.00 Z20.00 E250.00 ; set accelerations (mm/s^2) M906 X800 Y800 Z800 E800 I30 ; set motor currents (mA) and motor idle factor in per cent M84 S30 ; Set idle timeout
Re: Intermittant diagonal layer shift, how to diagnose? June 19, 2020 09:02PM |
Registered: 7 years ago Posts: 619 |
Re: Intermittant diagonal layer shift, how to diagnose? June 19, 2020 10:08PM |
Registered: 10 years ago Posts: 294 |
You said it made the system louder, so I was wondering where the noise was coming from.Quote
dlc60
Quote
ruggb
Interesting
EDIT
Well, predictably, the "smoothers" did nothing but make the system louder. I am now out of ideas.
is the noise coming from the motors?
On mine, they quieted the motors significantly.
Overall system. I saw no change in anything with these. I didn't really expect to, but it was worth a try.
DLC
Re: Intermittant diagonal layer shift, how to diagnose? June 19, 2020 10:51PM |
Registered: 7 years ago Posts: 619 |
Quote
dlc60
Oh for pity sake. I moved the wrong stepper wire. :|
I am running a print now to see if this fixes or changes things.
Thanks for the reminder,
DLC
Re: Intermittant diagonal layer shift, how to diagnose? June 19, 2020 11:17PM |
Registered: 12 years ago Posts: 5,789 |
Re: Intermittant diagonal layer shift, how to diagnose? June 20, 2020 02:25AM |
Registered: 7 years ago Posts: 619 |
17HD48002H-22B Nema 17 Stepper Motor 1.7 A, 0.59 NmQuote
the_digital_dentist
What kind of steppers do you have now? Basic specs....
Re: Intermittant diagonal layer shift, how to diagnose? June 20, 2020 01:38PM |
Registered: 10 years ago Posts: 294 |
Re: Intermittant diagonal layer shift, how to diagnose? June 20, 2020 03:52PM |
Registered: 7 years ago Posts: 619 |
Quote
dlc60
Oh for pity sake. I moved the wrong stepper wire. :|
I am running a print now to see if this fixes or changes things.
Thanks for the reminder,
DLC
Re: Intermittant diagonal layer shift, how to diagnose? June 20, 2020 04:09PM |
Registered: 6 years ago Posts: 61 |
Re: Intermittant diagonal layer shift, how to diagnose? June 20, 2020 05:04PM |
Registered: 7 years ago Posts: 619 |
Re: Intermittant diagonal layer shift, how to diagnose? June 20, 2020 09:41PM |
Registered: 12 years ago Posts: 5,789 |