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

    having issues with z mapping

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    4
    22
    504
    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.
    • Phaedruxundefined
      Phaedrux Moderator
      last edited by

      You could reload your config.json file into the online tool and make your changes and then save the new set of files, that may be easiest since it would require changes to the endstop definition, and your homing files to get everything going in the correct direction. It may or may not also require a change to the motor direction.

      All of this can be done manually by editing your existing files as well. The config tool gives a good starting point, but eventually most people will begin editing the files directly.

      The endstop change for instance, This:
      M574 Z2 S1 P"!zstop"
      would become this:
      M574 Z1 S1 P"!zstop"
      Z1 means low end of travel. Z2 means high end of travel.

      For the homing file changes, this:

      G1 H1 Z405 F360         ; move Z up stopping at the endstop
      G90                     ; absolute positioning
      G92 Z800                ; set Z position to axis maximum (you may want to adjust this)
      

      would become this:

      G1 H1 Z-405 F360         ; move Z up stopping at the endstop
      

      Z405 is positive upward movement, Z-405 is negative downward movement.

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 0
      • kevinlallshouseundefined
        kevinlallshouse
        last edited by

        ok ill give it a shot and thanks for all your help and taking the time to explain everything.

        1 Reply Last reply Reply Quote 0
        • kevinlallshouseundefined
          kevinlallshouse
          last edited by

          here is my homez i dont see anything wrong my z is a -400 like you had said do you see anything with it ?ill post others next

          ; homez.g
          ; called to home the Z axis
          ;
          ; generated by RepRapFirmware Configuration Tool v3.3.0 on Mon Aug 16 2021 19:10:52 GMT-0700 (Pacific Daylight Time)
          G91               ; relative positioning
          G1 H2 Z10 F6000   ; lift Z relative to current position
          G1 H1 Z-405 F1800 ; move Z down until the endstop is triggered
          G92 Z0            ; set Z position to axis minimum (you may want to adjust this)
          
          ; Uncomment the following lines to lift Z after probing
          ;G91              ; relative positioning
          ;G1 Z10 F100      ; lift Z relative to current position
          ;G90              ; absolute positioning
          undefined
          
          1 Reply Last reply Reply Quote 0
          • kevinlallshouseundefined
            kevinlallshouse
            last edited by

            un; homeall.g
            ; called to home all axes
            ;
            ; generated by RepRapFirmware Configuration Tool v3.3.0 on Mon Aug 16 2021 19:10:52 GMT-0700 (Pacific Daylight Time)
            G91                     ; relative positioning
            G1 H2 Z10 F6000         ; lift Z relative to current position
            G1 H1 X-305 Y-305 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-305 Y-305 F360  ; move slowly to X and Y axis endstops once more (second pass)
            G1 H1 Z-405 F360        ; move Z down stopping at the endstop
            G90                     ; absolute positioning
            G92 Z0                  ; set Z position to axis minimum (you may want to adjust this)
            
            ; Uncomment the following lines to lift Z after probing
            ;G91                    ; relative positioning
            ;G1 Z10 F100            ; lift Z relative to current position
            ;G90                    ; absolute positioning
            
            
            defined
            
            1 Reply Last reply Reply Quote 0
            • kevinlallshouseundefined
              kevinlallshouse
              last edited by

              unde; Configuration file for Duet WiFi (firmware version 3)
              ; executed by the firmware on start-up
              ;
              ; generated by RepRapFirmware Configuration Tool v3.3.0 on Mon Aug 16 2021 19:10:51 GMT-0700 (Pacific Daylight Time)
              
              ; General preferences
              G90                                            ; send absolute coordinates...
              M83                                            ; ...but relative extruder moves
              M550 P"My Printer"                             ; 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 S1                                     ; physical drive 2 goes forwards
              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 Z960.00 E67.91               ; set steps per mm
              M566 X4500.00 Y4500.00 Z60.00 E600.00          ; set maximum instantaneous speed changes (mm/min)
              M203 X15000.00 Y15000.00 Z600.00 E3000.00      ; set maximum speeds (mm/min)
              M201 X600.00 Y600.00 Z20.00 E2500.00           ; set accelerations (mm/s^2)
              M906 X1300 Y1300 Z1300 E1000 I30               ; set motor currents (mA) and motor idle factor in per cent
              M84 S10                                        ; Set idle timeout
              
              ; Axis Limits
              M208 X0 Y0 Z0 S1                               ; set axis minima
              M208 X300 Y300 Z400 S0                         ; set axis maxima
              
              ; Endstops
              M574 X1 S1 P"!xstop"                           ; configure active-high endstop for low end on X via pin !xstop
              M574 Y1 S1 P"!ystop"                           ; configure active-high endstop for low end on Y via pin !ystop
              M574 Z1 S1 P"!zstop"                           ; configure active-high endstop for low end on Z via pin !zstop
              
              ; Z-Probe
              M558 P0 H10 F120 T6000                         ; disable Z probe but set dive height, probe speed and travel speed
              M557 X15:215 Y15:195 S20                       ; define mesh grid
              
              ; Heaters
              M308 S0 P"bedtemp" Y"thermistor" T100000 B3950 ; 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
              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 S150                                   ; set temperature limit for heater 0 to 150C
              M308 S1 P"e0temp" Y"thermistor" T100000 B3950  ; 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 S300                                   ; set temperature limit for heater 1 to 300C
              
              ; 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 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
              
              ; Miscellaneous
              M501                                           ; load saved parameters from non-volatile memory
              
              fined
              
              1 Reply Last reply Reply Quote 0
              • Phaedruxundefined
                Phaedrux Moderator
                last edited by

                That looks better. Does it home in the right direction towards the endstop now?

                Z-Bot CoreXY Build | Thingiverse Profile

                kevinlallshouseundefined 2 Replies Last reply Reply Quote 0
                • kevinlallshouseundefined
                  kevinlallshouse @Phaedrux
                  last edited by

                  @phaedrux yes everything seems to be working now after your help so thank you all for taking so much time to walk me thru it.

                  1 Reply Last reply Reply Quote 0
                  • kevinlallshouseundefined
                    kevinlallshouse @Phaedrux
                    last edited by

                    @phaedrux one last thing if you don't mind. my heat bed is faulting out because it is not heating fast enough i think it said with in 1.3 c a sec. my question is would it be ok to disable that or make it for a longer window to allow to heat? any guidance?

                    engikeneerundefined 1 Reply Last reply Reply Quote 0
                    • engikeneerundefined
                      engikeneer @kevinlallshouse
                      last edited by

                      @kevinlallshouse you need to tune your bed heater:

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

                      E3D TC with D3Mini and Toolboards.
                      Home-built CoreXY, Duet Wifi, Chimera direct drive, 2x BMG, 300x300x300 build volume
                      i3 clone with a bunch of mods

                      kevinlallshouseundefined 1 Reply Last reply Reply Quote 1
                      • kevinlallshouseundefined
                        kevinlallshouse @engikeneer
                        last edited by

                        @engikeneer ok thanks everyone for all the help.

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