Module for Stepper Motors
MODULE
TMCM-1240 CANopen
®
Firmware Manual
Firmware Version V3.21 | Document Revision V1.00 • 2017-DEC-01
The TMCM-1240 is a single axis controller/driver module for 2-phase bipolar stepper motors. The
TMCM-1240 CANopen
®
rmware allows to control the module using the CANopen
®
protocol, mak-
ing use of the Trinamic TMC5160 motion controller and motor driver. Dynamic current control,
and quiet, smooth and e cient operation are combined with stealthChop™, dcStep™, stallGuard™
and coolStep™ features.
Features
•
•
•
•
•
•
Single axis Stepper Motor Control
CANopen
®
CiA-402 Drive Pro le
coolStep™
dcStep™
stallGuard2™
stealthChop™
Applications
• Laboratory Automation
• Manufacturing
• Semiconductor Handling
• Robotics
• Factory Automation
• Test & Measurement
• Life Science
• Biotechnology
• Liquid Handling
Simpli ed Block Diagram
EEPROM
SPI
USB
RS485
CAN
I/Os
6
TMCM™1240
Step
ARM
Cortex™M3
TM
microcontroller
SPI
Motion
Energy Efficient
Controller
Driver
B
TMC262
Pre™Driver
MOSFET
Driver
Stage
Motor
STOP_L/R, S/D, Encoder
SPI
10… 30V DC
DC/DC
+3V3
+5V
sensOstep™
Encoder
©2018 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.
TMCM-1240 CANopen
®
Firmware Manual • Firmware Version V3.21 | Document Revision V1.00 • 2017-DEC-01
2 / 117
Contents
1 Preface
1.1 General Features of this CANopen Implementation
. . . .
1.2 Abbreviations used in this Manual
. . . . . . . . . . . . . .
1.3 Firmware Update
. . . . . . . . . . . . . . . . . . . . . . . .
1.4 Trinamic’s unique Features — easy to use with CANopen
1.4.1 stallGuard2
. . . . . . . . . . . . . . . . . . . . . . .
1.4.2 coolStep
. . . . . . . . . . . . . . . . . . . . . . . . .
2 Communication
2.1 Reference Model
.
2.2 NMT State Machine
2.3 Device Model
. . .
2.4 Object Dictionary
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
6
6
7
7
8
8
8
10
10
12
13
14
16
16
16
16
17
18
18
18
19
19
19
21
22
22
23
23
24
24
25
26
27
28
30
30
32
32
32
32
33
34
34
35
35
36
36
37
37
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
3 Communication Area
3.1 Detailed Object Speci cations
. . . . . . . . . . . . . . . . . . . . . . . . . .
3.1.1 Object 1000
h
: Device Type
. . . . . . . . . . . . . . . . . . . . . . .
3.1.2 Object 1001
h
: Error Register
. . . . . . . . . . . . . . . . . . . . . .
3.1.3 Object 1005
h
: COB-ID SYNC Message
. . . . . . . . . . . . . . . . .
3.1.4 Object 1008
h
: Manufacturer Device Name
. . . . . . . . . . . . . .
3.1.5 Object 1009
h
: Manufacturer Hardware Version
. . . . . . . . . . .
3.1.6 Object 100A
h
: Manufacturer Software Version
. . . . . . . . . . . .
3.1.7 Object 100C
h
: Guard Time
. . . . . . . . . . . . . . . . . . . . . . .
3.1.8 Object 100D
h
: Life Time Factor
. . . . . . . . . . . . . . . . . . . . .
3.1.9 Object 1010
h
: Store Parameters
. . . . . . . . . . . . . . . . . . . .
3.1.10 Object 1011
h
: Restore Parameters
. . . . . . . . . . . . . . . . . . .
3.1.11 Object 1014
h
: COB-ID Emergency Object
. . . . . . . . . . . . . . .
3.1.12 Object 1015
h
: Inhibit Time EMCY
. . . . . . . . . . . . . . . . . . . .
3.1.13 Object 1016
h
: Consumer Heartbeat Time
. . . . . . . . . . . . . . .
3.1.14 Object 1017
h
: Producer Heartbeat Time
. . . . . . . . . . . . . . .
3.1.15 Object 1018
h
: Identity Object
. . . . . . . . . . . . . . . . . . . . . .
3.1.16 Object 1029
h
: Error Behaviour
. . . . . . . . . . . . . . . . . . . . .
3.1.17 Objects 1400
h
– 1403
h
: Receive PDO Communication Parameter
.
3.1.18 Objects 1600
h
– 1603
h
: Receive PDO Mapping Parameter
. . . . .
3.1.19 Objects 1800
h
– 1803
h
: Transmit PDO Communication Parameter
3.1.20 Objects 1A00
h
– 1A03
h
: Transmit PDO Mapping Parameter
. . . .
4 Manufacturer speci c Area
4.1 Objects related to coolStep
. . . . . . . . . . .
4.2 Detailed Object Speci cations
. . . . . . . . . .
4.2.1 Object 2000
h
: Microstep Resolution
. .
4.2.2 Object 2001
h
: Fullstep Resolution
. . .
4.2.3 Object 2002
h
: Brake Delay Times
. . . .
4.2.4 Object 2003
h
: Maximum Current
. . . .
4.2.5 Object 2004
h
: Standby Current
. . . . .
4.2.6 Object 2005
h
: Limit Switches
. . . . . .
4.2.7 Object 200A
h
: Enable Drive Delay Time
4.2.8 Object 200B
h
: Encoder Parameters
. .
4.2.9 Object 200C
h
: Brake Current Feed
. . .
4.2.10 Object 2010
h
: Pro le Start Velocity
. . .
4.2.11 Object 2011
h
: Pro le A1
. . . . . . . . .
4.2.12 Object 2012
h
: Pro le V1
. . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
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.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
©2018 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at
www.trinamic.com
TMCM-1240 CANopen
®
Firmware Manual • Firmware Version V3.21 | Document Revision V1.00 • 2017-DEC-01
3 / 117
4.2.13
4.2.14
4.2.15
4.2.16
4.2.17
4.2.18
4.2.19
4.2.20
4.2.21
4.2.22
4.2.23
4.2.24
4.2.25
4.2.26
4.2.27
4.2.28
4.2.29
4.2.30
4.2.31
4.2.32
4.2.33
4.2.34
4.2.35
4.2.36
4.2.37
4.2.38
4.2.39
4.2.40
4.2.41
4.2.42
4.2.43
4.2.44
4.2.45
4.2.46
4.2.47
4.2.48
4.2.49
4.2.50
4.2.51
4.2.52
4.2.53
4.2.54
4.2.55
4.2.56
4.2.57
4.2.58
4.2.59
4.2.60
4.2.61
Object 2013
h
: Pro le D1
. . . . . . . . . . . . . .
Object 2015
h
: Ramp Wait Time
. . . . . . . . . .
Object 2089
h
: Setting Delay
. . . . . . . . . . . .
Object 208C
h
: Velocity Dimension Index
. . . .
Object 208E
h
: Acceleration Dimension Index
. .
Object 2092
h
: Chopper Blank Time
. . . . . . .
Object 2093
h
: Chopper Mode
. . . . . . . . . . .
Object 2094
h
: Chopper Hysteresis Decrement
.
Object 2095
h
: Chopper Hysteresis End
. . . . .
Object 2096
h
: Chopper Hysteresis Start
. . . . .
Object 2097
h
: Chopper Off Time
. . . . . . . . .
Object 2098
h
: Smart Energy Current Minimum
Object 2099
h
: Smart Energy Current Down Step
Object 209A
h
: Smart Energy Hysteresis
. . . . .
Object 209B
h
: Smart Energy Current Up Step
.
Object 209C
h
: Smart Energy Hysteresis Start
. .
Object 209D
h
: Smart Energy Filter Enable
. . . .
Object 209E
h
: stallGuard2 Threshold
. . . . . .
Object 20A1
h
: Short Protection Disable
. . . . .
Object 20A4
h
: Stop on Stall
. . . . . . . . . . . .
Object 20A5
h
: Smart Energy Threshold Speed
.
Object 20B0
h
: PWM Threshold Speed
. . . . . .
Object 20B1
h
: PWM Gradient
. . . . . . . . . . .
Object 20B2
h
: PWM Amplitude
. . . . . . . . . .
Object 20B3
h
: dcStep Minimum Speed
. . . . .
Object 20B4
h
: dcStep Time
. . . . . . . . . . . .
Object 20B5
h
: dcStep stallGuard
. . . . . . . . .
Object 20B6
h
: Fullstep Threshold Speed
. . . .
Object 20B7
h
: High Speed Chopper Mode
. . .
Object 20B8
h
: High Speed Fullstep Mode
. . . .
Object 20B9
h
: Power Down Ramp
. . . . . . . .
Object 2100
h
: Home Offset Display
. . . . . . .
Object 2101
h
: Actual Load Value
. . . . . . . . .
Object 2102
h
: Driver Error Flags
. . . . . . . . .
Object 2107
h
: Microstep Resolution Display
. .
Object 210B
h
: Step Counter
. . . . . . . . . . . .
Object 2121
h
: PWM Scale Value
. . . . . . . . .
Object 2122
h
: Measured Velocity
. . . . . . . . .
Object 2700
h
: TMCL Direct Communication
. .
Object 2701
h
: Manufacturer Speci c Mode
. . .
Object 2702
h
: Device Digital Inputs
. . . . . . .
Object 2703
h
: Device Digital Outputs
. . . . . .
Object 2704
h
: CAN Bit Rate
. . . . . . . . . . . .
Object 2705
h
: Node ID
. . . . . . . . . . . . . . .
Object 2706
h
: Store
. . . . . . . . . . . . . . . .
Object 2707
h
: CAN Bit Rate Load
. . . . . . . . .
Object 2708
h
: Node ID Load
. . . . . . . . . . .
Object 270E
h
: Device Analog Inputs
. . . . . . .
Object 2710
h
: Pull-up Resistors
. . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
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.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
38
38
38
39
39
40
40
41
41
42
42
42
43
43
44
44
45
45
46
46
47
47
48
48
48
49
49
50
50
50
51
51
52
52
53
53
54
54
55
55
56
56
57
57
58
58
59
59
59
©2018 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at
www.trinamic.com
TMCM-1240 CANopen
®
Firmware Manual • Firmware Version V3.21 | Document Revision V1.00 • 2017-DEC-01
4 / 117
5 Pro le speci c Area
5.1 Detailed Object Speci cations
. . . . . . . . . . . . . .
5.1.1 Object 605A
h
: Quick Stop Option Code
. . . .
5.1.2 Object 605B
h
: Shutdown Option Code
. . . .
5.1.3 Object 605C
h
: Disable Operation Option Code
5.1.4 Object 605D
h
: Halt Option Code
. . . . . . . .
5.1.5 Object 605E
h
: Fault Reaction Option Code
. .
5.1.6 Object 6060
h
: Modes of Operation
. . . . . . .
5.1.7 Object 6061
h
: Modes of Operation Display
. .
5.1.8 Object 606A
h
: Sensor Selection Code
. . . . .
5.1.9 Object 608F
h
: Position Encoder Resolution
. .
5.1.10 Object 60FD
h
: Digital Inputs
. . . . . . . . . . .
5.1.11 Object 6502
h
: Supported Drive Modes
. . . .
6 Pro le Position Mode
6.1 Detailed Object Speci cations
. . . . . . . . . . . . .
6.1.1 Object 6040
h
: Control Word
. . . . . . . . . .
6.1.2 Object 6041
h
: Status Word
. . . . . . . . . .
6.1.3 Object 6062
h
: Position Demand Value
. . . .
6.1.4 Object 6063
h
: Position Actual Internal Value
6.1.5 Object 6064
h
: Position Actual Value
. . . . .
6.1.6 Object 6065
h
: Following Error Window
. . .
6.1.7 Object 6067
h
: Position Window
. . . . . . . .
6.1.8 Object 6068
h
: Position Window Time
. . . .
6.1.9 Object 606C
h
: Velocity Actual Value
. . . . .
6.1.10 Object 607A
h
: Target Position
. . . . . . . . .
6.1.11 Object 607D
h
: Software Position Limit
. . . .
6.1.12 Object 6081
h
: Pro le Velocity
. . . . . . . . .
6.1.13 Object 6082
h
: End Velocity
. . . . . . . . . .
6.1.14 Object 6083
h
: Pro le Acceleration
. . . . . .
6.1.15 Object 6084
h
: Pro le Deceleration
. . . . . .
6.1.16 Object 6085
h
: Quick Stop Deceleration
. . .
6.1.17 Object 60F2
h
: Positioning Option Code
. . .
6.2 How to move a Motor in pp Mode
. . . . . . . . . .
7 Pro le Velocity Mode
7.1 Detailed Object Speci cations
. . . . . . . . . . . . .
7.1.1 Object 6040
h
: Control Word
. . . . . . . . . .
7.1.2 Object 6041
h
: Status Word
. . . . . . . . . .
7.1.3 Object 6062
h
: Position Demand Value
. . . .
7.1.4 Object 6063
h
: Position Actual Internal Value
7.1.5 Object 6064
h
: Position Actual Value
. . . . .
7.1.6 Object 6065
h
: Following Error Window
. . .
7.1.7 Object 606C
h
: Velocity Actual Value
. . . . .
7.1.8 Object 607D
h
: Software Position Limit
. . . .
7.1.9 Object 6083
h
: Pro le Acceleration
. . . . . .
7.1.10 Object 6085
h
: Quick Stop Deceleration
. . .
7.1.11 Object 60FF
h
: Target Velocity
. . . . . . . . .
7.2 How to move a Motor in pv Mode
. . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.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
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
©2018 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at
www.trinamic.com
TMCM-1240 CANopen
®
Firmware Manual • Firmware Version V3.21 | Document Revision V1.00 • 2017-DEC-01
5 / 117
8 Homing Mode
8.1 Homing Methods
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8.1.1 Homing Method 1: Homing on negative Limit Switch and Index Pulse
.
8.1.2 Homing Method 2: Homing on positive Limit Switch and Index Pulse
.
8.1.3 Homing Method 3: Homing on positive Home Switch and Index Pulse
.
8.1.4 Homing Method 5: Homing on negative Home Switch and Index Pulse
8.1.5 Homing Method 17, 18, 19, and 21: Homing without Index Pulse
. . . .
8.1.6 Homing Method 33 and 34: Homing on next Index Pulse
. . . . . . . .
8.1.7 Homing Method 35: Current Position as Home Position
. . . . . . . . .
8.2 Detailed Object Speci cations
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8.2.1 Object 6040
h
: Control Word
. . . . . . . . . . . . . . . . . . . . . . . . . .
8.2.2 Object 6041
h
: Status Word
. . . . . . . . . . . . . . . . . . . . . . . . . .
8.2.3 Object 606C
h
: Velocity Actual Value
. . . . . . . . . . . . . . . . . . . . .
8.2.4 Object 607C
h
: Home Offset
. . . . . . . . . . . . . . . . . . . . . . . . . .
8.2.5 Object 6098
h
: Homing Method
. . . . . . . . . . . . . . . . . . . . . . . .
8.2.6 Object 6099
h
: Homing Speeds
. . . . . . . . . . . . . . . . . . . . . . . .
8.2.7 Object 609A
h
: Homing Acceleration
. . . . . . . . . . . . . . . . . . . . .
8.2.8 Object 2100
h
: Home Offset Display
. . . . . . . . . . . . . . . . . . . . .
8.3 How to start a Homing in hm Mode
. . . . . . . . . . . . . . . . . . . . . . . . .
9 Cyclic synchonous Position Mode
9.1 Detailed Object Speci cations
. . . . . . . . . . . . .
9.1.1 Object 6040
h
: Control Word
. . . . . . . . . .
9.1.2 Object 6041
h
: Status Word
. . . . . . . . . .
9.1.3 Object 6062
h
: Position Demand Value
. . . .
9.1.4 Object 6063
h
: Position Actual Internal Value
9.1.5 Object 6064
h
: Position Actual Value
. . . . .
9.1.6 Object 606C
h
: Velocity Actual Value
. . . . .
9.1.7 Object 607A
h
: Target Position
. . . . . . . . .
9.1.8 Object 607D
h
: Software Position Limit
. . . .
9.1.9 Object 60B0
h
: Position Offset
. . . . . . . . .
9.1.10 Object 60C2
h
: Interpolation Time Period
. .
10 Emergency Messages (EMCY)
11 Figures Index
12 Tables Index
13 Supplemental Directives
13.1 Producer Information
. . . . . . . . .
13.2 Copyright
. . . . . . . . . . . . . . . . .
13.3 Trademark Designations and Symbols
13.4 Target User
. . . . . . . . . . . . . . . .
13.5 Disclaimer: Life Support Systems
. . .
13.6 Disclaimer: Intended Use
. . . . . . .
13.7 Collateral Documents & Tools
. . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
89
90
90
91
91
91
92
92
93
94
94
95
96
97
98
98
98
99
99
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
101
. 101
. 101
. 102
. 104
. 104
. 105
. 105
. 105
. 106
. 106
. 107
108
110
111
115
. 115
. 115
. 115
. 115
. 115
. 115
. 116
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
14 Revision History
117
14.1 Firmware Revision
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
14.2 Document Revision
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
©2018 TRINAMIC Motion Control GmbH & Co. KG, Hamburg, Germany
Terms of delivery and rights to technical change reserved.
Download newest version at
www.trinamic.com