User Manual

TMCC160 CoE Firmware Manual Firmware Version V4.01 | Document Revision V1.01 2018-Jan-04
79 / 88
11.2 How to move a Motor in cst Mode
Here is a little example that shows how to get a motor running in cst mode. In this little example we
assume that the module has been reset (and then switched to start) by NMT commands before.
Select cst mode by writing 10 to object 6060
h
(Modes_of_Operation).
Write 6 to object 6040
h
(Controlword) to switch to READY_TO_SWITCH_ON state.
Write 7 to object 6040
h
to switch to SWITCHED_ON state.
Write the desired torque (e.g. 1000) to object 6071
h
(Target_Torque).
Write 15 to object 6040
h
to switch to OPERATION_ENABLED state to start the motor.
To stop the motor, write 0 to object 6071
h
.
©2018 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com