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

    Axis remapping and parameters

    Scheduled Pinned Locked Moved
    General Discussion
    2
    2
    757
    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.
    • Kulitorumundefined
      Kulitorum
      last edited by

      So I had a Duet Ethernet with a faulty z-axis driver (motor was never energized) and to debug it, I remapped the Z-axis to Motordriver 4:

      M584 Z04 ; remap z axis to motor driver 4

      After doing this, I setup the driver, using

      M208 X-128 Y0 Z0 U0 S1 ; Set axis minima
      M208 X652 Y550 Z800 U387 S0 ; Set axis maxima

      M350 X16 Y16 Z16 U16 E16:16 I0 ; Configure microstepping without interpolation
      M92 X80 Y80 U80 Z490 E1850:1850 ; Set steps per mm
      M566 X1000 Y1000 U1000 Z30 E500:500 ; XYZEE-Jerk - Set maximum instantaneous speed changes (mm/min)
      M203 X52000 Y52000 U52000 Z1000 E400:400 ; Set maximum speeds (mm/min)
      M201 X100 Y100 U100 Z150 E1000:1000 ; Set accelerations (mm/s^2)
      M906 X1200 Y1200 U1200 Z2200 E800:800 I30 ; Set motor currents (mA) and motor idle factor in per cent
      M84 S30 ; Set idle timeout

      But all these settings (for the z-axis) were not applied to driver 4, but only to the "original" z-axis driver.

      How would one change the settings for driver 4 when it has been remapped to Z?

      For the record, I changed the duet, just thought I would report the bug or missing documentation.

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

        As described at https://duet3d.com/wiki/G-code#M584:_Set_drive_mapping, when using M584 to map drives you must also specify the mapping for the drive that was previously using the driver, in this case E1. So you should have used:

        M584 Z4 E3

        Otherwise driver 4 is used by both Z and E1, so the settings for using it as Z may get overridden by the settings for E1.

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