mds_5000
mds_5000
mds_5000
V 5.6-H or later
09/2013 en
Table of contents
Operation manual
Table of contents
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2 Notes on Safety . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.6 Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.7 Disposal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3 Installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
5 Fundamentals of EtherCAT. . . . . . . . . . . . . . . . . . . . 17
ID 441896.05 2
Table of contents
Operation manual
8 Emergency messages . . . . . . . . . . . . . . . . . . . . . . . 37
11.1 Components. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
12.4 Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
13 List of literature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
ID 441896.05 3
1
Introduction
Operation manual
1 Introduction
1.1 Purpose of the manual
This manual gives you information on the connection of devices of the 5th
generation of STÖBER inverters to the EtherCAT®1 fieldbus system. The
structure of EtherCAT and the principal procedures are also discussed.
Goals of the manual:
• Provide you with a basic knowledge of EtherCAT communication.
• Offer you support when you design an application and configure
communication.
Target readers of this manual are users who are familiar with the control of drive
systems and who have a basic knowledge of EtherCAT.
Latest versiona)
You can find information on the POSITool software in the following manuals:
1
EtherCAT® is registered trademark and patented technology, licensed by
Beckhoff Automation GmbH, Germany.
ID 441896.05 4
1
Introduction
Operation manual
Note that the programming functionality of POSITool can only be used after
training by STÖBER ANTRIEBSTECHNIK. You can find information on training at
www. stoeber.de
ID 441896.05 5
2
Notes on Safety
Operation manual
2 Notes on Safety
The devices may cause risks. For these reasons, comply with the following:
• The safety notes listed in the following sections and points
• The technical rules and regulations.
ID 441896.05 6
2
Notes on Safety
Operation manual
In addition, the valid regulations, the legal requirements, the reference books, this
technical documentation and, in particular, the safety information contained
ID 441896.05 7
2
Notes on Safety
Operation manual
Information
Note that the discharge time of the DC link capacitors is 5 minutes. You
can only determine the absence of voltage after this time period.
2.6 Service
Repairs must only be performed by STÖBER ANTRIEBSTECHNIK GmbH + Co.
KG. Send faulty devices with a fault description to:
2.7 Disposal
Please comply with the latest national and regional regulations! Dispose of the
individual parts separately depending on their nature and currently valid
regulations such as, for example:
• Electronic scrap (PCBs)
• Plastic
• Sheet metal
• Copper
• Aluminum
ID 441896.05 8
2
Notes on Safety
Operation manual
NOTICE
Notice
means that property damage may occur
if the stated precautionary measures are not taken.
CAUTION!
Caution
with warning triangle means that minor injury may occur
if the stated precautionary measures are not taken.
WARNING!
Warning
means that there may be a serious danger of death
if the stated precautionary measures are not taken.
DANGER!
Danger
Information
indicates important information about the product or a highlighted
portion of the documentation which requires special attention.
ID 441896.05 9
3
Installation
Operation manual
3 Installation
The ECS 5000 fieldbus must first be installed before the inverter of the 5th
generation of STÖBER inverters can be integrated in an EtherCAT system. We
recommend ordering the option card with installation since the card will already
have been installed by STÖBER ANTRIEBSTECHNIK before delivery.
WARNING!
Danger of injury/death and property damage due to electric shock!
Before installing accessories, turn off all voltage supplies! Then wait 5
minutes for the DC link capacitors to discharge. Never begin with accessory
installation until after this!
CAUTION!
Danger of property damage due to electrostatic discharge, among others!
Provide suitable protective measures while handling open PCBs (e.g., ESD
clothing, environment free of dirt and grease).
Do not touch the contact surfaces.
• The screw with locking disk which is included with the ECS 5000 as an
accessory.
ID 441896.05 10
3
Installation
Operation manual
2. From below, stick the RJ45 plug connector of the PCB through the plate
which is included with the ECS 5000 accessories:
3. Secure the plate to the PCB with the included screw with locking disk:
ID 441896.05 11
3
Installation
Operation manual
4. Insert the option PCB in the inverter so that the gold contacts slide into the
black terminal block:
ID 441896.05 12
3
Installation
Operation manual
WARNING!
Danger of injury/death and property damage due to electric shock!
Before installing accessories, turn off all voltage supplies! Then wait 5
minutes for the DC link capacitors to discharge. Never begin with accessory
installation until after this!
CAUTION!
Danger of property damage due to electrostatic discharge, among others!
Provide suitable protective measures while handling open PCBs (e.g., ESD
clothing, environment free of dirt and grease).
Do not touch the contact surfaces.
IN OUT
ID 441896.05 13
3
Installation
Operation manual
2. From below, stick the RJ45 plug connector of the PCB through the plate
which is included with the ECS 5000 accessories:
3. Secure the plate to the PCB with the included screw with locking disk:
4. From below, stick the RJ45 plug connector of the PCB through the plate
which is included in the ECS 5000 accessories:
ID 441896.05 14
4
Electrical installation
Operation manual
4 Electrical installation
There is always exactly one EtherCAT master (for example an industrial PC) and
any number of EtherCAT slaves (drive controllers, etc.) connected. All
subscribers are connected together in a line. The master is connected at the
beginning of the line. It is followed by the slaves in any order. The X201 OUT
socket on the last subscriber remains open.
EtherCAT master The „OUT“ socket on the last station
(e.g.,industrial PC) is not connected. Protect this „OUT”
socket from dirt with a dust-protective
cover for RJ45.
ID 441896.05 15
4
Electrical installation
Operation manual
RJ-45 socket
If you want to make the cables yourself, be sure to select suitable crimp tools and
use great care. Afterwards check the quality with a cable tester to avoid
transmission problems.
The individual contacts of the RJ-45 socket are allocated as per the "T 568-B"
standard as shown in the table below.
3
2 1 4
12345678
Information
Since a very large selection of inexpensive Ethernet cables is available
in various lengths, it is easier and quicker to buy Ethernet cables
instead of making them yourself. If you do purchase Ethernet cables,
make sure that they are of CAT5e quality.
ID 441896.05 16
5
Fundamentals of EtherCAT
Operation manual
5 Fundamentals of EtherCAT
Fieldbuses have been an established part the world of automation technology for
many years now. Since higher and higher speeds are required but the technical
limits of this technology have already been reached, new solutions needed to be
found.
At least in theory, the Ethernet which is familiar to all of us from the office world,
is very fast with its 100 Mbit/s speed which is available everywhere today.
However, these networks do not offer real-time capability due to the kind of
cabling that they use and the rules governing access rights.
This problem was corrected with EtherCAT. EtherCAT means "Ethernet for
Controller and Automation Technology." It was developed by Beckhoff
Automation GmbH and is now supported by the international organization
EtherCAT Technology Group (ETG). EtherCAT is an open technology which is
standardized by the IEC since 2005.
Various protocols can be transmitted via EtherCAT. STÖBER
ANTRIEBSTECHNIK offers the widely-used communication profile CANopen as
per DS 301 ().
CANopen®
Processdata
Application
CANopen® Processdata
SDO PDO
CoE CoE
EtherCAT®
ID 441896.05 17
5
Fundamentals of EtherCAT
Operation manual
IN OUT
Forward
Forward
Backward
Input Output
data data
When the packet arrives at the last station, this station determines that no cable
is plugged into a next station. Using a "logical short circuit" it sends the data via
the other core pair through all stations back to the master (full duplex).
Forward
Backward
Input Output
data data
EtherCAT uses the plug-in sequence together with full duplex technology to
create a logical ring.
ID 441896.05 18
5
Fundamentals of EtherCAT
Operation manual
(IP)
(PI) Pre-
Operational (SP)
(OI) (OS)
Operational
State table:
State Description
Initialising Inverter configuration starts. Stored values are loaded.
Pre-Operational Inverter is ready for parameterization in preparation for
actual operation via SDO.
State transitions:
Transition Actions
IP Start mailbox communication
PI Stop mailbox communication
PS Start input update
SP Stop input update
SO Start output update
OS Stop output update
OP Stop output update, stop input update
SI Stop input update, stop mailbox communication
ID 441896.05 19
5
Fundamentals of EtherCAT
Operation manual
Transition Actions
OI Stop output update, stop input update, stop mailbox
communication
If, for example, the TwinCAT® software from Beckhoff Automation GmbH is used,
these steps can be executed automatically by the System Manager or individually
as needed. When a controller program is started on the TwinCAT® PLC, the
startup is executed automatically.
ID 441896.05 20
6
User interface of the ECS 5000
Operation manual
Yellow
Red Green
State Description
Init State LED is continuously off; Communication between master and
ID 441896.05 21
6
User interface of the ECS 5000
Operation manual
Error Description
No Error No error; LED is continuously off.
Booting Error Error while the ECS 5000 option board is being initialized.
LED flickers.
on
flickering
off
Invalid Configuration invalid.
Configuration LED flashes.
on
blinking 200 200
ms ms
(ERR) off
ID 441896.05 22
7
Data transmission with PDO and SDO
Operation manual
SDO
All parameter of the inverter can be read and changed in the parameter channel
by the SDO service (SDO = Service Data Object). The desired parameter
(communication object) is addressed within an SDO telegram by the index and
subindex.
PDO
A PDO telegram (PDO = Process Data Object) is used to transfer data that is
used to control and monitor the ongoing process and for which a short transfer
time is required. No objects are addressed in the telegram. Instead the contents
of the previously selected parameters are sent directly.
PDO(tx)
ID 441896.05 23
7
Data transmission with PDO and SDO
Operation manual
PDO mapping
One parameter with six sub-elements for each sending direction exists for each
PDO channel on the inverter. The addresses of the parameters are entered in the
sub-elements whose contents are then transferred via the PDO channel. Based
on the number and size of the entered objects the inverter expects a certain
number of bytes in the PDO telegram. If too many bytes are received the extra
data are ignored. If too few bytes are received the incomplete target objects are
left unchanged.
ID 441896.05 24
7
Data transmission with PDO and SDO
Operation manual
LSB MSW
1st byte 2nd byte 3rd byte 4th byte
Length Subindex LSB MSB
in Bit Index
The following process data are recommended for control of the fast reference
value application with EtherCAT. The selection is preset but can be changed in
POSITool.
ID 441896.05 25
7
Data transmission with PDO and SDO
Operation manual
ID 441896.05 26
7
Data transmission with PDO and SDO
Operation manual
ID 441896.05 27
7
Data transmission with PDO and SDO
Operation manual
ID 441896.05 28
7
Data transmission with PDO and SDO
Operation manual
ID 441896.05 29
7
Data transmission with PDO and SDO
Operation manual
The mailbox consists of the mailbox header and the mailbox data. The header
indicates that the data contain a "CANopen® over EtherCAT" telegram. The
telegram consists of the COE header and the COE data. The COE header
specifies that the following data contains an SDO request message.
shows the structure of the mailbox header.
16 bits 16 bits 6 bits 2 4 4
Channel
Address
Priority
Length
In res.
The Length field contains the number of bytes in the mailbox following the header.
The Address field contains the EtherCAT address of the respective slave. The
Type field states which protocol is located in the mailbox. Enter the value "3" for
CANopen® over EtherCAT here. The other fields (Channel, Priority and Reserve)
are not needed. Each of them remains 0.
ID 441896.05 30
7
Data transmission with PDO and SDO
Operation manual
Parameter addressing
Only 2 bytes are available for the index and 1 byte for the subindex in the
addressing of parameters via SDO based on CANopen®. However, the
parameters of STÖBER devices cover the address space of 4 bytes. To combined
the address spaces, instead of addressing the axis via the index and subindex,
the selection is made using parameter A11.1, the axis to be edited.
1st byte 2nd byte 3rd byte 4th byte 5th byte 6th byte 7th byte 8th byte
23hex LSB MSB LSB MSB LSB MSB
Command Index Sub- LSW-Data MSW-Data
Index
1st byte 2nd byte 3rd byte 4th byte 5th byte 6th byte 7th byte 8th byte
60hex LSB MSB LSB MSB LSB MSB
Command Index Sub- unused
Index
1st byte 2nd byte 3rd byte 4th byte 5th byte 6th byte 7th byte 8th byte
42hex LSB MSB LSB MSB LSB MSB
Command Index Sub- LSW-Data MSW-Data
Index
1st byte 2nd byte 3rd byte 4th byte 5th byte 6th byte 7th byte 8th byte
80hex LSB MSB LSB MSB LSB MSB
Command Index Sub- Additional-Code Error- Error-
Index Code Class
ID 441896.05 31
7
Data transmission with PDO and SDO
Operation manual
Writing a parameter
1. The Client (CANopen® master) sends Initiate Domain Download Request.
2. The Server (inverter) acknowledges the request with a positive Initiate
Domain Download Response.
Example:
Set parameter C01 n-Max to 2500 rpm:
1. Get index and Subindex from EDS file: Index = 2401hex, Subindex = 0
2. Convert decimal number 2500 to a hexadecimal number: 09C4hex
3. Enter the bytes in the right places of the Initiate Domain Download Request
Service:
1st byte 2nd byte 3rd byte 4th byte 5th byte 6th byte 7th byte 8th byte
23hex LSB MSB LSB MSB LSB MSB
Command Index Sub- LSW-Data MSW-Data
Index
23 01 24 00 C4 09 00 00
ID 441896.05 32
7
Data transmission with PDO and SDO
Operation manual
ID 441896.05 33
7
Data transmission with PDO and SDO
Operation manual
ID 441896.05 34
7
Data transmission with PDO and SDO
Operation manual
Example:
You would like to find parameter A154.2.
ID 441896.05 35
7
Data transmission with PDO and SDO
Operation manual
Calculation:
Start index of parameter group A: 2000hex
Line of the parameter: 154dec = 9Ahex
ID 441896.05 36
8
Emergency messages
Operation manual
8 Emergency messages
Emergency messages are generated in the EtherCAT slave when device-internal
errors or malfunctions occur and are sent via the mailbox mechanism to the
EtherCAT master. No Emergency messages can be generated in STÖBER
devices by:
• Incorrect sync manager parameterization during EtherCAT system start
• Entering or leaving the malfunction device state (as with CANopen®)
• Error during change of state of the EtherCAT state machine
1st byte 2nd byte 3rd byte 4th byte 5th byte 6th byte 7th byte 8th byte
43 10hex 01hex 29hex 0 0 0 0
Emergency Error not used
1st byte 2nd byte 3rd byte 4th byte 5th byte 6th byte 7th byte 8th byte
00 00 00 1Ehex 0 0 0 0
Emergency Error not used
Error Code Register
"no error" "no error" E82 Type of event = "no error"
Coding of the error code in the first and second bytes and the error register in the
third byte corresponds to specifications from the CiA®/DS-301 and CiA® DSP402
profiles. The fourth byte contains the value of the STÖBER parameter E82 event
type. The fifth byte contains the contents of E43 event cause.
ID 441896.05 37
8
Emergency messages
Operation manual
Fig. 8-1 shows the structure of the mailbox for an emergency message:
6 Byte 2 Byte 8 Byte
Fig. 8-2 shows a detailed example of fault 41: Temperature motor TMS:
0A 00 00 00 00 03 00 10 43 10 08 29 00 00 00 00
Mailbox-Header CoE- Emergency-Message
Header
Fig. 8-2 Emergency message for fault 41:temperature motor TMS
When the TwinCAT® software is used as the EtherCAT master, the emergency
message is indicated in the System Manager in the window at the bottom entitled
"Logger-Ausgabe" (logger output):
ID 441896.05 38
8
Emergency messages
Operation manual
ID 441896.05 39
8
Emergency messages
Operation manual
1st byte 2nd byte 3rd byte 4th byte 5th byte 6th byte 7th byte 8th byte
A0hex 00hex 01hex 02hex 0 0 0 0
Emergency Error
Error code Register
Coding of the emergency error code in the first and second bytes and the error
register in the third byte complies with the specifications of IEC 61158-26-12. The
following table lists possible coding for the emergency error code:
The error register specifies the state of the EtherCAT state machine at the time
the emergency message is sent. The following table lists possible coding:
DiagCode Meaning
00hex SyncManager at impermissible address
01hex SyncManager at impermissible address SyncManager 0
02hex PDO length is not correct (write mailbox)
03hex SyncManager parameterized incorrectly
ID 441896.05 40
8
Emergency messages
Operation manual
DiagCode Meaning
04hex SyncManager at impermissible address
05hex SyncManager at impermissible address SyncManager 1
06hex PDO length is not correct (read mailbox)
07hex SyncManager parameterized incorrectly
08hex SyncManager at impermissible address
09hex SyncManager at impermissible address SyncManager 2
0ahex PDO length is not correct (process data out)
0bhex SyncManager parameterized incorrectly
0chex SyncManager at impermissible address
0dhex SyncManager at impermissible address SyncManager 3
0ehex PDO length is not correct (process date in)
0fhex SyncManager parameterized incorrectly
You will need the DiagData 1 and 2 values in case you contact our technical
support.
ID 441896.05 41
9
Synchronization with distributed clocks
Operation manual
CAUTION!
Danger of inverter malfunction! Monitoring the synchronization increases
the runtime load!
Check to determine whether activation of monitoring inadmissibly increases the
cycle time of the inverter. Read and adhere to the following sections.
Information
Remember that when a fieldbus and the IGB-Motion bus are used at
the same time, the fieldbus communication cannot be synchronized on
the controller.
ID 441896.05 42
9
Synchronization with distributed clocks
Operation manual
If these defect descriptions do not help you further, or if you want optimally adjust
the phase offset of the internal PLL to your application, contact us with a case
description on
• The telephone number +49 (0) 7231 582-1187 or
• "The e-mail address applications@stoeber.de
ID 441896.05 43
9
Synchronization with distributed clocks
Operation manual
PLC
task
Slave User
Shift Time
Time can be
set differently
U
for each station
SYNC0 signal
Slave accepts data is generated
on slave
Inverter
task
Fig. 9-1 Effect of different times on the SYNC0 signal
The runtime system of the inverter is synchronized to the SYNC0 signal with a
device-internal software PLL (G90 = 1:active). After synchronization, the
technology task A150 on the inverter is synchronous with the SYNC0 signal.
Information
PLL jitter on the inverter can only be taken into account on the master
(e.g., via the Slave User Shift Time).
Monitoring synchronization
Monitoring of the synchronization is activated by setting the parameter A260 = 1.
When monitoring is active, the inverter checks to determine whether the
EtherCAT telegram arrives within a specified time period in relation to the SYNC0
signal. If there was too much jitter, the error counter is incremented in A261.2. The
error counter is reset when the inverter is turned on.
ID 441896.05 44
9
Synchronization with distributed clocks
Operation manual
Jitter
Description Jitter
typical maximum
PLL on the inverter 20 µs 40 µs
Telegram (depends on the master, cannot be < 10% of the No info
influenced by the inverter settings) SPS cycle time available
SYNC0 typ.
signal 20 µs
Inverter
task
typ. Inverter
20 µs task
Inverter
task
Fig. 9-2 Jitter of the PLL regulation
ID 441896.05 45
9
Synchronization with distributed clocks
Operation manual
Information
This information is for the developers of the EtherCAT master software.
Please remember that there is a fundamental difference between ECS
5000 boards with hardware status HW 7 and HW 8: Boards up to HW
7 use the ESC20 as the EtherCAT slave controller while boards starting
with HW 8 use the ET1100.
To activate synchronization, the master must, among others, also write
the EtherCAT slave controller register with the System Time name
starting at address 0x0910.
With the ECS20, the register has 32 bits while, with the ET1100, the
register has 64 bits. If, with the ET1100, not all 64 bits are written
correctly, synchronization cannot start.
If you activate synchronization on the side of the EtherCAT master,
please note this change and read the "Hardware Data Sheet ET1100"
for more information. Pay particular attention to chapter "9.1 Clock
Synchronization" and the section there called "Definition of the System
Time" and also chapter "2.43.2 Time Loop Control Unit" with the
description of all the bits. Obtain advice on this subject from the
specialists of ETG.
If your software on the EtherCAT master must be able to decide which
EtherCAT slave controller is present, you can read this as a byte from
the Type of EtherCAT controller register at the address 0000hex. The
boards with the ESC20 return the value 02hex while boards with the
ET1100 return the value 11hex.
ID 441896.05 46
10
Monitoring and diagnosis on the inverter
Operation manual
Information
Please note that you will only need the STÖBER watchdog function if
your controller does not have a watchdog function.
If your controller does have a watchdog function, STÖBER
ANTRIEBSTECHNIK recommends that you use the setting A258 =
65534 (EtherCAT watchdog).
Information
Monitoring is only active in the "operational" state. It is not tripped when
the EtherCAT "operational" state is purposely exited.
When a fault is triggered, the state machine changes to the state "safe
operational."
When the connection is unintentionally interrupted for the set time the invert
changes to the state "fault." When this happens the drive stops, the Relay 1 opens
and the fault 52:communication appears on the display with the cause
6:EtherCAT PDO.
The fault can only be exited by an acknowledgment either with the hardware
enable, the "ESC" key, or via the "additional enable" bit via EtherCAT (see inverter
documentation).
ID 441896.05 47
10
Monitoring and diagnosis on the inverter
Operation manual
ID 441896.05 48
10
Monitoring and diagnosis on the inverter
Operation manual
ID 441896.05 49
10
Monitoring and diagnosis on the inverter
Operation manual
ID 441896.05 50
10
Monitoring and diagnosis on the inverter
Operation manual
ID 441896.05 51
10
Monitoring and diagnosis on the inverter
Operation manual
ID 441896.05 52
10
Monitoring and diagnosis on the inverter
Operation manual
ID 441896.05 53
10
Monitoring and diagnosis on the inverter
Operation manual
ID 441896.05 54
10
Monitoring and diagnosis on the inverter
Operation manual
0: Monitoring inactive
1 to 99: Monitoring by STÖBER watchdog is active. Timeout time is always 1000
milliseconds.
From 100: Monitoring by STÖBER watchdog is active. The numeric value is the
timeout value in milliseconds.
65534: Monitoring is not set by this value but by the "SM Watchdog" functionality
of EtherCAT. For diagnosis of this externally set function, see parameter
A259.65535: Monitoring inactive
Information
ID 441896.05 55
10
Monitoring and diagnosis on the inverter
Operation manual
Element 1 contains whether the watchdog was just triggered (1) or not (0). When
the watchdog is triggered and the function is activated (see value 65534 in
parameter A258), the fault 52:communication is triggered on the inverter with
Element 2 contains the number of times this watchdog has been triggered.
Axis: Global
ID 441896.05 56
10
Monitoring and diagnosis on the inverter
Operation manual
Information
When the PLC cycle time is not the SYNC0 cycle time, all synchronization errors
can no longer be detected.
Information
Activation of synchronization mode requires different amounts of run time
depending on the cycle time of the PLC and the inverter. With high-performance
ID 441896.05 57
10
Monitoring and diagnosis on the inverter
Operation manual
ID 441896.05 58
10
Monitoring and diagnosis on the inverter
Operation manual
0: not synchronized
Information
Please note that the synchronization operating mode is set exclusively by the
controller. If you change the parameter, your settings will have no effect.
Axis: Global
Data type: U16
Value: 0: Not synchronized;
1: Synchronized with AL event on this Sync Manager;
2: Synchronized with AL event Sync0;
3: Synchronized with AL event Sync1;
32: Synchronized with AL event of SM0;
33: Synchronized with AL event of SM1;
34: Synchronized with AL event of SM2;
35: Synchronized with AL event of SM3;
Index: 2106hex
Subindex: 0hex
0: not synchronized
Information
Please note that the cycle time is set exclusively by the controller. If you change
the parameter, your settings will have no effect.
Axis: Global
Data type: U32
ID 441896.05 59
10
Monitoring and diagnosis on the inverter
Operation manual
0: not synchronized
Information
Please note that the shift time is set exclusively by the controller. If you change
the parameter, your settings will have no effect.
Axis: Global
Data type: U32
ID 441896.05 60
10
Monitoring and diagnosis on the inverter
Operation manual
0: not synchronized
Information
Please note that the synchronization operating mode is set exclusively by the
controller. If you change the parameter, your settings will have no effect.
Axis: Global
Data type: U16
Value: 0: Not synchronized;
1: Synchronized with AL event on this Sync Manager;
2: Synchronized with AL event Sync0;
3: Synchronized with AL event Sync1;
32: Synchronized with AL event of SM0;
33: Synchronized with AL event of SM1;
34: Synchronized with AL event of SM2;
35: Synchronized with AL event of SM3;
Index: 2107hex
Subindex: 0hex
0: not synchronized
Information
Please note that the cycle time is set exclusively by the controller. If you change
the parameter, your settings will have no effect.
Axis: Global
Data type: U32
ID 441896.05 61
10
Monitoring and diagnosis on the inverter
Operation manual
0: not synchronized
Information
Please note that the shift time is set exclusively by the controller. If you change
the parameter, your settings will have no effect.
Axis: Global
Data type: U32
ID 441896.05 62
10
Monitoring and diagnosis on the inverter
Operation manual
Information
Please note that the synchronization operating mode is set exclusively by the
controller. If you change the parameter, your settings will have no effect.
Axis: Global
Data type: U16
Value: 0: Not synchronized;
1: Synchronized with AL event on this Sync Manager;
2: Synchronized with AL event Sync0;
3: Synchronized with AL event Sync1;
32: Synchronized with AL event of SM0;
33: Synchronized with AL event of SM1;
34: Synchronized with AL event of SM2;
35: Synchronized with AL event of SM3;
Index: 2108hex
Information
Please note that the cycle time is set exclusively by the controller. If you change
the parameter, your settings will have no effect.
Axis: Global
Data type: U32
ID 441896.05 63
10
Monitoring and diagnosis on the inverter
Operation manual
Information
Please note that the shift time is set exclusively by the controller. If you change
the parameter, your settings will have no effect.
Axis: Global
Data type: U32
Value: 0: Not synchronized;
1: Synchronized with AL event on this Sync Manager;
2: Synchronized with AL event Sync0;
3: Synchronized with AL event Sync1;
32: Synchronized with AL event of SM0;
33: Synchronized with AL event of SM1;
ID 441896.05 64
10
Monitoring and diagnosis on the inverter
Operation manual
0: not synchronized
2: Synchronized with AL event Sync0: Synchronized operating mode
(synchronous to sync 0 signal)
Information
Please note that the synchronization operating mode is set exclusively by the
controller. If you change the parameter, your settings will have no effect.
Axis: Global
Data type: U16
Value: 0: Not synchronized;
1: Synchronized with AL event on this Sync Manager;
2: Synchronized with AL event Sync0;
3: Synchronized with AL event Sync1;
32: Synchronized with AL event of SM0;
33: Synchronized with AL event of SM1;
34: Synchronized with AL event of SM2;
35: Synchronized with AL event of SM3;
Index: 2109hex
Information
Please note that the cycle time is set exclusively by the controller. If you change
the parameter, your settings will have no effect.
Axis: Global
Data type: U32
ID 441896.05 65
10
Monitoring and diagnosis on the inverter
Operation manual
Information
Please note that the shift time is set exclusively by the controller. If you change
the parameter, your settings will have no effect.
Axis: Global
Data type: U32
Value: 0: Not synchronized;
1: Synchronized with AL event on this Sync Manager;
2: Synchronized with AL event Sync0;
3: Synchronized with AL event Sync1;
32: Synchronized with AL event of SM0;
33: Synchronized with AL event of SM1;
ID 441896.05 66
10
Monitoring and diagnosis on the inverter
Operation manual
ID 441896.05 67
11
Commissioning with TwinCAT®
Operation manual
11.1 Components
The following components are required for operation of devices of the 5th
generation of STÖBER inverters with EtherCAT:
1. MDS 5000 or FDS 5000 starting with firmware V 5.2 or SDS 5000 with
firmware V 5.4
2. ECS 5000 (EtherCAT board)
3. PC software POSITool starting with version V5.2
4. A device description file (e.g., STÖBER POSIDRIVE xDS5000 FastRef
V52.xml
5. EtherCAT master software TwinCAT® starting with version V 2.10 Build 1248
6. Network cable starting with category CAT5e
1. Create a project with an EtherCAT device controller and the additional PCB
ECS 5000
2. Start the EtherCAT wizard.
3. Select the page 4. Device description.
4. Press the button Create new device description file (XML file).
The device description file is created. You can select where the file is to be
saved with the Save as dialog screen.
ID 441896.05 68
11
Commissioning with TwinCAT®
Operation manual
Information
Please note that the TwinCAT® displays shown here may be indicated
differently depending on which Build Version is used.
We recommend using the following sequence when you commission the devices
of the 5th generation of STÖBER inverters on TwinCAT®:
ID 441896.05 69
11
Commissioning with TwinCAT®
Operation manual
4. Start the TwinCAT® System Manager. shows the screen which appears after
the program has started.
Fig. 11-1 View of the TwinCAT® System Manager after its start.
5. In the project tree select I/O-Configuration.
6. Using the right mouse button click I/O Devices.
7. In the context menu click Append Device.
8. In the dialog screen Insert Device select EtherCAT and then EtherCAT.
ID 441896.05 70
11
Commissioning with TwinCAT®
Operation manual
ID 441896.05 71
11
Commissioning with TwinCAT®
Operation manual
ID 441896.05 72
11
Commissioning with TwinCAT®
Operation manual
ID 441896.05 73
11
Commissioning with TwinCAT®
Operation manual
5. 5.In the input fields Set Multiplier and Set SM Watchdog enter the values for
calculating the SM Watchdog time. The SM Watchdog time is calculated with
the following formula:
SM Watchdog time = (Multiplier * 0.04 * 10-6 s) * SM Watchdog
The time in the example shown in is calculated as follows:
SM Watchdog time = (25000 * 0.04 * 10-6 s) * 2000 = 2 s = 2000 ms
You have completely parameterized the SM Watchdog function
(Changes will only be effective after a system re-start or change in the
EtherCAT master state from INIT to OP). If you used the values from our
example you will have parameterized a timeout time of 2 seconds.
To fully retain the function, the parameter for the Timeout function must also be
set in the inverter (parameter A258).
With the setting A258 = 65534 the timeout for the monitoring by the "SM
Watchdog" functionality is set from the EtherCAT master. Diagnostics on this
function set externally are undertaken in the inverter in the parameter A259.
ID 441896.05 74
11
Commissioning with TwinCAT®
Operation manual
Information
TwinCAT® should be re-started after activating the synchronization.
1. Select slave.
2. Press the Advanced Settings button.
Fig. 11-8 View of the EtherCAT settings in the TwinCAT® System Manager
3. Select Distributed Clock.
ID 441896.05 75
11
Commissioning with TwinCAT®
Operation manual
Element Description
ID 441896.05 76
11
Commissioning with TwinCAT®
Operation manual
Element Description
4:Factor Here the factor used to calculate the cycle time for the
SYNC 0 signal based on the Sync Unit Cyclecan be
selected.
Normally the factor 1 is set here so that the cycle time for
SYNC 0 is the same as the Sync Unit Cycle.
5:Enable SYNC 0 Activates the synchronization signal SYNC 0. The slave
synchronizes to this signal. For this reason the signal must
be activated here.
6:Shift Time This value defines the slave user shift time.
Normally the value is = 0.
Example configurations:
Information
The inverter will not change from PREOP to SAFEOP if a valid cycle
time for the SYNC 0 cycle is not set with synchronization activated.
In case of problems with the activation of the synchronization, the
cause of the error can be read in the parameter A261 element.
ID 441896.05 77
12
POSITool over EtherCAT
Operation manual
Information
Please note that the series SDS 5000 inverters can communicate with
the POSITool either via the Integrated Bus or via the POSITool over
EtherCAT function. Simultaneous operation via both communication
paths is not intended and is inhibited in POSITool.
ID 441896.05 78
12
POSITool over EtherCAT
Operation manual
Information
For correct communication, the EtherCAT master software and the
mailbox gateway it contains must work correctly. The manufacturer of
this software is solely responsible for this function!
Information
For correct communication, it is necessary to carefully configure the
EtherCAT; the devices must also be correctly allocated in the POSITool.
The user is responsible for ensuring communication is with the specific
inverter intended. Any mistakes in the address or position of the
inverter cannot be detected or prevented by the inverter or POSITool!
Information
While working with POSITool ensure simultaneous access (mailbox,
CoE/SDO) to the inverter parameters by a controller program is not
possible.
ID 441896.05 79
12
POSITool over EtherCAT
Operation manual
Information
The functionality described in the following is only available in
conjunction with TwinCAT® from the version described in 11.1. Many of
the parameters related to the use of EtherCAT are to be set in the
TwinCAT® software. The corresponding explanations relate to this
software.
Information
Please note that the TwinCAT® screenshots shown may vary
depending on the build version.
Information
The correct procedure depends solely on the EtherCAT configuration
software you are using.
1. In the project view, click the EtherCAT master, in this example Gerät 1
(EtherCAT).
ID 441896.05 80
12
POSITool over EtherCAT
Operation manual
ID 441896.05 81
12
POSITool over EtherCAT
Operation manual
Information
Ensure all the requirements in 12.1 are met before you use the
POSITool over EtherCAT function.
Information
The following procedure describes how data can be imported into an
existing project. If you want to import the data into a new project, start
POSITool, on the welcome dialog screen select the Reverse
documentation from connected inverter… button and then click the
EtherCAT button.
1. On the menu bar click the button or in the project view double-click
Establish connection.
The IP address for the EtherCAT mailbox gateway dialog screen is
displayed:
2. Type the IP address for the mailbox gateway that you noted during activation
(see 12.2 Activating mailbox gateway).
ID 441896.05 82
12
POSITool over EtherCAT
Operation manual
ID 441896.05 83
12
POSITool over EtherCAT
Operation manual
ID 441896.05 84
12
POSITool over EtherCAT
Operation manual
ID 441896.05 85
12
POSITool over EtherCAT
Operation manual
Information
Ensure all the requirements in 12.1 are met before you use the
POSITool over EtherCAT function.
To be able send existing project data to an inverter, the following requirements
must be met:
• You have added an EtherCAT entry to your project (see 12.4 Management).
• You have allocated the inverter with which you want to communicate to the
EtherCAT entry using the POSITool over EtherCAT function. (see 12.4
Management)
Then proceed as follows:
2. Type the IP address for the mailbox gateway that you noted during activation
(see 12.2 Activating mailbox gateway).
ID 441896.05 86
12
POSITool over EtherCAT
Operation manual
ID 441896.05 87
12
POSITool over EtherCAT
Operation manual
ID 441896.05 88
12
POSITool over EtherCAT
Operation manual
12.4 Management
To be able to use the POSITool over EtherCAT function in an existing project, you
must add an EtherCAT entry to the project. For this purpose, on the File menu
choose the New EtherCAT… command. The following dialog screen is displayed:
Here you can type a name for the EtherCAT entry in the Name field and in the list
below, select the inverters with which you want to communicate over POSITool
over EtherCAT. These inverters are, once you have accepted the dialog screen
using the OK button, displayed in the project view below the EtherCAT entry:
Note that using POSITool over EtherCAT you can only reach those inverters that
are allocated to an EtherCAT entry.
An SDS 5000 cannot be allocated to an IGB entry and an EtherCAT entry at the
same time. If you want to reach an SDS 5000 via POSITool over EtherCAT
instead of IGB, you must first delete the inverter from the IGB and then allocate it
to the EtherCAT entry as described above.
If, on the File menu you choose the Manage EtherCAT command, the following
dialog screen is displayed:
ID 441896.05 89
12
POSITool over EtherCAT
Operation manual
On this dialog screen the name of the EtherCAT entry is displayed in the field at
the top. Using the Delete button you can delete the EtherCAT entry. In this case
the inverters allocated are displayed directly in the project view.
Using the Properties button you can open the dialog screen where you can
change the allocation of the inverters to the EtherCAT entry.
The New button is not available as soon as there is an EtherCAT entry in the
project, as only one EtherCAT entry per project is possible. Leave the dialog
screen using the Close button.
ID 441896.05 90
12
POSITool over EtherCAT
Operation manual
ID 441896.05 91
12
POSITool over EtherCAT
Operation manual
POSITool
VoE
TwinCAT
Mailbox
Gateway
EtherCAT
PLC
Master
ID 441896.05 92
13
List of literature
Operation manual
13 List of literature
1. Projecting manuals:
• POSIDRIVE® MDS 5000: ID 442272
• POSIDRIVE® FDS 5000: ID 442268
• POSIDYN® SDS 5000: ID 442276
2. Commissioning instructions:
• POSIDRIVE® MDS 5000: ID 442296
• POSIDRIVE® FDS 5000: ID 442292
• POSIDYN® SDS 5000: ID 442300
3. Operating manuals:
• POSIDRIVE® MDS 5000: ID 442284
• POSIDRIVE® FDS 5000: ID 442280
• POSIDYN® SDS 5000: ID 442288
4. Modules for the 5th generation of STÖBER inverters (ID 441682)
5. Programming manual for the 5th generation of STÖBER inverters (ID 441683)
6. CiA/DS-301, CANopen®: CAL-based Communication Profile for Industrial
Systems, October 1996
7. CiA/DSP-306, CANopen®: Electronic Data Sheet Specification V1.0,
31.05.2000
8. CiA/DS-402, CANopen®: Drives and Motion Control, May 1997
ID 441896.05 93
Notizen
ID 441896.05 94
Global Presence
Address registers
Always up to date on the internet: www.stober.com → contact
• STÖBER Subsidiaries:
www.stober.com
Switzerland Great Britain Italy
www.stober.com
441896.05