H, 11/2012Object dictionary updated, error codes updated, new object 345A
Trademarks
l AKD is a registered trademark of Kollmorgen™ Corporation
l EnDat is a registered trademark of Dr. Johannes Heidenhain GmbH
l EtherCAT is a registered trademark and patented technology, licensed by Beckhoff Automation GmbH
l Ethernet/IP is a registered trademark of ODVA, Inc.
l Ethernet/IP Communication Stack: copyright (c) 2009, Rockwell Automation
l HIPERFACE is a registered trademark of Max Stegmann GmbH
l PROFINET is a registered trademark of PROFIBUS and PROFINET International (PI)
l SIMATIC is a registered trademark of SIEMENS AG
l Windows is a registered trademark of Microsoft Corporation
Current patents
l US Patent 5,162,798 (used in control card R/D)
l US Patent 5,646,496 (used in control card R/D and 1 Vp-p feedback interface)
l US Patent 6,118,241 (used in control card simple dynamic braking)
l US Patent 8,154,228 (Dynamic Braking For Electric Motors)
l US Patent 8,214,063 (Auto-tune of a Control System Based on Frequency Response)
Technical changes which improve the performance of the device may be made without prior notice!
Printed in the United States of America
This document is the intellectual property of Kollmorgen™. All rights reserved. No part of this work may be
reproduced in any form (by photocopying, microfilm or any other method) or stored, processed, copied or distributed by electronic means without the written permission of Kollmorgen™.
2Kollmorgen™ | November 2012
Page 3
AKD CANopen | Table of Contents
1Table of Contents
1 Table of Contents3
2 General9
2.1 About this Manual10
2.2 Target Group10
2.3 Symbols used11
2.4 Abbreviations used12
3 Safety13
3.1 Safety Instructions14
3.2 Use As Directed14
3.3 Prohibited Use14
4 Installation and Setup15
4.1 Safety Instructions16
4.2 CAN-Bus Interface (X12/X13)17
4.2.1 CAN-Bus activation with AKD-CC models18
4.2.2 Baudrate for CAN-Bus19
4.2.3 Node Address for CAN-Bus20
4.2.4 CAN-Bus Termination20
4.2.5 CAN-Bus Cable20
4.2.6 CAN-Bus Wiring21
4.3 Guide to Setup22
5 CANopen Basics23
5.1 Basic Features implemented by CANopen24
5.1.1 Setup and general functions:24
5.1.2 Positioning functions:24
5.1.3 Data transfer functions:24
5.2 Transmission Rate and Procedure24
5.3 Response to BUSOFF Communication Faults25
5.4 Important Configuration Parameters25
6 CANopen Communication Profile26
6.1 General Description of CAN27
6.2 Construction of the Communication Object Identifier28
6.3 Definition of the Used Data Types29
6.3.1 Basic data types29
6.3.1.1 Unsigned Integer29
6.3.1.2 Signed Integer30
6.3.2 Mixed data types30
6.3.3 Extended data types31
6.3.3.1 Octet String31
6.3.3.2 Visible String31
6.4 Communication Objects31
6.4.1 Network Management Objects (NMT)32
6.4.2 Synchronization Object (SYNC)32
6.4.3 Time-Stamp Object (TIME)32
Kollmorgen™ | November 20123
Page 4
AKD CANopen | Table of Contents
6.4.4 Emergency Object (EMCY)33
6.4.4.1 Application of the Emergency Object33
6.4.4.2 Composition of the Emergency Object33
6.4.5 Service Data Objects (SDO)34
6.4.5.1 Composition of the Service Data Object34
6.4.5.2 Initiate SDO Download Protocol36
6.4.5.3 Download SDO Segment Protocol36
6.4.5.4 Initiate SDO Upload Protocol36
6.4.5.5 Upload SDO Segment Protocol36
6.4.5.6 Abort SDO Protocol36
6.4.6 Process Data Object (PDO)37
6.4.6.1 Transmission modes38
6.4.6.2 Trigger modes38
6.4.7 Nodeguard39
6.4.8 Heartbeat40
7 CANopen Drive Profile41
7.1 CANopen Emergency Messages and Error Codes42
7.2 General Definitions46
7.2.1 General objects46
7.2.1.1 Object 1000h: Device Type (DS301)46
7.2.1.2 Object 1001h: Error register (DS301)47
7.2.1.3 Object 1002h: Manufacturer Status Register (DS301)48
7.2.1.4 Object 1003h: Predefined Error Field (DS301)49
7.2.1.5 Object 1005h: COB-ID of the SYNC Message (DS301)50
7.2.1.6 Object 1006h: Communication Cycle Period (DS301)50
7.2.1.7 Object 1008h: Manufacturer Device Name (DS301)51
8.2.1.1 Basic testing of the connection to the AKD controls138
8.2.1.2 Example: Operating the Status Machine139
8.2.1.3 Example: Jog Mode via SDO140
8.2.1.4 Example: Torque Mode via SDO140
8.2.1.5 Example: Jog Mode via PDO141
8.2.1.6 Example: Torque Mode via PDO143
8.2.1.7 Example: Homing via SDO144
8.2.1.8 Example: Using the Profile Position Mode146
8.2.1.9 Example: ASCII Communication149
8.2.1.10 Test for SYNC telegrams150
8.2.2 Examples, special applications151
8.2.2.1 Example: External Trajectory with Interpolated Position Mode151
8.2.2.2 Example: PVT Interpolation156
9 Index159
Kollmorgen™ | November 20127
Page 8
AKD CANopen | Table of Contents
This page intentionally left blank.
8Kollmorgen™ | November 2012
Page 9
AKD CANopen | 2 General
2General
2.1 About this Manual10
2.2 Target Group10
2.3 Symbols used11
2.4 Abbreviations used12
Kollmorgen™ | November 20129
Page 10
AKD CANopen | 2 General
2.1 About this Manual
This manual, AKD CAN-Bus Communication, This manual describes the installation, setup, range of functions,
and software protocol for the CANopen AKD product series. All AKD CANopen drives have built-in CANopen
functionality; therefore an additional option card is not required.
A digital version of this manual (pdf format) is available on the DVD included with your drive. Manual updates can
be downloaded from the Kollmorgen™ website.
Related documents for the AKD series include:
l AKD Quick Start (also provided in hard copy). This guide provides instructions for initial drive setup and con-
nection to a network.
l AKD Installation Manual (also provided in hard copy for EU customers). This manual provides instructions for
installation and drive setup.
l AKD Users Manual. This manual describes how to use your drive in common applications. It also provides
tips for maximizing your system performance with the AKD.
l AKD Parameter and Command Reference Guide. This guide provides documentation for the parameters and
commands used to program the AKD.
l Accessories Manual. This manual provides documentation for accessories like cables and regen resistors
used with AKD. Regional versions of this manual exist.
Additional documentation:
l CAN Application (CAL) for Industrial Applications (publisher CiA e.V.)
l Draft Standards 301 (from Version 4.0), 402 (publisher CiA e.V.)
l CAN Specification Version 2.0 (publisher CiA e.V.)
l ISO 11898 ... Controller Area Network (CAN) for high-speed communication
2.2 Target Group
This manual addresses personnel with the following qualifications:
l Installation: only by electrically qualified personnel.
l Setup : only by qualified personnel with extensive knowledge of electrical engineering
and drive technology
l Programming: Software developers, project-planners
The qualified personnel must know and observe the following standards:
l ISO 12100, IEC 60364 and IEC 60664
l National accident prevention regulations
During operation there are deadly hazards, with the possibility of death,
severe injury or material damage. The operator must ensure that the safety
instructions in this manual are followed. The operator must ensure that all personnel responsible for working with the servo drive have read and understand
the manual.
10Kollmorgen™ | November 2012
Page 11
2.3 Symbols used
Warning Symbols
SymbolIndication
Indicates a hazardous situation which, if not
avoided, will result in death or serious injury.
Indicates a hazardous situation which, if not
avoided, could result in death or serious injury.
Indicates a hazardous situation which, if not
avoided, could result in minor or moderate injury.
This is not a safety symbol.
Indicates situations which, if not avoided, could
result in property damage.
This is not a safety symbol.
This symbol indicates important notes.
Drawing symbols
SymbolDescriptionSymbolDescription
Signal groundDiode
AKD CANopen | 2 General
Chassis groundRelays
Protective earthRelays switch off
delayed
ResistorNormal open contact
FuseNormal closed contact
Kollmorgen™ | November 201211
Page 12
AKD CANopen | 2 General
2.4 Abbreviations used
Abbreviation Meaning
BTB/RTOReady to operate (standby)
COBCommunication Object
COB-IDCommunication Object Identifier
EEPROMElectrically erasable/programmable memory
EMCElectromagnetic compatibility
EMCYEmergency Objects
ISOInternational Standardization Organization
km1000 m
LEDLight-emitting diode
LSBLow significant Byte (or Bit)
MSBMain significant Byte (or Bit)
MBMegabyte
NMTNetwork Management Objects
NSTOPLimit switch for negative (left) rotation
PCPersonal Computer
PDOProcess Data Object
PSTOPLimit switch for positive (right) rotation
RAMVolatile memory
RODIncremental position encoder
RXPDOReceive PDO
SDOService Data Object
SYNCSynchronization Objects
TXPDOTransmit PDO
12Kollmorgen™ | November 2012
Page 13
AKD CANopen | 3 Safety
3Safety
3.1 Safety Instructions14
3.2 Use As Directed14
3.3 Prohibited Use14
Kollmorgen™ | November 201213
Page 14
AKD CANopen | 3 Safety
3.1 Safety Instructions
During operation there are deadly hazards, with the possibility of death,
severe injury or material damage. Do not open or touch the equipment during
operation. Keep all covers and cabinet doors closed during operation. Touching the equipment is allowed during installation and commissioning for properly qualified persons only.
Electronic equipment is basically not failure-proof. The user is responsible
for ensuring that, in the event of a failure of the drive, the drive is set to a
state that is safe for both machinery and personnel, for instance with the aid
of a mechanical brake.
Drives with drives and CANopen expansion cards are remote-controlled
machines. They can start to move at any time without previous warning. Take
appropriate measures to ensure that the operating and service personnel is
aware of this danger.
Implement appropriate protective measures to ensure that any unintended
start-up of the machines cannot result in dangerous situations for personnel
or machinery. Software limit-switches are not a substitute for the hardware
limit-switches in the machine.
l During operation, drives may have uncovered live components, depending
on their level of enclosure protection.
l Control and power connections may be live, even though the motor is not
rotating.
l Drives may have hot surfaces during operation. Heat sink can reach tem-
peratures above 80°C.
Install the drive as described in the Installation Manual. The wiring for the
analog setpoint input and the positioning interface, as shown in the wiring
diagram in the Installation Manual, is not required. Never break any of the
electrical connections to the drive while it is live. This action can result in
destruction of the electronics
3.2 Use As Directed
Drives are components that are built into electrical plants or machines and can only be operated as integral components of these plants or machines. The manufacturer of the machine used with a drive must generate a risk
assessment for the machine and take appropriate measures to ensure that unforeseen movements cannot cause
personnel injury or property damage.
Please observe the chapters "Use as directed” and "Prohibited use" in the AKD Installation Manual.
The CANopen interface serves only for the connection of the AKD to a master via the CAN bus.
3.3 Prohibited Use
Other use than that described in chapter “Use as directed” is not intended and can lead to personnel injuries and
equipment damage. The drive may not be used with a machine that does not comply with appropriate national
directives or standards. The use of the drive in the following environments is also prohibited:
l potentially explosive areas
l environments with corrosive and/or electrically conductive acids, alkaline solutions, oils, vapors, dusts
l ships or offshore applications
14Kollmorgen™ | November 2012
Page 15
AKD CANopen | 4 Installation and Setup
4Installation and Setup
4.1 Safety Instructions16
4.2 CAN-Bus Interface (X12/X13)17
4.3 Guide to Setup22
Kollmorgen™ | November 201215
Page 16
AKD CANopen | 4 Installation and Setup
4.1 Safety Instructions
Never undo any electrical connections to the drive while it is live. There is a danger of
electrical arcing with damage to contacts and serious personal injury. Wait at least
seven minutes after disconnecting the drive from the main supply power before touching potentially live sections of the equipment (e.g. contacts) or undoing any connections.
Capacitors can still have dangerous voltages present up to 7 minutes after switching
off the supply power. To be sure, measure the voltage in the DC Bus link and wait
until it has fallen below 40 V.
Control and power connections can still be live, even if the motor is not rotating.
Electronic equipment is basically not failure-proof. The user is responsible for ensuring that, in the event of a failure of the drive, the drive is set to a state that is safe for
both machinery and personnel, for instance with the aid of a mechanical brake.
Drives with drives and CANopen are remote-controlled machines. They can start to
move at any time without previous warning. Take appropriate measures to ensure
that the operating and service personnel is aware of this danger.
Implement appropriate protective measures to ensure that any unintended start-up of
the machines cannot result in dangerous situations for personnel or machinery. Software limit-switches are not a substitute for the hardware limit-switches in the
machine.
Install the drive as described in the Installation Manual. The wiring for the analog set-
point input and the positioning interface, as shown in the wiring diagram in the Instal-lation Manual, is not required. Never break any of the electrical connections to the
drive while it is live. This action can result in destruction of the electronics.
The drive's status must be monitored by the PLC to acknowledge critical situations.
Wire the FAULT contact in series into the emergency stop circuit of the installation.
The emergency stop circuit must operate the supply contactor.
It is permissible to use the setup software to alter the settings of the drive. Any other
alterations will invalidate the warranty.
Because of the internal representation of the position-control parameters, the position
controller can only be operated if the final limit speed of the drive does not exceed:
rotary
at sinusoidal² commutation: 7500 rpm
at trapezoidal commutation: 12000 rpm.
linear
at sinusoidal² commutation: 4 m/s
at trapezoidal commutation: 6.25 m/s
All the data on resolution, step size, positioning accuracy etc. refer to calculatory
values. Non-linearities in the mechanism (backlash, flexing, etc.) are not taken into
account. If the final limit speed of the motor must be altered, then all the parameters
that were previously entered for position control and motion blocks must be adapted.
16Kollmorgen™ | November 2012
Page 17
AKD CANopen | 4 Installation and Setup
4.2 CAN-Bus Interface (X12/X13)
Two 6-pin RJ-12 connectors X12/X13 are used for CAN-Bus connection.
AKD-CC drive models are Drives, which support EtherCAT and CAN fieldbus types within one common software. These CC drive models allow selecting a fieldbus support by setting the DRV.TYPE parameter to a certain
value. CC drive models are delivered with EtherCAT set active.
To activate CANopen, the DRV.TYPE parameter must be changed
1. by software: connect the PC to the AKD and change the parameter DRV.TYPE in the WorkBench terminal
screen (see DRV.TYPE parameter documentation) or
2. by hardware: with the rotary switches S1 & S2 at the front and the button B1 on the top side of the Drive.
The following steps are needed for changing the fieldbus type from EtherCAT to CAN with the rotary switches.
1. Set the rotary switches on the front side of the AKD to the value of 89.
Set S1 to 8 and S2 to 9
2. Press the button B1 for about 3 seconds (starts DRV.NVSAVE).
The seven segment display shows Cn during the process of changing DRV.TYPE to CAN.
Do not switch off the 24[V] power supply while the seven segment shows Cn!
3. Wait until the seven segment display goes back to the original state, no the drive is prepared for CAN.
4. Power cycle the drive by switching the 24 V power supply off and then on again.
The seven segment display shows Er (Error) in case that the DRV.TYPE
instruction failed. In this case please power cycle the drive and contact the
Kollmorgen™ customer support for further help.
18Kollmorgen™ | November 2012
Page 19
AKD CANopen | 4 Installation and Setup
4.2.2 Baudrate for CAN-Bus
The user can decide to use a fixed baud rate or an auto baud detection algorithm for the startup behaviour of the
drive. The transmission rate can be set via the parameter FBUS.PARAM01. The parameter FBUS.PARAM01
can either be set via WorkBench or via a special mechanism with the rotary switches in the AKD front.
Baudrate
[kBit/s]FBUS.PARAM01
Upper rotary
switch S1
Lower rotary
switch S2
auto090
12512591
25025092
50050093
1000100094
In case of a fix baud rate, the drive sends the boot up message with the baud rate saved in the drive's non volatile
memory after a power cycle. In case of auto baud detection, the drive listens for a valid CAN frame on the bus.
When a valid frame is received, the drive sends the boot up message with the measured bit time. Afterwards the
baud rate can either be stored to non volatile memory via object 1010 sub 1, or the auto baud mechanism is used
always.
For reliable auto baud detection, it is recommended to use suitable cabling
of the CAN-Bus (two terminators, GND connection etc.). Spikes or other
noise effects on the CAN-Bus can disturb the measurement. The drive needs
to be disabled, if auto baud is in use.
For setting the baudrate with rotary switches, follow the procedure below (drive state disabled):
1. Disable the drive. Set the rotary switches to one of the addresses 90 to 94 (see above table).
Set S1 to 9 and S2 to either 0 or 4
2. Push the button B1 on the AKDfor at least 3 seconds until the rotary switch setting is displayed on the AKDdisplay.
3. When the display blinks with the set rotary switch setting stop pushing B1 and wait until the blinking stops.
During that time the parameter FBUS.PARAM01 is set to the new value and all parameters are stored to the
non volatile memory. The new setting will be taken with the next power-up of the drive.
If an error occurred, the following error messages will flash 5 times:
l E1 - Drive is enabled
l E2 - Non-volatile storage of the new setting failed
l E3 - Invalid rotary switch selection
Kollmorgen™ | November 201219
Page 20
AKD CANopen | 4 Installation and Setup
4.2.3 Node Address for CAN-Bus
After changing the node address, you must turn off the 24 V auxiliary supply
for the drive and then turn it on again.
During setup, use the rotary switches on the AKD front panel to preset the station address for communication.
The rotary switches on the front of the AKD (S1&S2) correspond to the CAN node address.
The S1&S2 switches also correspond to the IP address setting of the drive. Both CAN and IP network address
schemes have to be configured to account for this dependence if both TCP/IP and CAN networks are running at
the same time in an application. Example:
S1 (MSB) S2 (LSB) CAN address IP address
4545192.168.0.45
The IP address setting can be decoupled from the Rotary switches using settings in the drive. Use Settings ->
Fieldbus-> TCP/IP to adjust these settings.
4.2.4 CAN-Bus Termination
The last bus device on both ends of the CAN-Bus system must have termination resistors. The AKD has built-in
132 ohms resistors that can be activated by connecting pins 1 and 6. An optional termination plug is available for
AKD (P-AKD-CAN-TERM). The optional termination plug is an RJ-12 connector with an enclosed wire jumper
between pins 1&6. A plug should be inserted into the X13 connector of the last drive in the CAN network.
Remove the termination connector if the AKD is not the last CAN-Bus device
and use X13 for connecting the next CAN node.
4.2.5 CAN-Bus Cable
To meet ISO 11898, a bus cable with a characteristic impedance of 120 ohms should be used. The maximum
usable cable length for reliable communication decreases with increasing transmission speed. As a guide, you
can use the following values which Kollmorgen™ has measured; however, these values are not assured limits:
l Characteristic impedance: 100–120 ohms
l Cable capacitance max.: 60 nF/km
l Lead loop resistance: 159.8 ohms/km
Cable length, depending on the transmission rate:
Transmission Rate (kBaud)Maximum Cable Length (m)
1,00010
50070
250115
Lower cable capacitance (max. 30 nF/km) and lower lead resistance (loop resistance, 115 ohms/1000m) make it
possible to achieve greater distances.
(Characteristic impedance 150 ± 5 ohms requires terminating resistor 150 ± 5 ohms).
20Kollmorgen™ | November 2012
Page 21
4.2.6 CAN-Bus Wiring
AKD CANopen | 4 Installation and Setup
Kollmorgen™ | November 201221
Page 22
AKD CANopen | 4 Installation and Setup
4.3 Guide to Setup
Only professional personnel with extensive knowledge of control and drive
technology are allowed to setup the drive.
Make sure that any unintended movement of the drive cannot endanger
machinery or personnel.
1. Check assembly/installation. Check that all the safety instructions in the product manual for the drive and
this manual have been observed and implemented. Check the setting for the station address and baud rate.
2. Connect PC,start WorkBench. Use the setup software WorkBench to set the parameters for the drive.
3. Setup basic functions. Start up the basic functions of the drive and optimize the current, speed and position
controllers. This section of the setup is described in the in the online help of the setup software.
4. Save parameters. When the parameters have been optimized, save them in the drive.
5. Start up communication. The altered parameters will only become effective after a reboot (switch off 24V and
switch on again). Adjust the transmission rate of the AKD to match the master.
6. Test communication. Check for the bootup-message, when you switch on the drive. Do an SDO read access
on index 0x1000 subindex 0 (DeviceType).
7. Setup position controller. Setup the position controller, as described in the WorkBench online help.
22Kollmorgen™ | November 2012
Page 23
AKD CANopen | 5 CANopen Basics
5CANopen Basics
5.1 Basic Features implemented by CANopen24
5.2 Transmission Rate and Procedure24
5.3 Response to BUSOFF Communication Faults25
5.4 Important Configuration Parameters25
Kollmorgen™ | November 201223
Page 24
AKD CANopen | 5 CANopen Basics
5.1 Basic Features implemented by CANopen
It is assumed that the basic operating functions of the communication profile are known and available as reference documentation. When working with the position controller that is integrated in AKD, the following functions are available:
5.1.1 Setup and general functions:
l Homing, set reference point
l Provision of a digital setpoint for speed and torque control
l Support of the following modes of the CANopen Profile DS402:
l Profile position mode
l Homing mode
l Profile torque mode
l Interpolated position mode
l Profile velocity mode
l Cyclic synchronous position mode
5.1.2 Positioning functions:
l Execution of a motion task from the motion block memory of the drive
l Execution of a direct motion task
l Absolute trajectory, ip-Mode or csp-Mode
5.1.3 Data transfer functions:
l Transmit a motion task to the drive's motion block memory. A motion task consists of these elements:
l Position setpoint (absolute task) or path setpoint (relative task)
l Speed setpoint
l Acceleration time, braking time
l Type of motion task (absolute/relative)
l Number of a following task (with or without pause)
l Read a motion task from the motion block memory of the drive
l Read actual values
l Read the error register (Emergency error codes)
l Read the status register
l Read/write control parameters
5.2 Transmission Rate and Procedure
l Bus connection and bus medium: CAN-standard ISO 11898 (CAN high-speed)
l Transmission rate: max. 1Mbit/s
l Possible settings for the drive: 125 (default), 250, 500 and 1000 kbit/s
l The baudrate is set with the AKD - parameter FBUS.PARAM01. It gets effective by saving this parameter to
NVRAM and re-starting the drive.
24Kollmorgen™ | November 2012
Page 25
AKD CANopen | 5 CANopen Basics
5.3 Response to BUSOFF Communication Faults
The communication fault BUSOFF is directly monitored and signaled by Level 2 (CAN controller). This message
may have various causes. A few examples:
l Telegrams are transmitted, although there is no other CAN node connected
l CAN nodes have different transmission rates
l The bus cable is faulty
l Faulty cable termination causes reflections on the cable.
A BUSOFF is only signaled by the AKD, if another CAN node is connected and at least one object was successfully transmitted to start off with. The BUSOFF condition is signaled by the error message 702. If the output
stage is enabled at the moment when this fault occurs, the output stage is disabled.
5.4 Important Configuration Parameters
FBUS.PARAM01 see "Transmission Rate and Procedure" on p.24
FBUS.PARAM02 0 - no PLL used for synchronization
1 - PLL used for synchronized modes, IP (7), CSP (8), generates a warning n125, when PLL
is unlocked
FBUS.PARAM04 0 - arrival of SYNC-messages in cyclic-synchronized application is not supervised
1 - arrival of SYNC-messages in cyclic-synchronized application is supervised (after 3 missing SYNC-telegrams the fault F125 is generated)
FBUS.PARAM05 description for bits 0 to 3 as in AKD - command reference
Bit 0
1: Faults can only be reset using DS402 control word bit 7.
0 = 0: The reset can also be done via telnet or digital input and the DS402 state machine
reflects this condition.
Bit 1
1: The state of the hardware enable does not change the state machine state Operation Enable.
0: If the state Operation Enable or Switched on is active it falls back to the state switched On
Disabled, if the Hardware enable goes to 0.
Bit 2
1: Workbench/Telnet can not software enable the drive, when CANopen/EtherCAT are Operational.
0: Workbench/Telnet can software enable the drive.
Bit 3
1: DS402-state machine is not influenced, if the software-enable is taken away via Telnet.
0: DS402-state machine is influenced, if the software-enable is taken away via Telnet.
Bit 4
1: Scaling is done via special DS402 - objects (independent on units)
0: Scaling for position, velocity and acceleration objects is done via UNIT parameters
Bit 5 used in EtherCAT, reserved for CAN
Bit 6
1: Bit 0 of parameter MT.CNTL (object 35D9 sub 0) can be accesse
0: Bit 0 of parameter MT.CNTL (object 35D9 sub 0) is exclusively used for DS402 controlwordd
Kollmorgen™ | November 201225
Page 26
AKD CANopen | 6 CANopen Communication Profile
6CANopen Communication Profile
6.1 General Description of CAN27
6.2 Construction of the Communication Object Identifier28
6.3 Definition of the Used Data Types29
6.4 Communication Objects31
26Kollmorgen™ | November 2012
Page 27
AKD CANopen | 6 CANopen Communication Profile
6.1 General Description of CAN
This chapter describes the basic services and communication objects of the CANopen communication profile
DS 301, which are used in the AKD.
It is assumed that the basic operating functions of the communication profile
are known, and available as reference documentation.
The transmission method that is used here is defined in ISO 11898 (Controller Area Network CAN for high-speed
communication).
The Layer-1/2 protocol (Physical Layer/Data Link Layer) that is implemented in all CAN modules provides,
amongst other things, the requirements for data.
Data transport or data request is made by means of a data telegram (Data Frame) with up to 8 bytes of user data,
or by a data request telegram (Remote Frame).
Communication objects (COBs) are labeled by an 11-bit Identifier (ID) that also determines the priority of objects.
A Layer-7 protocol (Application Layer) was developed, to decouple the application from the communication. The
service elements that are provided by the Application Layer make it possible to implement an application that is
spread across the network. These service elements are described in the CAN Application Layer (CAL) for Industrial Applications.
The communication profile CANopen and the drive profile are mounted on the CAL.
The basic structure of a communication object is shown in the following diagram:
S
COB-IDR
O
M
SOMStart of message
COB-IDCommunication Object Identifier (11-bit)
RTRRemote Transmission Request
CTRLControl Field (e.g. Data Length Code)
Data Segment0 to 8byte (Data-COB)
CRCCyclic Redundancy Check
ACKAcknowledge slot
EOMEnd of message
CTRL Data SegmentCRCA
T
R
0byte (Remote-COB)
EOM
C
K
Kollmorgen™ | November 201227
Page 28
AKD CANopen | 6 CANopen Communication Profile
6.2 Construction of the Communication Object Identifier
The following diagram shows the layout of the COB Identifier (COB-ID). The Function Code defines the interpretation and priority of the particular object.
10 9876 5 4 3 2 10
Function-CodeModule-ID
Bit 0 .. 6
Module ID (drive's CAN-bus address, range 1 to 127; is set up in WorkBench or the drive,)
Bit 7 to 10
Function Code (number of the communication object that is defined in the server)
If an invalid station number (=0) is set, then the module will be set internally
to 1.
The following tables show the default values for the COB Identifier after switching on the drive. The objects,
which are provided with an index (Communication Parameters at Index), can have a new ID assigned after the
initialization phase. The indices in brackets are optional.
Predefined broadcast objects (send to all nodes):
Object Function code (binary) Resulting COB-IDs Communication parameters
Dec.Hex.
NMT000000—
SYNC000112880(1005)
TIME0010256100not supported
at index
Predefined Peer-to-Peer objects (node sends to node):
ObjectFunction code (binary) Resulting COB-IDs Communication parameters
Dec.Hex.
EMERGENCY0001129..25581..FF—high
TPDO 10011385..511 181..1FF1800
RPDO 10100513..639 201..27F1400
TPDO 20101641..767 281..2FF1801
RPDO 20110769..895 301..37F1401
TPDO 30110897..1023 381..3FF1802
RPDO 310001025..1151 401..47F1402
TPDO 410011153..1279 481..4FF1803
RPDO 410101281..1407 501..57F1403
SDO (tx*)10111409..1535 581..5FF
SDO (rx*)11001537..1663 601..67F
Nodeguard11101793..1919 701..77F(100E)low
*tx = direction of transmission: AKD => Master
rx = direction of transmission: Master => AKD
at index
Priority
28Kollmorgen™ | November 2012
Page 29
AKD CANopen | 6 CANopen Communication Profile
6.3 Definition of the Used Data Types
This chapter defines the data types that are used. Each data type can be described by bit- sequences. These bitsequences are grouped into "Octets” (bytes). The so-called "Little – Endian” format (a.k.a. Intel format) is used
for numerical data types (see also: DS301 Application Layer "General Description of Data Types and Encoding
Rules”).
6.3.1 Basic data types
6.3.1.1 Unsigned Integer
Data in the basic data type UNSIGNEDn define exclusively positive integers.
The value range is from 0 to 2n-1. The bit sequence b = b0to b
UNSIGNEDn(b) = b
n-1
n-1
2
+ to + b121+ b02
0
Example: the value 266 = 10Ah is transmitted in the data type UNSIGNED16, in the form of two octets (1stoctet
= 0Ah, 2ndoctet = 01h).
Transmission syntax for the data type UNSIGNEDn
Octet number1.2.3.4.
UNSIGNED8b7to b
UNSIGNED16b7to b
UNSIGNED24b7to b
UNSIGNED32b7to b
UNSIGNED40b7to b
UNSIGNED48b7to b
UNSIGNED56b7to b
UNSIGNED64b7to b
0
0
0
0
0
0
0
0
b15to b
b15to b
b15to b
b15to b
b15to b
b15to b
b15to b
8
8
8
8
8
8
8
b23to b
b23to b
b23to b
b23to b
b23to b
b23to b
defines the value
n-1
16
16
16
16
16
16
b31to b
b31to b
b31to b
b31to b
b31to b
24
24
24
24
24
Octet number5.6.7.8.
UNSIGNED8
UNSIGNED16
UNSIGNED24
UNSIGNED32
UNSIGNED40b39to b
UNSIGNED48b39to b
UNSIGNED56b39to b
UNSIGNED64b39to b
32
32
32
32
b47to b
b47to b
b47to b
40
40
40
b55to b
b55to b
48
48
b63to b
56
Kollmorgen™ | November 201229
Page 30
AKD CANopen | 6 CANopen Communication Profile
6.3.1.2 Signed Integer
Data in the basic data type INTEGERn define both positive and negative integers.
The value range is from-2
INTEGERn(b) = b
n-2
n-2
2
n-1
+ to + b121+ b020with b
-1 to 2
n-1
-1. The bit sequence b = b0to b
= 0
n-1
defines the value
n-1
Negative numbers are represented as 2’s complement, which means:
INTEGERn(b) = - INTEGERn(b) - 1 with b
n-1
= 1
Example: the value -266 = FEF6h is transmitted in the data type INTEGER16, in the form of two octets (1stoctet
= F6h, 2ndoctet = FEh).
Transmission syntax for the data type INTEGERn
Octet number1.2.3.4.
INTEGER8b7to b
INTEGER16b7to b
INTEGER24b7to b
INTEGER32b7to b
INTEGER40b7to b
INTEGER48b7to b
INTEGER56b7to b
INTEGER64b7to b
0
0
0
0
0
0
0
0
b15to b
b15to b
b15to b
b15to b
b15to b
b15to b
b15to b
8
8
8
8
8
8
8
b23to b
b23to b
b23to b
b23to b
b23to b
b23to b
16
16
16
16
16
16
b31to b
b31to b
b31to b
b31to b
b31to b
24
24
24
24
24
Octet number5.6.7.8.
INTEGER8
INTEGER16
INTEGER24
INTEGER32
INTEGER40b39to b
INTEGER48b39to b
INTEGER56b39to b
INTEGER64b39to b
32
32
32
32
b47to b
b47to b
b47to b
40
40
40
b55to b
b55to b
48
48
b63to b
56
6.3.2 Mixed data types
Mixed data types combine basic data types (INTEGERn, UNSIGNEDn, REAL). Two types of mixed data are distinguished:
l STRUCT: This data type is composed of elements with different data types.
l ARRAY: This data type is composed of elements of the same data type.
30Kollmorgen™ | November 2012
Page 31
AKD CANopen | 6 CANopen Communication Profile
6.3.3 Extended data types
Extended data types are derived from basic data types and mixed data types. The types of extended data that
are supported are defined below.
6.3.3.1 Octet String
The data type OCTET_STRING is defined with the data type ARRAY. Length is the length of the octet string.
ARRAY[length] OF UNSIGNED8OCTET_STRINGlength
6.3.3.2 Visible String
The data type VISIBLE_STRING can be defined with the data type UNSIGNED8 or the data type ARRAY. Permissible values are 00h and the range from 20h to 7Eh. The data are interpreted as 7 bit ASCII code (as per ISO
646-1973(E)). Length is the length of the visible string.
UNSIGNED8VISIBLE_CHAR
ARRAY[length] OF VISIBLE_CHARVISIBLE_STRINGlength
6.4 Communication Objects
Communication objects are described with the help of service elements and protocols. Two basic types of service elements are used.
l Unconfirmed services PDO
l Confirmed services SDO
All services require faultless operation of the Data Link and Physical Layer.
AKD supports communication objects that are described in detail in the following sections:
l Network Management Objects (NMT)
l Synchronization Object (SYNC)
l Emergency Object (EMCY)
l Process Data Object (PDO)
l Service Data Object (SDO)
l Nodeguard/Heartbeat
Kollmorgen™ | November 201231
Page 32
AKD CANopen | 6 CANopen Communication Profile
6.4.1 Network Management Objects (NMT)
The followind diagram describes the NMT telegram:
The drive supports the following network management functions:
cs = 129, reset node:
Causes a cold-start of the drive. This deletes all parameters saved in the RAM and loads the values stored in the
EEPROM.
cs = 130, reset communication node:
Causes a stop of PDO-communication, gives a new bootup-message
cs = 1, start remote node:
Starts the CAN node. I.e. the PDOs of the drive are enabled for operation. From this moment, transmit-PDOs will
be transmitted under event-control, and cyclical process data operation can commence.
cs = 2, stop remote node:
Stops the CAN node, I.e. the drive no longer responds to any received PDOs or transmits any PDOs.
6.4.2 Synchronization Object (SYNC)
The SYNC object usually is used as a periodic Broadcast Object and provides the basic clock for the bus. SYNC
has a high priority, to ensure constant time intervals. The usage of this protocol is explained in the appendix from
page . You can use the SYNC object to start motion task of several axes simultaneously for example.
6.4.3 Time-Stamp Object (TIME)
This communication object is not supported by the AKD.
32Kollmorgen™ | November 2012
Page 33
AKD CANopen | 6 CANopen Communication Profile
6.4.4 Emergency Object (EMCY)
EMCY is event-triggered and generated by an internal fault/error situation. This object is transmitted afresh for
every error. Since the error codes are device-dependent, they are described in the Chapter ""CANopen Emer-gency Messages and Error Codes" (=> p. 42)". The last 10 Emergency error codes can be read via object 1003.
6.4.4.1 Application of the Emergency Object
The reaction in the event of an error or fault depends on the error class and is therefore variable. For this reason,
the reaction is described with the aid of an error status machine. The error conditions error- free and error
occurred are distinguished. The following transitions are defined:
Transition 0: After initialization, the error-free status is taken up if no errors are detected.
No error signal is generated in this condition.
Transition1: The AKD detects an internal error and indicates this in the first three bytes
of the emergency telegram (error code in Bytes 0,1 and error register in Byte 2).
Transition2: One error has been reset, but not all. The EMCY telegram contains error code 0000
and the error register indicates the remaining errors that are present. The manufacture-specific area is set to
zero.
Transition3: A new error has occurred. The AKD remains in the error status and transmits an EMCY. Object
with the corresponding error code. The new error code is entered into bytes 0 and 1.
Transition4: All errors have been reset. The EMCY telegram contains the error code 0000,
The error register does not indicate any other errors. The manufacture-specific area is set to zero.
6.4.4.2 Composition of the Emergency Object
The Emergency Object is composed of 8 bytes, divided as follows:
If an Emergency Object is generated, the error condition is then signaled to the status machine (error free/error
occurred) by the generation of a second Emergency Object. Only the first four bytes are relevant in this case
(Emergency Error code , Error register, Category). Byte 0/1 contains the Emergency Error Code (0000) and Byte
2 indicates if a possible further error is present. If the error register contains 00, the error status is error-free. Byte
3 contains the category. The interpretations of the error numbers (error code) and the error categories are
described in the section Emergency Messages. The error register is defined through object 1001. Error register´.
Kollmorgen™ | November 201233
Page 34
AKD CANopen | 6 CANopen Communication Profile
6.4.5 Service Data Objects (SDO)
SDOs are used to implement access to the Object Dictionary. The SDOs are required for parametrerization and
for status polling. Access to an individual object is made with a multiplexer via the Index and Subindex of the
Object Dictionary. The following communication protocols are supported by AKD:
l Initiate SDO Download Protocol
l Download SDO Segment Protocol
l Initiate SDO Upload Protocol
l Upload SDO Segment Protocol
l Abort SDO Transfer Protocol
The definitions of the individual communication services and protocols can be found in DS301.
Examples of the usage of SDOs can be found in the appendix from page .
Since a SDO is a confirmed service, the system must always wait for the SDO
response telegram before it is allowed to transmit a new telegram.
6.4.5.1 Composition of the Service Data Object
An SDO consists of the following components:
Byte12345678
Content R/WIndexSubindexData
1. The control byte (Byte 1):
The control byte determines whether the SDO should write or read the content of the entry in the Object Dictionary. A description of the complete Object Dictionary for AKD=> p. 119. Data exchange with the AKD is governed by the CMS multiplexed domain protocols standard, as described in the CAN standard DS 202.
To read data, the control byte must be written in the manner shown below:
Bit76543210
Contentccs=2XXXXX
ccs => client command specifier (ccs = 2 => initiate upload request)
X => free data
So a value of 0100 0000 (binary) or 40h must be transmitted in the control byte.
The drive sends back a corresponding response byte:
Bit76543210
Contentscs=2Xnes
scs =>server command specifier (scs = 2 => initiate upload response)
n =>only valid for e = s = 1, if this is so, n contains the number of bytes that do not contain data
X =>free data
If reading is successfull, the response byte always has set the bits 0 and 1 (e = s = 1).
If an error occurs, scs is set to 4, the response byte is 0x80 and the error information is in
the four byte data field. The decoding of the error => p. 42
34Kollmorgen™ | November 2012
Page 35
AKD CANopen | 6 CANopen Communication Profile
To write data, the control byte must be written in the manner shown below:
n,e and s are defined like in the reading case, m: index + Subindex, d: 4 bytes data field
The data length of an object can be taken from the object dictionary in the appendix.
The control byte should be:
0x23 for a 4-byte access
0x27 for a 3-byte access
0x2B for a 2-byte access
0x2F for a 1-byte access
The Index is the main entry in the Object Dictionary, and divides the parameters into groups.
(Example: Index 1018h is the Identity Object). As for all CAN data, the Index is stored with the bytes in reverse
order.
For example: Index 6040h means Byte 2 = 40h, Byte 3 = 60h)
3. Subindex (Byte 4):
The Subindex divides the parameters within a group of parameters.
4. Data field (Bytes 5 to 8):
These components are used for the exchange of user data. In read-request telegrams to the AKD they are set to
0. They have no content in a write confirmation from the AKD if the transfer was successful, but if the write operation was faulty they contain an error => p. 42.
Kollmorgen™ | November 201235
Page 36
AKD CANopen | 6 CANopen Communication Profile
6.4.5.2 Initiate SDO Download Protocol
The Initiate SDO Download protocol is used for write access to objects with up to 4 bytes of user data (expedited
transfer) or to initiate a segment transfer (normal transfer).
6.4.5.3 Download SDO Segment Protocol
The Download SDO Segment protocol is used for write access to objects with more than 4 bytes of user data
(normal transfer).
6.4.5.4 Initiate SDO Upload Protocol
The SDO Upload protocol is used for read access to objects with up to 4 bytes of user data (expedited transfer)
or to initiate a segment transfer (normal transfer).
6.4.5.5 Upload SDO Segment Protocol
The Upload SDO Segment protocol is used for read access to objects with more than 4 bytes of user data (normal transfer).
6.4.5.6 Abort SDO Protocol
The Abort SDO protocol breaks off SDO transmission, and indicates the error that caused the break in transmission through an abort code (error code). The error code is in the format of an UNSIGNED32 value. The following table shows possible reasons for an abort SDO.
Abort CodeDescription
0504 0000hSDO timeout
0504 0001hCommand specifier invalid
0504 0002hSDO segmented: invalid blocksize
0504 0004hSDO segmented: invalid block CRC
0504 0005hSDO segmented: out of memory
0601 0001hAttempted read access to a write-only object
0601 0002hAttempted write access to a read-only object
0602 0000hObject does not exist in Object Dictionary
0604 0041hObject cannot be mapped to a PDO
0604 0042hSize and number of mapped objects exceed permissible PDO length
0604 0043hGeneral parameter incompatibility
0606 0000hSDO hardware fault
0607 0010hData type incompatible, length of service parameter is incompatible
0609 0011hSubindex does not exist
0609 0030hOutside value range for the parameter (only for write access)
0609 0031hParameter value too high
0609 0032hParameter value too low
0800 0020hData cannot be transmitted or saved
0800 0022hData cannot be transmitted or saved because of device status
Abort Codes not listed above are reserved.
36Kollmorgen™ | November 2012
Page 37
AKD CANopen | 6 CANopen Communication Profile
6.4.6 Process Data Object (PDO)
PDOs are used for real-time data communication. PDOs can, for instance, be used to set up controllers similar
to analog drives. Instead of +/-10VDC setpoints and ROD feedback, digital speed setpoints and position feedback are attained via PDOs in this case.
Transmission is carried out unconfirmed without a protocol "overhead”. This communication object uses the
unconfirmed communication service.
PDOs are defined via the Object Dictionary for the AKD. Mapping is made during the configuration phase, with
the help of SDOs. Length is defined with the mapped objects.
The definition of the PDO service and protocol can be found in DS301. Examples of the usage of PDOs can be
found in the appendix.
Basically, two types of PDOs can be distinguished, depending on the direction of transmission:
l Transmit-PDOs (TPDOs) (AKD => Master)
The TPDOs transmit data from AKD to control system (for example actual value objects, instrument status).
l Receive-PDOs (RPDOs) (Master =>AKD)
The RPDOs receive data from control system to AKD (for example setpoints).
AKD supports four independent PDO channels for each direction of transmission. The channels are labeled by
the channel numbers 1 to 4.
There are two parameter sets each for the configuration of each of the four possible PDOs, and they can be set
up through the corresponding SDOs:
1.Mapping parameters, to determine which data are available (mapped) in the selected PDO and to define, which
data are contained.
2.Communication parameters, that define whether the PDOs operate in synchronized mode, or event-driven
(objects 1400h to 1403h, 1800h to 1803h).
Kollmorgen™ | November 201237
Page 38
AKD CANopen | 6 CANopen Communication Profile
6.4.6.1 Transmission modes
The following PDO transmission modes are distinguished:
l Synchronous transmission
l Asynchronous transmission
The pre-defined SYNC Object is transmitted periodically (bus clock), to synchronize the drives. Synchronous
PDOs are transmitted within a pre-defined time window immediately following the SYNC Object.
The transmission modes are set up with the aid of the PDO communication parameters.
6.4.6.2 Trigger modes
Three different trigger modes are distinguished:
l Event driven: The transmission of the telegrams is triggered by an object-specific event.
l Time driven: If event driven signals put a high strain on the bus, you can determine the period of time after
which a PDO can be transmitted again via the inhibit time (Communication parameter, Subindex 03h)
l Event Timer driven: If a PDO shall be sent within a defined time interval, even if it doesn’t change, this inter-
val can be defined by a special SDO.
38Kollmorgen™ | November 2012
Page 39
AKD CANopen | 6 CANopen Communication Profile
6.4.7 Nodeguard
The Node Guarding protocol is a functional monitoring for the drive. It requires that the drive is accessed at regular intervals by the CANopen master.
The maximum time interval that is permitted between two Nodeguard telegrams is given by the product of the
Guard Time (Object 100Ch) and the Life Time Factor (Object 100Dh). If one of these two values is 0, then the
response monitoring is de-activated.
If the drive is not accessed within the time defined by objects 100Ch and 100Dh, then fault F129 (response monitoring) appears on the drive, the drive is braked to a stop, and any other movement is prevented.
The time sequence for node guarding is as shown below:
t = toggle Bit, changes its status with every slave telegram
s = status of the NMT slave status machine
Node guarding is carried out by the Master through RTR telegrams with the COB-ID 700h + slave node address.
Kollmorgen™ | November 201239
Page 40
AKD CANopen | 6 CANopen Communication Profile
6.4.8 Heartbeat
The Heartbeat Protocol defines an Error Control Service without need for remote frames. A Heartbeat Producer
transmits a Heartbeat message cyclically. One or more Heartbeat Consumer receive the indication. The relationship between producer and consumer is configurable via Object 1016h/1017h. The Heartbeat Consumer
guards the reception of the Heartbeat within the Heartbeat Consumer Time. If the Heartbeat is not received
within the Heartbeat Consumer Time a Heartbeat Event will be generated.
Heartbeat protocol:
40Kollmorgen™ | November 2012
Page 41
AKD CANopen | 7 CANopen Drive Profile
7CANopen Drive Profile
7.1 CANopen Emergency Messages and Error Codes42
7.2 General Definitions46
7.3 PDO Configuration79
7.4 Device Control (dc)87
7.5 Factor Groups (fg) (DS402)94
7.6 Profile Velocity Mode (pv) (DS402)99
7.7 Profile Torque Mode (tq) (DS402)101
7.8 Position Control Function (pc) (DS402)103
7.9 Interpolated Position Mode (ip) (DS402)105
7.10 Homing Mode (hm) (DS402)110
7.11 Profile Position Mode (DS402)114
Kollmorgen™ | November 201241
Page 42
AKD CANopen | 7 CANopen Drive Profile
7.1 CANopen Emergency Messages and Error Codes
Emergency messages are triggered by internal equipment errors. They have a high ID-priority to ensure quick
access to the bus. An emergency message contains an error field with pre-defined error/fault numbers (2 bytes),
an error register (1byte), the error category (1 byte), and additional information.
Error numbers from 0000h to 7FFFh are defined in the communication or drive profile. Error numbers from FF00h
to FFFFh have manufacturer-specific definitions. The following table describes the various error codes:
0x868AF156Target Position crossed due to Stop command
0x86A0F157Homing Index pulse not found
44Kollmorgen™ | November 2012
Page 45
AKD CANopen | 7 CANopen Drive Profile
Error
Code
Fault/Warning
Code
Description
0x86A1F158Homing Reference Switch not found
0x86A2F159Failed to set motion task parameters
0x86A3F160Motion Task Activation Failed
0x86A4F161Homing Procedure Failed
0x86A5F139Target Position Over Short due to invalid Motion task activation.
0x86A6n163Warning: MT.NUM exceeds limit.
0x86A7n164Warning: Motion task is not initialized.
0x86A8n165Warning: Motion task target position is out.
0x86A9n167Warning:
0x86AAn168Warning: Invalid bit combination in the motion task control word.
0x86ABn169Warning: 1:1 profile cannot be triggered on the fly.
0x86ACn170Warning: Customer profile table is not initialized.
0x86ADn171Warning:
0x86AEn172Warning:
0x86B0F438Following error (numeric)
0x8780F125Fieldbus synchronization lost
0x8781n125Warning: Fieldbus PLL unlocked.
0x8AF0n137Warning: Homing and feedback mismatch
0x8AF1n140Warning: VBUS.HALFVOLT has changed.
0xFF01F702Fieldbus communication lost
0xFF02F529Iu offset limit exceeded
0xFF03F530Iv offset limit exceeded
0xFF04F521Stored energy reached critical point
0xFF05F527Iu detection stuck
0xFF06F528Iv detection stuck
0xFF07F525Control output over current
0xFF08F526Current sensor short circuit
0xFF09F128Axis dpoles
0xFF0AF531Power stage fault
0xFF0BF602Safe torque off
0xFF0CF131Emulated encoder line break.
0xFF0DF130Secondary feedback supply over current.
0xFF0EF134Secondary feedback illegal state.
0xFF0FF245External fault.
0xFF10F136Firmware and FPGA versions are not compatible
0xFF11F101Not compatible Firmware
0xFF12n439Warning: Following error (user)
0xFF13n438Warning: Following error (numeric)
0xFF14n102Warning: Operational FPGA is not a default FPGA.
0xFF15n101Warning: The FPGA is a laboratory FPGA
0xFF16n602Warning: Safe torque off.
Kollmorgen™ | November 201245
Page 46
AKD CANopen | 7 CANopen Drive Profile
7.2 General Definitions
This chapter describes objects with a general validity (e.g. Object 1000h Device Type). The next section
explains the free configuration of Process Data Objects ("free mapping”).
7.2.1 General objects
7.2.1.1 Object 1000h: Device Type (DS301)
This object describes the device type (servo drive) and device functionality (DS402 drive profile). Definition:
MSBLSB
Additional informationDevice profile number
Mode bitsType402d=192h
3124 2316 150
The device profile number is DS402, the type is 2 for drives, the mode bits 28 to 31 are manufacturer specific and
may be changed from its actual value of 0. A read access delivers 0x00020192 at the moment.
Index1000h
Namedevice type
Object codeVAR
Data typeUNSIGNED32
Categorymandatory
AccessR/O
PDO mapping not possible
Value rangeUNSIGNED32
Default valueno
46Kollmorgen™ | November 2012
Page 47
AKD CANopen | 7 CANopen Drive Profile
7.2.1.2 Object 1001h: Error register (DS301)
This object is an error register for the device. The device can map internal errors into this byte. It is a part of an
Emergency object.
Index1001h
NameError register
Object codeVAR
Data typeUNSIGNED8
Categorymandatory
AccessR/O
PDO mapping not possible
Value rangeUNSIGNED8
Default valueno
Error reasons to be signaled:If a bit is set to 1 the specified error has occurred. The generic error is signaled at
any error situation.
Bit DescriptionBit Description
0 generic error4 communication error(overrun, error state)
1 current5 device profile specific
2 voltage6 reserved (always 0)
3 temperature7 manufacturer specific
Kollmorgen™ | November 201247
Page 48
AKD CANopen | 7 CANopen Drive Profile
7.2.1.3 Object 1002h: Manufacturer Status Register (DS301)
The manufacturer status register contains important drive informations.
Index1002h
NameManufacturer Status Register
Object codeVAR
Data typeUNSIGNED32
Categoryoptional
AccessR/O
PDO mapping possible
Value rangeUNSIGNED32
Default valueno
The following table shows the bit assignment for the status register:
Bit DescriptionBit Description
0 1 = Movement (positioning, homing) active16 1 = Homing move active
1 reference position set17 reserved
2 1 = reference switch high (home-position)18 reserved
3 1 = In Position19 1 = Emergency stop active
4 reserved20 reserved
5 reserved21 reserved
6 reserved22 reserved
7 Active Disabel activated23 1 = Homing move finished
8 Warning active24 Power stage deactivating
9 1 = target velocity reached (pp- or pv-Mode)25 1 = digital input 1 set
10 reserved26 1 = digital input 2 set
11 1 = Homing error27 1 = digital input 3 set
12 reserved28 1 = digital input 4 set
13 1 = Safe Torque Off selected29 1 = digital input hardware enable set
14 1 = Power stage enabled30 1 = Wake and Shake action is required
15 1 = Error state31 Braking, 1 = set points not accepted
48Kollmorgen™ | November 2012
Page 49
AKD CANopen | 7 CANopen Drive Profile
7.2.1.4 Object 1003h: Predefined Error Field (DS301)
The object 1003h provides an error history with a maximum size of 10 entries.
Subindex 0 contains the number of errors which have occured since the last reset of the error history, either by
startup of the drive or resetting the error history by writing 0 to subindex 0.
A new Emergency-message is written into subindex 1 shifting the old entries one subindex higher. The old content of subindex 8 is lost.
The UNSIGNED32-information written to the subindizes is defined in the field Error Code in the description of the
Emergency Messages (=> p. 42).
Index1003h
Namepre-defined Error Field
Object codeARRAY
Data typeUNSIGNED32
Categoryoptional
Subindex0
DescriptionNumber of entries
Data typeUNSIGNED8
Categorymandatory
AccessR/W
PDO mapping not possible
Value range0 to 10
Default value0
Subindex1 to 10
DescriptionStandard error field (=> p. 42)
Categoryoptional
AccessR/O
PDO mapping not possible
Value rangeUNSIGNED32
Default valueno
Kollmorgen™ | November 201249
Page 50
AKD CANopen | 7 CANopen Drive Profile
7.2.1.5 Object 1005h: COB-ID of the SYNC Message (DS301)
This object defines the COB-Id of the synchronisation object (SYNC).
Index1005h
NameCOB-ID for the SYNC message
Object codeVAR
Data typeUNSIGNED32
Categoryconditional
AccessR/W
PDO mapping not possible
Value rangeUNSIGNED32
Default valueno
Bit coded information:
BitValue Meaning
31 (MSB)X—
300Device not generate SYNC message
1Device generates SYNC message
29011 Bit ID (CAN 2.0A)
129 Bit ID (CAN 2.0B)
28 to 11X—
0if Bit 29=0
10 to 0 (LSB)XBit 0 to 10 of SYNC COB-ID
The device does not support the generation of SYNC-messages and only the 11-bit IDs. So the bits 11 to 30 are
always 0.
7.2.1.6 Object 1006h: Communication Cycle Period (DS301)
This object can be used to define the period (in µs) for the transmission of the SYNC telegram.
Index1006h
NamePeriod of the communication cycle
Object codeVAR
Data typeUNSIGNED32
CategoryO
AccessR/W
PDO mapping not possible
Value rangeUNSIGNED32
Default value00h
50Kollmorgen™ | November 2012
Page 51
AKD CANopen | 7 CANopen Drive Profile
7.2.1.7 Object 1008h: Manufacturer Device Name (DS301)
The device name consists of four ASCII characters in the form Yzzz, whereby Y stands for the mains voltage (L,
M, H or U, e.g. H for High Voltage) zzz stands for the power stage current.
Index1008h
NameManufacturer Device Name
Object codeVAR
Data typeVisible String
CategoryOptional
Accessconst
PDO mapping not possible
Value range
Default valueno
7.2.1.8 Object 1009h: Manufacturer Hardware Version
This object will be supported in the future.
Index1009h
Namemanufacturer hardware version
Object codeVAR
Data typeVisible String
CategoryOptional
Accessconst
PDO mapping not possible
Value range-
Default valueno
7.2.1.9 Object 100Ah: Manufacturer Software Version (DS301)
The object contains the manufacturer software version (here: the CANopen-part of the drive firmware).
Index100Ah
NameManufacturer Software Version
Object codeVAR
Data typeVisible String
CategoryOptional
Accessconst
PDO mapping not possible
Value range0.01 to 9.99
Default valueno
Kollmorgen™ | November 201251
Page 52
AKD CANopen | 7 CANopen Drive Profile
7.2.1.10 Object 100Ch: Guard Time (DS301)Response monitoring
The arithmetical product of the Objects 100Ch Guard Time and 100Dh Lifetime Factor is the response monitoring
time. The Guard Time is given in milliseconds. The response monitoring is activated with the first Nodeguard
object. If the value of the object Guard Time is set to zero, then the response monitoring is inactive.
Index100Ch
NameGuard Time
Object codeVAR
Data typeUNSIGNED16
Categoryconditional;
mandatory, if heartbeat not supported
AccessR/W
PDO mapping not possible
Value rangeUNSIGNED16
Default value0
7.2.1.11 Object 100Dh: Lifetime Factor (DS301)
The product of Guard Time and Life Time Factor gives the life time for the nodeguarding protocol. If it’s 0, the protocol is not used.
Index100Dh
NameLifetime Factor
Object codeVAR
Data typeUNSIGNED8
Categoryconditional; (mandatory, if heartbeat not supported)
AccessR/W
PDO mapping not possible
Value rangeUNSIGNED8
Default value0
52Kollmorgen™ | November 2012
Page 53
AKD CANopen | 7 CANopen Drive Profile
7.2.1.12 Object 1010h: Store Parameters (DS301)
This object supports the saving of parameters to a flash EEPROM. Only the subindex 1 for saving of all parameters, which can also be saved in the parameter files via the GUI, is supported.
Index1010h
Namestore parameters (DRV.NVSAVE)
Object codeARRAY
Data typeUNSIGNED32
Categoryoptional
Subindex0
Namenumber of entries
Object codeVAR
Data typeUNSIGNED8
Categorymandatory
AccessR/O
PDO Mapping not possible
Value range1
Default value1
Subindex1
Namesave all parameters
Object codeVAR
Data typeUNSIGNED32
Categorymandatory
AccessR/W
PDO Mapping not possible
Value rangeUNSIGNED32
Default value1
Data definition:
BitValue Meaning
31 to 20reserved (=0)
10Device does not save parameters autonomously
1Device does save parameters autonomously
00Device does not save parameters on command
1Device does not save parameters on command
By read access to subindex 1 the drive provides information about its storage functionality.
This drive provides a constant value of 1 by read access, i.e. all parameters can be saved by writing to Object
1010 sub 1. In general the drive does not save parameters autonomously with the exception of e.g. the special
treatment of the homing of multiturn absolute encoders.
Storing of parameters is only done if a special signature ("save") is written to subindex 1. "save" is equivalent to
the unsigned32 - number 65766173h.
With this object the default values of parameters according to the communication or device profile are restored.
The AKD gives the possibility to restore all default values.
Index1011h
Namerestore default parameters
Object codeARRAY
Data typeUNSIGNED32
Categoryoptional
Subindex0
Namenumber of entries
Object codeVAR
Data typeUNSIGNED8
Categorymandatory
AccessR/O
PDO Mapping not possible
Value range1
Default value1
Subindex1
Namerestore all default parameters (DRV.RSTVAR)
Object codeVAR
Data typeUNSIGNED32
Categorymandatory
AccessR/W
PDO Mapping not possible
Value rangeUNSIGNED32
Default value1 (device restores parameter)
Loading default parameters to the RAM will be done, if a special signature ("load”) is written to subindex 1. "load”
has to be transmitted as unsigned32 - number 64616F6Ch.
54Kollmorgen™ | November 2012
Page 55
AKD CANopen | 7 CANopen Drive Profile
7.2.1.14 Object 1014h: COB-ID for Emergency Message (DS301)
This object defines the COB-ID of the Emergency message.
Index1014h
NameCOB-ID emergency message
Object codeVAR
Data typeUNSIGNED32
Categoryconditional; mandatory, if Emergency is supported
AccessR/O
PDO mapping not possible
Value rangeUNSIGNED32
Default value80h + Node - ID
7.2.1.15 Object 1016h: Consumer Heartbeat Time
The consumer heartbeat time defines the expected heartbeat cycle time (ms) and must be higher than the corresponding producer heartbeat time configured on the device producing this heartbeat. Monitoring starts after the
reception of the first heartbeat. If the consumer heartbeat time is 0 ms the corresponding entry is not used.
Index1016h
Nameconsumer heartbeat time
Object codeARRAY
Data typeUNSIGNED32
Categoryoptional
Subindex0
Descriptionnumber of entries
Data typeUNSIGNED8
Categorymandatory
AccessR/O
PDO Mapping not possible
Value range1
Default value1
Subindex1
DescriptionConsumer heartbeat time
Categorymandatory
AccessR/W
PDO Mapping not possible
Value rangeunsigned 32
Default valueno
Definition of the entry value of Subindex 1
MSBLSB
Valuereserved (value: 00)Node-IDheartbeat time
Encoded as-UNSIGNED8UNSIGNED16
Bit
3124 2316 150
Kollmorgen™ | November 201255
Page 56
AKD CANopen | 7 CANopen Drive Profile
7.2.1.16 Object 1017h: Producer Heartbeat Time
The producer heartbeat time defines the cycle time of the heartbeat in ms. If it’s 0, it is not used.
Index1017h
NameProducer heartbeat time
Object codeVAR
Data typeUNSIGNED16
Categoryconditional;
mandatory, if guarding is not supported
AccessR/W
PDO mapping not possible
Value rangeUNSIGNED16
Default value0
7.2.1.17 Object 1018h: Identity Object (DS301)
The Identity Object contains general device information.
Index1018h
NameIdentity Object
Object codeRECORD
Data typeIdentity
Categorymandatory
Subindex0
DescriptionNumber of entries
Data typeUNSIGNED8
Categorymandatory
AccessR/O
PDO mapping not possible
Value range1 to 4
Default value4
Subindex 1 is a unique number for a device manufacturer.
Subindex1
DescriptionVendor ID
Categorymandatory
AccessR/O
PDO mapping not possible
Value rangeUNSIGNED32
Default value0x6Ah (Danaher Motion)
56Kollmorgen™ | November 2012
Page 57
AKD CANopen | 7 CANopen Drive Profile
Subindex 2 contains four ASCII - characters, which determine the voltage range and current class of the device.
The voltage range is one character L, M or H for low, medium and high voltage. The next three characters are
showing the continuos current of the drive.
Subindex2
DescriptionProduct Code
Categoryoptional
AccessR/O
PDO mapping not possible
Value rangee.g. M006 for an MV6 drive
Default valueno
Subindex 3 consists of two revision numbers:
l the major revision number in the upper word containing the CAN-version
l the minor revision number is not used in the AKD. The firmware version can be retrieved as a string via object
0x100A or as numbers voa object 0x2018 subindex 1 to 4.
E.g. a value of 0x0014 0000 means CAN-version 0.20.
Subindex3
DescriptionRevision Number
Categoryoptional
AccessR/O
PDO mapping not possible
Value rangeUNSIGNED32
Default valueno
Subindex 4 gives the serial number of the drive. This number contains the following information in it:
l bits 0..14: Board serial number (production in week of year)
l bits 15..20: week of production
l bits 21..24: year of production - 2009
l bits 25..31: ASCII-code of MFR-ID
Subindex4
DescriptionSerial Number
Categoryoptional
AccessR/O
PDO mapping not possible
Value rangeUNSIGNED32
Default valueno
Kollmorgen™ | November 201257
Page 58
AKD CANopen | 7 CANopen Drive Profile
7.2.1.18 Object 1026h: OS Prompt
The OS prompt is used to build up an ASCII - communication channel to the drive.
Index1026h
NameOS Prompt
Object codeARRAY
Data typeUNSIGNED8
Categoryoptional
Subindex0
DescriptionNumber of entries
Data typeUNSIGNED8
Categorymandatory
AccessR/O
PDO mapping not possible
Value range2
Default value2
Subindex 1 is used to send one character to the drive.
Subindex1
DescriptionStdIn
Categorymandatory
AccessW
PDO mapping not possible
Value rangeUNSIGNED8
Default value—
Subindex 2 is used to receive one character from the drive.
Subindex2
DescriptionStdOut
Categorymandatory
AccessR/O
PDO mapping not possible
Value rangeUNSIGNED8
Default value0
58Kollmorgen™ | November 2012
Page 59
AKD CANopen | 7 CANopen Drive Profile
7.2.2 Manufacturer specific objects
7.2.2.1 Object 2014-2017h: 1st-4th Mask 1 to 4 for Transmit-PDO
In order to reduce the bus loading with event-triggered PDOs, masking can be used to switch off the monitoring
for individual bits in the PDO. In this way it can be arranged, for instance, that actual position values are only signaled once per turn.
This Object masks the PDO-channels 1 to 4. If only two bytes have been defined in a PDO, then it masks just
two bytes, although 4 bytes of mask information have been transmitted.
An activated bit in the mask means that monitoring is active for the corresponding bit in the PDO.
Index2014h
2015h
2016h
2017h
Nametx_mask 1 to 4
Object codeARRAY
Data typeUNSIGNED32
Subindex1
Descriptiontx_mask1 to 4_low
Modeindependent
AccessR/W
PDO mapping not possible
Unit—
Value rangeUNSIGNED32
Default valueFFFFFFFFh
Subindex2
Descriptiontx_mask1 to 4_high
Modeindependent
AccessR/W
PDO mapping not possible
Unit—
Value rangeUNSIGNED32
Default valueFFFFFFFFh
Kollmorgen™ | November 201259
Page 60
AKD CANopen | 7 CANopen Drive Profile
7.2.2.2 Object 2018h: Firmware Version
This object gives all information regarding the firmware version.
Example: Firmware version M_01_00_01_005 would show the numbers 1, 0, 1, 5 in the sub-indices 1 to 4.
Index2018h
Namefirmware version
Object codeARRAY
Data typeUNSIGNED16
Subindex1
Descriptionmajor version
Modeindependent
AccessR/O
PDO mapping not possible
Unit—
Value rangeUNSIGNED16
Default value0
Subindex2
Descriptionminor version
Modeindependent
AccessR/O
PDO mapping not possible
Unit—
Value rangeUNSIGNED16
Default value0
Subindex3
Descriptionrevision
Modeindependent
AccessR/O
PDO mapping not possible
Unit—
Value rangeUNSIGNED16
Default value0
Subindex4
Descriptionbranch revision
Modeindependent
AccessR/O
PDO mapping not possible
Unit—
Value rangeUNSIGNED16
Default value0
60Kollmorgen™ | November 2012
Page 61
AKD CANopen | 7 CANopen Drive Profile
7.2.2.3 Object 2026h: ASCII Channel
This object is used to build up an ASCII - communication channel to the drive with 4-byte ASCII-strings.
Index2026h
NameASCII Channel
Object codeARRAY
Data typeVisible String
Categoryoptional
Subindex0
DescriptionNumber of entries
Data typeUNSIGNED8
Categorymandatory
AccessR/O
PDO mapping not possible
Value range2
Default value2
Subindex 1 is used to send four ASCII-characters to the drive.
Subindex1
DescriptionCommand
Categorymandatory
Accesswo
PDO mapping no
Value rangeVisible String
Default value—
Subindex 2 is used to receive four characters from the drive.
Subindex2
DescriptionResponse
Categorymandatory
AccessR/O
PDO mapping no
Value rangeVisible String
Default value-
Kollmorgen™ | November 201261
Page 62
AKD CANopen | 7 CANopen Drive Profile
7.2.2.4 Object 20A0h: Latch position 1, positive edge
This object is used to output the position or a time, depending on CAP0.MODE, at which the first positive edge
occurred on a signal, which can be configured with the command CAP0.TRIGGER. The latch enable must be
active for that purpose(see object 20A4 and 20A5). With CAP0.MODE = 3 the latched position of the encoder
index pulse is transferred via this object.
Index20A0h
NameLatch position 1, positive edge, CAP0.PLFB
Time capture, CAP0.T
Object codeVAR
Data typeINTEGER32
Categoryoptional
AccessR/O
PDO mapping possible
Value rangeINTEGER32
Default value0
7.2.2.5 Object 20A1h: Latch position 1, negative edge
This object is used to output the position or a time, depending on CAP0.MODE, at which the first negative edge
occurred on a signal, which can be configured with the command CAP0.TRIGGER. The latch enable must be
active for that purpose(see object 20A4 and 20A5).
Index20A1h
NameLatch position 1, negative edge, CAP0.PLFB
Time capture, CAP0.T>
Object codeVAR
Data typeINTEGER32
Categoryoptional
AccessR/O
PDO mapping possible
Value rangeINTEGER32
Default value0
7.2.2.6 Object 20A2h: Latch position 2, positive edge
This object is used to output the position or a time, depending on CAP1.MODE, at which the first positive edge
occurred on a signal, which can be configured with the command CAP1.TRIGGER. The latch enable must be
active for that purpose(see object 20A4 and 20A5).
Index20A2h
NameLatch position 2, positive edge, CAP1.PLFB
Time capture, CAP1.T
Object codeVAR
Data typeINTEGER32
Categoryoptional
AccessR/O
PDO mapping possible
Value rangeINTEGER32
Default value0
62Kollmorgen™ | November 2012
Page 63
AKD CANopen | 7 CANopen Drive Profile
7.2.2.7 Object 20A3h: Latch position 2, negative edge
This object is used to output the position or a time, depending on CAP0.MODE, at which the first negative edge
occurred on a signal, which can be configured with the command CAP0.TRIGGER. The latch enable must be
active for that purpose(see object 20A4 and 20A5).
Index20A3h
NameLatch position 2, negative edge, CAP1.PLFB
Time capture, CAP1.T
Object codeVAR
Data typeINTEGER32
Categoryoptional
AccessR/O
PDO mapping possible
Value rangeINTEGER32
Default value0
7.2.2.8 Object 20A4h: Latch Control Register
The latch control register is used to enable the latch monitoring of the capture engines 0 and 1. The latch is enabled with a 1 signal and disabled with a 0 signal. Whether or not a latch event has occurred can be recognised by
the latch status register (object 20A5).
400000000 00010000z10Latched position of encoder index pulse valid (positive rise)
5 to 7Reserve
8 to 11 00000001 00000000z1zzAcknowledge value external latch 1 (positive rise)
00000010 00000000z2zzAcknowledge value external latch 1 (negative rise)
00000011 00000000z3zzAcknowledge value external latch 2 (positive rise)
00000100 00000000z4zzAcknowledge value external latch 2 (negative rise)
00000101 00000000z5zzAcknowledge value of latched position of encoder index
pulse (positive rise)
12 to 15 00010000 000000001zzzState Digital Input 4
00100000 000000002zzzState Digital Input 3
01000000 000000004zzzState Digital Input 2
10000000 000000008zzzState Digital Input 1
7.2.2.10 Object 20A6h: Latch position 1, positive or negative edge
This object is used to output the position or a time, depending on CAP0.MODE, at which the first positive or negative edge occurred on a signal, which can be configured with the command CAP0.TRIGGER.
The latch enable must be active for that purpose (see object 20A4 and 20A5).
Index20A6h
NameLatch position 1, positive or negative, CAP0.PLFB
Object codeVAR
Data typeINTEGER32
Categoryoptional
Accessro
PDO mapping possible
Value rangeINTEGER32
Default value0
64Kollmorgen™ | November 2012
Page 65
AKD CANopen | 7 CANopen Drive Profile
7.2.2.11 Object 20B8h: Reset of changed input information
This object is used in PDOs to reset the state change information for the digital inputs shown in the Bits 24 to 30
in the object 60FD. Bit 0 to 6 are used to reset the information of the digital input 1 to 7.
Index20B8h
NameReset of changed input information
Object codeVAR
Data typeUNSIGNED16
Categoryoptional
Accessrw
PDO mapping possible
Value rangeUNSIGNED16
Default value0
Kollmorgen™ | November 201265
Page 66
AKD CANopen | 7 CANopen Drive Profile
7.2.2.12 Object 345Ah: Brake Control
These objects implement the possibility to control the brake directly, overriding the drive logic. When the brake
state is controlled by the fieldbus, the drive state (enabled, disabled, faulted) will have no effect on the brake - the
fieldbus will be in control.
Applying or releasing the brake at the wrong time can be a safety hazard and can
destroy your mechanic as well as drive or motor. Unexpected behaviour might
be possible. It is the responsibility of the customer using this mode to use this
function appropriately.
When fieldbus control is disabled, the drive will control the brake as defined by existing AKD brake related parameters. As soon as fieldbus control is enabled, the Brake Command received over the field bus will take effect. So,
if the Brake Command is set to APPLY and the current state is RELEASE, the brake will begin to apply .
The default value of the fieldbus control will be disabled, so that the drive is always in control until the fieldbus is
operational. It is recommended that this bit remain 0 except for special operating conditions where the fieldbus
will control the brake. When fieldbus communication is lost, the drive will regain control of the brake if the fieldbus
had previously taken control.
Enable Fieldbus
Control
Serious Failur econdition present
Brake Command
Fieldbus Control
Status
Controlled
by...
Final Brake
State
0xx0DriveDrive
1*no01FieldbusApplied
1*no11FieldbusReleased
xyesany0DriveDrive
1* indicates that a rising edge was seen since the last time the drive applied the brake
Index345Ah
NameBrake Control
Object codeARRAY
Data typeUNSIGNED16
Categoryoptional
Defined sub-indices
Subindex0
Namenumber of entries
Data typeUNSIGNED8
Categorymandatory
AccessR/O
PDO Mapping not possible
Value Range2
Default Value2
66Kollmorgen™ | November 2012
Page 67
AKD CANopen | 7 CANopen Drive Profile
Subindex1
NameBrake Control Command
Categoryoptional
AccessR/W
PDO Mapping possible
Value RangeUNSIGNED16
Default Value 0
With subindex 1 the brake is controlled. Bit definition:
BitNameDescription
0Enable fieldbus control 0 - brake is not controlled via this object
1 - enable fieldbus control via this object. This function works edge triggered,
i.e. this bit has to have a 0 -> 1 transition to activate the brake control functionality. After a fault the functionality is reset and has to be activated again.
The activation can be controlled by subindex 2 bit 0.
1Brake CommandThis command bit is only active, if the functionality was activated via bit 0.
The function is as follows:
0 - apply the brake
1 - release the brake
Subindex2
NameBrake Status Response
Categoryoptional
AccessR/O
PDO Mapping possible
Value RangeUNSIGNED16
Default Value0
With subindex 2 the brake status can be checked. Bit definition:
BitNameDescription
0Fieldbus control Status0 - brake control via 0x345A is disabled or not possible due to drive failure.
1 - enable fieldbus control via this object. This function works edge triggered,
i.e. this bit has to have a 0 -> 1 transition to activate the brake control functionality. After a fault the functionality is reset and has to be activated again.
The activation can be controlled by subindex 2 bit 0.
1Brake Status0 - apply the brake
1 - release the brake
Note: When the brake is applied or released, there is a time delay
MOTOR.TBRAKEAPP or MOTOR.TBRAKEREL, after the receipt of the
command before this status bit changes. The status is always reported: it is
not affected by fieldbus control.
2STO Status0 - STO is not active (drive may be enabled)
1 - STO is active (drive can not be enabled)
3HW Enable Status0 - HW enable is disabled, drive function can not be enabled
1 - HW enable is enabled, drive function can be enabled
Kollmorgen™ | November 201267
Page 68
AKD CANopen | 7 CANopen Drive Profile
7.2.2.13 Object 3474h: Parameters for digital inputs
This set of objects is used to set extended parameters for some digital input functions. The parameters can be
used for different DINx.MODEs. Therefore thescaling might be different or no scaling is used at all.
Two subindices build an access object to one of these parameters, because they are 64-bit numbers internally,
e.g. object 3474 sub 1 gives access to the low 32 bits of DIN1.PARAM whereas 3474 sub 8 gives access to the
high 32 bits.
If access to the whole 64 bit number is needed the higher bits must be written first. The access to the lower 32
bits then writes the parameter. If the to be written value fits into 32 bit, only the lower part needs to be written.
The most-significant bit is then taken as sign-bit for the number.
Index3474h
NameDINx.PARAM
Object codeArray
Data typeUNSIGNED32
Categoryoptional
Subindex0
Descriptionnumber of entries
Categorymandatory
AccessR/O
PDO mapping not possible
Value range0xE
Default value0xE
Subindex1 to 7
DescriptionDINx.PARAM low 32 bits, x = 1 .. 7
Categoryoptional
AccessR/W
PDO mapping not possible
Value rangeUNSIGNED32
Default value0
Subindex8 to 0xE
DescriptionDINx.PARAM high 32 bits, x = 1 .. 7
Categoryoptional
AccessR/W
PDO mapping not possible
Value rangeUNSIGNED32
Default value0
68Kollmorgen™ | November 2012
Page 69
AKD CANopen | 7 CANopen Drive Profile
7.2.2.14 Object 3475h: Parameters for digital outputs
This set of objects is used to set extended parameters for some digital output functions. The parameters can be
used for different DOUTx.MODEs. Therefore the scaling might be different or no scaling is used at all.
Two subindices build an access object to one of these parameters, because they are 64-bit numbers internally,
e.g. object 3475 sub 1 gives access to the low 32 bits of DOUT1.PARAM whereas 3475 sub 3 gives access to
the high 32 bits.
If access to the whole 64 bit number is needed the higher bits must be written first. The access to the lower 32
bits then writes the parameter. If the to be written value fits into 32 bit, only the lower part needs to be written.
The most-significant bit is then taken as sign-bit for the number.
This set of objects is used to set or read parameters for the fieldbus synchronization used in the interpolated position mode (7) and the cyclic-modes 8 etc. The synchronization between a fieldbus master and the AKD is similar
in all the supported fieldbus systems.
The AKD internal 16[kHz] interrupt function is responsible for calling the PLL function. This PLL function is called
once per fieldbus cycle (set by object 60C2 sub 1 and 2).If the fieldbus sample period is for example 1[ms], the
PLL code is called every 16th time of the 16[kHz] IRQ of the AKD.
Once in a fieldbus sample the SYNC-telegram must arrive, which resets a PLL counter in the Drive. After some
time the already mentioned PLL function is called and reads back the time from that PLL counter.
Depending on the measured time the PLL function extends (in case that the measured time is too low) or lowers
(in case that the measured time is too high) the sample time of the upcoming 16[kHz] tasks for one fieldbus sample by a selectable value (object 3496 sub 4) in order to move the PLL function closer to the expected distance
(object 3496 sub 1).
Beside the objects mentioned here the parameter FBUS.SAMPLEPERIOD is important, which is set by object
60C2 sub 1 and 2.This setting is required in order to share the fieldbus sample time with the slave. This information is e.g. needed for being able to call the AKD internal PLL function once per fieldbus sample.
Index3496h
NameFBUS synchronization parameters
Object codeArray
Data typeUNSIGNED32
Categoryoptional
Subindex0
Descriptionnumber of entries
Categorymandatory
AccessR/O
PDO mapping not possible
Value range0x4
Default value0x4
Subindex1
DescriptionFBUS.SYNCDIST
Categoryoptional
AccessR/W
PDO mapping not possible
Value rangeUNSIGNED32
Default value320000 [ns]
Sub 1 is the expected time distance in nano seconds between clearing the PLL counter and calling the PLL function.
Subindex2
DescriptionFBUS.SYNCACT
Categoryoptional
AccessR/W
PDO mapping not possible
Value rangeUNSIGNED32
Default value320000 [ns]
Sub 2 is the actual time distance in nano seconds between clearing the PLL counter and calling the PLL function.
70Kollmorgen™ | November 2012
Page 71
AKD CANopen | 7 CANopen Drive Profile
Subindex3
DescriptionFBUS.SYNCWND
Categoryoptional
AccessR/W
PDO mapping not possible
Value rangeUNSIGNED32
Default value70000 [ns]
Sub 3 is a window, which is used in order to consider the drive as being synchronized. The AKD is considered as
synchronized in the following case:
Sub 4 value indicates the time, which is used for extending or lowering the sample rate of the AKD internal 16
[kHz] IRQ, which is responsible for calling the PLL function. The default sample time is 32 * 1/16[kHz] = 2[ms].
The sample time of the AKD high prior interrupt is determined by
62.5[µs] – FBUS.COMPTIME if FBUS.SYNCACT > FBUS.SYNCDIST.
The sample time of the AKD high prior interrupt is determined by
62.5[µs] + FBUS.COMPTIME if FBUS.SYNCACT < FBUS.SYNCDIST.
Kollmorgen™ | November 201271
Page 72
AKD CANopen | 7 CANopen Drive Profile
7.2.3 Profile specific objects
7.2.3.1 Object 60B8h: Touch probe function
This object indicates the configured function of the touch probe.
Index60B8h
NameTouch probe function
Object codeVariable
Data typeUNSIGNED16
Categoryoptional
AccessR/W
PDO Mapping yes
Value rangeUNSIGNED16
Default value0
Definition of the possible functions:
BitValue Meaning
00Switch off touch probe 1
1Enable touch probe 1
10Trigger first event
1Continuous
3, 200b Trigger with touch probe 1 input
01b Trigger with zero impulse signal or position encoder
10b Touch probe source as defined in object 60D0h, sub-index 01h
11b reserved
40Switch off sampling at positive edge of touch probe 1
1Enable sampling at positive edge of touch probe 1
50Switch off sampling at negative edge of touch probe 1
1Enable sampling at negative edge of touch probe 1
6, 7-User-defined (e.g. for testing)
80Switch off touch probe 2
1Enable touch probe 2
90Trigger first event
1continuous
11, 1000b Trigger with touch probe 2 input
01b Trigger with zero impulse signal or position encoder
10b Touch probe source as defined in object 60D0h, sub-index 02h
11b reserved
120Switch off sampling at positive edge of touch probe 2
1Enable sampling at positive edge of touch probe 2
130Switch off sampling at negative edge of touch probe 2
1Enable sampling at negative edge of touch probe 2
14, 15-User-defined (e.g. for testing)
72Kollmorgen™ | November 2012
Page 73
7.2.3.2 Object 60B9h: Touch probe status
This object indicates the status of the touch probe.
Index60B9h
NameTouch probe status
Object codeVariable
Data typeUNSIGNED16
Categoryoptional
AccessR/O
PDO Mapping yes
Value rangeUNSIGNED16
Default value0
Definition of the status:
BitValue Meaning
00Touch probe 1 is switched off
1Touch probe 1 is enabled
10Touch probe 1 no positive edge value stored
1Touch probe 1 positive edge position stored
20Touch probe 1 no negative edge value stored
1Touch probe 1 negative edge position stored
3 to 50reserved
6, 7-User-defined (e.g. for testing)
80Touch probe 2 is switched off
1Touch probe 2 is enabled
90Touch probe 2 no positive edge value stored
1Touch probe 2 positive edge position stored
100Touch probe 2 no negative edge value stored
1Touch probe2 negative edge position stored
11 to 130reserved
14, 15-User-defined (e.g. for testing)
AKD CANopen | 7 CANopen Drive Profile
Kollmorgen™ | November 201273
Page 74
AKD CANopen | 7 CANopen Drive Profile
7.2.3.3 Object 60BAh: Touch probe 1 positive edge
This object provides the position value of the touch probe 1 at positive edge.
Index60BAh
NameTouch probe 1 positive edge
Object codeVariable
Data typeINTEGER32
Categoryoptional
AccessR/O
PDO Mapping yes
Value rangeINTEGER32
Default valueno
7.2.3.4 Object 60BBh: Touch probe 1 negative edge
This object provides the position value of the touch probe 1 at negative edge.
Index60BBh
NameTouch probe 1 negative edge
Object codeVariable
Data typeINTEGER32
Categoryoptional
AccessR/O
PDO Mapping yes
Value rangeINTEGER32
Default valueno
7.2.3.5 Object 60BCh: Touch probe 2 positive edge
This object provides the position value of the touch probe 2 at positive edge.
Index60BCh
NameTouch probe 2 positive edge
Object codeVariable
Data typeINTEGER32
Categoryoptional
AccessR/O
PDO Mapping yes
Value rangeINTEGER32
Default valueno
74Kollmorgen™ | November 2012
Page 75
AKD CANopen | 7 CANopen Drive Profile
7.2.3.6 Object 60BDh: Touch probe 2 negative edge
This object provides the position value of the touch probe 2 at negative edge.
Index60BDh
NameTouch probe 2 negative edge
Object codeVariable
Data typeINTEGER32
Categoryoptional
AccessR/O
PDO Mapping yes
Value rangeINTEGER32
Default valueno
7.2.3.7 Object 60D0h: Touch probe source
This object provides the source of the touch probe function, when the dedicated bits 2/3 or 10/11 of the touch
probe function (object 60B8h) are set accordingly.
Index60D0h
NameTouch probe source
Object codeArray
Data typeInteger 16
Categoryoptional
Subindex0
DescriptionHighest sub-index supported
Categorymandatory
AccessR/O
PDO mapping not possible
Value range2
Default value2
Subindex1
DescriptionTouch probe 1 source
Categorymandatory
AccessR/W
PDO mapping not possible
Value range-11 to -1, 1 to 5
Default value1
Subindex2
DescriptionTouch probe 2 source
Categorymandatory
AccessR/W
PDO mapping not possible
Value range-11 to -1, 1 to 5
Default value1
Kollmorgen™ | November 201275
Page 76
AKD CANopen | 7 CANopen Drive Profile
7.2.3.8 Object 60FDh: Digital inputs (DS402)
This index defines simple digital inputs for drives. The manufacturer bits 16 to 22 are used to mirror the digital
inputs 1 to 7. The manufacturer bits 24 to 30 are used to show the change of the state of the digital inputs 1 to 7.
Index60FDh
Namedigital inputs
Object codeVAR
Data typeUNSIGNED32
Categoryoptional
AccessR/O
PDO mapping possible
Value rangeUNSIGNED32
Default value0
3116 154
manufacturer specificreservedinterlock home
3210
switch
pos. limit
switch
neg. limit
switch
MSBLSB
76Kollmorgen™ | November 2012
Page 77
AKD CANopen | 7 CANopen Drive Profile
7.2.3.9 Object 60FEh: Digital outputs (DS402)
This index defines simple digital outputs for drives. The manufacturer bits 16 and 17 are used to
A drive can support more then one and several distinct modes of operation. This object gives an overview of the
implemented operating modes in the device. This object is read only.
PDOs are used for process data communication. There are two types of PDOs: Receive PDOs (RPDOs) and
transmit PDOs (TPDOs).
The content of the PDOs is pre-defined (see descriptions on pages=> p. 80 and => p. 83). If the data content is
not appropriate for a special application the data objects in the PDOs can be remapped freely.
One data entry in the PDOs looks like this:
MSBLSB
index (16 bit)Subindex (8 bit)data length in bits (8 bit)
The configuration procedure for a free mapping of a PDO looks like this (example for TPDO1):
1. Stop possible transmission of the PDO.
COB-IDControl
byte
Low byte High byteindexDataComment
60123´001801h81 01 00 C0 Switch-off COB-Id
2. Delete the actual mapping of the PDO by writing a 0 to the subindex 0 of the mapping Object.
COB-IDControl
byte
Low byte High byteindexDataComment
6012F´001A00h00 00 00 00 Delete actual mapping
3. Build the mapping with object dictionary objects (see page => p. 119)) which are mappable, e.g.
COB-IDControl
byte
Low byte High byteindexDataComment
60123001A01h10 00 41 60 1st entry:
60123001A02h20 00 02 10 2nd entry:
3. Write the number of mapped objects to subindex 0 of the mapping Object.
IndexSub-
IndexSub-
IndexSub-
CANopen statusword
with 16 bits
Manufacturer status
with 32 bits
COB-IDControl
byte
Low byte High byteindexDataComment
6012F001A00h02 00 00 00 Check for the right
Mapping shall be done before the network management is switched to OPERATIONAL.
IndexSub-
number of entries
Kollmorgen™ | November 201279
Page 80
AKD CANopen | 7 CANopen Drive Profile
7.3.1 Receive PDOs (RXPDO)
Four Receive PDOs can be configured in the drive:
l - configuration of the communication (Objects 1400-1403h)
l - configuration of the PDO-contents (mapping, Objects 1600-1603h)
7.3.1.1 Objects 1400-1403h: 1st - 4th RXPDO communication parameter (DS301)
Index1400h to 1403h for RXPDO 1 to 4
Namereceive PDO parameter
Object codeRECORD
Data typePDO CommPar
Categorymandatory
Defined sub-indices
Subindex0
Namenumber of entries
Data typeUNSIGNED8
Categorymandatory
AccessR/O
PDO Mapping not possible
Value Range2
Default Value2
Subindex1
NameCOB-ID used by PDO
Categorymandatory
AccessR/W
PDO Mapping not possible
Value RangeUNSIGNED32
Default Value
Index 1400h: 200h + Node-IDIndex 1401h: 300h + Node-ID
Index 1402h: 400h + Node-IDIndex 1403h: 500h + Node-ID
Subindex 1 contains the COB-Id of the PDO as a bit coded information:
BitValue Meaning
310PDO exists/is valid
1PDO does not exist/is not valid
300RTR allowed on this PDO, not to be used (Can in Automation organisation)
1RTR not allowed on this PDO
29011 bit-ID (CAN 2.0A)
129 bit-ID (CAN 2.0B), not supported
28 to 11XIdentifier-bits with 29 bit-ID, not relevant
10 to 0XBits 10-0 of COB-ID
80Kollmorgen™ | November 2012
Page 81
AKD CANopen | 7 CANopen Drive Profile
Subindex2
Nametransmission type
Categorymandatory
AccessR/W
PDO Mapping not possible
Value RangeUNSIGNED8
Default ValueFFh
Subindex 2 contains the transmission type of the PDO. There are two ways of setting:
l the value FFh or 255 for event-triggered PDO, which is directly interpreted by reception and taken into
actions,
l values from 0 to 240, which cause a SYNC-telegram-controlled interpretation of the PDO
contents. Values of 1 to 240 mean, that 0 to 239 SYNC-telegrams are ignored, before one is interpreted. The
value 0 means, that only the next SYNC-telegram is interpreted.
Index 1802h: 380h + Node-ID Index 1803h: 480h + Node-ID
Subindex2
Nametransmission type
Categorymandatory
AccessR/W
PDO Mapping not possible
Value RangeUNSIGNED8
Default ValueFFh
Subindex3
Nameinhibit time
Categoryoptional
AccessR/W
PDO Mapping not possible
Value RangeUNSIGNED16 (n*1/10ms)
Default Value0h
Kollmorgen™ | November 201283
Page 84
AKD CANopen | 7 CANopen Drive Profile
Subindex4
Namereserved
Categoryoptional
AccessR/W
PDO Mapping not possible
Value Range0
Default Value0
Subindex5
Nameevent timer
Categoryoptional
AccessR/W
PDO Mapping not possible
Value RangeUNSIGNED16 (0=not used, ms)
Default Value0h
Subindex 1 contains the COB-Id of the PDO as a bit coded information:
Bit-NumberValue Meaning
310PDO exists/is valid
1PDO does not exist/is not valid
300RTR allowed on this PDO, not supported
1RTR not allowed on this PDO, not supported
29011 bit-ID (CAN 2.0A)
129 bit-ID (CAN 2.0B), not supported
28 to 11XIdentifier-bits with 29 bit-ID, not relevant
10 to 0XBits 10-0 of COB-ID
Subindex 2 contains the transmission type of the PDO. There are two ways of setting:
l A value of FFh or 255d for an event-triggered PDO, which is sent immediately after a change in the mapped
application objects. Setting of Subindex 3 or 5 has an influence on the sending of a PDO. With Subindex 3
you can configure, in which minimal time the so configured Transmit-PDOs are sent, if PDO-data contents
change (reduction of bus-load). With Subindex 5 (event time) a timer is used, which is reset with every eventtriggered sending of this PDO. If there is no change of the PDO-content in this time, the PDO is sent caused
by this timer event.
l Values from 0 to 240 cause a SYNC-Telegram controlled sending of the PDO.
Values from 1 to 240 define how often the SYNC-telegram leads to a sending of a PDO.
The value 0 means, that only the next SYNC-telegram leads to a sending of the so
configured PDOs.
1 - 8: PDO activated, mappings are taken only byte-wise
Default ValuePDO1: 1
PDO2: 2
PDO3: 2
PDO4: 2
Subindex1 - 8
NamePDO - mapping for the n-th application object
CategoryConditional, depends on number and size of object be mapped
AccessR/W
PDO Mapping not possible
Value RangeUNSIGNED32
Default ValueSee below
Kollmorgen™ | November 201285
Page 86
AKD CANopen | 7 CANopen Drive Profile
7.3.2.3 Default TXPDO definition
TXPDO 1:
SubindexValueMeaning
01One PDO-mapping entry
160 41 00 10 Status word
TXPDO 2:
SubindexValueMeaning
02Two PDO-mapping entries
160 41 00 10 Status word
260 61 00 08 Modes of Operation display
TXPDO 3:
SubindexValueMeaning
02Two PDO-mapping entries
160 41 00 10 Status word
260 64 00 20 Position actual value
TXPDO 4:
SubindexValueMeaning
02Two PDO-mapping entries
160 41 00 10 Status word
260 6C 00 20 Velocity actual value
86Kollmorgen™ | November 2012
Page 87
AKD CANopen | 7 CANopen Drive Profile
7.4 Device Control (dc)
The device control of the AKD can be used to carry out all the motion functions in the corresponding modes. The
control of the AKD is implemented through a mode-dependent status machine. The status machine is controlled
through the control word (=> p. 90).
The mode setting is made through the object "Modes of Operation” (=> p. 93). The states of the status machine
can be revealed by using the status word (=> p. 91).
7.4.1 Status Machine (DS402)
Kollmorgen™ | November 201287
Page 88
AKD CANopen | 7 CANopen Drive Profile
7.4.1.1 States of the Status Machine
StateDescription
Not Ready for Switch OnAKD is not ready to switch on, there is no operational readiness (BTB/RTO) sig-
naled from the controller program.
Switch On DisableAKD is ready to switch on, parameters can be transferred,
the DC-link voltage can be switched on, motion functions cannot be carried out yet.
Ready to Switch OnDC-link voltage may be switched on, parameters can be transferred,
motion functions cannot be carried out yet.
Switched OnDC-link voltage must be switched on, parameters can be transferred, motion func-
tions cannot be carried out yet, output stage is switched on (enabled).
Operation EnableNo fault present, output stage is enabled, motion functions are enabled.
Quick Stop ActiveDrive has been stopped with the emergency ramp, output stage is enabled, motion
functions are not enabled.
Fault Reaction ActiveA fault has occured and the drive is stopped with the quickstop ramp.
FaultA fault is active, the drive has been stopped and disabled.
88Kollmorgen™ | November 2012
Page 89
AKD CANopen | 7 CANopen Drive Profile
7.4.1.2 Transitions of the status machine
The state transitions are affected by internal events (e.g. switching off the DC-link voltage) and by the flags in
the control word (bits 0,1,2,3,7).
Transition EventAction
0ResetInitialization
1Initialization completed successfully. AKD is
none
ready to operate.
2Bit 1 Disable Voltage and Bit 2 Quick Stop are
none
set in the control word (Shutdown command).
DC-link voltage may be present.
3Bit 0 is also set (Switch On command)Output stage is switched on (enabled), provided that
the hardware enable is present (logical AND). Drive
has torque.
4Bit 3 is also set (Enable Operation command) Motion function is enabled, depending on the mode
that is set.
5Bit 3 is canceled
(Disable Operation command)
Motion function is inhibited. Drive is stopped, using
the relevant ramp (mode-dependent). The present
position is maintained.
6Bit 0 is canceled (Shutdown command)Output stage is disabled.
Drive has no torque.
7Bits 1 and 2 are canceled
none
(Quick Stop/Disable Voltage command)
8Bit 0 is canceled (Shutdown command)Output stage is disabled. Drive has no torque.
9Bit 1 is canceled (Disable Voltage command) Output stage is disabled. Drive has no torque.
10Bits 1 and 2 are canceled
Output stage is disabled. Drive has no torque.
(Quick Stop/Disable Voltage command)
11Bit 2 is canceled
(Quick Stop command)
Drive is stopped with the emergency braking ramp.
The output stage remains enabled. Setpoints are
canceled (motion block number, digital setpoint,
speed for jogging or homing). Bit 2 must be set
again before any further motion tasks can be per-
formed.
12Bit 1 is canceled (‘Disable Voltage’ command) Output stage is disabled. Drive has no torque.
14Fault reaction is completedDrive function is disabled. The power section may
be switched off.
15"Fault Reset" command received from hostA reset of the fault condition is carried out if no fault
exists currently on the drive.After leaving the state
Fault the Bit7 'Reset Fault' of the controlword must
be cleared by the host
16Bit 2 is setMotion function is enabled again.
If the drive is operated through the control word/status word, then no control
commands may be sent through another communication channel (ASCII
channel, RS232).
Kollmorgen™ | November 201289
Page 90
AKD CANopen | 7 CANopen Drive Profile
7.4.2 Object Description
7.4.2.1 Object 6040h: Control word (DS402)
The control commands are built up from the logical combination of the bits in the control word and external signals (e.g enable output stage). The definitions of the bits are shown below:
Index6040h
Namecontrol word
Object codeVAR
Data typeUNSIGNED16
AccessR/W
PDO mapping possible
Unit—
Value range0 to 65535
EEPROMno
Default value0
Bit assignment im control word
Bit NameBit Name
0 Switch on8 Pause/halt
1 Disable Voltage9 reserved
2 Quick Stop10 reserved
3 Enable Operation11 reserved
4 Operation mode specific12 reserved
5 Operation mode specific13 Manufacturer-specific
6 Operation mode specific14 Manufacturer-specific
7 Reset Fault (only effective for faults)15 Manufacturer-specific
Commands in the control word
CommandBit 7
Fault
Reset
Bit 3
Enable
Operation
Bit 2
Quick
Stop
Bit 1
Disable
Voltage
Bit 0
Switch
on
Transitions
ShutdownXX1102, 6, 8
Switch onXX1113
Disable VoltageXXX0X7, 9, 10, 12
Quick StopXX01X7, 10, 11
Disable OperationX01115
Enable OperationX11114, 16
Fault Reset1XXXX15
Bits marked by an X are irrelevant.
90Kollmorgen™ | November 2012
Page 91
AKD CANopen | 7 CANopen Drive Profile
Mode-dependent bits in the control word
The following table shows the mode-dependent bits in the control word. Only manufacturer-specific modes are
supported at present. The individual modes are set by Object 6060hModes of operation.
Operation modeNo. Bit 4Bit 5Bit 6
Profile Position Mode (pp)01h new_setpointchange_set_imme-
Interpolated Position Mode (ip)07h Enable Interpolationreservedreserved
Cyclic sync position Mode (csp) 08h reservedreservedreserved
Description of the remaining bits in the control word
The remaining bits in the control word are described below.
Bit 8 Pause If Bit 8 is set, then the drive halts (pauses) in all modes. The setpoints (speed for homing or jogging,
motion task number, setpoints for digital mode) for the individual modes are retained.
Bit 9,10 These bits are reserved for the drive profile (DS402).
Bit 13, 14, 15 These bits are manufacturer-specific, and reserved at present.
7.4.2.2 Object 6041h: Status word (DS402)
The momentary state of the status machine can be read out with the aid of the status word.
Index6041h
NameStatus word
Object codeVAR
Data typeUNSIGNED16
AccessR/W
PDO mapping possible
Unit—
Value range0 to 65535
EEPROMyes
Default value0
Bit assignment in the status word
Bit NameBit Name
0 Ready to switch on8 Manufacturer-specific (reserved)
1 Switched on9 Remote
2 Operation enabled10 Target reached
3 Fault11 Internal limit active
4 Voltage enabled12 Operation mode specific (reserved)
5 Quick stop13 Operation mode specific (reserved)
6 Switch on disabled14 Manufacturer-specific (reserved)
7 Warning15 Manufacturer-specific (reserved)
Kollmorgen™ | November 201291
Page 92
AKD CANopen | 7 CANopen Drive Profile
States of the status machine
StateBit 6
switch on
disabled
Bit 5
quick stop
Bit 3
fault
Bit 2
operation
enabled
Bit 1
switched
on
Bit 0
ready to
switch on
Not ready to switch on0X0000
Switch on disabled1X0000
Ready to switch on010001
Switched on010011
Operation enabled010111
Fault0X1000
Fault reaction active0X1111
Quick stop active000111
Bits marked by X are irrelevant
Description of the remaining bits in the status word
Bit 4: voltage_enabled The DC-link voltage is present if this bit is set.
Bit 7: warning There are several possible reasons for Bit 7 being set and this warning being produced. The rea-
son of a warning can be seen by the Error code of the Emergency message, which is sent on the bus caused by
this warning.
Bit 9:The remote-bit is set by the telnet command FBUS.REMOTE. The default state is 1 indicating that the
power stage shall be only controlled by the DS402 control word. For special actions via telnet like tuning or commutation finding, FBUS.REMOTEshall be set to 0 via telnet to inform the fieldbus master.
Bit 10: target_reached This is set when the drive has reached the target position.
Bit 11: internal_limit_active This bit specifies that a movement was or is limited. In different modes, different
warnings cause the bit to be set. The following assignments exist:
Mode of operationWarnings which set Bit 11
alln04, n06, n07, n10, n11, n14
0x1 (PP), 0x88n03, n08, n09, n20
92Kollmorgen™ | November 2012
Page 93
AKD CANopen | 7 CANopen Drive Profile
7.4.2.3 Object 6060h: Modes of Operation (DS402)
This object is used to set the mode, which can be read out by Object 6061h. Two types of operating mode are
used:
l manufacturer-specific operating modes
l operating modes as per CANopen drive profile DS402
These operating modes are defined in the CANopen drive profile DS402. After the mode has been changed, the
corresponding setpoint must be set once more (for instance, the homing velocity in the mode homing_setpoint).
If the position or jogging mode is stored, then the Homing mode is set after a RESET of the drive.
An operating mode only becomes valid when it can be read by Object 6061h.
Never change the mode while the motor is running! The drive could move
unexpectedly. When the drive is enabled, a mode change is only permissible at
zero speed. Set the speed setpoint to 0 before changing over.
Index6060h
Namemode of operation
Object codeVAR
Data typeINTEGER8
Categorymandatory
AccessR/W
PDO mapping possible
Value range1, 3, 4, 6, 7, 8
Default value—
Supported modes (negative values are manufacturer specific modes):
Value (hex)Mode
1Profile position mode
3Profile velocity mode
4Profile torque mode
6Homing mode
7Interpolated position mode
8Cyclic sync position mode
Kollmorgen™ | November 201293
Page 94
AKD CANopen | 7 CANopen Drive Profile
7.4.2.4 Object 6061h: Modes of Operation Display (DS402)
This object can be used to read the mode that is set by Object 6060h. An operating mode only becomes valid
when it can be read by Object 6061h (see also Object 6060h).
Index6061h
Namemode of operation display
Object codeVAR
Data typeINTEGER8
Categorymandatory
AccessR/O
PDO mapping possible
Value range1, 3, 4, 6, 7, 8
Default value—
7.5 Factor Groups (fg) (DS402)
The "factor groups" define the units of position-, velocity- and acceleration setpoints. These values are converted
into drive-specific parameters.
Two types of scalings can be used depending on the configuration bit 4 in FBUS.PARAM05:
1. Scaling analog to Telnet. Then you should set the UNIT.PROTARY = 3, UNIT.VROTARY = 3 and
UNIT.ACCROTARY = 3.
2. Scaling only with DS402 - scaling factors independant of the scalings used via Telnet. Therefore use the settings via the objects 204C / 6091/6092.
The drive parameters for the unit definitions should be set as follows:
UNIT.PROTARY= 3 (UNIT.PIN/UNIT.POUT)
UNIT.VROTARY = 3 (UNIT.PIN/UNIT.POUT/s)
UNIT.ACCROTARY = 3 (c UNIT.PIN/UNIT.POUT/s²)
7.5.1 General Information
7.5.1.1 Factors
You can convert between physical dimensions and sizes, and the internal units used in the device (increments).
Several factors can be implemented. This chapter describes how these factors influence the system, how they
are calculated and which data are necessary to build them.
7.5.1.2 Relationship between Physical and Internal Units
The factors defined in the factor group set up a relationship between device-internal units (increments) and physical units.
The factors are the result of the calculation of two parameters called dimension index and notation index. The
dimension index indicates the physical dimension, the notation index indicates the physical unit and a decimal
exponent for the values. These factors are directly used to normalize the physical values.
The notation index can be used in two ways:
l For a unit with decimal scaling and notation index < 64, the notation index defines the exponent/decimal place
of the unit.
l For a unit with non-decimal scaling and notation index > 64, the notation index defines the subindex of the
physical dimension of the unit.
94Kollmorgen™ | November 2012
Page 95
AKD CANopen | 7 CANopen Drive Profile
7.5.2 Objects for velocity scaling
7.5.2.1 Object 204Ch: PV Scaling Factor
This object shall indicate the configured numerator and denominator of the pv scaling factor. The pv scaling factor serves to modify the resolution or directing range of the specified setpoint. It is aso included in calculation of
the vl velocity demand, and vl velocity actual value. It does not influence the velocity limit function and the ramp
function. The value shall have no physical unit and shall be given in the range from -32 768 to +32 767, but the
value of 0 shall not be used.
The velocity scaling factor is only active, when bit 4 of FBUS.PARAM05 is set to 1. Otherwise velocities are
scaled as 1/1000 rpm.
Index204Ch
Namepv scaling factor
Object codeARRAY
Data typeINTEGER32
Categoryoptional
Subindex0
Descriptionnumber of entries
Data typeUNSIGNED8
Categorymandatory
AccessR/O
PDO mapping not possible
Value range2
Default valueno
Subindex1
Descriptionpv scaling factor numerator
Categoryoptional
AccessR/W
PDO mapping not possible
Value rangeINTEGER32
Default value+1
Subindex2
Descriptionpv scaling factor denominator
Categoryoptional
AccessR/W
PDO mapping not possible
Value rangeINTEGER32
Default value+1
Kollmorgen™ | November 201295
Page 96
AKD CANopen | 7 CANopen Drive Profile
7.5.3 Objects for position calculation
7.5.3.1 Object 608Fh: Position encoder resolution (DS402)
The position encoder resolution defines the ratio of encoder increments per motor revolution on the CANopen
end. Encoder increments are set either directly by subindex 1 (only powers of 2 available) or implicit by writing to
the parameter FB1.PSCALE. It can be set independently afterwards.
Index608Fh
NamePosition encoder resolution
Object CodeARRAY
Data TypeUNSIGNED 32
Categoryoptional
Subindex0
Namenumber of entries
Data typeUNSIGNED8
Categorymandatory
AccessR/O
PDO Mapping not possible
Value Range2
Default Value2
Subindex1
NameEncoder increments
Categorymandatory
AccessR/W
PDO Mapping not possible
Value RangeUNSIGNED 32
Default Value2^20
Subindex2
NameMotor revolutions
Categorymandatory
AccessR/W
PDO Mapping not possible
Value RangeUNSIGNED 32
Default Value1
96Kollmorgen™ | November 2012
Page 97
AKD CANopen | 7 CANopen Drive Profile
7.5.3.2 Object 6091h: Gear Ratio (DS402)
The gear ratio defines the ratio of feed in position units per driving shaft revolutions. This includes the gear if
present.
gear ratio = motor shaft revolutions / driving shaft revolutions
Index6091h
NameGear Ratio
Object CodeARRAY
Data TypeUNSIGNED 32
Categoryoptional
Subindex0
Namenumber of entries
Data typeUNSIGNED8
Categorymandatory
AccessR/O
PDO Mapping not possible
Value Range2
Default Value2
Subindex1
NameMotor revolution
Categorymandatory
AccessR/W
PDO Mapping not possible
Value RangeUNSIGNED 32
Default Value1
Subindex2
NameShaft revolutions
Categorymandatory
AccessR/W
PDO Mapping not possible
Value RangeUNSIGNED 32
Default Value1
Kollmorgen™ | November 201297
Page 98
AKD CANopen | 7 CANopen Drive Profile
7.5.3.3 Object 6092h: Feed constant (DS402)
The feed constant defines the ratio of feed in position units per driving shaft revolutions.
This includes the gear if present.
Index6092h
NameFeed constant
Object CodeARRAY
Data TypeUNSIGNED 32
Categoryoptional
Subindex0
Namenumber of entries
Data typeUNSIGNED8
Categorymandatory
AccessR/O
PDO Mapping not possible
Value Range2
Default Value2
Subindex1
NameFeed
Categorymandatory
AccessR/W
PDO Mapping not possible
Value RangeUNSIGNED 32
Default Value1
Subindex2
NameShaft revolutions
Categorymandatory
AccessR/W
PDO Mapping not possible
Value RangeUNSIGNED 32
Default Value1
98Kollmorgen™ | November 2012
Page 99
AKD CANopen | 7 CANopen Drive Profile
7.6 Profile Velocity Mode (pv) (DS402)
7.6.1 General Information
The profile velocity mode enables the processing of velocity setpoints and the associated accelerations.
7.6.1.1 Objects that are defined in this section
Index Object NameTypeAccess
606Ch VARvelocity actual valueINTEGER32R/O
60FFh VARtarget velocityINTEGER32R/W
7.6.1.2 Objects that are defined in other sections
Index Object NameTypeSection
6040h VARcontrol wordINTEGER16dc (=> p. 90)
6041h VARstatus wordUNSIGNED16 dc (=> p. 91)
6063h VARposition actual value* INTEGER32pc (=> p. 103)
6083h VARprofile accelerationUNSIGNED32 pp (=> p. 116)
6084h VARprofile decelerationUNSIGNED32 pp (=> p. 116)
7.6.2 Object description
7.6.2.1 Object 606Ch: Velocity actual value (DS402)
The object velocity actual value represents the actual speed.
Index606Ch
Namevelocity actual value, VL.FB
Object codeVAR
Data typeINTEGER32
Modepv
AccessR/O
PDO mapping possible
Unitvelocity units (SDO is in user units and the PDO is in RPM
Value range(-231) to (231-1)
Default value—
EEPROMno
Kollmorgen™ | November 201299
Page 100
AKD CANopen | 7 CANopen Drive Profile
7.6.2.2 Object 60FFh: Target velocity (DS402)
The speed setpoint (target velocity) represents the setpoint for the ramp generator.
Index60FFh
Nametarget velocity, VL.CMDU
Object codeVAR
Data typeINTEGER32
Modepv
AccessR/W
PDO mapping possible
Unitincrements
Value range(-231) to (231-1)
Default value—
EEPROMno
100Kollmorgen™ | November 2012
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.