@dc42 Thank you for the fast solution!
![](/assets/uploads/system/avatar-default.png?v=1521803371351)
Posts made by tibor
-
RE: Setting motor drivers (M569) with variables
-
Setting motor drivers (M569) with variables
Hello!
We have updated the e3D ToolChanger with Duet 3 including the tool distribution boards and tool boards for each tool. Each tool was designed with a connector that connects the CAN communication and power between the tool distribution board and the tool board. The connector enables fast switching between different extruders and tools (we will be needing more than 4 tools).
We would like to define the loaded tools in the config file which would call the required macros and configure the tools. The problem arose while setting the extruder drivers with the variables, which are defined by the macro file for each loaded tool.
The default way would be:
M569 P20.0 S0 D2 (for driver 0 on board 20)
We would like to specify it like:
M569 P{global.T0_board}.{global.T0_driver} S0 D2
So, how do we specify the P parameter with a variable?Thanks in advance!