Navigation

    Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Macros :)

    Duet Hardware and wiring
    macros
    4
    7
    958
    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.
    • jamesadoty
      jamesadoty last edited by

      Macros are fun.

      I'm on day for of getting my Duet 2 Wifi working on my Tronxy X5SA and trust me I have a lot of work to do before I'll be ready to print.

      The inductive bed sensor on the X5SA is left and forward of the nozzle which presents an issue when homing z, the sensor is over thin air and the bed will crash in to the side of the nozzle.

      To combat this I have the printer move x and y in a bit so the sensor can see the bed. After z homes I have the software put x and y back a bit but not all the way.

      I'll probably modify the end stops on the printer so I don't have to do this, probably. In the meantime this works.

      For ease of adjusting my homing settings I remmed out much of my homeall.g macro and set up homing individually in homex.g homey.g and homez.g then I call those macros in that order from homeall.g. Neat.

      It occurred to me to do this this morning.

      I still need to work on bed leveling. I'd set it up in bed.g using a matrix of G30 commands, but have since read that I should be using G29, so I'm off to work on that. Then setting z offset, then hopefully my first print on the X5SA since the electronics started failing Christmas week.

      Stephen6309 dc42 2 Replies Last reply Reply Quote 0
      • Stephen6309
        Stephen6309 @jamesadoty last edited by

        @jamesadoty To safely home Z, I always move the sensor to the center of the bed.

        jamesadoty 1 Reply Last reply Reply Quote 0
        • jamesadoty
          jamesadoty @Stephen6309 last edited by

          @stephen6309
          That's brilliant idea.

          I'm currently moving x 70mm and y 40mm. I'll change it for safeties sake.

          1 Reply Last reply Reply Quote 0
          • dc42
            dc42 administrators @jamesadoty last edited by

            @jamesadoty said in Macros 🙂:

            The inductive bed sensor on the X5SA is left and forward of the nozzle which presents an issue when homing z, the sensor is over thin air and the bed will crash in to the side of the nozzle.

            To combat this I have the printer move x and y in a bit so the sensor can see the bed. After z homes I have the software put x and y back a bit but not all the way.

            I'll probably modify the end stops on the printer so I don't have to do this, probably. In the meantime this works.

            No need to move endstops, just make homez.g and homeall.g move to a suitable XY position (normally bed centre) before doing the G30 command that homes Z.

            For ease of adjusting my homing settings I remmed out much of my homeall.g macro and set up homing individually in homex.g homey.g and homez.g then I call those macros in that order from homeall.g. Neat.

            When you have it all working well, you can make homing faster by homing X and Y simultaneously in homeall.g.

            I still need to work on bed leveling. I'd set it up in bed.g using a matrix of G30 commands, but have since read that I should be using G29, so I'm off to work on that. Then setting z offset, then hopefully my first print on the X5SA since the electronics started failing Christmas week.

            I presume you mean bed compensation, not bed levelling (bed levelling makes the bed level, bed compensation compensates for it not being flat and/or level and also for the gantry not being level). Yes, use G29 for mesh bed compensation. But you can also use G30 commands in bed.g to tell you how much to adjust the bed levelling screws by, see https://duet3d.dozuki.com/Wiki/Using_the_manual_bed_levelling_assistant.

            jamesadoty 1 Reply Last reply Reply Quote 0
            • jamesadoty
              jamesadoty @dc42 last edited by

              @dc42
              Thank you. i do mean bed compensation.

              Good input on adjusting x and y after homing, I should have thought of that.

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

                Have you seen this? https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCartesianPrinter

                Very useful when commissioning a new printer.

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

                  @phaedrux
                  I hadn't. I'll read through it in a bit.

                  I used the Reprap firmware configurator to do most of the heavy lifting. Now I'm just tweaking settings.

                  I'm calibrating the heat bed at the moment, I just finished calibrating the hot end.

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