For safe and proper use, follow these
instructions. Keep for future use.
Record of Document Revisions
RevisionRemarks
A, 09/2019First edition
B, 10/2020Added ECAT.INPUTHANDLING and MOTOR.RSOURCE
Added objects 34D1h, 34D8h, 547Ah, 547Bh and 60E4h
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 HIPERFACE is a registered trademark of Max Stegmann GmbH
l SpeedTec is a registered trademark of TE Connectivity Industrial GmbH
l Windows is a registered trademark of Microsoft Corporation
Current patents
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)
l US Patent 8.566.415 (Safe Torque Off over network wiring)
l US Patent 10.374.468 (System and method for improved DC power line communication)
Patents referring to fieldbus functions are listed in the matching fieldbus manual.
Technical changes which improve the performance of the device may be made without prior notice!
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 | kdn.kollmorgen.com | October 2020
MKD EtherCAT | 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 Installation and Setup13
3.1 Important Instructions14
3.2 Motion Bus Interface (X10/X11)15
3.2.1 Pinout15
3.2.2 EtherCAT15
3.3 Guide to Setup16
3.4 Important Configuration Parameters17
3.5 Setting up Ethernet over EtherCAT (EoE)19
3.5.1 EtherCATDevice Settings19
3.5.2 Drive Settings20
3.5.3 Connecting to the Drive20
3.5.4 Performance Concerns21
3.5.5 Restrictions21
3.6 Setup via TwinCAT NC/PTP System Manager22
3.6.1 Scan devices23
3.6.2 Select the device23
3.6.3 Scan for boxes24
3.6.4 Add Slaves to NC tasks24
3.6.5 Enable the network configuration25
3.6.6 Enable the axis and move the axis26
3.7 Setup WorkBench over TwinCAT27
3.7.1 TwinCAT and WorkBench Configuration27
3.7.2 Connecting to a Drive Using WorkBench29
3.7.3 Configuring and Enabling a Drive32
3.7.4 Download a Parameter File over TwinCAT33
4 EtherCAT Profile34
4.1 Slave Register35
4.2 AL Event (Interrupt Event) and Interrupt Enable36
This manual, MKD EtherCAT Communication, describes the installation, setup, range of
functions, and software protocol for the EtherCAT MKD product series. All MKD EtherCAT
drives have built-in EtherCAT 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 MKD series include:
MKD Installation Manual This manual provides instructions for installation and drive
setup.
MKD WorkBench Online Help. This manual describes how to use your drive in common
applications. It also provides tips for maximizing your system performance with the MKD.
It includes the Parameter and Command Reference Guide which provides documentation
for the parameters and commands used to program the MKD.
MKD EtherCAT Communications Manual. This manual describes the CAN communication and delivers a lot of information for CAN over EtherCAT communication.
Accessories Manual. This manual provides documentation for accessories like cables
and regen resistors used with MKD. Regional versions of this manual exist.
Additionally, an EtherCAT XML file, entitled AKD EtherCAT Device Description, describes
the drive SDO and PDO. This file is available on the Kollmorgen website (part of the firmware
zip archive).
2.2 Target Group
This manual addresses personnel with the following qualifications:
The qualified personnel must know and observe the following standards:
Installation: only by electrically qualified personnel.
Setup: only by qualified personnel with extensive knowledge of electrical engineering
and drive technology.
Programming: software developers, project-planners.
ISO 12100, IEC 60364 and IEC 60664
National accident prevention regulations
10Kollmorgen | kdn.kollmorgen.com | October 2020
2.3 Symbols Used
SymbolIndication
MKD EtherCAT | 2 General
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.
Indicates situations which, if not avoided, could result in property damage.
This symbol indicates important notes.
Warning of a danger (general). The type of danger is specified
by the text next to the symbol.
Warning of danger from electricity and its effects.
Warning of danger from suspended loads.
Warning of danger from high temperature.
Warning of danger from automatic start.
Kollmorgen | kdn.kollmorgen.com | October 202011
MKD EtherCAT | 2 General
2.4 Abbreviations Used
Abbreviation Meaning
ALApplication Layer: the protocol that directly used by the process entities.
CatCategory – classification for cables that is also used in Ethernet.
DCDistributed Clocks Mechanism to synchronize EtherCAT slaves and master
will be assign to companies or organizations and can be used for protocoll identifiers as well (e.g. LLDP)
cess side.
instance of transparent data to a subordinate level
optical signals.
12Kollmorgen | kdn.kollmorgen.com | October 2020
MKD EtherCAT | 3 Installation and Setup
3Installation and Setup
3.1 Important Instructions14
3.2 Motion Bus Interface (X10/X11)15
3.3 Guide to Setup16
3.4 Important Configuration Parameters17
3.5 Setting up Ethernet over EtherCAT (EoE)19
3.6 Setup via TwinCAT NC/PTP System Manager22
3.7 Setup WorkBench over TwinCAT27
Kollmorgen | kdn.kollmorgen.com | October 202013
MKD EtherCAT | 3 Installation and Setup
3.1 Important Instructions
There is a danger of serious personal injury or death by electrical shock or electrical arcing.
Capacitors can still have dangerous voltages present up to 7 minutes after switching off the
supply power. Control and power connections can still be live, even if the motor is not rotating.
Never remove electrical connections to the drive while it is live.
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.
To be sure, measure the voltage in the DC bus link and wait until it has fallen below
50 V.
Risk of death or serious injury for humans working in the machine. Drives with EtherCAT
are remote-controlled machines. They can start to move at any time without previous warning. The drive might restart automatically after power on, voltage dip or interruption of the
supply voltage, depending on the parameter setting.
Place a warning sign ("WARNING: Possible Automatic Start" or
similar) to the machine.
Ensure, that power on is not possible, while humans are in a
dangerous zone of the machine.
High Voltage up to 900 V!
Automatic Restart!
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.
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:
rotarylinear
at sinusoidal² commutation: 7500 rpmat sinusoidal² commutation: 4 m/s
at trapezoidal commutation: 12000 rpm. 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.
14Kollmorgen | kdn.kollmorgen.com | October 2020
3.2 Motion Bus Interface (X10/X11)
Do not connect the Ethernet line for the PC or PAC with the setup software to the motion
bus interface X10/X11. The setup Ethernet cable must be connected to X18.
The communication status is indicated by the built-in connector LEDs.
ConnectorLED#NameFunction
X10LED3LinkON = active, OFF= not active
LED4--
X11LED5LinkON = active, OFF = not active
LED6--
MKD EtherCAT | 3 Installation and Setup
The motion bus interface has RJ45 connectors and can be
used for communication with the EtherCAT master and
other MKD-C.
3.2.1 Pinout
3.2.2 EtherCAT
PinSignal X10Signal X11
1Transmit +Receive+
2Transmit -Receive-
3Receive+Transmit +
4, 5n.c.n.c.
6Receive-Transmit -
7, 8n.c.n.c.
MKD-C can be connected as slaves to the EtherCAT network (CoE) via RJ45 connectors
X10 (in port) and X11 (out port).
Kollmorgen | kdn.kollmorgen.com | October 202015
MKD EtherCAT | 3 Installation and Setup
3.3 Guide to Setup
Only professional personnel with extensive knowledge of control and drive technology are
allowed to setup the drive.
Risk of death or serious injury for humans working in the machine. Drives with EtherCAT
are remote-controlled machines. They can start to move at any time without previous warning. The drive might restart automatically after power on, voltage dip or interruption of the
supply voltage, depending on the parameter setting.
Place a warning sign ("WARNING: Possible Automatic Start" or
similar) to the machine.
Ensure, that power on is not possible, while humans are in a
dangerous zone of the machine.
Refer to chapter "Important Configuration Parameters" (➜ p. 17) for fieldbus parameter setting (FBUS.PARAMx).
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.
Automatic Restart!
16Kollmorgen | kdn.kollmorgen.com | October 2020
3.4 Important Configuration Parameters
The MKD holds several fieldbus-specific, general purpose parameters. Some of them contain the following relevant data:
The MKD-C includes three EtherCAT slave controllers (ESCs), which are used as communication node for each of the three strings.
Each MKD-N has only one ESC.
For each ESC, an EtherCAT station alias address can be configured by writing the emulated
EEPROM through the EtherCAT master. On the write access, the station alias address is
automatically stored in NV (a DRV.NVSAVE command is executed).
For MKD-C, the following parameters represent the station alias addresses:
l String 1: FBUS.PARAM03
l String 2: FBUS.PARAM01
l String 3: FBUS.PARAM06
For MKD-N, FBUS.PARAM01 is used.
FBUS.PARAM04:
This parameter enables (1) or disables (0) the synchronization supervision of the EtherCAT
fieldbus.
Default values for this parameter are as follows:
MKD EtherCAT | 3 Installation and Setup
EtherCAT drive: enabled (1)
Synchronization supervision is active when FBUS.PARAM 04 = 1 and the first EtherCAT
frame is received. When more than seven EtherCAT frames have not been received and the
drive is enabled, fault F125 (“Synchronization lost“), occurs.
FBUS.PARAM05:
Bit 0 1 Faults can only be reset using DS402 controlword bit 7.
0 The reset can also be done using 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 to
state Operation enable.
0 If the state Operation enable or Switched on is active, it falls back to the
state Switch on disabled, if the Hardware enable goes to 0.
Bit 2 1 WorkBench/Telnet cannot software enable the drive when EtherCAT are
operational.
0 WorkBench/Telnet can software enable the drive.
During commissioning this bit should be set to 1 to
avoid influences to DS402 power stage state machine.
The fieldbus should not be in operation to avoid influence to test functions of WorkBench.
Bit 3 1 DS402 - state machine is not influenced if the software enable is taken
away using Telnet.
0 DS402 - state machine is influenced if the software enable is taken away
using Telnet.
Bit 4 1 Scaling is done using special DS402 - objects (independent on units)
0 Scaling for position, velocity and acceleration objects is done using UNIT
parameters.
Kollmorgen | kdn.kollmorgen.com | October 202017
MKD EtherCAT | 3 Installation and Setup
Bit 5
1 FBUS.PARAM03 defines the station alias address if not 0. If
(EtherCAT
only)
FBUS.PARAM03 is set to 0, the address will be taken from rotary
switches if they are not 0. The EtherCAT master has the ability to use the
alias address selected by the drive or issue its own.
0 The rotary switches define the station alias address if not 0. If the rotary
switches are set to 0, the address is taken from FBUS.PARAM03 instead,
if it is not 0.
Bit 6 1 Bit 0 of parameter MT.CNTL (object 35B9 sub 0) can be accessed.
0 Bit 0 of parameter MT.CNTL (object 35B9 sub 0) is exclusively used for
DS402 controlword.
Bit 7 1 All capture objects (0x20A0-0x20A3, 0x20A6, 0x20A7, 0x60BA to
0x60BD) are scaled as object 0x6063.
0 All capture objects (0x20A0-0x20A3, 0x20A6, 0x20A7, 0x60BA to
0x60BD) are scaled as object 0x6064.
Bit 8 1 DS402 - state Switched on means power stage disabled.
0 DS402 - state Switched on means power stage enabled.
Bit 9 1 SDO content of object 0x6063 is the same as PDO content.
0 SDO content of object 0x6063 depends on MKD unit parameters.
Bit 10
(Bit 10 is act-
ive only,
if Bit 8 is set)
1 State Switched on can be reached without the high-level voltage being act-
ive.
0 State Switched on can only be reached when the high-level voltage is act-
ive; otherwise the drive stays in Ready to switch on.
Bit 11 1 No emergency messages over CANopen are triggered when a drive warn-
ing occurs.
0 Emergency messages over CANopen are triggered when a drive warning
occurs.
Bit 12reserved
Bit 13
(EtherCAT
1 Downloaded parameter file is stored automatically to nonvolatile memory.
0 Downloaded parameter file is not stored automatically to nonvolatile
only)
memory.
Bit 14 1 If a warning occurs which limits a movement of the motor bit 11 in the
DS402 statusword is additionally set to bit 7.
0 Only bit 7 is set when any warning occurs.
Bit 15 1 The bit 10 of the statusword (target reached) is also set as a reaction to the
halt bit (bit 8) of the controlword when the motor velocity is below
CS.VTHRESH.
0 Bit 10 of the statusword is only set when the external setpoint value of a
movement is reached, e.g., target position in profile position mode.
Bit 16 1 The hardware enable input decides if the transitions between Switch on dis-
abled and Ready to switch on are taken.
0 The decision relies on the DS402 controlword.
FBUS.PARAM06 to FBUS.PARAM10:
Reserved.
18Kollmorgen | kdn.kollmorgen.com | October 2020
3.5 Setting up Ethernet over EtherCAT (EoE)
If you are using firmware version 1.16 or later and your EtherCATmaster supports Ethernet
over EtherCAT (EoE), a WorkBench connection to your drive can be established without connecting to the drive’s service port.
If the service port and EoE network interface are used in parallel, the service port network
interface shall be configured to be in a different subnet than the EoE network interface. Running both network interface in the same subnet is NOT supported.
The master will use the EtherCAT mailbox to forward the Ethernet traffic from your PC to the
drive, allowing you to access the drive as if it was connected over Ethernet.
The following walk through uses a TwinCAT master as an example.
3.5.1 EtherCATDevice Settings
The first step is to make sure your EtherCAT device has EoE enabled. TwinCAT has a dedicated “EoE Support” page inside the EtherCAT device’s settings.
Enable "Virtual Ethernet Switch." Check the box "Connect to TCP/IP Stack."
MKD EtherCAT | 3 Installation and Setup
Kollmorgen | kdn.kollmorgen.com | October 202019
MKD EtherCAT | 3 Installation and Setup
3.5.2 Drive Settings
After setting up the EtherCAT device, you must enable EoE for the drive. In TwinCAT there
is an EoE page within the Drive’s Mailbox settings. If the EoE page is not displayed, add the
drive to the EtherCAT network again, using the latest device description.
To enable EoE on your drive, check the “Virtual Ethernet Port” box, select “IP Port” and “IP
Address and enter at least a valid IP address and subnet mask.
3.5.3 Connecting to the Drive
You should now be able to access your drive over WorkBench using EoE.
Open WorkBench and make sure the discovery protocol is enabled for the network interface
that is in the subnet configured for your drive in the previous step. You can now connect to
your drive as if it were connected over the service port.
20Kollmorgen | kdn.kollmorgen.com | October 2020
3.5.4 Performance Concerns
Since EoE is very demanding on EtherCAT Mailbox communication, all measures to improve
Mailbox performance should be taken.
When releasing the EoE feature, the biggest allowed mailbox size has been increased from
512 to 1024 byte. A larger mailbox means fewer Mailbox transfers, resulting in a performance
increase.
Furthermore an additional Fieldbus Memory Management Unit (FMMU) has been added. This
allows the master to be notified of new data in the mailbox input without the need to poll the
mailbox, leading to a decrease in reaction time, thus improving performance. If your master
does not support this, you should at least try to decrease the period in which the master polls
the drive’s mailbox.
3.5.5 Restrictions
l Since a firmware download restarts the drive in the resident firmware, which does not sup-
port Ethernet over EtherCAT, downloading firmware via EoE is not possible. To update
your drive’s firmware use FoE instead.
MKD EtherCAT | 3 Installation and Setup
Kollmorgen | kdn.kollmorgen.com | October 202021
MKD EtherCAT | 3 Installation and Setup
3.6 Setup via TwinCAT NC/PTP System Manager
Before you set up the drive, make sure the following have been completed:
The MKD is configured with WorkBench and the servomotor is able to move
A correctly configured EtherCAT card is present in the master.
TwinCAT software from Beckhoff (NC/PTP-Mode setup) is installed. Install first the
TwinCAT System Manager, restart your PC, then install the option package NC/PTPMode.
The XML description of the drive is available (the XML file on the DVD or on the Kollmorgen website).
An MKD EtherCAT slave is connected to the EtherCAT master PC.
The TwinCAT system manager resides in Config-Mode. The current mode of the system
manager is displayed of the bottom right side of the TwinCAT main-screen window.
Copy the XML description of the drive to the TwinCAT system (usually to the folder
c:\TwinCAT\IO\EtherCAT) and restart the TwinCAT system since TwinCAT analyzes all
device description files during start-up.
The following example explains the automatic EtherCAT network setup. The network setup
can also be done manually; please refer to the TwinCAT manual for more details.
22Kollmorgen | kdn.kollmorgen.com | October 2020
3.6.1 Scan devices
First ensure that the EtherCAT master is physically connected to the EtherCAT MKD.
Create a new (empty) project. Right click I/O Devices and scan for the devices. An example
is included in the EtherCAT network card, which is plugged into the PC.
MKD EtherCAT | 3 Installation and Setup
A pop-up window informs you that not all devices can be detected by the TwinCAT software.
Click OK to continue.
3.6.2 Select the device
TwinCAT must be able to find the EtherCAT network card. An EtherCAT slave must be connected to the network card; otherwise TwinCAT will find a real-time EtherNET card instead
of the EtherCAT card. Press the OK button.
Kollmorgen | kdn.kollmorgen.com | October 202023
MKD EtherCAT | 3 Installation and Setup
3.6.3 Scan for boxes
Click Yes to allow TwinCat to scan for boxes. A box is an alias for a slave device and is
always used in Beckhoff software products.
3.6.4 Add Slaves to NC tasks
TwinCAT should now have identified the MKD according to the Device Description file.
TwinCAT next asks if the slaves should be connected to NC tasks. Click Yes to continue.
An NC task can, for example, contain a PLC program, which can be programmed by the
user.
24Kollmorgen | kdn.kollmorgen.com | October 2020
3.6.5 Enable the network configuration
Confirm that the MKD appears in the device tree. Next, activate the network configuration.
Press thebutton in order to generate the mappings, activate the mapping and set the
drive into run-mode. Confirm afterwards that TwinCAT is allowed to jump into run-mode.
MKD EtherCAT | 3 Installation and Setup
Kollmorgen | kdn.kollmorgen.com | October 202025
MKD EtherCAT | 3 Installation and Setup
3.6.6 Enable the axis and move the axis
The Axis can be enabled by a mouse-click on the Set button within the Online window inside
of each Axis, see also the next picture.
Afterwards a pop-up window appears.
The following setting enables the drive and allows command values in both directions.
Afterwards the motor should move in positive or negative direction as soon as the clicks on
the following yellow buttons within the Online window:
26Kollmorgen | kdn.kollmorgen.com | October 2020
3.7 Setup WorkBench over TwinCAT
This chapter describes a quick start guide to setup a WorkBench over TwinCAT system and
make a motor spin under that system.
This chapter does not give specific details on TwinCAT system or WorkBench alone but is
giving guidelines and information on how TwinCAT master and WorkBench works together.
Main steps in configuring a WorkBench over TwinCAT system are:
TwinCAT and WorkBench configuration
Connecting to a drive using WorkBench
Configuring and enabling a drive
3.7.1 TwinCAT and WorkBench Configuration
The EtherCAT network must be setup and managed using TwinCAT System Manager. To be
able to connect to a drive and enable it, the drive must be loaded under the I/O node in
TwinCAT System Manager and axis must be added to Motion - NC as shown "Setup via
TwinCATNC/PTPSystem Manager " in the EtherCATManual.
MKD EtherCAT | 3 Installation and Setup
In order to connect to the drives using WorkBench, the drives must be either in Pre-Op, SafeOp or Op state. State machine for a drive can be accessed from the Online tab for the corresponding drive under the I/O → Devices → Device [x] → Box / Drive [x] node (see screenshot below).
Kollmorgen | kdn.kollmorgen.com | October 202027
MKD EtherCAT | 3 Installation and Setup
Installation process for WorkBench is the same process as normal, except that it must be
installed on the same machine as TwinCAT. Communication to the drive is done thru
TwinCAT master and it's not possible to connect WorkBench to the master remotely.
28Kollmorgen | kdn.kollmorgen.com | October 2020
3.7.2 Connecting to a Drive Using WorkBench
In order to connect to a drive, a TwinCAT device must be added in WorkBench. The start
page of WorkBench can be used to do this. First, the type of drive (Online - TwinCAT) must
be specified. Then, a list of available drives will be provided.
MKD EtherCAT | 3 Installation and Setup
The information provided for a drive are it's name, status, Net ID and Port number. After
selecting a drive from the list, clicking on the "Connect" button will create a device in the left
frame of WorkBenchand connect the device.
Kollmorgen | kdn.kollmorgen.com | October 202029
MKD EtherCAT | 3 Installation and Setup
The name, Net ID and port number are information comming from the TwinCAT master configuration file (the name may be different than the drive name returned by the DRV.NAME
command). While the status is an indicator that tells if there is already a device created within
WorkBench which is already connected to that particular drive.
Using TwinCAT System Manager, the drive name and port number can be found in the General and EtherCAT tab respectively for the corresponding drive under the I/O → Devices →
Device [x] → Box / Drive [x] node.
30Kollmorgen | kdn.kollmorgen.com | October 2020
Loading...
+ 186 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.