To set the global parameter “auto start mode” to 1 (ON), please use the following code:
from PyTrinamic.modules.TMCM1160.TMCM_1160 import _GPs
...
Module_1160.connection.send(TMCL_Command.SGP, _GPs.autoStartMode, 0, 1)
...
Note: when a global parameter is changed, the new value is stored non-volatile on the device. This means no further “store command” must be send.
The TMCL-IDE allows the equivalent settings via the menu: