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

Macros :)

Scheduled Pinned Locked Moved
Duet Hardware and wiring
macros
4
7
1.5k
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
    jamesadoty
    last edited by 12 Jan 2019, 21:10

    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.

    undefined undefined 2 Replies Last reply 12 Jan 2019, 21:15 Reply Quote 0
    • undefined
      Stephen6309 @jamesadoty
      last edited by 12 Jan 2019, 21:15

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

      undefined 1 Reply Last reply 12 Jan 2019, 21:22 Reply Quote 0
      • undefined
        jamesadoty @Stephen6309
        last edited by 12 Jan 2019, 21:22

        @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
        • undefined
          dc42 administrators @jamesadoty
          last edited by 13 Jan 2019, 08:18

          @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.

          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

          undefined 1 Reply Last reply 13 Jan 2019, 20:02 Reply Quote 0
          • undefined
            jamesadoty @dc42
            last edited by 13 Jan 2019, 20:02

            @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
            • undefined
              Phaedrux Moderator
              last edited by 13 Jan 2019, 20:29

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

              Very useful when commissioning a new printer.

              Z-Bot CoreXY Build | Thingiverse Profile

              undefined 1 Reply Last reply 14 Jan 2019, 00:13 Reply Quote 0
              • undefined
                jamesadoty @Phaedrux
                last edited by 14 Jan 2019, 00:13

                @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
                4 out of 7
                • First post
                  4/7
                  Last post
                Unless otherwise noted, all forum content is licensed under CC-BY-SA