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

    My corexy hbot configurations and build pictures

    Scheduled Pinned Locked Moved
    Example setups and prints
    3
    32
    2.1k
    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.
    • tracarundefined
      tracar
      last edited by tracar

      i really did not know much about the sys folder and its contents , but a week later i got my printer working with a bit of help from a couple of smart moderators here : thanks

      this is a work in progress, if you see any thing i need to pay attention to please let me know , i can test it out and see if it fits my build. and i will update as necessary .

      Printer is a custom made Hbot. 500mm x 500mm x 950mm
      dual independent Z axis steppers with each their own endstop

      RepRapFirmware for Duet 2 WiFi/Ethernet version 2.05.1 running on Duet WiFi 1.02 or later

      capable of homing the z axis (Z and U) separately and independently
      to get the bed fairly level

      it also can use G32 bed leveling to get it really level.

      my X/Y endstops are in the rear left corner
      my z endstops are on the left and the right sides of the x axis in the middle of the y axis.

      X0 and Y0 are in the front left corner

      im using external closed loop stepper drivers
      x and y are (5) and (6), z and U are (7) and (8), in the config.g M584

      my endstops are 24v proximity sensors, with schottky bat43 diodes

      my config files are below and are the only files i changed, all else are original

      ; Configuration file for Duet WiFi (firmware version 2.03)
      ; executed by the firmware on start-up
      ; General preferences

      G31 X0 Y0 Z0 P25
      G90 ; send absolute coordinates...
      M83 ; ...but relative extruder moves
      M550 P"Duet2" ; set printer name
      M669 K1 ; select CoreXY mode

      ; Network
      M552 S1 ; enable network
      M586 P0 S1 ; enable HTTP
      M586 P1 S0 ; disable FTP
      M586 P2 S0 ; disable Telnet

      ; Drives
      M569 P5 S0 T5 R1 ; physical drive x axis goes forwards
      M569 P6 S1 T5 R1 ; physical drive y axis goes forwards
      M569 P7 S1 T5 R1 ; physical drive z axis goes forwards
      M569 P8 S1 T5 R1 ; physical drive U axis goes forwards
      M569 P3 S1 ; physical drive Extruder goes forwards
      M584 X6 Y5 Z7:8 U8 E3 P3 ; set drive mapping
      M671 X-50:490 Y330:330 S5 ; x leadscrew position left to right from o,o on y axis , S5 means can adjust up to 5 mm
      M350 X16 Y16 Z16 U16 E16 I1 ; configure micro stepping with interpolation
      M92 X200.00 Y200.00 Z800.00 U800.00 E138.23 ; set steps per mm
      M566 X200.00 Y200.00 Z12.00 U12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
      M203 X25000.00 Y25000.00 Z1000.00 U1000.00 E2400.00 ; set maximum speeds (mm/min)
      M201 X400.00 Y400.00 Z20.00 U20.00 E400.00 ; set accelerations (mm/s^2)
      M906 X300 Y300 Z300 U300 E800 I30 ; set motor currents (mA)
      M84 S30 ; Set idle timeout

      ; Axis Limits
      M208 X0 Y0 Z0 U0 S1 ; set axis minima
      M208 X440 Y535 Z900 U900 S0 ; set axis maxima

      ; Endstops
      M574 X1 Y2 Z1 U1 S0 ; set active high endstops 1= minimum 2=maximum, S1 = normally closed and S2 = normally open

      ; Z-Probe

      M307 H7 A-1 C-1 D-1 ; disable heater on PWM channel for BLTouch
      M558 P9 C"^zprobe.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
      G31 P500 X0 Y0 Z4.247 ; set Z probe trigger value, offset and trigger height
      M557 X70:400 Y180:500 S100 ; define mesh grid x70:400 starts at 50, ends at 400 SXX moves by what its set to between points

      ; Heaters
      M305 P0 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 0
      M143 H0 S120 ; set temperature limit for heater 0 to 120C
      M305 P1 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 1
      M143 H1 S280 ; set temperature limit for heater 1 to 280C

      ; Fans
      M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
      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
      ;M575 P1 S1 B57600 ; enable support for PanelDue

      ; deployprobe.g
      ;deployprobe.g
      M280 P7 S10 ;deploy bltouch

      ;retractprobe.g
      M280 P7 S90 I1 ; retract BLtouch pin

      ; homeall.g
      ; called to home all axes
      ;
      M280 P7 S160
      G91 ; relative positioning
      G1 S2 H2 Z5 F800 ; lift Z relative to current position
      G1 H1 X-445 Y540 F1800 ; move quickly to X or Y endstop and stop there (first pass)
      G1 H1 X-445 ; home X axis
      G1 H1 Y540 ; home Y axis
      G1 X5 Y-5 F800 ; go back a few mm
      G1 H1 X-445 F200 ; move slowly to X axis endstop (second pass)
      G1 H1 Y540 F200 ; move slowly to Y axis endstop (second pass)
      M584 Z7 U8 P4 ; split Z motor control to Z and U
      G1 S1 H1 Z-900 U-900 F400 ; home Z and U axis
      G1 Z5 U5 F200 ; go back a few mm
      G1 H1 Z-900 U-900 F100 ; move slowly to Z and U axis endstop (second pass)
      M584 Z7:8 P3 ; back to combined axes and hidden U
      G90 ; absolute positioning
      G92 Z0 ; set Z position to axis minimum (you may want to adjust this)
      G91 ; relative positioning
      G1 Z10 F800 ; lift Z relative to current position
      G90 ; absolute positioning

      ; homex.g
      ; called to home the X axis
      ;
      M280 P7 S160 ; Alarm Release and Push-Pin UP
      G91 ; relative positioning
      G1 H2 Z5 F800 ; lift Z relative to current position
      G1 H1 X-445 F1800 ; move quickly to X axis endstop and stop there (first pass)
      G1 X5 F800 ; go back a few mm
      G1 H1 X-445 F360 ; move slowly to X axis endstop once more (second pass)
      G1 H2 Z-5 F800 ; lower Z again
      G90 ; absolute positioning

      ; homey.g
      ; called to home the Y axis
      ;
      M280 P7 S160 ; Alarm Release and Push-Pin UP
      G91 ; relative positioning
      G1 H2 Z5 F800 ; lift Z relative to current position
      G1 H1 Y540 F1800 ; move quickly to Y axis endstop and stop there (first pass)
      G1 Y-5 F800 ; go back a few mm
      G1 H1 Y540 F360 ; move slowly to Y axis endstop once more (second pass)
      G1 H2 Z-5 F800 ; lower Z again
      G90 ; absolute positioning

      ; homez.g
      ; called to home the Z axis
      ;
      M280 P7 S160 ; Alarm Release and Push-Pin UP
      G91 ; relative positioning
      G1 S2 H2 Z5 F800 ; lift Z relative to current position
      M584 Z7 U8 P4 ; split Z motor control to Z and U
      G1 S1 H1 Z-900 U-900 F400 ; home Z and U axis
      G1 Z5 U5 F200 ; go back a few mm
      G1 H1 Z-900 U-900 F100 ; move slowly to Z axis endstop (second pass)
      M584 Z7:8 P3 ; back to combined axes and hidden U
      G92 Z0 ; set Z position to axis minimum
      G91 ; relative positioning
      G1 Z5 F400 ; lift Z relative to current position
      G90 ; absolute positioning

      ; bed.g
      ; called to perform automatic bed compensation via G32
      ;
      ; generated by RepRapFirmware Configuration Tool v3.1.4 on Sun Aug 02 2020 19:54:07

      M280 P7 S90
      M561 ; clear all bed compensation
      G28 ; home all axis
      G90 ; absolute positioning
      G1 X220 Y330 Z25 ; move probe to center of the bed
      G30 ; set Z0 position with the probe
      G1 Z25 ; return to 25mm height
      G30 P0 X440 Y330 Z-99999 ; probe near a leadscrew, half way along Y axis
      G30 P1 X0 Y330 Z-99999 S2 ; probe near a leadscrew and calibrate 2 motors
      G1 X220 Y330 Z25 ; move probe to center of the bed
      G30 ; set Z0 position with the probe
      M280 P7 S90

      i hope by leaving this as an example for others it can be a good visual aide.

      pictures of pin connections and printer layout to come.

      1 Reply Last reply Reply Quote 0
      • Vetiundefined
        Veti
        last edited by

        @tracar said in My corexy hbot configurations and build pictures:

        M305 P0 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 0
        M305 P1 T100000 B4138 R4700 ; set thermistor + ADC parameters for heater 1

        your thermistor settings are not configured properly. 4138 is the default and most likely wrong for your thermistors.

        tracarundefined 1 Reply Last reply Reply Quote 0
        • tracarundefined
          tracar @Veti
          last edited by

          @Veti
          this i had no clue i needed to fix. what do i need to do to fix this ?

          Vetiundefined 1 Reply Last reply Reply Quote 0
          • Vetiundefined
            Veti @tracar
            last edited by

            @tracar

            find out what thermistors you have and look in the spec sheet and find the beta value.

            tracarundefined 1 Reply Last reply Reply Quote 0
            • tracarundefined
              tracar @Veti
              last edited by tracar

              @Veti
              ahhhh , i had to configer these in marlin as a 6 on the old prusa
              i think that was a 100k

              1 Reply Last reply Reply Quote 0
              • Vetiundefined
                Veti
                last edited by

                nearly all thermistors used today are 100k

                marlin 6 is

                • 6 : 100k EPCOS - Not as accurate as table 1 (created using a fluke thermocouple) (4.7k pullup)
                  

                not a good starting point.

                where did you buy the thermistors?

                tracarundefined 1 Reply Last reply Reply Quote 0
                • tracarundefined
                  tracar @Veti
                  last edited by

                  @Veti
                  think it came with the prusa, i3 clone from folgertech a few tears ago!!

                  1 Reply Last reply Reply Quote 0
                  • Vetiundefined
                    Veti
                    last edited by

                    the prusa i3 clone comes with a mk8 hotend. are you still using that?

                    tracarundefined 1 Reply Last reply Reply Quote 0
                    • tracarundefined
                      tracar @Veti
                      last edited by

                      @Veti has been parted out long ago.
                      after reading up on this thermister stuff, i see what you are trying to get after.
                      i dont think i have the info, but can find out by using a temp probe . Or just ordering some from amazon that the values are known.

                      1 Reply Last reply Reply Quote 0
                      • Vetiundefined
                        Veti
                        last edited by

                        if you can establish the resistance at certain temperatures, then that would be perfect.

                        measure the resistance at something like 25, 120 and 240.

                        then use the https://configtool.reprapfirmware.org/Heaters click on the Beta value, select custom and enter those values.
                        It will calculate B and C for you. That would be more accurate as thermistors have variations that can lead to +/- 10 C.

                        Failing to do that you can buy a thermistor.
                        Preferable a Semitec 104-GT2.
                        I personally use a PT1000 (no daughter board necessary) for hotend and bed.

                        1 Reply Last reply Reply Quote 0
                        • tracarundefined
                          tracar
                          last edited by

                          @Veti said in My corexy hbot configurations and build pictures:

                          f you can establish the resistance at certain temperatures, then that would be perfect.
                          measure the resistance at something like 25, 120 and 240.
                          then use the https://configtool.reprapfirmware.org/Heaters click on the Beta value, select custom and enter those values.
                          It will calculate B and C for you. That would be more accurate as thermistors have variations that can lead to +/- 10 C.
                          Failing to do that you can buy a thermistor.
                          Preferable a Semitec 104-GT2.
                          I personally use a PT1000 (no daughter board necessary) for hotend and bed

                          i understand, even with my current setup, i notice, its always overshooting the temp around 10 degrees, but then adjusts it to where it needs to be.

                          Vetiundefined 1 Reply Last reply Reply Quote 0
                          • Vetiundefined
                            Veti @tracar
                            last edited by

                            @tracar
                            that is an indication that you need to adjust the pid tuning.

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

                            If during initial heating the temperature undershoots the target, reduce the A parameter. If it overshoots the target, increase the A parameter. Try increasing/decreasing it by 5% or 10%.

                            tracarundefined 1 Reply Last reply Reply Quote 0
                            • tracarundefined
                              tracar
                              last edited by

                              so 3724.2 would be a good starting point

                              1 Reply Last reply Reply Quote 0
                              • tracarundefined
                                tracar @Veti
                                last edited by

                                @Veti said in My corexy hbot configurations and build pictures:

                                what about

                                M303 H1 S240 ; auto tune heater 1, default PWM, 240C target or maximum temperature

                                M303 ; report the auto-tune status or last result

                                1 Reply Last reply Reply Quote 0
                                • Vetiundefined
                                  Veti
                                  last edited by

                                  yes and save those values in your config.g

                                  1 Reply Last reply Reply Quote 0
                                  • tracarundefined
                                    tracar
                                    last edited by tracar

                                    the results of the M303 H1 S240

                                    M307 H1 was used to get this info after the M303 H1 S240:

                                    Heater 1 model: gain 869.9, time constant 308.4, dead time 3.1, max PWM 1.00, calibration voltage 24.2, mode PID, inverted no, frequency default
                                    Computed PID parameters for setpoint change: P20.7, I0.672, D44.3
                                    Computed PID parameters for load change: P20.

                                    does it auto save this info? or how and where do i add this

                                    1 Reply Last reply Reply Quote 0
                                    • mrehorstdmdundefined
                                      mrehorstdmd
                                      last edited by

                                      Is it H-bot or corexy? AFAIK, it can't be both...

                                      https://drmrehorst.blogspot.com/

                                      tracarundefined 2 Replies Last reply Reply Quote 0
                                      • tracarundefined
                                        tracar @mrehorstdmd
                                        last edited by

                                        @mrehorstdmd hbot

                                        1 Reply Last reply Reply Quote 0
                                        • tracarundefined
                                          tracar @mrehorstdmd
                                          last edited by tracar

                                          @mrehorstdmd

                                          so after auto tuning and creating this :
                                          M307 H1 A869.9 C308.4 D3.1 V24.2 B0
                                          where in the config.g do i place it?
                                          what is the B0? for

                                          Vetiundefined 1 Reply Last reply Reply Quote 0
                                          • Vetiundefined
                                            Veti @tracar
                                            last edited by

                                            @tracar said in My corexy hbot configurations and build pictures:

                                            where in the config.g do i place it?

                                            after the
                                            M950 H1
                                            command

                                            B0 Disables Bang Bang and enables PID mode.

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