
TMCM-6110 TMCL Firmware V1.31 Manual (Rev. 1.09 / 2015-FEB-24)
86
www.trinamic.com
5.4
Grouping Motors
For grouping motors, a “group index” can be set for every motor using SAP 213. The following rules apply
for the group index:
A motor that has a group index of 0 does not belong to any group at all
Motors that have the same group index belong to the same group
All motors that belong to one group must be controlled by the same TMCM-6110 module.
This method allows a great flexibility for grouping motors together. For example, it is possible to form
two groups of three motors, or three groups of two motors, or one group of four motors or any other
combinations.
For example, to form one group of motors 1, 3 and 5 and one group of motors 0 and 2 and motor 4 not
belonging to any group, set the group indices of motor 1, 3, and 5 to 1, the group indices of motor 0 and
2 to 2 and the group index of motor 4 to 0 by issuing the following commands:
SAP 213, 1, 1
SAP 213, 3, 1
SAP 213, 5, 1
SAP 213, 0, 2
SAP 213, 2, 2
SAP 213, 4, 0
The groups are applied to the commands ROL, ROR, MST, MVP ABS and MVP REL. If one of these
commands is issued for one motor that belongs to a group, all the other motors belonging to that group
will also get the same command. In the current TMCL version (6.08), grouping does not apply to all the
other commands. So, acceleration, velocity and other parameters have to be set separately for every motor.
This might change in future versions.
The group settings also apply for deviation errors or motor stall: When a motor that belongs to a group is
stopped because of a stall or a deviation error, all other motors belonging to this group will also be
stopped.
To remove a motor from a group just set its group index to zero.