TMCM-1211 TMCL
™
Firmware Manual • Firmware Version V1.10 | Document Revision V1.00 • 2018-OCT-02
114 / 133
6
Module Specific Hints
This section contains some hints that are specific to the TMCM-1211 module.
6.1
General Purpose Inputs and Outputs
The TMCM-1211 module is equipped with six general purpose digital lines. Each of these can either be
used as an input or as an output. This can be selected using global parameter #78. For historical reasons
(compatibility with the first TMCM-1110 stepRocker module), these inputs and outputs are named PWMU0,
PWMU1, PWMU2, PWMD0, PWMD1 and PWMD2.
Global parameter #78 is a bit vector where each bit determines if the corresponding digital line is an input
or an output. A bit that is clear means input, and a bit that is set means output.
Table
shows the relationship between the bits of global parameter #78 and the digital lines. Just add up
the values of all bits that are to be set (i.e. of those digital lines that are to be used as outputs) and set
global parameter #78 to this value.
Selection of Inputs and Outputs
Bit
Value
Digital I/O line
0
1
PWMU0
1
2
PWMU1
2
4
PWMU2
3
8
PWMD0
4
16
PWMD1
5
32
PWMD2
Table 21: Selection of Inputs and Outputs
For example, setting global parameter #78 to 7 (default value) programs PWMU0, PWMU1 and PWMU2 as
outputs and PWMD0, PWMD1 and PWMD2 as inputs.
©2018 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at