Same .gcode file - two different printers - very different results



  • I noticed that a print coming off my P3 -Duet looked smaller than expected so ran a test ..
    Same file - once on P3 -Duet once on MK2S and the results are very different ..

    The pieces coming off the P3 are about half the size of the MK2S ..

    Are there some values in the config files that overrule the .gcode file on layer thickness or the such?



  • Sounds like your steps per mm may be out. is it all axis or just the Z?


  • administrators

    My guess is that you have configured 2x the microstepping on the Duet (M360 M350 in config.g), but you have configured the steps/mm (M92 in config.g) after that and haven't doubled the steps/mm.

    Do the jog buttons in DWC move the head by the correct amount?



  • Appears to be just the Z .. all other dimensions are fine .. Will look at the config and check .. Thanks



  • Here is the config pertinent I could find :

    M92 X80 Y80 Z2560 ; Set axis steps/mm
    M92 E420:420 ; Set extruder steps per mm

    I find no M360 entry in the config or the override ..

    The Z2560 is the problem?



  • what have you set for your microstepping rates? The M350 line and where is it in your Config.G in relation to the M92 line (Before or after)


  • administrators

    Sorry, I meant M350 not M360.



  • Don't see that either .. Here it is :

    ; Prusa i3 config file for dc42 Duet firmware

    ; Prologue and comms section
    M111 S0 ; Debug off
    M550 PPrusai3 ; Machine name (can be anything you like)
    M551 Preprap ; Machine password
    ;*** If you have more than one Duet on your network, they must all have different MAC addresses, so change the last digits
    M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED ; MAC Address
    ;*** Adjust the IP address and gateway in the following 2 lines to suit your network
    M552 P0.0.0.0 ; IP address (0 = use DHCP)
    M554 P192.168.1.1 ; Gateway
    M553 P255.255.255.0 ; Netmask
    M555 P2 ; Set output to look like Marlin
    M575 P1 B57600 S1 ; Comms parameters for PanelDue
    M552 S1

    ; Movement section
    M569 P0 S0 ; Drive 0 goes forwards (change to S0 to reverse it)
    M569 P1 S0 ; Drive 1 goes forwards
    M569 P2 S1 ; Drive 2 goes forwards
    M569 P3 S0 ; Drive 3 goes forwards
    M569 P4 S1 ; Drive 4 goes forwards
    M574 X1 Y1 Z1 S1 ; set endstop configuration (X and Y endstops only, at low end, active high)
    M906 X800 Y800 Z800 E1000 ; Set motor currents (mA)
    M201 X800 Y800 Z15 E1000 ; Accelerations (mm/s^2)
    M203 X15000 Y15000 Z100 E3600 ; Maximum speeds (mm/min)
    M566 X600 Y600 Z30 E20 ; Minimum speeds mm/minute
    M208 X200 Y250 Z200 ; set axis maximam (adjust to suit your machine)
    M208 X0 Y0 Z0 S1 ; set axis minimum (adjust to make X=0 and Y=0 the edge of the bed)
    M92 X80 Y80 Z2560 ; Set axis steps/mm
    M92 E420:420 ; Set extruder steps per mm
    G21 ; Work in millimetres
    G90 ; Send absolute coordinates…
    M83 ; ...but relative extruder moves

    ; Z probe section
    ;M558 P1 X0 Y0 Z1 H3 F200 T5000 ; Smart IR Z probe, used for homing Z axis, dive height 3mm, probe speed 200mm/min, travel speed 5000mm/min
    ;G31 X11.0 Y0.5 Z1.20 P500 ; Set the probe height and threshold (put your own values here)

    ; Heater and thermistor section
    ;*** If you have a Duet board with 1K thermistor series resistors, change R4700 to R1000 to the following M305 commands
    M305 P0 R4700 H0 L0 ; Put your own H and/or L values here to set the bed thermistor ADC correction
    M305 P1 R4700 H0 L0 ; Put your own H and/or L values here to set the first nozzle thermistor ADC correction
    M305 P2 R4700 H0 L0 ; Put your own H and/or L values here to set the second nozzle thermistor ADC correction
    M301 H1 P10 I0.10 D100 T0.50 S1.0 ; PID settings for extruder 0
    M301 H2 P10 I0.10 D100 T0.50 S1.0 ; PID settings for extruder 1
    M570 S120 ; Increase to allow extra heating time if needed

    ; Tool definition section
    M563 P0 D0 H1 ; Define tool 0 to use extruder drive 0 and heater 1
    G10 P0 S0 R0 ; Set tool 0 operating and standby temperatures
    ;*** If you have a dual-nozzle build, un-comment the following 2 lines
    ;M563 P1 D1 H2 ; Define tool 1
    ;G10 P1 S0 R0 ; Set tool 1 operating and standby temperatures

    ; Bed probe section (not needed if you use a bed.g file)
    ;*** Adjust the XY coordinates in the following M557 commands to suit your build and the position of your Z probe
    M557 P0 X60 Y0 ; Four...
    M557 P1 X60 Y165 ; ...probe points...
    M557 P2 X200 Y165 ; ...for bed...
    M557 P3 X200 Y0 ; ...levelling
    ;M557 P4 X141 Y82.5 ; 5th probe point for levelling (un-comment this to get a 5th point at the centre of the bed)

    ; Epilogue
    ;*** If you are using axis compensation, put the figures in the following command
    M556 S78 X0 Y0 Z0 ; Axis compensation here
    T0


  • administrators

    Some questions for you:

    1. Is the model half the size it should be in all 3 of X, Y and Z?

    2. Are you using 1.8 or 0.9deg motors?

    3. Do the X, Y and Z jog buttons in Duet Web Control move the print head by the amounts you ask for?



  • 1- Only the Z axis appears different, X and Y look fine ..
    2. 1.8 deg steppers on X.Y. Z .. (Extruder is titan w/ 0.9)
    3. The jog buttons (the +/- X.Y.Z buttons?) .. I am not sure what you are asking here… They all move and in the right direction.. but I don't know whether they move the proper amount or not.. is that what you are asking? Sorry .. How do I ascertain that?





  • Is this the titan causing this wit the 0.9 motor?



  • @Sink:

    3. The jog buttons (the +/- X.Y.Z buttons?) .. I am not sure what you are asking here… They all move and in the right direction.. but I don't know whether they move the proper amount or not.. is that what you are asking? Sorry .. How do I ascertain that?

    you can measure this using a ruler.
    Move the Z-axis for example 100mm and verify if it really moved 100mm.
    To me it seems your Z-axis steps are high, but it depends on the leadscrews you are using…



  • How is your Z Driven ie is it a screw if so what size screw is it also on your Ramps setup could you have had 1/8 microstepping set on the Z axis?

    Doug



  • @whosrdaddy:

    @Sink:

    3. The jog buttons (the +/- X.Y.Z buttons?) .. I am not sure what you are asking here… They all move and in the right direction.. but I don't know whether they move the proper amount or not.. is that what you are asking? Sorry .. How do I ascertain that?

    you can measure this using a ruler.
    Move the Z-axis for example 100mm and verify if it really moved 100mm.
    To me it seems your Z-axis steps are high, but it depends on the leadscrews you are using…

    2560 for Z would be correct for a 1.8 stepper driving the Z by a M5x0.8mm threaded rod assuming 1/16 microstepping



  • Z is screw driven .. no, there was no microsteppting on the Z under Ramps.. but there was some changes to the stepping for the extruder..

    This is from the titan docs:

    "
    Usage
    Firmware Calibration
    Because Titan uses a known gearing ratio and a consistently machined drive gear, we can offer a fairly accurate steps / mm set-point. Forgot about that ..

    Steps per Unit (Extruder) = Motor Steps * Micro-stepping * Gear Ratio / (Hobb Diameter * Pi)

    Standard motor steps / rev = 400 for the new style motor or 200 for the old style motor (Refer to assembly steps if unsure which motor you have).
    Standard micro-stepping = 16x
    Gear Ratio = 3
    Hobb Diameter (Effective) = 7.3
    200 * 16 * 3 / (7.3 * 3.142) = 418.5
    400 * 16 * 3 / (7.3 * 3.142) = 837 "

    I changed that number under ramps .. Is there something similar under the RepRap configs?



  • There is this command in the config:

    M92 E420:420 ; Set extruder steps per mm

    looks like this has to change. but is this causing the problem ..

    will update it to:

    M92 E840:840 ; Set extruder steps per mm

    does this seem reasonable?

    Why not, giving it a try ..



  • No that will not affect your Z AXis hight at all?



  • Probably not, but sounds like it needs to be done anyway??



  • Looks like no difference .. when done printing will try to measure the "jog" on the Z axis ..


Locked
 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.