Duet3D Logo

    Duet3D

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

    Machine Movement

    Tuning and tweaking
    3
    5
    70
    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.
    • Btj
      Btj last edited by

      What's wrong with my config? Then the Machine Movement goes wrong. When I use the control panel and run X- the printer goes set from front to right Y- goes backwards
      M115
      FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.3 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2021-06-15 21:45:03
      ; Configuration file for Duet WiFi (firmware version 3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.3.0 on Wed Aug 04 2021 15:38:43 GMT+0200 (centraleuropeisk sommartid)

      ; General preferences
      G90 ; send absolute coordinates...
      M83 ; ...but relative extruder moves
      M550 P"Ender 5 Plus" ; set printer name

      ; Network
      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 S0 ; physical drive 2 goes backwards
      M569 P3 S0 ; physical drive 3 goes backwards
      M584 X0 Y1 Z2 E3 ; set drive mapping
      M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
      M92 X80.00 Y80.00 Z800.00 E156.47 ; set steps per mm
      M566 X900.00 Y900.00 Z80.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
      M203 X6000.00 Y6000.00 Z300.00 E1200.00 ; set maximum speeds (mm/min)
      M201 X800.00 Y800.00 Z80.00 E250.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 X350 Y350 Z400 S0 ; set axis maxima

      ; Endstops
      M574 X1 S1 P"xstop" ; X min active high endstop switch
      M574 Y1 S1 P"ystop" ; Y min active high endstop switch
      M574 Z1 S2 ; configure Z-probe endstop for low end on Z

      Z-Probe

      M558 P9 C"^zprobe.in" H5 F100 T2000
      M950 S0 C"exp.heater3"
      G31 X50 Y12 Z 2.824 0 P25
      M557 X50:300 Y50:300 S55 ; probe from X=10 to 190, Y=10 to 190mm with a mesh spacing of 20mm
      ; Heaters
      M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
      M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0

      M140 H0 ; map heated bed to heater 0
      M143 H0 S120 ; set temperature limit for heater 0 to 120C
      M308 S1 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp
      M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat 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"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
      M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
      M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 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 R0 S0 ; set initial tool 0 active and standby temperatures to 0C

      ; Custom settings are not defined

      ; Miscellaneous
      M575 P1 S1 B57600 ; enable support for PanelDue
      M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
      0
      ; bed.g
      ; called to perform automatic bed compensation via G32
      ;
      ; generated by RepRapFirmware Configuration Tool v3.3.0 on Wed Aug 04 2021 15:38:43 GMT+0200 (centraleuropeisk sommartid)
      M561 ; clear any bed transform
      G29 ; probe the bed and enable compensation

      ; homeall.g
      ; called to home all axes
      ;
      ; generated by RepRapFirmware Configuration Tool v3.3.0 on Wed Aug 04 2021 15:38:43 GMT+0200 (centraleuropeisk sommartid)
      G91 ; relative positioning
      G1 H2 Z5 F6000 ; lift Z relative to current position
      G1 H1 X-235 Y-215 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
      G1 H2 X5 Y5 F6000 ; go back a few mm
      G1 H1 X-235 Y-215 F360 ; move slowly to X and Y axis endstops once more (second pass)
      G90 ; absolute positioning
      G1 X182,6 Y182,4 F6000 ; go to first bed probe point and home Z
      G30 ; home Z by probing the bed

      ; Uncomment the following lines to lift Z after probing
      ;G91 ; relative positioning
      ;G1 Z5 F100 ; lift Z relative to current position
      ;G90 ; absolute positioning
      homez.g

      ; called to home the Z axis

      ;

      ; generated by RepRapFirmware Configuration Tool v3.3.0 on Wed Aug 04 2021 11:19:43 GMT+0100 (British Summer Time)

      G91 ; relative positioning

      G1 H2 Z5 F6000 ; lift Z relative to current position

      G90 ; absolute positioning

      G1 X20 Y20 F6000 ; go to first probe point

      G30 ; home Z by probing the bed
      Then I seem to get error messages on my Paneldue response time too long
      And I can not increase or decrease the speed in writing

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

        @btj said in Machine Movement:

        ; Drives
        M569 P0 S1 ; physical drive 0 goes forwards
        M569 P1 S1 ; physical drive 1 goes forwards

        If both axes run in the wrong direction, you can revers them by using 'S0' instead

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

          @o_lampe
          I have my end stops in the hearing corner at the top which is the lowest point
          so right corner 0.0 Then this seems to be in order. Because as far as I can understand it should go back to 0
          But the question of + and minus has any significance then? I have bltouch mounted to the left from the front normally what I learned is then
          X-50Y-12 Z0
          but I can not use - before then it will be strange.
          and why can I not increase the printing speed while running?
          has not updated Paneldue
          And I can only drive the G29 on part of the bed

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

            @btj said in Machine Movement:

            I have my end stops in the hearing corner at the top which is the lowest point

            Sorry, I don't understand this. ( I'm a stupid German 😉 )
            but if it means your 0,0 is in the far, right corner (in the back of the printer) then the X-offset for the BLtouch is positive (positive X goes to the left, seen from the front of the printer)
            For most people it's easier to have 0,0 at the front, left corner. You'd have to redefine your endstops to achieve that, if you want. (M574 X2 S1, M574 Y2 S1 ) You would also have to rewrite the homing macros to home to max.

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

              Having 0,0 in the back right corner is ok. It's the same as it being in the front left corner, just rotated 180 degrees. All you must keep in mind is that negative moves must move towards 0,0 and to keep that orientation in mind when setting your offsets.

              Alternatively, you can change it to have 0,0 be in the front left corner, but then you must change your endstop definition to be high end of travel M574 X2 Y2 and you must change your homing files movement direction to move to the positive instead of negative. This will home to Xmax and Ymax instead of min.

              The 0,0 point and the homing position don't have to match. In fact 0,0 can be anywhere, even the center of the bed.

              https://duet3d.dozuki.com/Wiki/Centering_the_bed_or_setting_the_bed_origin

              I really don't understand why creality did this for the Ender 5, but such as it is.

              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