User Manual
PD42-x-1140 Hardware Manual (V1.03 / 2018-JAN-25) 15
Copyright © 2012-2018, TRINAMIC Motion Control GmbH & Co. KG
4.4.2.1 Digital Inputs IN_1, IN_2, IN_3
The eight pin connector of the PD42-x-1140 provides three multipurpose digital inputs IN_1, IN_2 and IN_3. All
three inputs accept up to +24V (nom.) input signals and offer the same input circuit with voltage resistor
dividers, limiting diodes against over- and under-voltage and programmable 2k2 pull-up resistors.
The pull-ups can be switched on or off for all three inputs at once in software.
With TMCL firmware command SIO 0, 0, 0 will switch-off the pull-ups and command SIO 0, 0, 1 will
switch them on (see separate TMCL firmware manual, command SIO for more detailed information).
+3.3V
IN_1,
IN_2,
IN_3
microcontroller (all)
and TMC429 (STOP_L,
STOP_R)
15k
22k
33pF
GND
GND GND
common switch for all
three digital inputs
(programmable in software)
2k2
+5V
Figure 4.6 General purpose inputs (simplified input circuit)
The three digital inputs have alternate functionality depending on configuration in software. The following
functions are available:
Label
(pin)
Default function
Alternate function 1
Alternate function 2
IN_1
(6)
General purpose digital input
TMCL: GIO 1, 0 // get digital
value of input IN_1
STOP_L - left stop switch input,
connected to processor and TMC429
REF input (supporting left stop
functionality in hardware)
TMCL: GAP 11, 0 // get digital value
of STOP_L input
ENC_A - external
incremental encoder
input channel A,
connected to processor
encoder counter input
IN_2
(7)
General purpose digital input
TMCL: GIO 2, 0 // get digital
value of input IN_2
STOP_R - right stop switch input,
connected to processor and TMC429
REF input (supporting right stop
switch functionality in hardware)
TMCL: GAP 10, 0 // get digital value
of STOP_R input
ENC_B - external
incremental encoder
input channel B,
connected to processor
encoder counter input
IN_3
(8)
General purpose digital input
TMCL: GIO 3, 0 // get digital
value of input IN_3
HOME - home switch input,
connected to processor
TMCL: GAP 9, 0 // get digital value
of HOME input
ENC_N - external
incremental encoder
input index / zero
channel, connected to
processor interrupt input
Table 4.5 Multipurpose inputs / alternate functions