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

    What its wrong....

    Scheduled Pinned Locked Moved
    General Discussion
    9
    17
    677
    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.
    • rjenkinsgbundefined
      rjenkinsgb
      last edited by rjenkinsgb

      Is this any help?

      It all works fine.
      (Only showing the bed & a couple of tools)

      ; Heaters
      ; H0 = Bed
      M308 S0 P"temp3" Y"thermistor" A"BED" T100000 B4138 ; 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
      M140 H0                                      ; map heated bed to heater 0
      M143 H0 S120                                 ; set temperature limit for heater 0 to 120C
      
      ; H1 = Tool 0
      M308 S1 P"20.temp0" Y"thermistor" A"T0" T1070 B-416
      M950 H1 C"20.out0" T1                        ; create nozzle heater output on 20.out0 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
      
      ; H2 = Tool 1
      M308 S2 P"21.temp0" Y"thermistor" A"T1" T100000 B4725 C7.06e-8
      M950 H2 C"21.out0" T2                        ; create nozzle heater output on 20.out0 and map it to sensor 1
      M307 H2 B0 S1.00                             ; disable bang-bang mode for heater  and set PWM limit
      M143 H2 S280                                 ; set temperature limit for heater 1 to 280C
      
      

      Then the fans:

      ; Fans
      ; Tool 0
      M950 F0 C"20.out1" Q500                      ; create fan 0 on pin 20.out1 and set its frequency
      M106 P0 S0 H-1                               ; set fan 0 value. Thermostatic control is turned off
      M950 F1 C"20.out2" Q500                      ; create fan 1 on pin 20.out2 and set its frequency
      M106 P1 S1 H1 T45                            ; set fan 1 value. Thermostatic control is turned on
      
      ; Tool 1
      M950 F2 C"21.out1" Q500                      ; create fan 0 on pin 21.out1 and set its frequency
      M106 P2 S0 H-1                               ; set fan 0 value. Thermostatic control is turned off
      M950 F3 C"21.out2" Q500                      ; create fan 1 on pin 21.out2 and set its frequency
      M106 P3 S1 H2 T45                            ; set fan 1 value. Thermostatic control is t
      
      

      Then the tool definitions:

      ; Tools
      ; T0
      M563 P0 S"Hem-HT" D0 H1 F0                   ; define tool 0: Heater 1, Print cooling fan = Fan 0
      G10 P0 X0 Y0 Z-2.94                          ; set tool 0 axis offsets
      G10 P0 R0 S210                               ; set initial tool 0 active and standby temperatures to 0C
      M572 D0 S0.03                                ; Pressure advance - Direct drive
      M207 P0 S2.0 F2400 Z0.075                    ; Firmware retraction setting
      
      ; T1
      M563 P1 S"V6"  D1 H2 F2                      ; define tool 1: Heater 2, Print cooling fan = Fan 2
      G10 P1 X0 Y0 Z-1.75                          ; set tool 1 axis offsets
      G10 P1 R0 S210                               ; set initial tool 1 active and standby temperatures to 0C
      M572 D1 S0.4                                 ; Pressure advance - Long bowden
      M207 P1 S2.0 F2400 Z0.075                    ; Firmware retraction setting
      
      

      Robert J.

      Printers: Overlord pro, Kossel XL+ with Duet 6HC and "Frankentron", TronXY X5SA Pro converted to E3D toolchange with Duet 6HC and 1LC toolboards.

      1 Reply Last reply Reply Quote 0
      • peirofundefined
        peirof
        last edited by

        @nastasiya09 what do you need?

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

          @peirof post your full config.g

          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

          peirofundefined 1 Reply Last reply Reply Quote 0
          • peirofundefined
            peirof @engikeneer
            last edited by

            @engikeneer

            config.g

             General preferences
            G90                                     ; send absolute coordinates...
            M83                                     ; ...but relative extruder moves
            M550 P"V-Core 3"                        ; set printer name
            M669 K1                                 ; CoreXY
            G29 S1                                  ; Set Units to Millimeters
            
            ; Network
            M587 S"PT_2" P"a1b2c3d4"
            M552 S1                        ; enable network and acquire dynamic address via DHCP
            M586 P0 S1                              ; enable HTTP
            M586 P1 S0                              ; disable FTP
            M586 P2 S0                              ; disable Telnet
            
            ;Panel Due
            
            M575 P1 B57600
            
            ; Drives
            M569 P0.0 S0 D3                         ; physical drive 0.0 goes forwards z NO VA
            M569 P0.1 S0 D3                         ; physical drive 0.1 goes forwards Z0
            M569 P0.2 S0 D3                         ; physical drive 0.2 goes forwards Z1
            M569 P0.3 S0 D3                         ; physical drive 0.4 goes forwards Z2
            M569 P0.4 S1 D3                         ; physical drive 0.5 goes forwards E
            M569 P0.5 S1 D3 						; physical drive 0.5 goes forwards X
            M569 P0.6 S1 D3 						; physical drive 0.5 goes forwards Y
            
            M584 X0.5 Y0.6 Z0.1:0.2:0.3 E0.4        ; set drive mapping
            M350 X16 Y16 Z16 E16 I1                 ; configure microstepping with interpolation
            
            M92 X160.00 Y160.00 Z1600.00               ; set steps per mm
            M906 X1000 Y1000 Z1000 I30               ; set motor currents (mA) and motor idle factor in per cent
            M84 S30                                 ; Set idle timeout
            
            M566 X400.00 Y400.00 Z6.00 E120.00 P1          ; set maximum instantaneous speed changes (mm/min)
            M203 X10800.00 Y10800.00 Z1000.00 E3600.00     ; set maximum speeds (mm/min)
            M201 X3000.00 Y3000.00 Z100.00 E3600.00        ; set accelerations (mm/s^2)
            
            ; Axis Limits
            M208 X-195 Y-195 Z0 S1                               ; set axis minima
            M208 X195 Y195 Z400 S0                         ; set axis maxima
            
            ; Endstops
            M574 X1 S1 P"io2.in"                           ; configure active high endstops
            M574 Y2 S1 P"io3.in"                           ; configure active high endstops
            M574 Z1 S2                                     ; configure Z-probe endstop for low end on Z
            
            M671 X-204.5:0:204.5 Y-201.5:207.5:-201.5 S5       ; define positions of Z leadscrews or bed levelling screws
            M557 X-165:165 Y-165:165 P5                        ; define 5x5 mesh grid
            
            ; Heaters
            M308 S0 P"temp0" Y"thermistor" T100000 B3550 A"Cama"    ; configure sensor 0 as thermistor on pin temp0
            M307 H1 B0 R3.161 C199.4 D11.35 S1.00 V24.0
            M950 H0 C"out0" T0                                     ; create bed heater output on out5 and map it to sensor 0
            M307 H0 R0.763 K0.354:0.000 D5.49 E1.35 S1.00 B0				; disable bang-bang mode for the bed heater and set PWM limit
            M140 H0                                                ; map heated bed to heater 0
            M143 H0 S110                                           ; set temperature limit for heater 0 to 110C
            
            ;; Run Bed PID Tune!! Bellow is an example for a 300x300 bed
            ;; M307 H0 A303.1 C356.7 D1.4 S1.00 V24.0 B0
            
            ; Fans
            M950 F0 C"out3" Q500                   ; create fan 0 on pin out3 and set its frequency
            M106 P0 C"Ventilador Hotend" S0 H0:1 T45 L255   ; set fan 0 name and value. Thermostatic control turned on for Hotend
            M950 F1 C"out4" Q500                   ; create fan 1 on pin out4 and set its frequency
            M106 P1 C"Ventilador Capa" S0 H-1 L255       ; set fan 1 name and value. Thermostatic control is turned off
            M950 F2 C"out5" Q500                   ; create fan 1 on pin out4 and set its frequency
            M106 P2 C"Vent Elec" S0 H-1        ; set fan 1 name and value. Thermostatic control is turned off
            ; Tools
            M563 P0 D0 H1 F1           ; 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
            
            M950 H1 C"out1" T1         ; create nozzle heater output on out2 and map it to sensor 1
            M307 H1 B0 S1.00           ; disable bang-bang mode for heater and set PWM limit
            M143 H1 S250               ; set the maximum temperature in C for heater
            
            ; EVA 2 / BMG / E3D V6
            
            M92 E830          ; set extruder steps per mm, 0.9 angle/step (LDO Pancake)
            M906 E800         ; set extruder motor current (mA) and idle factor in per cent
            
            M308 S1 P"temp1" Y"thermistor" T100000 B4700 A"Hotend"  ;M308 S1 P"temp1" Y"thermistor" T100000 B4725 C7.060000e-8 A"Hotend"
            ;; Run Heater PID Tune!! 
            ;; M307 H1 A751.5 C196.6 D4.7 S1.00 V23.9 B0
            
            
            ; BLTouch
            M950 S0 C"io1.out"                     ; Create a servo pin on io7
            M558 P9 C"io1.in" H9 F150 T10800 A5    ; set Z probe type to unmodulated and the dive height + speeds
            G31 P25 X-28.00 Y-13.00 Z0.90          ; set Z probe trigger value, offset and trigger height, more Z means closer to the bed
            
            T0
            
            ; Pressure Advance
            M572 D0 S0.10
            
            gloomyandyundefined droftartsundefined 2 Replies Last reply Reply Quote 0
            • gloomyandyundefined
              gloomyandy @peirof
              last edited by

              @peirof What happens if you run the following....
              M98 P"config.g"

              It looks to me like you have some problems with the order that you are doing things. So for instance you need to define the temperature sensors before you try and reference them (when creating heaters and thermostatically controlled fans). Similarly you need to create the heaters before you can set tuning parameters for them. Finally you need to define the heaters/fans etc. before you defines tools that use those heaters/fans.

              peirofundefined 1 Reply Last reply Reply Quote 1
              • peirofundefined
                peirof @gloomyandy
                last edited by

                @gloomyandy said in What its wrong....:

                M98 P"config.g"

                i have this response in console

                M98 P"config.g"
                

                Warning: the height map was loaded when the current Z=0 datum was not determined by probing. This may result in a height offset.
                HTTP is enabled on port 80
                FTP is disabled
                TELNET is disabled
                Warning: Heater 1 predicted maximum temperature at full power is 655°C

                fcwiltundefined 1 Reply Last reply Reply Quote 0
                • fcwiltundefined
                  fcwilt @peirof
                  last edited by

                  @peirof said in What its wrong....:

                  M98 P"config.g"
                  Warning: the height map was loaded when the current Z=0 datum was not determined by probing. This may result in a height offset.
                  HTTP is enabled on port 80
                  FTP is disabled
                  TELNET is disabled
                  Warning: Heater 1 predicted maximum temperature at full power is 655°C

                  When creating/loading the heightmap you need to first set the Z=0 Datum using a single G30 at the center of the bed.

                  Something like:

                  G1 Xaaa Ybbb ; where aaa and bbb move the probe to the center of your bed
                  G30          ; set the Z=0 Datum
                  

                  The warning is just that - a warning. I make note of it but otherwise ignore it.

                  Frederick

                  Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                  1 Reply Last reply Reply Quote 0
                  • droftartsundefined
                    droftarts administrators @peirof
                    last edited by

                    @peirof said in What its wrong....:

                    Under 'General preferences', you have:

                    G29 S1 ; Set Units to Millimeters
                    

                    G29 S1 loads the bed mesh; G21 sets units to millimeters.

                    Ian

                    Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                    peirofundefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
                    • peirofundefined
                      peirof @droftarts
                      last edited by

                      @droftarts thx, catch

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

                        @droftarts said in What its wrong....:

                        G29 S1 ; Set Units to Millimeters

                        I've been seeing this in many configs lately. I wonder where it's coming from.

                        @peirof Did you generate your config with the online config tool?

                        Z-Bot CoreXY Build | Thingiverse Profile

                        peirofundefined 1 Reply Last reply Reply Quote 0
                        • peirofundefined
                          peirof @Phaedrux
                          last edited by

                          @phaedrux no.... Ratrig webpage.... there is a configuration for her machine... but has some fails

                          droftartsundefined 1 Reply Last reply Reply Quote 0
                          • droftartsundefined
                            droftarts administrators @peirof
                            last edited by droftarts

                            @peirof This page? https://v-core.ratrig.com/firmware/
                            Can you let me know any other issues with the page? I'll email them a list, as there doesn't seem to be a comments system on that page.

                            Ian

                            Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                            peirofundefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
                            • peirofundefined
                              peirof @droftarts
                              last edited by peirof

                              @droftarts now I cant, later... I can remember 2 small things:

                              • In Duet 3 mini. Io0, its ocupes if you want install panel due without ribbon cable, you have to move it...

                              • in fan lines there is parameters, there are not necessary..

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

                                @droftarts said in What its wrong....:

                                @peirof This page? https://v-core.ratrig.com/firmware/
                                Can you let me know any other issues with the page? I'll email them a list, as there doesn't seem to be a comments system on that page.

                                Ian

                                I seem to recall @oliof maybe being involved there somehow.

                                Z-Bot CoreXY Build | Thingiverse Profile

                                oliofundefined 1 Reply Last reply Reply Quote 0
                                • oliofundefined
                                  oliof @Phaedrux
                                  last edited by

                                  @phaedrux @droftarts yes, I'm part of their beta team. I can forward any suggestions to improve the configurations.

                                  <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

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