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

    help with config.g

    Scheduled Pinned Locked Moved
    General Discussion
    5
    29
    1.6k
    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 @patterson6
      last edited by

      @patterson6 said in help with config.g:

      i changed the spi.cs0 to spi.cs1 even spi.cs2 even spi.cs3. nothing worked and all said 2000c.

      Photo of your wiring at the daughterboard?

      Z-Bot CoreXY Build | Thingiverse Profile

      patterson6undefined 1 Reply Last reply Reply Quote 0
      • patterson6undefined
        patterson6 @Phaedrux
        last edited by

        @Phaedrux image1.jpeg image0.jpeg

        from the duet 2 to duet 3 the rest of the hardware has been untouched. Its been a year but i think the pt100 was working at that time.

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

          Can you get a closer show of the daughterboard itself? Can you remove it and reseat it?

          Z-Bot CoreXY Build | Thingiverse Profile

          patterson6undefined 1 Reply Last reply Reply Quote 0
          • patterson6undefined
            patterson6 @Phaedrux
            last edited by

            @Phaedrux i removed it and checked the pins. seems to be seated properly. i have an extra smart effector i can try that i guess. if not i can buy another pt100. seems more like software.

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

              Can you do this test on the daughterboard?

              https://duet3d.dozuki.com/Wiki/Connecting_PT100_temperature_sensors#Section_To_test_the_functionality_of_one_of_the_PT100_channels

              Z-Bot CoreXY Build | Thingiverse Profile

              patterson6undefined 2 Replies Last reply Reply Quote 0
              • patterson6undefined
                patterson6 @Phaedrux
                last edited by

                @Phaedrux pretty sure i can. give me a little bit

                1 Reply Last reply Reply Quote 0
                • patterson6undefined
                  patterson6 @Phaedrux
                  last edited by

                  @Phaedrux so i found a 100ohm in my bin and wired it up. On channel P"spi.cs0". I am now getting 4.3c on the hotend. So i am going to put in the new smart effector when i can and order a new pt100 to be safe. thanks

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

                    The daughter board comes with a 100Ω resistor that you can wire in place of a two wire sensor to check the board is working correctly. With the resistor in place, the reading should be 0°C.

                    If the reading at room temperature is higher than it should be, then you probably have a bad connection between the RTD interface board and the sensor, or the wires to the sensor are too long or too thin. Each additional ohm of wiring resistance will increase the temperature reading by 2.5C. Using a 4 wire solution PT100 sensor will improve this. If you only have a 2 wire P100 sensor you can still improve the accuracy by using 4 wires for the majority of the distance

                    Z-Bot CoreXY Build | Thingiverse Profile

                    patterson6undefined 1 Reply Last reply Reply Quote 0
                    • patterson6undefined
                      patterson6 @Phaedrux
                      last edited by

                      @Phaedrux You mind checking my starting and ending scripts? The starting script seems to work like it should. let me know if you see anything out of place or odd. The ending script does not work like it really should. One of the main problems was the color Teal would not even show in the cool down period. It would just go to green as showing finished.

                      starting script

                      ;*********************************** RED HEATING UP ********************************************
                      M106 P4 S0.0 ; Turn off white led
                      M106 P5 S1.0 ; Turn on red led
                      M106 P6 S0.0 ; Turn off green led
                      M106 P7 S0.0 ; Turn off blue led
                      ;*************************************************************************************************

                      G21 ; Set Units to Millimeters
                      G90 ; Set to Absolute Positioning
                      M82 ; Set extruder to absolute mode
                      G28 ; Home
                      M400 ; Finish all moves above first

                      M104 S140 ; Set extruder temperature
                      M141 H2 S70 ; Set chamber radiator temperature
                      ;M141 H2 S35 ; Set chamber recirc temperature *not in use at this time
                      M191 P70 ; Wait for chamber temperature to reach target temp
                      M109 S140 ; Wait for extruder temperature to reatch target temp
                      M400 ; Finish all moves above firrst

                      ;********************************** PURPLE * PRE HEATED and START CALI * **************************
                      M106 P7 S1.0 ; Turn on blue to make purple
                      ;**************************************************************************************************

                      G32 ; Auto Calibration
                      M400 ; Finish all moves above first

                      ;********************************** ORANGE Achieve final temps * ***********************************
                      M106 P6 S0.06 ; Turn on green led 6% to make orange
                      M106 P7 S0.0 ; Turn off blue
                      ;
                      *************************************************************************************************

                      M104 S[extruder0_temperature] T0 ; Set extruder temperature
                      M109 S[extruder0_temperature] T0 ; Set extruder temperature to first layer temp
                      M400 ; Finish all moves above first

                      ;*********************************** WHITE * START PRINT* *****************************************
                      M106 P4 S1.0 ; Turn on white led
                      M106 P5 S0.0 ; Turn off red led
                      M106 P6 S0.0 ; Turn off green led
                      M106 P7 S0.0 ; Turn off blue led
                      ;**************************************************************************************************

                      ending script

                      G28 ; Move home
                      M104 S0 ; Cool the extruder
                      M106 P3 S0.0 ; Turn off berd-air

                      ;*********************************** TEAL COOLING OFF *********************************************
                      M106 P4 S0.0 ; Turn off white led
                      M106 P5 S0.0 ; Turn off red led
                      M106 P6 S1.0 ; Turn on green led
                      M106 P7 S1.0 ; Turn on blue led
                      ;****************************************************************************************************

                      M191 S35 ; Wait for chamber temperature to reach target temp
                      M190 S35 ; Wait for bed temperature to reach target temp
                      M400 ; Finish all moves above first

                      M140 S0 ; Turn off bed
                      M141 H2 S0 ; Turn off chamber radiator
                      ;M141 H2 S0 ; Turn off chamber recirc heater *not in use at this time
                      M400 ; Finish all moves above first

                      ;*********************************** GREEN FINISHED **********************************************
                      M106 P4 S0.0 ; Turn off white led
                      M106 P5 S0.0 ; Turn off red led
                      M106 P6 S1.0 ; Turn on green led
                      M106 P7 S0.0 ; Turn off blue led
                      ;***************************************************************************************************

                      M84 ; Disable motors
                      ;end

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

                        @patterson6 said in help with config.g:

                        M191 S35 ; Wait for chamber temperature to reach target temp
                        M190 S35 ; Wait for bed temperature to reach target temp

                        It's probably ignoring these commands because the target temp is too low.

                        Note: M190 will not wait for temperatures below 40c because in many cases they may never be reached due to ambient temps. So if you want to wait for a bed to cool, use 41c or higher.

                        This goes for all the other heater commands as well.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        patterson6undefined 1 Reply Last reply Reply Quote 0
                        • patterson6undefined
                          patterson6 @Phaedrux
                          last edited by

                          @phaedrux

                          ok so i really haven't been able to print anything yet. The problem i am having is the nozzle is pushing down on the bed at the start of the print. Added 2mm to Z-axis in S3D and im still getting the same effect. I tried just using auto cali, mesh and then both and same results in starting script. When i G32 i M500 and saved the info to config override. The height map is mostly green with a touch of blue after G29. Im not great at this part. What would you need to see to help me?

                          Back on the duet 2 i had this bad boy printing anywhere with no prob using mesh. I dont have a mesh.g. Do i need one? Thanks

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

                            Let's see your bed.g, homedelta.g for starters.

                            Z-Bot CoreXY Build | Thingiverse Profile

                            patterson6undefined 2 Replies Last reply Reply Quote 0
                            • patterson6undefined
                              patterson6 @Phaedrux
                              last edited by

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • patterson6undefined
                                patterson6 @Phaedrux
                                last edited by

                                @phaedrux

                                ; bed.g
                                ; called to perform automatic delta calibration via G32
                                ;
                                ; generated by RepRapFirmware Configuration Tool v3.2.3 on Sun Feb 28 2021 07:03:53 GMT-0600 (Central Standard Time)
                                M561 ; clear any bed transform
                                ; bed.g file for RepRapFirmware, generated by Escher3D calculator
                                ; 16 points, 6 factors, probing radius: 215, probe offset (0, 0)
                                G28
                                G30 P0 X0.00 Y215.00 Z-99999 H0
                                G30 P1 X138.20 Y164.70 Z-99999 H0
                                G30 P2 X211.73 Y37.33 Z-99999 H0
                                G30 P3 X186.20 Y-107.50 Z-99999 H0
                                G30 P4 X73.53 Y-202.03 Z-99999 H0
                                G30 P5 X-73.53 Y-202.03 Z-99999 H0
                                G30 P6 X-186.20 Y-107.50 Z-99999 H0
                                G30 P7 X-211.73 Y37.33 Z-99999 H0
                                G30 P8 X-138.20 Y164.70 Z-99999 H0
                                G30 P9 X0.00 Y107.50 Z-99999 H0
                                G30 P10 X93.10 Y53.75 Z-99999 H0
                                G30 P11 X93.10 Y-53.75 Z-99999 H0
                                G30 P12 X0.00 Y-107.50 Z-99999 H0
                                G30 P13 X-93.10 Y-53.75 Z-99999 H0
                                G30 P14 X-93.10 Y53.75 Z-99999 H0
                                G30 P15 X0 Y0 Z-99999 S6

                                ; homedelta.g
                                ; called to home all towers on a delta printer
                                ;
                                ; generated by RepRapFirmware Configuration Tool v3.2.3 on Sun Feb 28 2021 07:03:54 GMT-0600 (Central Standard Time)
                                G91 ; relative positioning
                                G1 H1 X1200 Y1200 Z1200 F2200 ; move all towers to the high end stopping at the endstops (first pass)
                                G1 H2 X-5 Y-5 Z-5 F1800 ; go down a few mm
                                G1 H1 X10 Y10 Z10 F360 ; move all towers up once more (second pass)
                                G1 Z-5 F6000 ; move down a few mm so that the nozzle can be centred
                                G90 ; absolute positioning
                                G1 X0 Y0 F6000 ; move X+Y to the centre

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

                                  @patterson6 said in help with config.g:

                                  M558 P5 R0.4 C"io3.in+io3.out" H5 F1200 T6000 ; set Z probe type to effector and the dive height + speeds
                                  G31 P100 X0 Y0 Z4 ; set Z probe trigger value, offset and trigger height

                                  What type of z probe do you have and have you measured the trigger height?

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

                                  Can you post an image of your heightmap display?

                                  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