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

Zortrax M200 Duet Conversion

Scheduled Pinned Locked Moved
General Discussion
13
99
25.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.
  • undefined
    Corexy
    last edited by 20 Oct 2016, 07:57

    Here's a start…

    M111 S0 ; Debug off
    M550 ZortraxM200 ; Machine name
    M551 Preprap ; Machine password (used for FTP)
    M552 S1 ; Enable WiFi
    M555 P2 ; Set output to look like Marlin
    M575 P1 B57600 S1 ; Comms parameters for PanelDue
    G21 ; Work in millimetres
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves

    1 Reply Last reply Reply Quote 0
    • undefined
      dc42 administrators
      last edited by 20 Oct 2016, 08:03

      Try using https://configurator.reprapfirmware.org/ to generate your configuration files. One thing it doesn't yet get right is the homez.g and homeall.g files if you use a microswitch for Z homing instead of a Z probe.

      Duet WiFi hardware designer and firmware engineer
      Please do not ask me for Duet support via PM or email, use the forum
      http://www.escher3d.com, https://miscsolutions.wordpress.com

      1 Reply Last reply Reply Quote 0
      • undefined
        Corexy
        last edited by 20 Oct 2016, 08:30

        @dc42:

        Try using https://configurator.reprapfirmware.org/ to generate your configuration files. One thing it doesn't yet get right is the homez.g and homeall.g files if you use a microswitch for Z homing instead of a Z probe.

        Cheers again.

        What would I enter for "firmware compatibility"?

        It's got Marlin by default, but wouldn't it be Reprap Firmware?

        I pressed "Home" on the paneldue, and both X and Y traveled in the opposite direction they should if they were to operate the Z limit switches.

        Would that mean I need to reverse the 2 drives? Which ones please?

        As well as that, the configurator describes motors as "M584" when it seems to be "M569" in the config file. Or am I wrong or need to change it to M584?

        It all started up on 24v fine by the way.

        1 Reply Last reply Reply Quote 0
        • undefined
          deckingman
          last edited by 20 Oct 2016, 09:18

          @dc42:

          Try using https://configurator.reprapfirmware.org/ to generate your configuration files. One thing it doesn't yet get right is the homez.g and homeall.g files if you use a microswitch for Z homing instead of a Z probe.

          And the other thing it doesn't do right is configuring the microstepping. It generates M350 X16 X16 X16 X16 I0 (that's for 1 extruder) when it should be M350 X16 Y16 Z16 E16 I1. i.e. it doesn't set microstepping for Y,Z and the extruder(s) but more importantly, it turns microstepping off when the default is on.

          Ian
          https://somei3deas.wordpress.com/
          https://www.youtube.com/@deckingman

          1 Reply Last reply Reply Quote 0
          • undefined
            Corexy
            last edited by 20 Oct 2016, 10:03

            OK, so which firmware setting should I use?

            I'll go through page by page, and ask the "for dummies" questions as I go.

            I did reverse the X and Y motors as mentioned above, and actually got it to home against the end stop switches…small noob victory!

            1 Reply Last reply Reply Quote 0
            • undefined
              iDevelo
              last edited by 20 Oct 2016, 10:15

              Set it to Marlin. Leave your motors at 16x micro stepping then edit your config.g after you have uploaded it and set the I parameter in the M350 line to 1

              1 Reply Last reply Reply Quote 0
              • undefined
                Corexy
                last edited by 20 Oct 2016, 20:58

                @iDevelo:

                Set it to Marlin. Leave your motors at 16x micro stepping then edit your config.g after you have uploaded it and set the I parameter in the M350 line to 1

                Thank you.

                So I've gone through the configurator and haven't changed much other than the dimensions of my bed, probing points offset, I've made XY probing active high/high end, Z probe at high end.

                All other values I've just left as is.

                My concern now is the heater probe settings.

                I have a standard Zortrax thermistor on the bed with a resistance of 123.5kohm, and an S3D PT100 on the extruder. (I will change the bed to a PT100 later, but want to see it work for now).

                Also should I use PID or bang bang for the bed?

                The PT100 is connected to RTD1 on the daughter board, and the thermistor is connected to the bed sensor plug on the board near the bed heater terminal block.

                I haven't changed any of the offset/jerk/current/etc settings as I'd assume they are set at a reasonable starting point and can be tweaked later as we see how this all goes.

                Also, if I go to finish the configuration, it gives me 13 files to download.

                Do I delete all the files already on my Duetwifi's SD and replace it with all of these, or just the config.g file?

                Bit frustrating as I'm on the other side of the world and have to wait for people in other timezones before I can move on, but I really appreciate (and need) all the assistance.

                Cheers again

                1 Reply Last reply Reply Quote 0
                • undefined
                  dc42 administrators
                  last edited by 20 Oct 2016, 21:11

                  The configuration tool gives you the option to download a zip file. If you do that, you can upload that zip file via the General tab of the Settings page of DWC, and it will upload all 13 files in one go.

                  Duet WiFi hardware designer and firmware engineer
                  Please do not ask me for Duet support via PM or email, use the forum
                  http://www.escher3d.com, https://miscsolutions.wordpress.com

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    Corexy
                    last edited by 20 Oct 2016, 21:18

                    @dc42:

                    The configuration tool gives you the option to download a zip file. If you do that, you can upload that zip file via the General tab of the Settings page of DWC, and it will upload all 13 files in one go.

                    Ok, thank you.

                    Do I delete the existing files first or will it overwrite them?

                    Can you help with the other questions regarding settings?

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      dc42 administrators
                      last edited by 20 Oct 2016, 21:42

                      It will overwrite them.

                      The only other configuration question I saw in your previous post is whether to use PID or bang bang for the bed heater. I suggest you start with bang bang and switch to PID when you have run auto tuning on the heater.

                      Duet WiFi hardware designer and firmware engineer
                      Please do not ask me for Duet support via PM or email, use the forum
                      http://www.escher3d.com, https://miscsolutions.wordpress.com

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        Bobblejot
                        last edited by 20 Oct 2016, 22:13

                        Go to Zortrax and get the specs for your machine e.g stepper motor sizes thermistor types etc… , its basically an ultimaker clone so for basic parameters

                        X axis homes to min
                        Y axis homes to max
                        Z axis homes to max

                        X axis steps per mm 160 ; 1.8° steppers 16x micro stepping GT2 belts 20T Pulleys
                        Y axis steps per mm 160 ; 1.8° steppers 16x micro stepping GT2 belts 20T Pulleys
                        Z axis steps per mm 800 ; 1.8° steppers 16x micro stepping TR8 Lead Screw

                        or

                        X axis steps per mm 320 ; 0.9° steppers 16x micro stepping GT2 belts 20T Pulleys
                        Y axis steps per mm 320 ; 0.9° steppers 16x micro stepping GT2 belts 20T Pulleys
                        Z axis steps per mm 1600 ; 0.9° steppers 16x micro stepping TR8 Lead Screw

                        normally xy are 0.9° degree and z is 1.8°

                        so..

                        X axis steps per mm 320 ; 0.9° steppers 16x micro stepping GT2 belts 20T Pulleys
                        Y axis steps per mm 320 ; 0.9° steppers 16x micro stepping GT2 belts 20T Pulleys
                        Z axis steps per mm 800 ; 1.8° steppers 16x micro stepping TR8 Lead Screw

                        You need to check your stepper motor specs to be sure.

                        X axis max speed 18000 # mm/min
                        Y axis_max speed 18000 # mm/min
                        Z axis max speed 4800 # mm/min

                        X max travel 213 # max travel in mm for alpha/X axis when homing
                        Y max travel 179 # max travel in mm for beta/Y axis when homing
                        Z max travel 195.8 # max travel in mm for gamma/Z axis when homing

                        X axis current 1.3a ; 1300ma
                        Y axis current 1.3a ; 1300ma
                        Z axis current 1.0a ; 1000ma

                        E current 0.8 or 1.0a ; 800ma or 1000ma
                        E steps per mm 800 # Steps per mm for extruder stepper
                        E default feed rate 2700 # Default rate ( mm/minute ) for moves where only the extruder moves
                        E acceleration 1000 # Acceleration for the stepper motor, as of 0.6, arbitrary ratio
                        E max speed 45 # mm/s
                        E retract_length 5 # retract length in mm
                        E retract feedrate 45 # retract feedrate in mm/sec
                        E retract zlift length 0.15 # zlift on retract in mm, 0 disables

                        These are just sort of basic settings for an ultimaker clone, they will need to be tweeked for your Zortrax. But they might give you a starting point or just confuse you more 🙂

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          Corexy
                          last edited by 20 Oct 2016, 23:34

                          @Bobblejot:

                          Go to Zortrax and get the specs for your machine e.g stepper motor sizes thermistor types etc… , its basically an ultimaker clone so for basic parameters

                          X axis homes to min
                          Y axis homes to max
                          Z axis homes to max

                          X axis steps per mm 160 ; 1.8° steppers 16x micro stepping GT2 belts 20T Pulleys
                          Y axis steps per mm 160 ; 1.8° steppers 16x micro stepping GT2 belts 20T Pulleys
                          Z axis steps per mm 800 ; 1.8° steppers 16x micro stepping TR8 Lead Screw

                          or

                          X axis steps per mm 320 ; 0.9° steppers 16x micro stepping GT2 belts 20T Pulleys
                          Y axis steps per mm 320 ; 0.9° steppers 16x micro stepping GT2 belts 20T Pulleys
                          Z axis steps per mm 1600 ; 0.9° steppers 16x micro stepping TR8 Lead Screw

                          normally xy are 0.9° degree and z is 1.8°

                          so..

                          X axis steps per mm 320 ; 0.9° steppers 16x micro stepping GT2 belts 20T Pulleys
                          Y axis steps per mm 320 ; 0.9° steppers 16x micro stepping GT2 belts 20T Pulleys
                          Z axis steps per mm 800 ; 1.8° steppers 16x micro stepping TR8 Lead Screw

                          You need to check your stepper motor specs to be sure.

                          X axis max speed 18000 # mm/min
                          Y axis_max speed 18000 # mm/min
                          Z axis max speed 4800 # mm/min

                          X max travel 213 # max travel in mm for alpha/X axis when homing
                          Y max travel 179 # max travel in mm for beta/Y axis when homing
                          Z max travel 195.8 # max travel in mm for gamma/Z axis when homing

                          X axis current 1.3a ; 1300ma
                          Y axis current 1.3a ; 1300ma
                          Z axis current 1.0a ; 1000ma

                          E current 0.8 or 1.0a ; 800ma or 1000ma
                          E steps per mm 800 # Steps per mm for extruder stepper
                          E default feed rate 2700 # Default rate ( mm/minute ) for moves where only the extruder moves
                          E acceleration 1000 # Acceleration for the stepper motor, as of 0.6, arbitrary ratio
                          E max speed 45 # mm/s
                          E retract_length 5 # retract length in mm
                          E retract feedrate 45 # retract feedrate in mm/sec
                          E retract zlift length 0.15 # zlift on retract in mm, 0 disables

                          These are just sort of basic settings for an ultimaker clone, they will need to be tweeked for your Zortrax. But they might give you a starting point or just confuse you more 🙂

                          Thanks very much.

                          Zortrax will not tell me a thing, they are very difficult that way which is the reason for this project.

                          I would suspect all the steppers are basic 1.8 degrees, and I have taken resistance measurements for all of them before I started if that will help. I'll use your settings for 1.8 deg with 20T pulleys for starters.

                          X axis steps per mm 160 ; 1.8° steppers 16x micro stepping GT2 belts 20T Pulleys
                          Y axis steps per mm 160 ; 1.8° steppers 16x micro stepping GT2 belts 20T Pulleys
                          Z axis steps per mm 800 ; 1.8° steppers 16x micro stepping TR8 Lead Screw

                          I should point out that the Z screw is 12mm by 4mm pitch. I have replaced one in the past. Does that mean I'd use 1600 steps/mm for 1.8 deg stepper?

                          X max travel 213 # max travel in mm for alpha/X axis when homing
                          Y max travel 179 # max travel in mm for beta/Y axis when homing
                          Z max travel 195.8 # max travel in mm for gamma/Z axis when homing
                          Are these ultimaker dimensions? My Zortrax's physical travel dimensions are 195/195/175 respectively, so I'll use those?

                          X axis homes to min
                          Y axis homes to max
                          Z axis homes to max

                          X and Y limit switches are both in the front left corner of the gantry in the Zortrax. Will this still apply?

                          Thanks very much for such a detailed reply.

                          While this is all new to me, this config tool is certainly helpful.

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            Corexy
                            last edited by 20 Oct 2016, 23:42

                            @dc42:

                            It will overwrite them.

                            The only other configuration question I saw in your previous post is whether to use PID or bang bang for the bed heater. I suggest you start with bang bang and switch to PID when you have run auto tuning on the heater.

                            Sorry, yes a couple of my questions were worded as statements.

                            I have a standard Zortrax thermistor on the bed with a resistance of 123.5kohm, connected to the bed sensor plug on the board near the bed heater terminal block.

                            I have an S3D PT100 on the extruder connected to RTD1 on the daughter board.

                            What settings would I use for these in the config tool?

                            1 Reply Last reply Reply Quote 0
                            • undefined
                              dc42 administrators
                              last edited by 21 Oct 2016, 06:25

                              For the bed thermistor, if you measured the resistance as 123k at room temperature, it is probably 100k at 25C. So enter 100000 as the R25 value. Try 4000 for B and zero for C. Leave the sensor channel set to ADC0.

                              For the nozzle, just set the sensor channel to RTD1 which means the first PT100. The other parameters don't matter then.

                              Duet WiFi hardware designer and firmware engineer
                              Please do not ask me for Duet support via PM or email, use the forum
                              http://www.escher3d.com, https://miscsolutions.wordpress.com

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                Corexy
                                last edited by 21 Oct 2016, 09:00

                                OK,

                                So at this point I have it sort of starting to work.

                                As I've got a million questions no doubt regarding setting it up, I think I'll start a new thread in "tuning and tweaking" and save this thread for Zortrax specific mods and developments.

                                I must say the wifi is working fine with my portable router sitting beside the machine and my laptop right at the other side of the house.

                                Thank you very much for the help so far.

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  Bobblejot
                                  last edited by 21 Oct 2016, 11:38

                                  Yep those were the dimensions used for the ultimaker bed, so use your Zortrax dimensions.

                                  Sorry for your 12mm lead screw i dont know what thread pitch Zortrax are using.

                                  Do you have a serial number for the printer because you could always download the latest firmware from their site. Then you can get all the original values from the actual firmware as starting point.

                                  For your limit switches it will probably be

                                  X axis homes to max
                                  Y axis homes to min
                                  Z axis homes to max

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    Bobblejot
                                    last edited by 21 Oct 2016, 11:50

                                    Oh forget to say, when i saw your pictures it didn't look like there was a ground connection from your power supply to the chassis probably would be a good idea since its a metal cased printer.

                                    1 Reply Last reply Reply Quote 0
                                    • undefined
                                      Corexy
                                      last edited by 24 Oct 2016, 07:38

                                      @Bobblejot:

                                      Yep those were the dimensions used for the ultimaker bed, so use your Zortrax dimensions.

                                      Sorry for your 12mm lead screw i dont know what thread pitch Zortrax are using.

                                      Do you have a serial number for the printer because you could always download the latest firmware from their site. Then you can get all the original values from the actual firmware as starting point.

                                      For your limit switches it will probably be

                                      X axis homes to max
                                      Y axis homes to min
                                      Z axis homes to max

                                      Cheers mate, sorry I just saw this.

                                      Zortrax keeps their firmware under lock and key, it apparently can't be viewed or whatever.

                                      If you see my other thread, I'm starting to get there as you'll see.

                                      Seems I have to tweak some speeds for that sweet spot where the steppers don't resonate noisily, still pretty green with this sort of thing.

                                      Please feel free to comment over there, I'll try to keep this thread to the nuts and bolts of the conversion.

                                      I'll look at an earth strap if there isn't one there somewhere.

                                      Loving the paneldue, and made a mount that sits it at 45deg right where you can use it, using existing mounting holes.

                                      Soooooo much better to use than a tiny display with a jog dial right down the bottom where it's a little difficult to view.

                                      1 Reply Last reply Reply Quote 0
                                      • undefined
                                        dc42 administrators
                                        last edited by 24 Oct 2016, 08:06

                                        @Corexy:

                                        Seems I have to tweak some speeds for that sweet spot where the steppers don't resonate noisily, still pretty green with this sort of thing.

                                        Check that your M350 command in config.g has parameter I1 not I0. The config tool used to generate I0 by default until very recently.

                                        Duet WiFi hardware designer and firmware engineer
                                        Please do not ask me for Duet support via PM or email, use the forum
                                        http://www.escher3d.com, https://miscsolutions.wordpress.com

                                        1 Reply Last reply Reply Quote 0
                                        • undefined
                                          Corexy
                                          last edited by 24 Oct 2016, 09:52

                                          @dc42:

                                          @Corexy:

                                          Seems I have to tweak some speeds for that sweet spot where the steppers don't resonate noisily, still pretty green with this sort of thing.

                                          Check that your M350 command in config.g has parameter I1 not I0. The config tool used to generate I0 by default until very recently.

                                          Got that.

                                          To be honest this machine has sat broken for a long time on the floor.

                                          It seems to be getting happier as I use it. A little grease on the axis' might not go astray either….

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