Configuration issue I think. It's an odd printer setup



  • Ok this is my first duet board, a duet2 wifi. So far I like it. A little background. I have a rather strange printer. It used to be a raise3d N2.
    Long story short it never did work correctly and raise3d just kept giving me the run around
    and a few other things (never get a printer from them). Since it didn't work anyway I decided to "upgrade" it.

    First I tore it all down to replace burnt wires in the ribbon cables, As I told Raise3d but they didn't believe me.. So I rewired it and used aircraft connectors that I had sitting around.
    Once rewired I dumped the junk extruders that jammed all the time end went with Standard , and much cheaper off the shelf J6 style machining my own mounts for it and the bltouch probe.
    Hardware wise I was pretty set. I tried a smoothie board and Marlin 2.0 firmware but never did get it to work as it should.
    Then I got a duet2 wifi. So far it it works great except one thing and I'm pretty shure it's an error I'm making. XYZ moves fine and the proper distance it looks like (I need to get my mic's out) but when I print it prints very small. A 25mm size print is like 2- 4mm
    Config settings: xy -Microstep x256 Steps per mm 1280. At x16 its was 80. Since Z is a lead screw x256 is 6400 was 800 for steps per mm.
    The x16 values were taken from the original Marlin code. By the way I did try it at x16 and proper values in the duet config but it did the same.

    So I'm a bit lost. I'm using CURA as the slicer. Below is my config file. 
    
    Thanks for any help. I'm sure I did something stupid
    
    ; Configuration file for Duet WiFi (firmware version 2.03)
    

    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v2.0.4 on Wed Sep 18 2019 18:34:46 GMT-0500 (Central Daylight Time)

    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"My Printer" ; set printer name

    M667 S1 ; select CoreXY mode

    ; Network
    M551 P"zx" ; set password
    M552 S1 ; enable network
    M586 P0 S1 ; enable HTTP
    M586 P1 S0 ; disable FTP
    M586 P2 S0 ; disable Telnet

    ; Drives
    M569 P0 S1 ; physical drive 0 goes forwards
    M569 P1 S1 ; physical drive 1 goes forwards
    M569 P2 S1 ; physical drive 2 goes forwards
    M569 P3 S0 ; physical drive 3 goes backwards
    M584 X0 Y1 Z2 E3 ; set drive mapping
    M350 X256 Y256 Z256 E256 I0 ; configure microstepping without interpolation
    M92 X1280.00 Y1280.00 Z64000.00 E2490.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 X3000.00 Y3000.00 Z10.00 E25.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

    ; Axis Limits
    M208 X0 Y0 Z0 S1 ; set axis minima
    M208 X305 Y305 Z305 S0 ; set axis maxima

    ; Endstops
    M574 X1 Y1 S0 ; set active low and disabled endstops

    ; Z-Probe
    M574 Z1 S2 ; set endstops controlled by probe
    M307 H3 A-1 C-1 D-1 ; disable heater on PWM channel for BLTouch
    M558 P9 H5 F120 T18000 ; set Z probe type to bltouch and the dive height + speeds
    G31 P500 X30 Y30 Z2.5 ; set Z probe trigger value, offset and trigger height
    M557 X35:215 Y35:195 S10 ; define mesh grid

    ; Heaters
    M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
    M305 P0 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 0
    M143 H0 S120 ; set temperature limit for heater 0 to 120C
    M305 P1 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 1
    M143 H1 S280 ; set temperature limit for heater 1 to 280C

    ; Fans
    M106 P0 S1 I0 F500 H1 T45 ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P1 S1 I0 F500 H1 T45 ; set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on

    ; 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



  • @dmtulsa said in Configuration issue I think. It's an odd printer setup:

    M350 X256 Y256 Z256 E256 I0 ; configure microstepping without interpolation

    it is remommended to use x16 with interpolation unless you have a very specific reason not to.
    this puts an an unnecessary strain on the cpu.

    @dmtulsa said in Configuration issue I think. It's an odd printer setup:

    M906 X800 Y800 Z800 E800 I30 ; set motor currents (mA) and motor idle factor in per cent

    it 800ma between 70-80% of the rated current?

    @dmtulsa said in Configuration issue I think. It's an odd printer setup:

    M305 P0 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 0
    M305 P1 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 1

    B4138 is the default in the configurator and almost certainly wrong for your thermistor. you will need to put in the correct values for your thermistor.

    lets start of with actual measurements.
    use a ruler. move the head to something like G0 X0 Y0
    then issue G0 X0 Y100 and measure the distance.



  • @dmtulsa said in Configuration issue I think. It's an odd printer setup:

    XYZ moves fine and the proper distance it looks like (I need to get my mic's out) but when I print it prints very small. A 25mm size print is like 2- 4mm

    If that is true and "normal" moves look OK, then the error must be caused by something in your slicer.

    As @Veti has said, stick with 16X with interpolation for now. But here is a little tip.

    Use M350 to set micro-stepping to 16X, then set the steps per mm for 16X with M92. If you subsequently want to try different micro-stepping (for any or all of the axes or extruders), just use another M350 after your M92. The firmware will then re-calculate the steps per mm for you.


  • Moderator

    Can you share some gcode of something that prints really small? Then we can at least see what the gcode is doing. Alternatively you can import gcode into Cura and check it looks sensible.

    Ian


Log in to reply