![Trinamic PANdrive PD-1140 Скачать руководство пользователя страница 13](http://html.mh-extra.com/html/trinamic/pandrive-pd-1140/pandrive-pd-1140_hardware-manual_1163064013.webp)
PD-1140 Hardware Manual (Rev. 1.02 / 2013-MAR-26)
13
www.trinamic.com
4.3.2.1
Digital Inputs IN_1, IN_2, IN_3
The eight pin connector of the TMCM-1140 provides three multipurpose digital inputs IN_1, IN_2 and
IN_3.
All three inputs accept up-to +24V input signals. They are protected against these higher voltages using
voltage resistor dividers together with limiting diodes against voltages below 0V (GND) and above +3.3V
DC (see figure below).
+3.3V
IN_1
IN_2
IN_3
microcontroller (all)
and TMC429 (IN_0, IN_1)
15k
22k
33pF
GND
GND
GND
common switch for all
three digital inputs
2k2
+5V
Figure 4.7 General purpose inputs (simplified input circuit)
Refer to the PD-1140 TMCL Firmware Manual (SIO command) for further information about switching the
pull-up resistors for all digital inputs on / off.
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
STOP_L - left stop switch input,
connected to processor and
TMC429 REF input (supporting
left
stop
functionality
in
hardware)
ENC_A - external incremental
encoder
input
channel
A,
connected to processor encoder
counter input
IN_2 (7)
General purpose
digital input
STOP_R - right stop switch input,
connected to processor and
TMC429 REF input (supporting
right stop switch functionality in
hardware)
ENC_B - external incremental
encoder
input
channel
B,
connected to processor encoder
counter input
IN_3 (8)
General purpose
digital input
HOME - home switch input,
connected to processor
ENC_N - external incremental
encoder input index / zero
channel, connected to processor
interrupt input
Table 4.7 Multipurpose inputs / alternate functions