Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Unsolved Problems with my modified anet a8 plus.

    General Discussion
    2
    3
    110
    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.
    • Chris Bierings
      Chris Bierings last edited by

      I modified this anet a8 plus with a duet 3 6hc board, a panel due i7, an e3d v6 hotend, and a bltouch. but after a lot of problem-solving, I just can't get this machine to print. Hopefully, someone can help me, Here is a link to some config files and a video of what the machine is doing when I start a print job.

      Dropbox link to the config files, the photo, and the videos

      1 Reply Last reply Reply Quote 0
      • Topic has been marked as a question  Chris Bierings Chris Bierings 
      • Phaedrux
        Phaedrux Moderator last edited by

        I can't really tell what is happening in your videos. Can you give some context?

        Can you send M122 and M98 P"config.g" as commands in the gcode console tab and copy and paste the results here?

        ; Configuration file for Duet 3 (firmware version 3.3)
        ; executed by the firmware on start-up
        ;
        ; generated by RepRapFirmware Configuration Tool v3.3.10 on Wed Mar 16 2022 22:33:14 GMT+0100 (Midden-Europese standaardtijd)
        
        ; General preferences
        M575 P1 S1 B57600                                     ; enable support for PanelDue
        G90                                                   ; send absolute coordinates...
        M83                                                   ; ...but relative extruder moves
        M550 P"Anet A8 Plus"                                  ; set printer name
        
        ; Network
        M551 P" nono :) "                                     ; set password
        M552 P192.168.0.221 S1                                ; enable network and acquire static address 
        M586 P0 S1                                            ; enable HTTP
        M586 P1 S1                                            ; enable FTP
        M586 P2 S1                                            ; enable Telnet
        
        ; Drives
        M569 P0.0 S1                                          ; physical drive 0.0 goes forwards
        M569 P0.1 S0                                          ; physical drive 0.1 goes backwards
        M569 P0.2 S1                                          ; physical drive 0.2 goes forwards
        M569 P0.4 S1                                          ; physical drive 0.4 goes forwards
        M569 P0.3 S1                                          ; physical drive 0.3 goes forwards
        M584 X0.0 Y0.1 Z0.2:0.4 E0.3                          ; set drive mapping
        M350 X16 Y16 Z16:16 E16 I1                            ; configure microstepping with interpolation
        M92 X100.00 Y100.00 Z400.00:400.00 E830.00            ; set steps per mm
        M566 X900.00 Y900.00 Z18.00:18.00 E300.00             ; set maximum instantaneous speed changes (mm/min)
        M203 X30000.00 Y30000.00 Z3000.00:3000.00 E6000.00    ; set maximum speeds (mm/min)
        M201 X5000.00 Y5000.00 Z100.00:100.00 E1000.00        ; set accelerations (mm/s^2)
        M906 X800 Y800 Z800:800 E1200 I30                     ; set motor currents (mA) and motor idle factor in per cent
        M84 S30                                               ; Set idle timeout
        
        ; Axis Limits
        M208 X23.5 Y20 Z0 S1                                  ; set axis minima
        M208 X300 Y300 Z350 S0                                ; set axis maxima
        
        ; Endstops
        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                                            ; configure Z-probe endstop for low end on Z
        M915 X S3 F0 H200 R0                                  ; set the X axis sensitivity
        M915 Y S3 F0 H200 R0                                  ; set the Y axis sensitivity
        
        ; Z-Probe
        M950 S0 C"io4.out"                                    ; create servo pin 0 for BLTouch
        M558 P9 C"^io4.in" H5 F500 T4000                      ; set Z probe type to bltouch and the dive height + speeds
        G31  P500 X36.33 Y5 Z0.35                             ; set Z probe trigger value, offset and trigger height
        M557 X15:295 Y15:295 S60                              ; define mesh grid                             
        
        ; Heaters
        M308 S0 P"temp0" Y"thermistor" T100000 B4092          ; configure sensor 0 as thermistor on pin temp0
        M950 H0 C"OUT0" T0                                    ; create bed heater output 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
        M308 S1 P"temp1" Y"thermistor" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin temp1
        M950 H1 C"out1" T1                                    ; create nozzle heater output on out1 and map it to sensor 1
        M307 H1 B0 S1.00                                      ; disable bang-bang mode for heater  and set PWM limit
        M143 H1 S280                                          ; set temperature limit for heater 1 to 280C
        
        ; Fans
        M950 F0 C"out7" Q500                                  ; create fan 0 on pin out4 and set its frequency
        M106 P0 S0 H-1                                        ; set fan 0 value. Thermostatic control is turned off
        M950 F1 C"out8" Q500                                  ; create fan 1 on pin out5 and set its frequency
        M106 P1 S1 H1 T45                                     ; set fan 1 value. Thermostatic control is turned on
        
        ; Tools
        M563 P0 D0 H1 F0                                      ; define tool 0
        G10 P0 X0 Y0 Z0                                       ; set tool 0 axis offsets
        M104 T0 S0
        
        ; Custom settings are not defined
        
        ; Miscellaneous
        M501                                                  ; load saved parameters from non-volatile memory
        
        ; homeall.g
        ; called to home all axes
        ;
        M98 P"homing_modifications.g" ; applies necessary modifications for the homing moves
         
        ; get Z out of the way
        G91                    ; relative positioning
        G1 H2 Z5 F1200         ; lift Z	
        M400                   ; wait for current moves to finish
         
        ; home X
        G1 H1 X5 F1200         ; move slowly away
        G1 H1 X-255 F3600      ; move to X axis endstop and stop there (first pass)
        G1 X5 F1200            ; go back a few mm
        G1 H1 X-10 F3000       ; move to X axis endstop once more (second pass)
        G1 X10 F1200           ; go back a few mm
        M400                   ; wait for current moves to finish
         
        ; home Y
        G1 H1 Y5 F1200         ; move slowly away
        G1 H1 Y-220 F3600      ; move to Y axis endstop and stop there (first pass)
        G1 Y5 F1200            ; go back a few mm
        G1 H1 Y-10 F3000       ; move to Y axis endstop once more (second pass)
        G1 Y10 F1200           ; go back a few mm
        M400                   ; wait for current moves to finish
         
        ; home Z
        M561                   ; Clear any bed transform that might be in place
        G1 X88.5 Y120 F6000    ; Move Probe to middle of bed
        G30                    ; Do a single probe
        G29 S1                 ; Load my custom heightmap. Otherwise use G29 S1
        G1 Z20.0 F6000         ; Move Z to 20
        
        ;
        M98 P"homing_modifications_reset.g" ; resets all modifications applied for the homing move
        
        ; homing_modifications.g
        ; tune motor drivers, set motor current and V parameter for homing moves
         
        ; apply modifications
        M569 P0.1 V10          ; reduce V to ensure stealthChop is enabled for X
        M569 P0.2 V10          ; reduce V to ensure stealthChop is enabled for Y
        M913 X70 Y70           ; drop motor current to 50%
        G4 P100                ; wait 100ms
         
        ; tune drivers
        G91                      ; relative positioning
        G1 H2 X0.2 Y0.2 F3000    ; power up motors to ensure they are not stalled
        G4 P100                  ; wait 100ms
        M400                     ; wait for current moves to finish
        
        ; homing_modifications_reset.g
        ; reset all homing modifications applied in homing_modifications.g
        ;
        M913 X100 Y100          ; return current to 100% for X and Y
        M569 P0.1 V2000         ; restore default V for X
        M569 P0.2 V2000         ; restore default V for Y
        G90                     ; absolute positioning
        
        ; homey.g
        ; called to home the Y axis
        ;
        M400                ; wait til stuff stops
        M913 X60 Y60        ; drop motor currents to 50% 
        M201 X1000 Y1000    ; reduce acceleration on X/Y to stop false triggers
        M915 Y S0 R0 F0 H200; Sensitivity 0, don’t take action, don’t filter,
        G91                 ; set relative
        G1 H2 Z5 F1200 
        G1 H1 Y-250 F3000   ; move left 250mm, stopping at the endstop
        G1 Y10 F1200        ; move away from end
        G1 H2 Z-5 F1200 
        G90                 ; back to absolute positioning
        M400                ; wait again
        M913 X100 Y100      ; motor currents back to 100%
        M201 X500 Y500      ; accel back to original 
        M915 S63 X Y R0     ; Disable Logging and lower stall detection
        
        ; homex.g
        ; called to home the X axis
        ;
        M400                ; wait til stuff stops
        M913 X60 Y60        ; drop motor currents to 50% 
        M201 X1000 Y1000    ; reduce acceleration on X/Y to stop false triggers
        M915 X S0 R0 F0 H200; Sensitivity 0, don’t take action, don’t filter,
        G91                 ; set relative
        G1 H2 Z5 F1200 
        G1 H1 X-250 F3000   ; move left 250mm, stopping at the endstop
        G1 X6.6 F1200         ; move away from end
        G1 H2 Z-5 F1200 
        G90                 ; back to absolute positioning
        M400                ; wait again
        M913 X100 Y100      ; motor currents back to 100%
        M201 X500 Y500      ; accel back to original 
        M915 S63 X Y R0     ; Disable Logging and lower stall detection
        
        ; bed.g
        ; Called using G32
        ; Called to perform True Autolevel using 2-point probe
        ;
        M561                    ; clear any bed transform
        G29 S2                  ; Clear bed height map
        ; Probe 2-point
        M401                    ; Deploy probe - deployprobe.g
        G30 P0 X220 Y150 Z-9999 ; Front Right
        G30 P1 X0 Y150 Z-9999   ; Front Left
        M402                    ; Retract Probe - retractprobe.g
        

        I've copied and pasted your files here to make it easier to see. Try and post as much as you can in the post itself.

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • Phaedrux
          Phaedrux Moderator last edited by

          M350 X16 Y16 Z16:16 E16 I1                            ; configure microstepping with interpolation
          M92 X100.00 Y100.00 Z400.00:400.00 E830.00            ; set steps per mm
          M566 X900.00 Y900.00 Z18.00:18.00 E300.00             ; set maximum instantaneous speed changes (mm/min)
          M203 X30000.00 Y30000.00 Z3000.00:3000.00 E6000.00    ; set maximum speeds (mm/min)
          M201 X5000.00 Y5000.00 Z100.00:100.00 E1000.00        ; set accelerations (mm/s^2)
          M906 X800 Y800 Z800:800 E1200 I30                     ; set motor currents (mA) and motor idle factor in per cent
          

          In this section you need to remove the second value for the Z axis. The values are applied to the entire axis and not individual motors so you only need one value.

          M208 X23.5 Y20 Z0 S1                                  ; set axis minima
          

          How did you determine these values for the minima? This says that when the endstop is triggered, the nozzle is still 20mm within the printable area. This doesn't seem right. This may explain why it's smashing into the left side. If the nozzle is actually 20mm off the bed surface, these minima values should be negative.

          M208 X300 Y300 Z350 S0
          

          This says your bed size is 300x300 but your homing moves are only 250mm. Make sure that all of your homing moves are longer than the actual size of the axis to ensure they actually hit.

          ; home X
          G1 H1 X5 F1200         ; move slowly away
          

          That definitely should not be an H1 move. If you're trying to move the axis away from the endstop before it is homed, use H2.

          G1 H1 X-10 F3000       ; move to X axis endstop once more (second pass)
          G1 X10 F1200           ; go back a few mm
          

          When using sensorless homing the second pass is not needed. Best to just remove it.

          ; Probe 2-point
          M401                    ; Deploy probe - deployprobe.g
          G30 P0 X220 Y150 Z-9999 ; Front Right
          G30 P1 X0 Y150 Z-9999   ; Front Left
          M402                    ; Retract Probe - retractprobe.g
          

          You don't need to manually control the pin with M401 and M402. That's handled automatically.

          Z-Bot CoreXY Build | Thingiverse Profile

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