![Trinamic PANdrive PD-111-56 Скачать руководство пользователя страница 9](http://html1.mh-extra.com/html/trinamic/pandrive-pd-111-56/pandrive-pd-111-56_manual_1163063009.webp)
TMCM-111-56 Manual
9
Copyright © 2006, TRINAMIC Motion Control GmbH & Co. KG
3.3.2 Connector X2: Additional I/O
All other inputs and outputs of the module can be connected here. These are the limit switches, a general
purpose input and a general purpose output. The limit switch inputs are equipped with internal pull-up
resistors, so they have to be connected to GND via normally closed switches. The general purpose input can
either be used as a digital TTL input or as an analogue input (0..5V). The general purpose output is an open
collector output for a maximum current of 100mA. A freewheeling diode is also included so that e.g. a relay
or a coil can be connected directly. Please note that the freewheeling diode is connected to the supply
voltage and not to +5V, so when using e.g. a relay that is connected to +5V a freewheeling diode must be
connected externally.
The pin assignment of this connector is as follows:
Pin
Function
1
Left limit switch input (integrated pullup to 5V)
2
Right limit switch input (integrated pullup to 5V)
3
GND (0V)
4
General purpose output (open collector, max. 100mA, freewheeling diode included)
5
VDD (same as connector X1, pin 1/2)
6
GND
7
General purpose input (Analog (0..+5V) or Digital (TTL))
8
+5V DC output (max. 20mA)
Table 3.3: Connector X2 – Additional I/O
3.3.3 Connector X3: RS232, RS485 Interface and Step/Direction
This connector provides the RS232 and the RS485 interface. Jumper J1 selects which interface is to be used:
If this jumper is open RS232 will be used. Close this jumper to use RS485. The unused interface pins should
be connected to ground to avoid failures. The pin assignment is as follows:
Pin
Function
1
RS232 TxD (output)
2
RS232 RxD (input)
3
RS485 A (+) / CAN High
4
RS485 B (-) / CAN Low
5
Step/Direction Step (High)
6
Step/Direction Step (Low)
7
Step/Direction Direction (High)
8
Step/Direction Direction (Low)
Table 3.4: Connector X3 – Interfaces