TRINAMIC / ANALOG DEVICES PD42-3-1240-TMCL User manual

Type
User manual
PANdrivefor Stepper PANDRIVE
PD42-x-1240 Hardware Manual
Hardware Version V1.10 | Document Revision V1.03 2020-MAY-05
The PANdrivePD42-1-1240, PD42-2-1240, PD42-3-1240 amd PD42-4-1240 are small and compact full
mechatronic solutions including NEMA17 / 42mm flange size stepper motors, the TMCM-1240 con-
troller / driver electronics and TRINAMICsensOstepencoder for step-loss detection.
Features
Stepper Motor NEMA17 / 42mm
0.22 - 0.7Nm
with controller/driver
Linear and sixPointramps
+10. . . 30V DC supply voltage
Up to 2A RMS motor current
RS485, CAN & USB interface
integrated sensOstep encoder and
support for external encoder
S/D interface
multi-purpose inputs and outputs
Applications
Laboratory Automation
Manufacturing
Semiconductor Handling
Robotics
Factory Automation
Test & Measurement
Life Science
Biotechnology
Liquid Handling
Simplified Block Diagram
10… 30V DC
Microcontroller
EEPROM
I/Os
Step
Motor
RS485
MOSFET
Driver
Stage
Energy Efficient
Driver
TMC262
Motion
Controller
+
Pre-Driver
USB
CAN
DC/DC
Encoder
PD42-x-1240
©2020 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at: www.trinamic.com
Read entire documentation.
PD42-x-1240 Hardware Manual Hardware Version V1.10 | Document Revision V1.03 2020-MAY-05 2 / 34
Contents
3.1 Dimensions of PD42-x-1240 ...................................... 8
3.2 Stepper motor .............................................. 9
3.3 Integrated sensOstepencoder .................................... 10
4.1 Power Supply Input Connector ..................................... 12
4.2 Motor Connector ............................................. 12
4.3 RS485 + CAN Connector ......................................... 13
4.4 USB Connector .............................................. 13
4.5 I/O Connector ............................................... 14
7.1 Analog input IN0 ............................................. 17
7.2 Digital inputs IN1 and IN2 ........................................ 17
7.3 HOME/STOP_L/STOP_R switch inputs ................................. 18
7.4 External incremental encoder input .................................. 18
7.5 Step/Direction inputs .......................................... 19
8.1 RS485 .................................................... 20
8.2 CAN ..................................................... 21
10.1 PD42-1-1240 Torque Curve ....................................... 24
10.2 PD42-2-1240 Torque Curve ....................................... 24
10.3 PD42-3-1240 Torque Curve ....................................... 25
10.4 PD42-4-1240 Torque Curve ....................................... 25
16.1 Producer Information .......................................... 32
16.2 Copyright ................................................. 32
16.3 Trademark Designations and Symbols ................................ 32
©2020 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
PD42-x-1240 Hardware Manual Hardware Version V1.10 | Document Revision V1.03 2020-MAY-05 3 / 34
16.4 Target User ................................................ 32
16.5 Disclaimer: Life Support Systems ................................... 32
16.6 Disclaimer: Intended Use ........................................ 32
16.7 Collateral Documents & Tools ..................................... 33
17.1 Hardware Revision ............................................ 34
17.2 Document Revision ............................................ 34
©2020 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
PD42-x-1240 Hardware Manual Hardware Version V1.10 | Document Revision V1.03 2020-MAY-05 4 / 34
1 Features
The PANdrivePD42-1-1240, PD42-2-1240, PD42-3-1240 amd PD42-4-1240 are small and compact full
mechatronic solutions including NEMA17 / 42mm flange size stepper motors, the TMCM-1240 controller /
driver electronics and TRINAMICsensOstepencoder for step-loss detection. The four PANdrives include
stepper motor with different lengths and different holding torques (PD42-1-1240: 0.22Nm, PD42-2-1240:
0.36Nm, PD42-3-1240: 0.44Nm and PD42-4-1240: 0.7Nm) but, same electronics and encoder setup. The
PANdrives support both, stand-alone operation e.g. using the on-board I/Os together with the build-in
TMCL scripting feature and remote operation using one of the available communication interfaces and
even a mixture of both.
Motion Controller
Motion profile calculation in real-time
On the fly alteration of motor parameters (e.g. position, velocity, acceleration)
Linear and unique sixPointramp in hardware
Encoder interface and Reference / Stop switch inputs
Driver
Motor current: up to 2A RMS (2.2A RMS max. / 3.1A peak, programmable in software)
Supply voltage: +24V DC (+10. . . +30V DC)
256 microsteps per fullstep
spreadCyclehighly dynamic current control chopper
stealthChopfor quiet operation and smooth motion
programmable Step/Dir interface for driver-only applications with microstep interpolation
Encoder
integrated sensOstep absolut position magnetic encoder (resolution: 1024 increments per rotation)
for step-loss detection under all operating conditions and positioning supervision (accuracy: +/- 5
encoder steps)
support for external A/B incremental encoder in addition / as an alternative for the integrated en-
coder
programmable encoder scaling and support for motor stop on encoder deviation
Interfaces
RS485 interface (up-to 1Mbit/s)
CAN interface (up-to 1Mbit/s)
USB 2.0 full speed (12Mbit/s) device interface (micro-USB connector)
Step/Dir input (optically isolated)
Left and Right STOP switch inputs (optically isolated, shared with Step/Dir inputs)
2 general purpose digital inputs
Encoder input for incremental A/B encoder signals (shared with general purpose digital inputs)
1 analog input (0..10V nom. input range)
©2020 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
PD42-x-1240 Hardware Manual Hardware Version V1.10 | Document Revision V1.03 2020-MAY-05 5 / 34
HOME switch input (shared with analog input)
Software
TMCLremote (direct mode) and standalone operation (memory for up to 1024 TMCLcommands),
fully supported by TMCL-IDE (PC based integrated development environment). Please see PD42-x-
1240 TMCL firmware manual for more details
CANopen firmware with CANopen standard protocol stack for the CAN interface. Please see PD42-
x-1240 CANopen firmware manual for more details.
©2020 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
PD42-x-1240 Hardware Manual Hardware Version V1.10 | Document Revision V1.03 2020-MAY-05 6 / 34
2 Order Codes
The combination of motor and motor mounted controller/driver electronic is currently available with four
stepper motors (different length and holding torque):
The length of the PANdrives is specified without the length of the axis. For the overall length of the product
please add 26mm
Order Code Description Size (LxWxH)
PD42-1-1240-TMCL PANdrivewith NEMA17 stepper motor, 0.22Nm
max. TMCM-1240 electronics, 2A RMS, +24V,
RS485, CAN, USB, sensOstepencoder, TMCL
firmware
42mm x 42mm x 47mm
PD42-2-1240-TMCL PANdrivewith NEMA17 stepper motor, 0.36Nm
max. TMCM-1240 electronics, 2A RMS, +24V,
RS485, CAN, USB, sensOstepencoder, TMCL
firmware
42mm x 42mm x 51mm
PD42-3-1240-TMCL PANdrivewith NEMA17 stepper motor, 0.44Nm
max. TMCM-1240 electronics, 2A RMS, +24V,
RS485, CAN, USB, sensOstepencoder, TMCL
firmware
42mm x 42mm x 60mm
PD42-4-1240-TMCL PANdrivewith NEMA17 stepper motor, 0.7Nm
max. TMCM-1240 electronics, 2A RMS, +24V,
RS485, CAN, USB, sensOstepencoder, TMCL
firmware
42mm x 42mm x 73mm
PD42-1-1240-CANopen PANdrivewith NEMA17 stepper motor, 0.22Nm
max. TMCM-1240 electronics, 2A RMS, +24V,
RS485, CAN, USB, sensOstepencoder, CANopen
firmware
42mm x 42mm x 47mm
PD42-2-1240-CANopen PANdrivewith NEMA17 stepper motor, 0.36Nm
max. TMCM-1240 electronics, 2A RMS, +24V,
RS485, CAN, USB, sensOstepencoder, CANopen
firmware
42mm x 42mm x 51mm
PD42-3-1240-CANopen PANdrivewith NEMA17 stepper motor, 0.44Nm
max. TMCM-1240 electronics, 2A RMS, +24V,
RS485, CAN, USB, sensOstepencoder, CANopen
firmware
42mm x 42mm x 60mm
PD42-4-1240-CANopen PANdrivewith NEMA17 stepper motor, 0.7Nm
max. TMCM-1240 electronics, 2A RMS, +24V,
RS485, CAN, USB, sensOstepencoder, CANopen
firmware
42mm x 42mm x 73mm
Table 1: Order Code
©2020 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
PD42-x-1240 Hardware Manual Hardware Version V1.10 | Document Revision V1.03 2020-MAY-05 7 / 34
A cable loom set is available for this module:
Order Code Description
TMCM-1240-CABLE Cable loom for TMCM-1240:
1x cable loom for power supply connector (cable length 200mm, 4pin
JST PH connector at one end, open wires at the other end)
1x cable loom for RS485 + CAN connector (cable length 200mm, 5pin
JST PH connector at one end, open wires at the other end)
1x cable loom for motor connector (cable length 200mm, 4pin JST PH
connector at one end, open wires at the other end)
1x cable loom for I/O connector (cable length 200mm, 8pin JST PH
connector at one end, open wires at the other end)
1x Micro-USB cable
Table 2: TMCM-1240 Cable Loom
The TMCM-1240 controller/driver electronics is also available separately. Please refer to TMCM-1240 hard-
ware manual for further details.
©2020 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
PD42-x-1240 Hardware Manual Hardware Version V1.10 | Document Revision V1.03 2020-MAY-05 8 / 34
3 Mechanical and Electrical Interfacing
All PD42-x-1240 consist of one out of four available NEMA17 / 42mm stepper motors with 2A RMS rated coil
current with the same TMCM-1240 controller / driver electronics mounted on its backside and integrated
sensOstepencoder. The PD42-1-1240 uses the QSH4218-34-20-022 stepper motor with 0.22Nm holding
torque, the PD42-2-1240 uses the QSH4218-38-20-036 stepper motor with 0.36Nm holding torque, the
PD42-3-1240 uses the QSH4218-47-20-044 stepper motor with 0.44Nm holding torque and the PD42-4-
1240 uses the QSH4218-60-20-070 stepper motor with 0.7Nm holding torque. Please see also stepper
motor manuals and TMCM-1240 hardware and firmware manuals for more details.
NOTICE Note: In order to make proper use of the integrated sensOstepencoder (the
sensor IC is placed on the bottom of the pcb) the TMCM-1240 electronics should
not be removed/moved relative to the motor. In case the integrated encoder
feature is not used, the electronics may be moved or even removed from the
motor and placed somewhere else according to application requirements.
3.1 Dimensions of PD42-x-1240
Figure 1: PD42-x-1240 with different NEMA17 / 42mm stepper motors (all dimensions in mm)
©2020 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
PD42-x-1240 Hardware Manual Hardware Version V1.10 | Document Revision V1.03 2020-MAY-05 9 / 34
3.2 Stepper motor
Main characteristics of the four different motors available as part of the PD42-x-1240 PANdrive:
Specifications Unit PD42-1-1240 PD42-2-1240 PD42-3-1240 PD42-4-1240
Step angle °1.8 1.8 1.8 1.8
Step angle accuracy % +/-5 +/-5 +/-5 +/-5
Ambient temperature °C -20. . . +50 -20. . . +50 -20. . . +50 -20. . . +50
Max. motor temperature °C 80 80 80 80
Shaft radial play (450g load) mm 0.02 0.02 0.02 0.02
Shaft axial play (450g load) mm 0.08 0.08 0.08 0.08
Max radial force (20mm
from front flange)
N 28 28 28 28
Max axial force N 10 10 10 10
Rated voltage V 2.0 2.4 2.4 4.4
Rated phase current A 2.0 2.0 2.0 2.0
Phase resistance at 20°C1.0 1.2 1.4 2.3
Phase inductance (typ.) mH 1.6 2.2 2.1 6.0
Holding torque Nm 0.22 0.36 0.44 0.70
Insulation class B B B B
Rotor inertia g cm235 57 68 102
Weight kg 0.22 0.24 0.35 0.5
Table 3: NEMA17 / 42mm stepper motor technical data
©2020 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
PD42-x-1240 Hardware Manual Hardware Version V1.10 | Document Revision V1.03 2020-MAY-05 10 / 34
3.3 Integrated sensOstepencoder
The PD42-x-1240 PANdrives offer integrated sensOstepencoders based on hall sensor technology. As
the name “sensOstep“ already indicates intended use of this type of compact and highly integrated
encoder is step loss detection of motor movements. As soon as the motor has been moved to a new
location the position may be verified using this encoder feedback. In case the stepper motor has lost one
or multiple steps during movement e.g. due to overload / any obstacle encountered during movement
the motor axes will jump for at least one electrical period / 4 full steps. This can be detected using the
integrated encoder. In addition, step losses may be already detected during motor movements using
the “deviation” setting available as part of the TMCL firmware (see PD42-x-1240 / TMCM-1240 firmware
manual for more details).
While the encoder offers 10bit (1024 steps) resolution per motor revolution the absolute position informa-
tion is less accurate and depends on the displacement of the hall sensor based encoder IC relative to the
magnet and motor axis among other factors. Every PANdrivehas been tested for maximum deviation
of +/- 5 encoder steps (static performance) relative to commanded microstep target position during final
tests after assembly at our factory. This will ensure more than adequate performance of the integrated
sensOstepencoder for step loss detection during motor movements.
NOTICE Do not disassemble PANdrivewhen using integrated encoder In order to
make proper use of the integrated sensOstepencoder (the sensor IC is placed
on the bottom center of the pcb) the TMCM-1240 electronics should not be
removed/moved relative to the motor! Otherwise encoder performance might
suffer / not work.
Note: In case the integrated encoder feature is not used, the TMCM-1240
electronics may be moved or even removed from the motor and placed
somewhere else according to application requirements.
NOTICE Keep the electronics free of (metal) particles! The integrated sensOstep
encoder uses a magnet at the end of the motor axis in order to monitor position
of the motor axis. The magnet naturally attracts especially tiny metal particles.
These particles might be held on the top side of the PCB and – even worse
– start moving in accordance with the rotating magnetic field as soon as the
motor starts moving. This might lead to shorts of electronic contacts / wires on
the board and totally erratic behavior of the module! Use compressed air for
cleaning the module if necessary (especially in prototype setups).
In order to prevent shorts and better protect the electronics the TMCM-1240
printed circuit board is coated after assembly of components.
©2020 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
PD42-x-1240 Hardware Manual Hardware Version V1.10 | Document Revision V1.03 2020-MAY-05 11 / 34
4 Connectors
The PD42-x-1240 offers five connectors including the motor connector which is used for connecting the
motor coils to the electronics. There is one motor and one power supply connector - both with four pins -
and two interface connectors - one with five pins for RS485 and CAN and a dedicated micro-USB connector.
All other inputs and outputs are concentrated on one 8 pin connector.
NOTICE Start with power supply OFF and do not connect or disconnect motor dur-
ing operation! Motor cable and motor inductivity might lead to voltage spikes
when the motor is (dis)connected while energized. These voltage spikes might ex-
ceed voltage limits of the driver MOSFETs and might permanently damage them.
Therefore, always switch off / disconnect power supply or at least disable driver
stage before connecting / disconnecting motor.
USB
Motor
Power
RS485 + CAN
15
1
4
I/O
1
8
14
Figure 2: PD42-x-1240 connectors
Connector Types and Mating Connectors
Connector Connector type on-board Mating connector type
Power JST B4B-PH-K-S
(JST PH series, 4pins, 2mm pitch)
Connector housing: JST PHR-4
Contacts: JST SPH-002T-P0.5S
Wire: 0.22mm2, AWG 24
Motor JST B4B-PH-K-S
(JST PH series, 4pins, 2mm pitch)
Connector housing: JST PHR-4
Contacts: JST SPH-002T-P0.5S
Wire: 0.22mm2, AWG 24
RS485+CAN JST B5B-PH-K-S
(JST PH series, 5pins, 2mm pitch)
Connector housing: JST PHR-5
Contacts: JST SPH-002T-P0.5S
Wire: 0.22mm2, AWG 24
USB USB-micro B female connector USB-micro B male connector
I/O JST B8B-PH-K-S
(JST PH series, 8pins, 2mm pitch)
Connector housing: JST PHR-8
Contacts: JST SPH-002T-P0.5S
Wire: 0.22mm2, AWG 24
Table 4: Connector Types and Mating Connectors of the PD42-x-1240
©2020 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
PD42-x-1240 Hardware Manual Hardware Version V1.10 | Document Revision V1.03 2020-MAY-05 12 / 34
4.1 Power Supply Input Connector
The PD42-x-1240 offers one 4pin JST PH series power supply input connector. In addition to main power
supply input and related ground connection this connector offers a separate logic supply input with the
option to keep the on-board logic alive while the driver stage is switched off. It is not necesary to connect
the logic supply input in case separate supplies are not required as the main power supply input will
always supply power to the driver stage and the logic part.
The power supply input connector offers a driver enable input. This input has to be connected to any
voltage above 3.5V up-to max. supply voltage of 30V in order to enable the driver stage. Leaving this pin
unconnected or connected to ground (voltage below 2.4V) will disable the driver stage regardless of any
settings in software. This input may be connected to main power supply input permanently in case an
enable input in hardware is not required.
Power Supply Connector Pin Assigment
Pin Label Direction Description
1 GND Power (GND) Common system supply and signal ground
2 VMAIN Power (input) Main power supply input for the driver and on-board logic
10. . . 30V
3 Enable Digital input Driver enable input. A voltage above 3.5V is required here in
order to enable the on-board stepper motor driver. This in-
put maybe connected to main power supply input in order to
enable the driver stage (+24V tolerant input).
4 VLOGIC Power (input) Optional separate power supply input for the on-board logic
10. . . 30V
Table 5: Power Supply Connector Pin Assignment
NOTICE Do not connect or disconnect motor during operation! Motor cable and mo-
tor inductivity might lead to voltage spikes when the motor is (dis)connected
while energized. These voltage spikes might exceed voltage limits of the driver
MOSFETs and might permanently damage them. Therefore, always switch off
/ disconnect power supply or at least disable driver stage before connecting /
disconnecting motor.
NOTICE Take care of polarity, wrong polarity can destroy the board!
NOTICE Connect Enable pin to voltage >3.5V in order to enable motor movements!
4.2 Motor Connector
A second 4pin JST PH series connector is available for connection of a 2-phase bipolar stepper motor.
Motor Connector Pin Assignment
Pin Label Direction Description
1 B1 out Pin 1 of motor coil B
2 B2 out Pin 2 of motor coil B
©2020 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
PD42-x-1240 Hardware Manual Hardware Version V1.10 | Document Revision V1.03 2020-MAY-05 13 / 34
Pin Label Direction Description
3 A1 out Pin 1 of motor coil A
4 A2 out Pin 2 of motor coil A
Table 6: Motor Connector Pin Assignment
NOTICE Do not connect or disconnect motor during operation! Motor cable and mo-
tor inductivity might lead to voltage spikes when the motor is (dis)connected
while energized. These voltage spikes might exceed voltage limits of the driver
MOSFETs and might permanently damage them. Therefore, always switch off
/ disconnect power supply or at least disable driver stage before connecting /
disconnecting motor.
NOTICE Do not mix-up power supply and motor connectors!
4.3 RS485 + CAN Connector
For serial communication the PD42-x-1240 offers selection between RS485, CAN and USB interfaces. While
the USB interface is available for configuration and service of the board, mainly (e.g. parameter settings,
firmware updates) a 5-pin JST PH series connector offers 2-wire RS485 and CAN interfaces for in system
communication.
NOTICE Due to hardware ressource sharing USB and CAN communication interfaces are
not available at the same time. As soon as USB is physically attached to a host or
hub the CAN interface will be switched off.
RS485 + CAN Connector Pin Assignment
Pin Label Direction Description
1 GND Power (GND) Common system supply and signal ground
2 RS485+ Bidirectional RS485 interface, diff. signal (non-inverting)
3 RS485- Bidirectional RS485 interface, diff. signal (inverting)
4 CAN_H Bidirectional CAN interface, diff. signal (non-inverting)
5 CAN_L Bidirectional CAN interface, diff. signal (inverting)
Table 7: RS485 + CAN Connector Pin Assignment
4.4 USB Connector
For serial communication the PD42-x-1240 offers selection between RS485, CAN and USB interfaces. The
USB interface via on-board micro-USB connector (type B) is available for configuration and service of the
board, mainly (e.g. parameter settings, firmware updates). The USB device interface supports full speed
(12Mbit/s) communication and supports bus powered and self-powered operation. During bus-powered
operation the low voltage logic part of the board will be powered, only. This includes the microcontroller
and the non-volatile memory and therefore allows parameter settings and firmware updates of the board
©2020 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
PD42-x-1240 Hardware Manual Hardware Version V1.10 | Document Revision V1.03 2020-MAY-05 14 / 34
using a standard USB cable, only. Of course, for any motor movement main supply via supply input
connector is required.
NOTICE Due to hardware ressource sharing USB and CAN communication interfaces are
not available at the same time. As soon as USB is physically attached to a host or
hub the CAN interface will be switched off.
USB Connector Pin Assignment
Pin Label Direction Description
1 VBUS Power (+5V) USB +5V nom. power supply input
2 D- Bidirectional USB interface, diff. signal (inverting)
3 D+ Bidirectional USB interface, diff. signal (inverting)
4 ID Input connected to GND (via 100k resistor)
5 GND Power (GND) Common system supply and signal ground
Table 8: USB Connector Pin Assignment
4.5 I/O Connector
The PD42-x-1240 offers several inputs (two of them optically isolated) and one digital (open-drain) output.
The inputs include support for stop switches (left and right), home switch, step/direction, incremental A/B
channel encoder and analog (0. . . +10V) input. All this functionality is available via one 8pin JST PH series
I/O connector.
I/O Connector Pin Assignment
Pin Label Direction Description
1 GND Power (GND) Common system supply and signal ground
2 IN0/HOME Input Analog input (0. . . +10V)
HOME switch input
+24V tolerant, programmable (separate) pull-up to +5V
3 IN1/ENC_A Input General purpose digital input
Incremental encoder input channel A
+24V tolerant, programmable pull-up (for IN1/IN2 together) to
+5V
4 IN2/ENC_B Input General purpose digital input
Incremental encoder input channel B
+24V tolerant, programmable pull-up (for IN1/IN2 together) to
+5V
5 STOP_L/STEP Input STOP left switch input
STEP pulse input
input optically isolated, +24V compatible
6 STOP_R/DIR Input STOP right switch input
DIR input
input optically isolated, +24V compatible
©2020 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
PD42-x-1240 Hardware Manual Hardware Version V1.10 | Document Revision V1.03 2020-MAY-05 15 / 34
Pin Label Direction Description
7 ISO_COM Power Common positive (+24V_ISO) or negative (GND_ISO) isolated
supply input for optically isolated inputs
8 OUT0 Output (OD) Open-Drain output. Output will be pulled low when activated.
Voltages up-to logic supply input level (or main supply input in
case separate logic supply is not used) are supported here. Max.
continuous pull-down current: 100mA
Table 9: I/O Connector Pin Assignment
All pins marked light green offer functional isolation towards main supply input. In case this is not required
ISO_COM may be connected to main ground or supply input, of course. The opto-couppler used are AC
types. This way, either high side switches or low side switches for both inputs are supported.
5 On-Board LEDs
The board offers two LEDs in order to indicate board status. The function of both LEDs is dependent on the
firmware version. With standard TMCL firmware the green LED should be flashing slowly during operation
and the red LED should be off. When there is no valid firmware programmed into the board or during
firmware update the red and green LEDs are permanently switched on. During reset to factory default
values the green LED will be flashing fast. With CANopen firmware both LEDs are switched on/off/flashing
according to standard defintion.
Green LEDRed LED
Figure 3: PD42-x-1240 LEDs
6 Reset to Factory Defaults
It is possible to reset all settings in firmware for the PD42-x-1240 to factory defaults without establishing
a working communication connection. This might be helpful in case communication parameters of the
preferred interface have been set to unknown values or got lost.
For this procedure two pads on the bottom side of the module have to be shorted (electrically connected
with each other) during power-on.
Please perform the following steps:
1. Switch power supply OFF (and disconnect USB cable if applicable)
2. Short CLK and DIO pads of programming pads on bottom of pcb (see figure 4)
©2020 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
PD42-x-1240 Hardware Manual Hardware Version V1.10 | Document Revision V1.03 2020-MAY-05 16 / 34
3. Switch power supply ON again (or connect USB again if applicable)
4. Wait until the on-board red and green LEDs start flashing fast (this might take a while)
5. Switch power supply OFF again (and disconnect USB cable if applicable)
6. Remove short between pads
7. After switching power supply ON again (and / or connecting USB cable) all permanent settings have
been restored to factroy defaults
Short these two pads
Figure 4: Reset to factory default settings
©2020 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
PD42-x-1240 Hardware Manual Hardware Version V1.10 | Document Revision V1.03 2020-MAY-05 17 / 34
7 I/Os
The I/O connector (8pin JST PH series) offers one analog input, two non-isolated digital inputs with inte-
grated pull-ups (programmable) and two optically isolated inputs. All inputs can be used for different
purposes explained in more detail in the following subsections.
7.1 Analog input IN0
The PD42-x-1240 offers one analog input. The analog input voltage range is approx. 0..+10V. For volt-
ages above +10V saturation takes place but, up-to 30V higher voltages are tolerated without destroying
the input. For analog to digital conversion the integrated ADC of the on-board microcontroller is used.
Resolution of this converter is 12bit (0..4095).
100nF
10k
22k
2k2
+3V3
microcontroller
microcontroller
IN0
+5V
TMCM-1240
pull-up
disabled
V
0..10V
Figure 5: Analog input IN0
The analog input can be used as digital input, also. There is an integrated pull-up to +5V which can be
switched on of off in software. When using this input as anlog input the pull-up should be usually switched
off.
7.2 Digital inputs IN1 and IN2
The PD42-x-1240 offers two digital inputs IN1 and IN2 which accept signals between 0 and 30V with volt-
ages above approx. 2.9V recognized as logical ’1’ and below 1V as logical ’0’. Both inputs offer intergated
pull-ups to +5V which can be switched on or off in software (always together). When using the inputs with
low-side switches (connected to GND), pull-ups usually should be switched on (default). In case high-side
switches are used the pull-ups must be switched off. For push-pull signals the pull-ups may be either
switched on or off.
©2020 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
PD42-x-1240 Hardware Manual Hardware Version V1.10 | Document Revision V1.03 2020-MAY-05 18 / 34
33pF
22k
10k
2k2
+3V3
microcontroller
microcontroller
IN1
IN2
+5V
TMCM-1240
or
pull-up
enabled
or
pull-up
disabled
+5V...24V
+5V
Figure 6: Digital inputs IN1 and IN2
7.3 HOME/STOP_L/STOP_R switch inputs
The PD42-x-1240 offers two optically isolated inputs which can be used as left (STOP_L) and right (STOP_R)
stop switch inputs. When enabled in software the STOP_L switch input will stop motor movement in
negative direction (step counter decreasing) while activated. Likewise the STOP_R switch input will stop
motor movement in positive direction (step counter increasing) while activated.
680
6k8
2k2
+3V3
microcontroller
TMCM-1240
STOP_L,
STOP_R
ISO_COM
+24V_ISO
GND_ISO
or
+24V_ISO
GND_ISO
Figure 7: Stop switch inputs
A separated / isolated supply may be used for the switches - as indicated in the drawing (+24V_ISO and
related GND_ISO) - but, same supply as for the PD42-x-1240 can be used, also, of course.
7.4 External incremental encoder input
The PD42-x-1240 offers an integrated hall-sensor based magnet encoder. In addition, an external incre-
mental A/B encoder may be connected to the two digital inputs IN1 and IN2. Encoder with push-pull
signals (e.g. +5V TTL) and open-drain output signals are supported (single-ended). For open-drain out-
puts the internal pull-ups should be activated in software (default mode).
©2020 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
PD42-x-1240 Hardware Manual Hardware Version V1.10 | Document Revision V1.03 2020-MAY-05 19 / 34
33pF
22k
10k
2k2
+3V3
microcontroller
microcontroller
ENC_A,
ENC_B
+5V
TMCM-1240
or
+5V
pull-up
enabled
Figure 8: External encoder input
7.5 Step/Direction inputs
The PD42-x-1240 may be used as driver with an external motion controller. In this case the Step/Direction
output signals of the external motion controller may be connected to the optically isolated Step/Dir inputs
of the PD42-x-1240. Please note that these signals should be 24V signals. For lower voltage signals a
simple small signal transistor maybe inserted as level converter.
Figure 9: Step/Direction input
Due to limitations of the opto-isolators the maximum step frequency of these inputs is limited to around
20kHz. For higher motor speed the step interpolator of the driver stage should be activated or the mi-
crostep resolution reduced (default 256 microsteps per fullstep).
©2020 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
PD42-x-1240 Hardware Manual Hardware Version V1.10 | Document Revision V1.03 2020-MAY-05 20 / 34
8 Communication
8.1 RS485
For remote control and communication with a host system the PD42-x-1240 provides a two wire RS485
bus interface. For proper operation the following items should be taken into account when setting up an
RS485 network:
1. BUS STRUCTURE:
The network topology should follow a bus structure as closely as possible. That is, the connection
between each node and the bus itself should be as short as possible. Basically, it should be short
compared to the length of the bus.
c:> node
1
node
n- 1
node
n
Host Slave Slave Slave
RS485
termination
resistor
(120 Ohm)
termination
resistor
(120 Ohm)
}
keep distance as
short as possible
Figure 10: RS485 bus structure with termination resistors
2. BUS TERMINATION:
Especially for longer busses and/or multiple nodes connected to the bus and/or high communication
speeds, the bus should be properly terminated at both ends. The PD42-x-1240 does not integrate
any termination resistor. Therefore, 120 Ohm termination resistors at both ends of the bus have to
be added externally.
3. NUMBER OF NODES:
The RS485 electrical interface stadard (EIA-485) allows up to 32 nodes to be connected to a single bus.
The bus transceiver used on the PD42-x-1240 units (SN65HVD1781D) offers a significantly reduced
bus load compared to the standard and allows a maximum of 255 units to be connected to a single
RS485 bus using standard TMCL firmware. Please note: usually it cannot be expected to get reliable
communication with the maximum number of nodes connected to one bus and maximum supported
communication speed at the same time. Instead, a compromise has to be found between bus cable length,
communication speed and number of nodes.
4. COMMUNICATION SPEED:
The maximum RS485 communication speed supported by the PD42-x-1240 hardware is 1Mbit/s. Fac-
tory default is 9600 bit/s. Please see separate PD42-x-1240 TMCL firmware manual for information
regarding other possible communication speeds below the upper hardware limit.
5. NO FLOATING BUS LINES:
Avoid floating bus lines while neither the host/master nor one of the slaves along the bus line is
transmitting data (all bus nodes switched to receive mode). Floating bus lines may lead to communi-
cation errors. In order to ensure valid signals on the bus it is recommended to use a resistor network
connecting both bus lines to well defined logic levels.
There are actually two options which can be recommended: Add resistor (bias) network on one side
of the bus, only (120R termination resistor still at both ends):
©2020 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at www.trinamic.com
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34

TRINAMIC / ANALOG DEVICES PD42-3-1240-TMCL User manual

Type
User manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI