Input shaping problem.....
-
Hi *,
I do not get the input shaper running:
I loose the connection to the printer every view seconds.
And I get this error from the recording.
Should I try to replace the DWC with a fresh copy?
Cheers, Chriss
-
Can you give some more details about what exactly you're doing when leading up to these errors?
How are you initiating the data recording?
Can you share your config.g and the results of M122 and M98 P"config.g"? -
@Phaedrux Oh yes, for sure... I'm sorry, there where two many problems at the same time. Let me repeat what I have written in the temp chart issue thread.
I tried to start a input shaping data collection and the error came up at this step:
It appeared in the last days a lot faster in the process since today after my SD-Card update and the re-upload of the DWC.
I was able to record some values yesterday but this is how it looks when I look at the charts now:
(It makes no different which checkbox I tick, the cart stays empty.How are you initiating the data recording?
Did I answered the question? Just via the DWC.M122
=== Diagnostics === RepRapFirmware for Duet 3 Mini 5+ version 3.5.0-rc.4 (2024-04-09 09:45:40) running on Duet 3 Mini5plus WiFi (standalone mode) Board ID: V9NWJ-R296U-D65J0-40KM6-4113Z-HM83B Used output buffers: 2 of 40 (40 max) === RTOS === Static ram: 103232 Dynamic ram: 123232 of which 12 recycled Never used RAM 11388, free system stack 138 words Tasks: NETWORK(2,nWait 7,17.3%,218) HEAT(3,nWait 6,0.0%,326) Move(4,nWait 6,0.0%,238) CanReceiv(6,nWait 1,0.1%,774) CanSender(5,nWait 7,0.0%,336) CanClock(7,delaying,0.0%,348) TMC(4,nWait 6,1.4%,102) MAIN(1,running,80.1%,665) IDLE(0,ready,0.3%,30) AIN(4,delaying,0.9%,260), total 100.0% Owned mutexes: SD0(NETWORK) === Platform === Last reset 00:32:24 ago, cause: power up Last software reset at 2024-04-12 01:45, reason: HardFault imprec, Platform spinning, available RAM 11996, slot 0 Software reset code 0x4060 HFSR 0x40000000 CFSR 0x00000400 ICSR 0x00000803 BFAR 0xe000ed38 SP 0x20012008 Task NETW Freestk 489 ok Stack: 2002c610 20032048 0000000a 00000000 200331ed 00030019 0002ff30 61016000 2002c5f8 2002c5f8 00000001 2002c41e 200187fc 2001e9f8 0003019f 00000000 00000000 00000000 200120a0 00000014 2001e9f8 00000102 9d0a0050 0801a8c0 08000161 00000007 00034861 Error status: 0x04 Aux0 errors 0,0,0 MCU revision 3, ADC conversions started 1944783, completed 1944783, timed out 0, errs 0 MCU temperature: min 22.1, current 35.8, max 38.9 Supply voltage: min 24.2, current 24.4, max 24.5, under voltage events: 0, over voltage events: 0, power good: yes Heap OK, handles allocated/used 99/18, heap memory allocated/used/recyclable 2048/1676/1404, gc cycles 5 Events: 0 queued, 0 completed Driver 0: standstill, SG min 0, read errors 0, write errors 0, ifcnt 20, reads 45668, writes 20, timeouts 0, DMA errors 0, CC errors 0 Driver 1: standstill, SG min 0, read errors 0, write errors 0, ifcnt 27, reads 45661, writes 27, timeouts 0, DMA errors 0, CC errors 0 Driver 2: standstill, SG min 0, read errors 0, write errors 0, ifcnt 27, reads 45661, writes 27, timeouts 0, DMA errors 0, CC errors 0 Driver 3: standstill, SG min 0, read errors 0, write errors 0, ifcnt 10, reads 45677, writes 10, timeouts 0, DMA errors 0, CC errors 0 Driver 4: standstill, SG min 0, read errors 0, write errors 0, ifcnt 20, reads 45668, writes 20, timeouts 0, DMA errors 0, CC errors 0 Driver 5: standstill, SG min 0, read errors 0, write errors 0, ifcnt 20, reads 45668, writes 20, timeouts 0, DMA errors 0, CC errors 0 Driver 6: standstill, SG min 0, read errors 0, write errors 0, ifcnt 20, reads 45668, writes 20, timeouts 0, DMA errors 0, CC errors 0 Date/time: 2024-04-12 08:33:24 Cache data hit count 3481743905 Slowest loop: 753.66ms; fastest: 0.12ms === Storage === Free file entries: 19 SD card 0 detected, interface speed: 22.5MBytes/sec SD card longest read time 7.5ms, write time 173.8ms, max retries 0 === Move === DMs created 83, segments created 29, maxWait 735640ms, bed compensation in use: mesh, height map offset -0.009, max steps late 0, min interval 0, bad calcs 0, ebfmin 0.00, ebfmax 0.00 no step interrupt scheduled Moves shaped first try 32, on retry 2, too short 4, wrong shape 54, maybepossible 0 === DDARing 0 === Scheduled moves 176, completed 176, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 2], CDDA state -1 === DDARing 1 === Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1 === Heat === Bed heaters 0 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0 Heater 1 is on, I-accum = 0.0 === GCodes === Movement locks held by null, 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 SBC is idle in state(s) 0 Daemon is idle in state(s) 0 Aux2 is idle in state(s) 0 Autopause is idle in state(s) 0 File2 is idle in state(s) 0 Queue2 is idle in state(s) 0 Q0 segments left 0, axes/extruders owned 0x0000807 Code queue 0 is empty Q1 segments left 0, axes/extruders owned 0x0000000 Code queue 1 is empty === CAN === Messages queued 17640, received 39197, lost 0, errs 0, boc 0 Longest wait 5ms for reply type 4014, peak Tx sync delay 267, free buffers 26 (min 25), ts 9724/9723/0 Tx timeouts 0,0,0,0,0,0 === Network === Slowest loop: 1250.05ms; fastest: 0.00ms Responder states: MQTT(0) HTTP(0) HTTP(2) HTTP(0) HTTP(0) FTP(0) Telnet(2) HTTP sessions: 5 of 8 === WiFi === Interface state: active Module is connected to access point Failed messages: pending 0, notrdy 0, noresp 0 Firmware version 2.1beta7 MAC address f0:08:d1:02:e6:75 Module reset reason: Power up, Vcc 3.37, flash size 2097152, free heap 33760 WiFi IP address 192.168.1.69 Signal strength -63dBm, channel 6, mode 802.11n, reconnections 0 Clock register 00002001 Socket states: 3 0 3 0 0 0 0 0
M98 P"config.g"
M98 P"config.g" HTTP is enabled on port 80 FTP is enabled on port 21 TELNET is enabled on port 23 Error: in file macro line 22 column 26: meta command: variable 'tool_temp_initial' already exists
(OK, one variable twice......)
Config.g
; Hardware: Duet Mini 5+ ; Toolboard 1.1 LC ; PalenlDue 7" PanelDueFirmware-logo-3.5.0-rc8-7.0i.bin ; Stepper XY = LDO 0,9° 2Amax LDO-42STH40-2004MAC ; Stepper Z = LDO 1,8° 2Amax LDO-42STH48-2004AC ; Stepper E = LDO 1,8 1Amax LDO-42STH20-1004ASH ; Enable network if {network.interfaces[0].type = "ethernet"} M552 P0.0.0.0 S1 else M552 S1 ; Network M586 P0 S1 ; enable HTTP M586 P1 S1 ; enable FTP M586 P2 S1 ; enable Telnet ; Some variables for later global tool_temp_initial=0 global bed_temp_initial=0 global debug=false global qgl_done=false global probe_settingsH=10 global probe_settingsA=1 global probe_attached=false global probe_keep=false global probe_offset=3.060 ; Higher values=closer to the bed set global.probe_offset=2.90 ;set global.probe_offset=2.90 ;set global.probe_offset=2.95 set global.probe_offset=3.00 ; AutoZ ;global klicky_home=true global nozzle_cleaned=false global Zswitch_homed=false global probetype="euclid" global clickystatus = "none" global autoz_temp2=20 G90 ; send absolute coordinates... M83 ; ...but relative extruder moves M550 P"v2" ; set printer name M669 K1 ; 1=select CoreXY mode 0=Cadasian ;; Helpful Toolboards commands ; M115 B121 ; Show board 121 ; M997 B121 ; Update tool 121 ; M122 B121 ; Detailed status of toolboard G4 S1 ; wait 1s for expansion boards to start ;;; Drives ;X M569 P0.2 S1 D3 ; physical drive 0.2 goes forward M584 X0.2 ; Map the stepper to X ;Y M569 P0.1 S0 D3 ; physical drive 0.1 goes backward M584 Y0.1 ; Map the stepper to Y ;; Z ; - front left M569 P0.5 S1 D3 ; physical drive 0.5 goes forward ; - front right M569 P0.6 S0 D3 ; physical drive 0.6 goes backward ; - back right M569 P0.0 S1 D3 ; physical drive 0.0 goes forward ; - back left M569 P0.4 S0 D3 ; physical drive 0.4 goes backward M584 Z0.5:0.4:0.0:0.6 ; Mapping ;; E M569 P121.0 S0 D3 ; Extruder stepper goes backward M584 E121.0 ; Map the E stepper to E ; Stepper settings M350 X16 Y16 Z16 E32 I1 ; configure microstepping with interpolation M92 X160 Y160 Z400 E823 ; set steps per mm (800 from manuall, measured 823 M98 P"/macros/print_scripts/speed_printing.g" ; Accelerations and speed M906 X1400 Y1400 Z1000 E700 I30 ; set motor currents (mA) and motor idle factor in per cent (E stepper max 1A) M84 S120 ; Idle timeout ; Axis Limits M208 X0 Y0 Z0 S1 ; set axis minima M208 X250 Y257 Z210 S0 ; set axis maxima ;; Endstops -- Display status with: M119 M574 Y2 S1 P"0.io5.in" ; Y M574 X2 S1 P"!0.io6.in" ; X M574 Z0 P"nil" ; No endstop we have the switch and a probe M574 Z1 S2 ; configure Z-probe endstop for low end on Z ; Z probe M98 P"/macros/print_scripts/activate_z_probe.g" ; Z-level settings ;M671 X-75:-75:288:289 Y0:320:320:0 S20 ; Define Z belts locations (Front_Left, Back_Left, Back_Right, Front_Right) ;M671 X-75:-75:288:289 Y0:328:328:0 S20 ; Define Z belts locations (Front_Left, Back_Left, Back_Right, Front_Right) ;M671 X-75:-75:288:289 Y0:358:358:0 S20 ; Define Z belts locations (Front_Left, Back_Left, Back_Right, Front_Right) M671 X-59.4:-59.4:309.16:309.16 Y5:327:327:5 S20 ; Define Z belts locations (Front_Left, Back_Left, Back_Right, Front_Right) ;; Define the mesh ;M557 X5:245 Y22:245 S35 ; spacing ;M557 X5:245 Y22:245 P9 ; grid (points per axis) M557 X5:245 Y22:250 P9 ; grid (points per axis) ;; Heaters :: Tune with: M303 H0 S110 ; Bed M308 S0 P"0.temp0" Y"thermistor" A"Bed" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0 M950 H0 C"out5+out6" T0 Q10 ; create bed heater outputs for both SSRs on out0 and map it to sensor 0 M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit M140 H0 ; map heated bed to heater 0 M143 H0 S120 ; set temperature limit for heater 0 to 120C ;; Bed Corner temp sensor (2=Orange, 3=Brown, 4=Green, 5=Yellow, 6=Purple 7=Black, ) ; Configure Bed corner temp sensor as thermistor on pin temp2 M308 S5 P"0.temp2" Y"thermistor" A"Bed-Corner" T100000 B4138 ; Hotend ; Tune in with: M303 H1 S270 (270=Temp) (M500 to save) ; Show current settings M307 H1 ;M308 S1 P"121.temp0" Y"thermistor" A"Hotend" T500000 B4702 C1.171057e-7 ; configure sensor 1 as thermistor on pin temp1 Mosquito ;M308 S1 P"121.temp0" A"Hotend" Y"thermistor" T100000 B4725 C7.06e-8 ; define E0 temperature sensor Rapido Argo M308 S1 P"121.temp0" A"Hotend" Y"thermistor" T100000 B4725 C7.060000e-8 ; define E0 temperature sensor e3d revo M950 H1 C"121.out0" T1 ; create nozzle heater output on 0.out3 and map it to sensor 1 M143 H1 S300 ; set temperature limit for heater 1 to 300C ;; Fans ; Fan for the printed part: M950 F0 C"121.out1" Q500 ; create fan 0 on pin 0.out9 and set its frequency M106 P0 S0 H-1 C"Part" ; set fan 0 value. Thermostatic control is turned off ; Fan for the Hotend: M950 F1 C"121.out2" Q500 ; create fan 1 on pin 0.out9 and set its frequency M106 P1 S1 H1 T45 C"Hotend" ; P="set fan 1" S="value" H="Thermostatic control Heater No." T=" is turned on at 45°C" ;; Tool M563 P0 S"Tool" D0 H1 F0 ; define tool G10 P0 X0 Y0 Z0 ; set tool 0 axis offsets G10 P0 R0 S0 ; set initial tool 0 active and standby temperatures to 0C ; Filament sensor : Status M591 D0 ;M591 D0 P7 C"io4.in" L7 R50:150 E5 S0 ;pulse, disabled, 7 mm/pulse, measure every 22 sec, minimum 50 maximum 250, S1 = Enabled S0 = Disabled ;M591 D0 P1 C"io4.in" S1 M950 J3 C"!io4.in" ; Create a trigger on io4.in (NC) M581 P3 T3 S0 R1 ; R1=Trigger only while printing ;; Chamber temp sensor M308 S4 P"0.temp1" Y"thermistor" A"Chamber" T100000 B4138 ; configure Chamber temp sensor as thermistor on pin temp1 ;; Input Shaping ; Accelerometer https://duet3d.dozuki.com/Wiki/Input_shaping M955 P121.0 I05 ; specify orientation of accelerometer on Toolboard 1LC with CAN address 121 ; Input Shaping ;M593 P"zvd" F40.5 ; use ZVD input shaping to cancel ringing at 40.5Hz ;M593 P"none" ; disable input shaping ;M593 P"custom" H0.4:0.7 T0.0135:0.0135 ; use custom input shaping M593 P"zvddd" F20 ; PA https://duet3d.dozuki.com/Wiki/Pressure_advance M572 D0 S0.053 ;;;;;;;;;;;; Setup Only ;M564 S0 H0 ; Allow movement over the endstops ;M302 P1 ; allow cold extrusion ;M302 S1 ; deny cold extrusion ;;;;;;;;;;;; Setup Only END ;; Case Cooling ; Temps M308 S9 P"mcu-temp" Y"mcu-temp" A"Mainboard" ; define sensor 9 to be mcu temperature ; Case Fans M950 F3 C"!0.out3" Q50 ; Fan on out3 ground on top pin, plus on 3rd pin from top (V_OUTLC1) M106 P3 C"Base" S120 ; Setup the FAN and slow it down ; Nevermore m950 F4 C"0.out0" Q50 m106 P4 C"Nevermore" S0 ; Define the LED stripe and turn it off M950 F5 C"0.out1" Q100 ; LED on out1 M106 P5 C"LED" S0 ; Make sure that the LEDs are off ; Trigger on the toolboard ; Front button M950 J14 C"121.button0" M581 T14 P14 S1 R0 ; Rear button M950 J15 C"121.button1" M581 T15 P15 S1 R0 ;######################################## M950 J1 C"^0.io1.in" M581 P1 T2 S0 ;M572 D0 S0.037 ; Set preasure Advance Gemessen M501 ; Load config-override.g ;; Serial interface ; Duet M575 P1 S1 B57600 ;;;;;; Old Display ;M575 P1 B115200 S1 ;; Mini 12864 ;M918 P2 ;M918 P2 E4 R3 C100 ;M150 X2 R255 U255 B255 S3 ; set all 3 LEDs to white ;M150 X2 R0 U255 B0 S3 ; set all 3 LEDs to red T0 ; Select the tool 0 as default ; Make sure that all heaters are off M104 S0 ; Extruder temp to 0 M568 P0 A0 ; Extruder heater off M140 S0 ; Set the bed temp to 0 M140 S-276 ; Bed heater off ; Stealthburner LEDs: global sb_leds="n-off" M98 P"/macros/sb_leds/sb_leds.g" set global.sb_leds="hot" set global.sb_leds="n-off" ;set global.sb_logo="red" ;set global.sb_leds="n-off" ;global sb_nozzle="off" ; M307 H0 R0.327 C227.635:227.635 D5.48 S1.00 V24.4 B0 I0 ; R altered for a firmware bug ; EOF
I hope that helps......
Cheers, Chriss
-
I play with my backup and upload script a bit, and produced some errors with the DWC too:
[chriss@leela 2.4-250]$ ./upload.sh Already up to date. macros filaments macros menu sys [chriss@leela 2.4-250]$ ./upload.sh Already up to date. macros filaments macros menu sys 2024/04/12 08:57:22 Post "http://192.168.1.69:80/rr_upload?crc32=3eeea27d&name=0%3A%2Fsys%2Fconfig_DEBUG.g&time=2024-04-12T08%3A57%3A22": EOF [chriss@leela 2.4-250]$ [chriss@leela 2.4-250]$ [chriss@leela 2.4-250]$ ./upload.sh Already up to date. macros filaments macros 2024/04/12 08:57:41 Post "http://192.168.1.69:80/rr_upload?crc32=4304999f&name=0%3A%2Fmacros%2FMaintenance%2F95_Noozle_220c.g&time=2024-04-12T08%3A57%3A41": read tcp 192.168.1.8:48524->192.168.1.69:80: read: connection reset by peer menu 2024/04/12 08:57:41 Duet currently not available sys [chriss@leela 2.4-250]$
I just checked, I have only two taps in one browser open to the DWC. I reduced the open taps to one and I still get errors.... :?
Cheers, Chriss