Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Missing steps 3.3b2 Mini sbc

    Scheduled Pinned Locked Moved
    Beta Firmware
    5
    15
    625
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • carcamerarigundefined
      carcamerarig
      last edited by

      m122
      === Diagnostics ===
      RepRapFirmware for Duet 3 Mini 5+ version 3.3beta2 running on Duet 3 Mini5plus WiFi (SBC mode)
      Board ID: Z9NZN-A296U-D65J0-40KM4-LY03Z-ZPQPD
      Used output buffers: 1 of 40 (11 max)
      === RTOS ===
      Static ram: 99720
      Dynamic ram: 93276 of which 0 recycled
      Never used RAM 47852, free system stack 110 words
      Tasks: Linux(ready,151) HEAT(delaying,317) CanReceiv(notifyWait,943) CanSender(notifyWait,358) CanClock(notifyWait,340) TMC(notifyWait,109) MAIN(running,558) IDLE(ready,20) AIN(delaying,260)
      Owned mutexes: HTTP(MAIN)
      === Platform ===
      Last reset 00:32:23 ago, cause: power up
      Last software reset at 2021-03-14 01:51, reason: User, none spinning, available RAM 47852, slot 2
      Software reset code 0x0012 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00433000 BFAR 0xe000ed38 SP 0x00000000 Task Linu Freestk 0 n/a
      Error status: 0x00
      Aux0 errors 0,0,0
      Aux1 errors 0,0,0
      Supply voltage: min 0.0, current 24.0, max 24.0, under voltage events: 0, over voltage events: 0, power good: yes
      Heap OK, handles allocated/used 99/0, heap memory allocated/used/recyclable 2048/14/14, gc cycles 0
      Driver 0: position 25000, standstill, SG min/max 0/452, read errors 0, write errors 0, ifcnt 22, reads 15023, writes 22, timeouts 380, DMA errors 0, failedOp 0x41
      Driver 1: position 23000, standstill, SG min/max 0/452, read errors 0, write errors 0, ifcnt 22, reads 15387, writes 22, timeouts 16, DMA errors 0, failedOp 0x41
      Driver 2: position 36000, standstill, SG min/max 0/290, read errors 0, write errors 0, ifcnt 18, reads 15400, writes 18, timeouts 6, DMA errors 0, failedOp 0x6f
      Driver 3: position 0, standstill, SG min/max 0/258, read errors 0, write errors 0, ifcnt 17, reads 15406, writes 17, timeouts 1, DMA errors 0, failedOp 0x06
      Driver 4: position 0, standstill, SG min/max 0/278, read errors 1, write errors 0, ifcnt 16, reads 15408, writes 16, timeouts 0, DMA errors 0
      Driver 5: position 0, assumed not present
      Driver 6: position 0, assumed not present
      Date/time: 2021-03-14 12:09:11
      Cache data hit count 4190578363
      Slowest loop: 166.34ms; fastest: 0.08ms
      === Storage ===
      Free file entries: 10
      SD card 0 not detected, interface speed: 0.0MBytes/sec
      SD card longest read time 0.0ms, write time 0.0ms, max retries 0
      === Move ===
      DMs created 83, maxWait 441428ms, bed compensation in use: none, comp offset 0.000
      === MainDDARing ===
      Scheduled moves 28, completed moves 28, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 4], CDDA state -1
      === AuxDDARing ===
      Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
      === Heat ===
      Bed heaters = 0 -1, chamberHeaters = -1 -1
      === GCodes ===
      Segments left: 0
      Movement lock held by null
      HTTP* is doing "M122" 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
      Code queue is empty.
      === Filament sensors ===
      Extruder 0 sensor: ok
      === CAN ===
      Messages queued 17404, send timeouts 17400, received 0, lost 0, longest wait 0ms for reply type 0, peak Tx sync delay 0, free buffers 17 (min 16)
      Last cancelled message type 4514 dest 127
      === SBC interface ===
      State: 0, failed transfers: 0
      Last transfer: 4ms ago
      RX/TX seq numbers: 2778/2779
      SPI underruns 0, overruns 0
      Number of disconnects: 0, IAP RAM available 0x11584
      Buffer RX/TX: 0/0-0
      === Duet Control Server ===
      Duet Control Server v3.3-b2
      Code buffer space: 4096
      Configured SPI speed: 8000000 Hz
      Full transfers per second: 1.95
      Codes per second: 0.00
      Maximum length of RX/TX data transfers: 3540/664
      

      I removed any duplicating M307 PIDS that might have caused issues so only present in config-override.g

      ; General preferences
      G90                                         ; Send absolute coordinates...
      M83                                         ; ...but relative extruder moves
      M564 H0                                   ; Permits ALL Axis movement prior to or without ANY Homing require [ over-rides default of no movement until all homed ]
      
      ; Network
      ;M550 P"Duet3"                        ; Set machine name
      ;M552 S1                                     ; Enable network
      ;*** Access point is configured manually via M587
      ;M586 P0 S1                                  ; Enable HTTP
      ;M586 P1 S0                                  ; Disable FTP
      ;M586 P2 S0                                  ; Disable Telnet
      M575 P1 S1 B57600							; Panel Due
      
      ; Drive Mappings
      M569 P0.0 S0 V0                              ; Drive 0 goes forwards: X Axis
      M569 P0.1 S0 V0                            ; Drive 1 goes backwards: Y Axis
      M569 P0.2 S0 V0                            ; Drive 2 goes backwards: Z Axis
      M569 P0.3 S0 V0                           ; Drive 3 goes forwards: E Axis
      M569 P0.4 S0 V0                          ; Drive 4 goes backwards: Z Axis (at E1)
      
      ; Micrpstepping and Speed
      M350 X16 Y16 E16 Z16 I1                     ; Configure microstepping with interpolation
      M92 X200.00 Y200.00 Z400.00 E830.00         ; Set steps per mm
      
      ; Speeds, Acceleration and Jerk
      M566 X240.00 Y240.00 Z24.00 E270.00 P1      ; Set maximum instantaneous speed changes (mm/min)
      M203 X7200.00 Y7200.00 Z723.00 E1200.00   ; Set maximum speeds (mm/min)
      M201 X1250.00 Y1250.00 Z1000.00 E500.00    ; Set accelerations (mm/s^2)
      M204 P1250.0 T1250.0   						 ; set print and travel accelerations (mm(s^2)
      
      ; Motor currents
      M906 X1500 Y1600 Z600.00 E1120 I30    ; Set motor currents (mA) and motor idle factor in percent
      M84 S30                                     ; Set idle timeout
      
      
      ; Motor remapping for dual Z and axis Limits
      M584 X0 Y1 Z2:4 E3				; two Z motors connected to driver outputs Z and E1
      M671 X-37:287 Y0:0 S10			; leadscrews at left (connected to Z) and right (connected to E1) of X axis
      
      ; Printer geometry
      M208 X0:250 Y-4:215 Z-0.5:415  ; X carriage moves from 0 to 250, Y bed goes from 0 to 210
      M564 H0							; allow unhomed movement
      
      ; Endstops
      M915 XY F0 S0 H400 R1					; configure stall detection for sensorless homing
      M574 X1 Y1 S3							; Set endstops controlled by motor load detection
      
      ; Stallgaurd Sensitivy
      M915 X S-40 F0 H400 R0
      M915 Y S-40 F0 H400 R0
      ;M915 X S-4 F0 H400 R0		                ; Set X axis Sensitivity  ;working 3.3
      ;M915 Y S-2 F0 H400 R0		                ; Set y axis Sensitivity ; woring 3.3
      
      ; Input Shaper
      ;M593 F60 P4 S0.2  ; Input Shaping
      
      ; Z-Probe Super PINDA
      M574 X1 S3														; configure sensorless endstop for low end on X
      M574 Y1 S3														; configure sensorless endstop for low end on Y
      M574 Z1 S2 ; Set endstops controlled by probe
      M558 P5 C"^io3.in" I1 H1 F500 T4800 A30 S0.004 ; PINDA
      
      ; Probing Mesh Grid and Sheets
      M557 X24:221 Y10:195 P8                     ; Define mesh grid for probing
      G31 P1000 X23 Y5 Z1.750 	                 ; Textured Sheet
      ;G31 P1000 X23 Y5 Z1.280 					; PEI
      
      ; Heatbed Heaters and Thermistor Bed 
      M308 S0 P"temp0" Y"thermistor" T100000 B4725 C7.060000e-8 ; Set thermistor + ADC parameters for heater 0 Bed
      M950 H0 C"out0" T0 Q10					; Creates Bed Heater
      ;M307 H0 R0.350 C109.4 D13.33 S1.00 V23.8		; Bed PID new version !!In config-override!!
      M140 H0										; Bed uses Heater 0
      M143 H0 S120                                ; Set temperature limit for heater 0 to 120C Bed
      
      
      
      ; HotEnd Heaters and Thermistor HotEnd      
      M308 S1 P"temp1" Y"thermistor" T500000 B4723 C1.19622e-7  ;define E0 temperature sensor Slice HT
      M950 H1 C"out1" T1					; Create HotEnd Heater
      ;M307 H1 R2.416 C188.5:134.7 D5.14 S1.00 V23.9 ; Hotend PID new version !!In config-override!!
      M143 H1 S285                            ; Set temperature limit for heater 1 to 285C HotEnd
      M302 S185 R185
      
      ; Fans
      M950 F1 C"out5" Q250				; Creates HOTEND Fan
      M106 P1 T45 S235 H1                 ; HOTEND Fan Settings
      M950 F0 C"out6" Q100				; Creates PARTS COOLING FAN
      M106 P0 H-1                         ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off PARTS COOLING FAN
      
      ; 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
      
      G91
      G1 X1 Y1 Z1 ; calibrate StealthChop values
      G90
      M83
      G4 S2
      M84 ; disable motors
      
      M98 P"0:/macros/02_Functions/StartupFilamentSensorCheck"  ; Runout Sensor Logic: Startup with filament = runout sensor active   Startup without filament = autoload active
      
      ; config-override.g file generated in response to M500 at 2021-03-13 02:27
      
      ; Heater model parameters
      M307 H0 R0.350 C109.400:109.400 D13.30 S1.00 V23.8 B0
      M307 H1 R2.416 C188.500:134.700 D5.10 S1.00 V23.9 B0
      ; Workplace coordinates
      G10 L2 P1 X0.00 Y0.00 Z0.00
      G10 L2 P2 X0.00 Y0.00 Z0.00
      G10 L2 P3 X0.00 Y0.00 Z0.00
      G10 L2 P4 X0.00 Y0.00 Z0.00
      G10 L2 P5 X0.00 Y0.00 Z0.00
      G10 L2 P6 X0.00 Y0.00 Z0.00
      G10 L2 P7 X0.00 Y0.00 Z0.00
      G10 L2 P8 X0.00 Y0.00 Z0.00
      G10 L2 P9 X0.00 Y0.00 Z0.00
      
      
      
      Dougal1957undefined 1 Reply Last reply Reply Quote 0
      • Dougal1957undefined
        Dougal1957 @carcamerarig
        last edited by Dougal1957

        @carcamerarig you don't seem to be loading that Config-overide.g file tho think you may need something like a M501 at the end of your Config.g to do so (Please check the M code first tho as I don't use it so I could have remembered wrong.

        Doug

        1 Reply Last reply Reply Quote 0
        • carcamerarigundefined
          carcamerarig @Phaedrux
          last edited by

          @Phaedrux said in Missing steps 3.3b2 Mini sbc:

          What are you referring to?

          Turns out if I put a second M92 parameter later on in config.g it resolves.

          with only the 1st line if I run M92 I get:
          m92
          Steps/mm: X: 200.000, Y: 200.000, Z: 400.000, E: 420.000

          Then after add the:
          M92 X200.00 Y200.00 Z400.00 E830.00 ; Set steps per mm
          at the end of config.g M92 returns the correct esteps.
          m92
          Steps/mm: X: 200.000, Y: 200.000, Z: 400.000, E: 830.000

          is it a bug or something somewhere else overriding the earlier line??
          I've checked file by file all the .g files in sys, and all the macro files for a duplicate M92 line but nothing....

          droftartsundefined 1 Reply Last reply Reply Quote 0
          • droftartsundefined
            droftarts administrators @carcamerarig
            last edited by

            @carcamerarig can you post your full config.g as it is now? I referred this issue to @dc42 as there was another report of extruder stepping problems on 3.3b2.

            Ian

            Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

            carcamerarigundefined 1 Reply Last reply Reply Quote 1
            • carcamerarigundefined
              carcamerarig @droftarts
              last edited by

              @droftarts said in Missing steps 3.3b2 Mini sbc:

              @carcamerarig can you post your full config.g as it is now? I referred this issue to @dc42 as there was another report of extruder stepping problems on 3.3b2.

              Ian

              ; General preferences
              G90                                         ; Send absolute coordinates...
              M83                                         ; ...but relative extruder moves
              M564 H0                                   ; Permits ALL Axis movement prior to or without ANY Homing require [ over-rides default of no movement until all homed ]
              
              ; Network
              ;M550 P"Duet3"                        ; Set machine name
              ;M552 S1                                     ; Enable network
              ;*** Access point is configured manually via M587
              ;M586 P0 S1                                  ; Enable HTTP
              ;M586 P1 S0                                  ; Disable FTP
              ;M586 P2 S0                                  ; Disable Telnet
              M575 P1 S1 B57600							; Panel Due
              
              ; Drive Mappings
              M569 P0.0 S0 V0                              ; Drive 0 goes forwards: X Axis
              M569 P0.1 S0 V0                            ; Drive 1 goes backwards: Y Axis
              M569 P0.2 S0 V0                            ; Drive 2 goes backwards: Z Axis
              M569 P0.3 S0 V0                           ; Drive 3 goes forwards: E Axis
              M569 P0.4 S0 V0                          ; Drive 4 goes backwards: Z Axis (at E1)
              
              ; Micrpstepping and Speed
              M350 X16 Y16 E16 Z16 I1                     ; Configure microstepping with interpolation
              M92 X200.00 Y200.00 Z400.00 E830.00         ; Set steps per mm
              
              ; Speeds, Acceleration and Jerk
              M566 X240.00 Y240.00 Z24.00 E270.00 P1      ; Set maximum instantaneous speed changes (mm/min)
              M203 X7200.00 Y7200.00 Z723.00 E1200.00   ; Set maximum speeds (mm/min)
              M201 X1250.00 Y1250.00 Z1000.00 E500.00    ; Set accelerations (mm/s^2)
              M204 P1250.0 T1250.0   						 ; set print and travel accelerations (mm(s^2)
              
              ; Motor currents
              M906 X1500 Y1600 Z600.00 E1120 I30    ; Set motor currents (mA) and motor idle factor in percent
              M84 S30                                     ; Set idle timeout
              
              
              ; Motor remapping for dual Z and axis Limits
              M584 X0 Y1 Z2:4 E3				; two Z motors connected to driver outputs Z and E1
              M671 X-37:287 Y0:0 S10			; leadscrews at left (connected to Z) and right (connected to E1) of X axis
              
              ; Printer geometry
              M208 X0:250 Y-4:215 Z-0.5:415  ; X carriage moves from 0 to 250, Y bed goes from 0 to 210
              M564 H0							; allow unhomed movement
              
              ; Endstops
              M915 XY F0 S0 H400 R1					; configure stall detection for sensorless homing
              M574 X1 Y1 S3							; Set endstops controlled by motor load detection
              
              ; Stallgaurd Sensitivy
              M915 X S-40 F0 H400 R0
              M915 Y S-40 F0 H400 R0
              ;M915 X S-4 F0 H400 R0		                ; Set X axis Sensitivity  ;working 3.3
              ;M915 Y S-2 F0 H400 R0		                ; Set y axis Sensitivity ; woring 3.3
              
              ; Input Shaper
              ;M593 F60 P4 S0.2  ; Input Shaping
              
              ; Z-Probe Super PINDA
              M574 X1 S3														; configure sensorless endstop for low end on X
              M574 Y1 S3														; configure sensorless endstop for low end on Y
              M574 Z1 S2 ; Set endstops controlled by probe
              M558 P5 C"^io3.in" I1 H1 F500 T4800 A30 S0.004 ; PINDA
              
              ; Probing Mesh Grid and Sheets
              M557 X24:221 Y10:195 P8                     ; Define mesh grid for probing
              G31 P1000 X23 Y5 Z1.750 	                 ; Textured Sheet
              ;G31 P1000 X23 Y5 Z1.280 					; PEI
              
              ; Heatbed Heaters and Thermistor Bed 
              M308 S0 P"temp0" Y"thermistor" T100000 B4725 C7.060000e-8 ; Set thermistor + ADC parameters for heater 0 Bed
              M950 H0 C"out0" T0 Q10					; Creates Bed Heater
              M307 H0 R0.350 C109.4 D13.33 S1.00 V23.8		; Bed PID new version !!saved In config-override!!
              M140 H0										; Bed uses Heater 0
              M143 H0 S120                                ; Set temperature limit for heater 0 to 120C Bed
              
              
              
              ; HotEnd Heaters and Thermistor HotEnd      
              M308 S1 P"temp1" Y"thermistor" T500000 B4723 C1.19622e-7  ;define E0 temperature sensor Slice HT
              M950 H1 C"out1" T1					; Create HotEnd Heater
              M307 H1 R2.416 C188.5:134.7 D5.14 S1.00 V23.9 ; Hotend PID new version !!saved In config-override!!
              M143 H1 S285                            ; Set temperature limit for heater 1 to 285C HotEnd
              M302 S185 R185
              
              ; Fans
              M950 F1 C"out5" Q250				; Creates HOTEND Fan
              M106 P1 T45 S235 H1                 ; HOTEND Fan Settings
              M950 F0 C"out6" Q100				; Creates PARTS COOLING FAN
              M106 P0 H-1                         ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off PARTS COOLING FAN
              
              ; 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
              
              G91
              G1 X1 Y1 Z1 ; calibrate StealthChop values
              G90
              M83
              G4 S2
              M84 ; disable motors
              
              M98 P"0:/macros/02_Functions/StartupFilamentSensorCheck"  ; Runout Sensor Logic: Startup with filament = runout sensor active   Startup without filament = autoload active
              
              M92 X200.00 Y200.00 Z400.00 E830.00         ; Set steps per mm
              
              
              droftartsundefined 1 Reply Last reply Reply Quote 0
              • Phaedruxundefined
                Phaedrux Moderator
                last edited by

                @carcamerarig said in Missing steps 3.3b2 Mini sbc:

                ; Motor remapping for dual Z and axis Limits M584 X0 Y1 Z2:4 E3 ; two Z motors connected to driver outputs Z and E1 M671 X-37:287 Y0:0 S10 ; leadscrews at left (connected to Z) and right (connected to E1) of X axis

                You need to move your M584 command earlier in config.g

                Order dependence

                M584 must come earlier in config.g than any M350 and M906 commands. If it creates new axes, it must also be earlier than any M92, M201, M203, M208, M350, M566, M574, M667 and M669 commands.

                https://duet3d.dozuki.com/Wiki/Gcode?revisionid=HEAD#Section_M584_Set_drive_mapping

                Z-Bot CoreXY Build | Thingiverse Profile

                carcamerarigundefined 1 Reply Last reply Reply Quote 1
                • droftartsundefined
                  droftarts administrators @carcamerarig
                  last edited by

                  @carcamerarig as @Phaedrux says, move M584. Could you also send M92 and M350 before making the change, with the second M92 removed (so as original) and with M584 moved, with and without second M92? (Obviously resetting between each change.) That should show if there’s some other bug, or if the issue is just the M584 position.

                  Ian

                  Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                  1 Reply Last reply Reply Quote 1
                  • carcamerarigundefined
                    carcamerarig @Phaedrux
                    last edited by

                    @Phaedrux said in Missing steps 3.3b2 Mini sbc:

                    @carcamerarig said in Missing steps 3.3b2 Mini sbc:

                    ; Motor remapping for dual Z and axis Limits M584 X0 Y1 Z2:4 E3 ; two Z motors connected to driver outputs Z and E1 M671 X-37:287 Y0:0 S10 ; leadscrews at left (connected to Z) and right (connected to E1) of X axis

                    You need to move your M584 command earlier in config.g

                    Order dependence

                    M584 must come earlier in config.g than any M350 and M906 commands. If it creates new axes, it must also be earlier than any M92, M201, M203, M208, M350, M566, M574, M667 and M669 commands.

                    https://duet3d.dozuki.com/Wiki/Gcode?revisionid=HEAD#Section_M584_Set_drive_mapping

                    Awesome, thanks so much, with so much spinning in my head, even if i'd rtfm 10 times I don't think i'd have picked on that, much appreciated.

                    o_lampeundefined 1 Reply Last reply Reply Quote 0
                    • o_lampeundefined
                      o_lampe @carcamerarig
                      last edited by

                      @carcamerarig
                      I'm also missing M669 = declaration of kinematic modell. It should come very early in the config.g. (eg. right behind the paneldue-line)

                      Dougal1957undefined 1 Reply Last reply Reply Quote 0
                      • Dougal1957undefined
                        Dougal1957 @o_lampe
                        last edited by Dougal1957

                        @o_lampe said in Missing steps 3.3b2 Mini sbc:

                        @carcamerarig
                        I'm also missing M669 = declaration of kinematic modell. It should come very early in the config.g. (eg. right behind the paneldue-line)

                        Not required for a std Cartesian as that is the default also not required for a Delta as the 665/666 set that one up.

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post
                        Unless otherwise noted, all forum content is licensed under CC-BY-SA