Change axis order in DWC
-
Hello,
is there a way to change the order of the displayed axes in the DWC? I work with the Duet 6hc with toolboards and a 3hc expansion board. Currently there are 7 axes defined which are not sorted alphabetically nor by the config.g file. In terms of operation, it would be important for me to change the order to avoid errors.
-
What firmware and DWC version are you using?
What order are they in the config.g and what order do they show in DWC? -
@phaedrux Im working on rrf3.3 on a duet 6hc in sbc mode.
; Drive direction M569 P0 S1 ; Drive 0 Z M569 P1 S0 ; Drive 1 Y M569 P2 S0 ; Drive 2 X M569 P3 S1 ; Drive 3 PnP Bowden Tool M569 P4 S0 ; Drive 4 COUPLER M569 P5 S0 ; Drive 5 D PnP-Axis M569 P20.0 S0 D2 ; Drive 20.0 (E0) spreadCycle mode M569 P21.0 S1 D2 ; Drive 21.0 (U Axis) spreadCycle mode M569 P22.0 S1 D2 ; Drive 22.0 (E2) spreadCycle mode / Hybrid Extruder ;M569 P23.0 S1 D2 ; Drive 23.0 (E3) spreadCycle mode / deativated M569 P1.0 S0 D2 ; Drive 0 Can 1 W Axis M569 P1.1 S0 D2 ; Drive 1 Can 1 V Axis M569 P1.2 S0 D2 ; Drive 2 Can 1 Filament Extruder M584 X2 Y1 Z0 C4 W1.0 ; Axis to driver mapping M584 D5 U21.0 V1.1 S1 ; set Rotation Driver M584 E20.0:1.2:22.0:3 ; set extruder drivers (Mosquito; Rotation; Hybrid; PnP)
They are displayd as X,Y,Z,W,U,C,V,D if i recall it correctly, currently not near the machine.
-
If you create more than one axis in a M584 command, the axes are created in the order UVWABCD regardless of the order of the parameters in the M584 command. This affects which axes will be hidden if you use the M584 P parameter to hide axes. For example, M584 C5 U6 creates axes U and C in that order, so M584 P4 would hide the C axis, not the U axis. If you want to create the axes in the order C then U (so that M584 P4 hides the U axis), use two M584 commands: M584 C5 followed by M584 U6.
https://duet3d.dozuki.com/Wiki/M584I can move to the wishlist though to have the display order in DWC be configurable.
-
-
@zivo with that config.g I expect the order to be X Y Z W C U V D. Is that the other you get in DWC?
-
@dc42 y es, thats definitly the order
-
@zivo I don't know if it's of any use to you, but you can hide /"unhide" some axes using the "P" parameter in M584.
-
@zivo said in Change axis order in DWC:
@dc42 y es, thats definitly the order
OK, so DWC is displaying them in the order they are created. So you need to create them in the order that you want them displayed.
Note this paragraph in the description of M584 on the wiki:
If you create more than one axis in a M584 command, the axes are created in the order UVWABCD regardless of the order of the parameters in the M584 command. This affects which axes will be hidden if you use the M584 P parameter to hide axes. For example, M584 C5 U6 creates axes U and C in that order, so M584 P4 would hide the C axis, not the U axis. If you want to create the axes in the order C then U (so that M584 P4 hides the U axis), use two M584 commands: M584 C5 followed by M584 U6.