Axis bounds for move.axes[n] queries
-
Hello,
I am attempting to query the machinePosition of one of my axes, specifically axis 7 (Duet 2 Wifi + Duet X5) on an E3D Toolchanger. This is the toolhead axis, C, that locks and unlocks tools; it is set to driver 7 in the config.
M584 X0 Y1 Z2 C7 E3:4:5:6 ; Apply custom drive mapping
However when querying the position using
move.axes[7].machinePosition
The following error appears:
M98 P"0:/macros/SIMUL_HOME_TEST"
Error: in file macro line 49 column 4: meta command: array index out of bounds.Is there a specific indexing for the Duet X5 drivers?
-
@merlin246 you have 4 axes XYZC and their indices are 0 to 3 respectively.
-
@dc42 Ah didn't know extruder's aren't included, thanks!