Further technical documentations for Lenze components
More information about Lenze components that can be used together with "PC-based
Automation" can be found in the following documents:
Mounting & wiringLegend:
MAs for the Inverter Drives 8400 Printed documentation
MAs for the Servo Drives 9400 Online Help/PDF
MA EPM-Txxx (I/O system IP20)Abbreviations used:
MA EPM-Sxxx (I/O system 1000)SHB System manual
MA 8200 vectorBA Operating Instructions
Wiring according to EMC, 8200 vectorMA Mounting Instructions
MAs for the ECS servo systemSW Software manual
MA communication card MC-CAN2KHB Communication manual
MA communication card MC-ETC
MA communication card MC-ETH
MA communication card MC-PBM
MA communication card MC-PBS
MA communication card MC-MPI
MAs for communication modules
Parameter setting, configuration, commissioning
SW Inverter Drive 8400
BaseLine / StateLine / HighLine / TopLine
SW Servo Drive 9400 HighLine / PLC
Commissioning guide 9400 HighLine
SHB I/O system IP20 (EPM-Txxx)
SHB I/O system 1000 (EPM-Sxxx)
SHB 8200 vector
BAs for the ECS servo system
KHBs for communication modules
Programming
SW 9400 function library
Creating a network
KHBs for communication modules
Tip!
Documentation and software updates on Lenze products can be found in the
download area at:
http://ww.Lenze.com
DMS 4.2 EN 07/2011 TD17L7
Control technology | CANopen communication manual
About this documentation
Document history
Target group
This documentation is intended for all persons who plan, install, commission and maintain
the networking of devices in the field of control technology.
1.1Document history
Material no.VersionDescription
-1.006/2008TD17 First edition
-2.009/2008TD17 Amended by chapter "CANopen with PROFIBUS
132962543.006/2009TD17 General revision
133172814.010/2009TD17 General revision
133693254.101/2011TD17 Update for control technology release 2.5
133836764.207/2011TD17 Chapter Error messages if communication card MC-CAN2 is not
available ( 93) supplemented.
" ( 85).
Your opinion is important to us!
These instructions were created to the best of our knowledge and belief to give you the
best possible support for handling our product.
If you have suggestions for improvement, please e-mail us to:
feedback-docu@Lenze.de
Thank you for your support.
Your Lenze documentation team
8LDMS 4.2 EN 07/2011 TD17
1.2Conventions used
This documentation uses the following conventions to distinguish between different types
of information:
Type of informationWritingExamples/notes
Spelling of numbers
Decimal separatorPointThe decimal point is always used.
Text
Version informationBlue text colourAll information valid for or from a certain software
Program name» «The Lenze PC software »Engineer«...
WindowItalicsThe Message window... / The Options dialog box...
Variable identifierBy setting bEnable to TRUE...
Control elementBoldThe OK button... / the Copy command... / the
Sequence of menu
commands
Shortcut<Bold>Use <F1> to open the online help.
Program codeCourier
KeywordCourier bold
Control technology | CANopen communication manual
About this documentation
Conventions used
For example: 1234.56
version, is indicated accordingly in this
documentation.
Example: This function extension is available from
software version V3.0!
Characteristics tab... / the Name input field...
If the execution of a function requires several
commands in a row, the individual commands are
separated by an arrow: Select File
If a key combination is required for a command, a "+"
is placed between the key identifiers: With
<Shift>+<ESC>...
IF var1 < var2 THEN
a = a + 1
END IF
Open to ...
Hyperlinkunderlined
Symbols
Page reference ( 9)Optically highlighted reference to another page. It is
Step-by-step instructions
Optically highlighted reference to another topic. It is
activated with a mouse-click in this documentation.
activated with a mouse-click in this documentation.
Step-by-step instructions are indicated by a
pictograph.
DMS 4.2 EN 07/2011 TD17L9
Control technology | CANopen communication manual
About this documentation
Terminology used
1.3Terminology used
TermMeaning
»Engineer«Lenze engineering tools supporting you during the entire life cycle of a machine
»Global Drive Control« (GDC)
»PLC Designer«
Code"Container" for one or several parameters used for Lenze Servo Drives parameter
SubcodeIf a code contains several parameters, they are stored in "subcodes".
IPCIndustrial PC
PLCProgrammable Logic Controller
- from the planning phase to maintenance.
setting or monitoring.
In the documentation the diagonal slash "/" is used as a separator between the
designation of the code and subcode (e.g. "C00118/3").
10LDMS 4.2 EN 07/2011 TD17
1.4Notes used
The following signal words and symbols are used in this documentation to indicate
dangers and important information:
Safety instructions
Structure of safety instructions:
Pictograph and signal word!
(characterises the type and severity of danger)
Note
(describes the danger and gives information about how to prevent dangerous
situations)
Control technology | CANopen communication manual
About this documentation
Notes used
PictographSignal wordMeaning
Danger!Danger of personal injuries through dangerous electrical voltage
Danger!Danger of personal injury through a general source of danger
Stop!Danger of damages to material assets
Application notes
PictographSignal wordMeaning
Note!Important note for trouble-free operation
Reference to an imminent danger that may result in death or serious
personal injury if the corresponding measures are not taken.
Reference to an imminent danger that may result in death or serious
personal injury if the corresponding measures are not taken.
Reference to a possible danger that may result in damage to material assets
if the corresponding measures are not taken.
Tip!Useful tip for easy handling
Reference to another documentation
DMS 4.2 EN 07/2011 TD17L11
Control technology | CANopen communication manual
Safety instructions
2Safety instructions
Please observe the following safety instructions when you want to commission a controller
or system using the Industrial PC.
Read the documentation supplied with the system components thoroughly
before starting to commission the devices and the Industrial PC!
The system manual contains safety instructions which must be observed!
Danger!
According to our present level of knowledge it is not possible to ensure the
absolute freedom from errors of a software.
If necessary, systems with built-in controllers must be provided with additional
monitoring and protective equipment according to relevant safety regulations
(e.g. law on technical equipment, regulations for the prevention of accidents) so
that an impermissible operating status does not endanger persons or facilities.
During commissioning persons must keep a safe distance from the motor or the
machine parts driven by the motor. Otherwise there would be a risk of injury by
the moving machine parts.
Stop!
If you change parameters in an engineering tool during an existing online
connection to a device, the changes are directly added to the device!
A wrong parameter setting can cause unpredictable motor movements. By
unintentional direction of rotation, too high speed or jerky operation, the driven
machine parts may be damaged!
12LDMS 4.2 EN 07/2011 TD17
Control technology | CANopen communication manual
3The "PC-based Automation" system
Industrial PCs (IPCs) become more and more important in the field of automation
technology. Due to their scaling options and various combinations of visualisation and
control on one device, Industrial PCs provide clear advantages for many applications.
Lenze Industrial PCs are available with the following software equipment:
Industrial PC as component (optional with operating system) without any further
software
Industrial PC as visualisation system
Industrial PC as control and visualisation system
The "PC-based Automation" system enables the central control of Logic and Motion
systems.
The "PC-based Automation" system
For this purpose, Lenze provides coordinated system components:
Industrial PCs as control and visualisation system
– The IPC is the central component of the "PC-based Automation" which control the
Logic and Motion functionalities by means of the runtime software.
– The IPC communicates with the field devices via the fieldbus.
– The IPCs are available in different designs.
Note!
Moreover, the Z EL 1xx PLC HMI series is part of the "PC-based Automation"
system. These devices differ considerably from the Industrial PCs in performance
and various other details. However, the devices of the EL 1xx PLC HMI series are
able to perform smaller control tasks.
DMS 4.2 EN 07/2011 TD17L13
Control technology | CANopen communication manual
The "PC-based Automation" system
Engineering tools for the Engineering PC
– The Engineering PC communicates with the IPC via Ethernet.
– Different engineering tools serve to configure and parameterise the system.
Fieldbuses
Field devices
14LDMS 4.2 EN 07/2011 TD17
Control technology | CANopen communication manual
4System bus (CAN) / CANopen
Lenze device series 8200 vector, 9300 and ECS have an on-board system bus (CAN)
connection. The protocol used there is a subset of CANopen. Thus the devices are not
CANopen-conform but can be driven by a CANopen-compatible control under "L-force
Controls" - also in connection with other CANopen-compatible nodes.
4.1CANopen (Logic) / CANopen (Motion)
System bus (CAN) / CANopen
CANopen (Logic) / CANopen (Motion)
Due to the demands on the real-time behaviour of the bus system and the limited transfer
capacity, the CANopen bus must be divided into a Logic and a Motion bus.
The Logic bus and the Motion buses can be connected to many different field devices.
To establish a CANopen bus, use the Communication card MC-CAN2
( 18).
Note!
Depending on the required Motion node number and bus cycle time, up to 4
Motion buses can be established.
Only 2 buses are possible for the CS x8xx Command Station IPC series.
Conventions for "PC-based Automation"
• Interface CAN1: CANopen (Logic) or CANopen (Motion)
• Interface CAN2 ... 4: CANopen (Motion)
DMS 4.2 EN 07/2011 TD17L15
Control technology | CANopen communication manual
System bus (CAN) / CANopen
CANopen (Logic) / CANopen (Motion)
CANopen (Logic)
The Logic bus is used to operate controllers which
carry out simple movements,
do not have a Motion functionality,
are controlled via PLC functionalities only.
CANopen (Motion)
The Motion bus is used to control controllers which carry out e.g. synchronised
movements.
The "L-force Motion" runtime software contains the PLCopen libraries and supports the
SoftMotion control to control the "Servo Drives 9400 HighLine CiA402" series and the
"ECSxM" axis module.
4.1.1Combination with other bus systems
The CANopen bus system can be combined with PROFIBUS. This makes sense if not all field
devices are available for the same bus system or a Motion bus (CANopen) is required in
parallel to the PROFIBUS (as Logic bus). The bus systems are synchronised in the control.
Note!
• A mixed operation is only possible with Industrial PCs which have two
additional slots for communcation cards. A mixed operation is not possible
with the "Command Station".
• Release 2.5 does not facilitate a combination of PROFIBUS and EtherCAT.
• In the control configuration, the PROFIBUS master must be in the first
position – upstream to the CANopen motion nodes.
16LDMS 4.2 EN 07/2011 TD17
4.1.2Field devices
The Lenze control system supports the following Logic/Motion components:
Standard deviceLogicMotion
Industrial PCsEL x1xx PLCz-
Servo Drives 9400HighLine 1)z-
Inverter Drives 8400BaseLinez-
I/O system IP20EPM-Txxxz-
I/O system 1000EPM-Sxxxz-
Frequency inverter8200 vectorz-
ECS servo system
(from firmware version 2.0)
1) with technology application (TA)
Control technology | CANopen communication manual
System bus (CAN) / CANopen
CANopen (Logic) / CANopen (Motion)
EL x8xxzz
CS x8xxzz
CPC x8xxzz
HighLine CiA402zz
PLCz-
StateLinez-
HighLinez-
TopLinez-
ECSxEz-
ECSXS (Speed & Torque)z-
ECSxP (Posi & Shaft)z-
ECSxM (Motion)-z
ECSxA (Application)z-
DMS 4.2 EN 07/2011 TD17L17
Control technology | CANopen communication manual
System bus (CAN) / CANopen
CANopen Hardware for your Industrial PC
4.2CANopen Hardware for your Industrial PC
Communication card MC-CAN2
The MC-CAN2 communication card is a plug-in card to connect an Industrial PC to a CAN
fieldbus. It has two independent CAN bus connections.
A Front panel
B Board
C Coding
D Connection
EFieldbus connection
MC-CAN2-001
Technical data of the MC-CAN2 communication card
( 21)
18LDMS 4.2 EN 07/2011 TD17
Control technology | CANopen communication manual
System bus (CAN) / CANopen
CANopen Hardware for your Industrial PC
Possible applications
The MC-CAN2 communication card can be plugged into slot 1 and slot 2 of the Industrial
PC. Your Industrial PC can have several CANopen communication cards.
Example: The EL x8xx Industrial PC with MC-CAN2 in slots 1 and 2
EL x8xx
Legend
EL x8xxIndustrial PC of the EL x8xx series
CAN1 ... 4CAN bus connections
•CAN1: CANopen (Logic) or CANopen (Motion)
• CAN2 ... 4: CANopen (Motion)
MC-CAN2Communication card MC-CAN2
CAN3
CAN1
CAN4
CAN2
l
l
MC-CAN2
MC-CAN2_ELx8xx
DMS 4.2 EN 07/2011 TD17L19
Control technology | CANopen communication manual
Technical data
General data
5Technical data
5.1General data
FieldValues
Communication profileCANopen (DS301, V4.02)
StandardsCAN, ISO 11898 / EN 50325-4
Network topologyLine, terminated at both ends with 120 Ω
(e.g. terminated with Sub-D plug of type EWZ0046)
Max. number of nodes127
Adjustable node addresses1 ... 127
(adjustable for Lenze communication modules via DIP switches)
Baud rates [kbps] • 10
•20
•50
• 125
• 250
• 500
• 1000
Parameter dataMax. 10 client and server SDO channels with 1 ... 8 bytes
Cycle time - Motion/CNC task1 ... 16 ms
Max. number of drives/ms on the
Motion bus
Signal propagation delay - drive
control drive
Cross communicationOnly possible with CANopen (Logic)
Number of DI + DO (bits/ms)384 (max. 6 PDOs/ms on the Logic bus)
Cycle synchronisation with locked
PLL (Jitter)
Max. 3 drives/ms
4 cycles
In case of CANopen (Motion) the communication is executed centrally via
the Industrial PC.
+/-10 μs
20LDMS 4.2 EN 07/2011 TD17
Control technology | CANopen communication manual
Technical data of the MC-CAN2 communication card
5.2Technical data of the MC-CAN2 communication card
FieldValues
Type within the networkMaster or slave
Max. number of nodes63
Max. baud rate [kbit/s]1000
Bus lengthSee Bus cable length
ConnectionSUB-D, 9-pole plug
CANopen bus connection (SUB-D, 9-pole plug)
ViewPin AssignmentDescription
1free-
2LOCAN-LOW
3CGCAN-Ground
4free-
5free-
6CGCAN-Ground
7HICAN-HIGH
8free-
9free-
( 22)
Technical data
5.3Bus cable specification
We recommend to use CAN cables according to ISO 11898-2:
CAN cables according to ISO 11898-2
Cable typePaired cable with shield
Impedance120 Ω (95 ... 140 Ω)
Cable resistance / cross-section
Cable length ≤ 300 m:
Cable length 301 ... 1000 m:
Signal propagation delay≤ 5 ns/m
≤ 70 mΩ/m / 0.25 ... 0.34 mm
≤ 40 mΩ/m / 0.5 mm
2
(AWG20)
2
(AWG22)
DMS 4.2 EN 07/2011 TD17L21
Control technology | CANopen communication manual
Technical data
Bus cable length
5.4Bus cable length
Note!
• It is absolutely necessary to comply with the permissible cable lengths.
• Observe the reduction of the total cable length due to the signal delay of the
repeater.Check use of repeater
• If the total cable lengths of the nodes are different at the same baud rate, the
smaller value must be used to determine the max. cable length.
5.4.1Total cable length
The total cable length is also specified by the baud rate.
Baud rate [kbps] Max. bus length [m]
108075-500050007434-
204012-250025003934-
50157516201000100015341500
125600600500500614630
250275260250250274290
500112908080104120
10001252525925
9400 Servo
Drives
Inverter
Drives 8400
( 24)
I/O-System
IP20
(EPM-Txxx)
CAN gateway
I/O-System
1000
(EPM-Sxxx)
CANopen bus
coupler
8200 vector
frequency
inverter
Servo System
ECS
22LDMS 4.2 EN 07/2011 TD17
Control technology | CANopen communication manual
5.4.2Segment cable length
The segment cable length is determined by the used cable cross-section and the number of
nodes. Repeaters divide the total cable length into segments. Without a repeater, the
segment cable length corresponds to the total cable length.
Technical data
Bus cable length
Max. number of
nodes per segment
2240 m430 m650 m940 m
5230 m420 m640 m920 m
10230 m410 m620 m900 m
20210 m390 m580 m850 m
32200 m360 m550 m800 m
63170 m310 m470 m690 m
100150 m270 m410 m600 m
Cable cross-section (interpolation is permissible)
0.25 mm
(AWG 24)
2
0.50 mm
(AWG 21)
2
0.75 mm
(AWG 19)
2
1.00 mm
(AWG 18)
Example: Selection help
Given:
Total cable length to be
implemented
Number of nodes63
Results
Max. possible baud rate250 kbps
Required cable cross-section
(interpolated)
Cable cross-section - standard CAN
cable
200 m
(derived from table Total cable length
0.30 mm
(derived from table Segment cable length
0.34 mm
Bus cable specification
2
(AWG23)
2
(AWG22)
( 21)
( 22))
( 23))
2
DMS 4.2 EN 07/2011 TD17L23
Control technology | CANopen communication manual
Technical data
Bus cable length
5.4.3Check use of repeater
Compare the values from the tables Total cable length
( 23).
( 22) and Segment cable length
If the total segment cable length is shorter than the total cable length to be
implemented, either repeaters must be used or the cable cross-section must be
increased.
If, due to the use of repeaters, the max. possible total cable length is reduced to a value
smaller than the total cable length to be implemented, either the cable cross-section
must be increased and the number of repeaters must be reduced or the baud rate must
be reduced.
The use of another repeater is recommended as ...
– Service interface
Advantage: Trouble-free coupling during bus operation is possible.
– Calibration interface
Advantage: The calibration/programming unit remains electrically isolated.
Example
Given
Total cable length to be
implemented
Number of nodes32
Cable cross-section0.50 mm
Baud rate125 kbit/s
Used repeaterLenze repeater EMF2176IB
Reduction of the max. total cable
length per repeater (EMF2176IB)
450 m
30 m
2
(AWG 21)
Results
Max. possible total cable length600 m
(cp. table Total cable length
Max. segment cable length360 m
(cp. table Segment cable length
ComparisonThe max. segment cable length is shorter than the total cable length to be
implemented.
ConclusionAfter the determined max. segment cable length of 360 m at the latest, a
repeater must be used.
Results with 1 repeater
Max. possible total cable length570 m
(Reduction of the Total cable length
Total segment cable length720 m
ComparisonBoth the possible total cable length and the segment cable length are longer
than the total cable length to be implemented.
ConclusionOne repeater suffices to implement the total cable length of 450 m.
( 22))
( 23))
( 22) by 30 m)
24LDMS 4.2 EN 07/2011 TD17
Control technology | CANopen communication manual
6Planning the CANopen network
Before establishing a CANopen network, create a plan of your Logic bus and/or your
Motion buses.
For this purpose, create an overview screen of the planned CANopen network with all field
devices to be implemented. Start with the Industrial PC and arrange the other field devices
below it. (see Example of an overview screen
Provide the following data for each device:
TypeType designation of the field device
Used CAN interface of the device "Logic before Motion":
• Always connect an existing Logic bus to the 1st CAN interface (CAN1).
• Motion buses, however, can be connected to every CAN interface.
CANopen (Logic) / CANopen (Motion)
Unambiguous CAN node address • If system bus (CAN) devices are used, max. 63 nodes/node addresses are
Baud rate • The baud rate applies to all nodes of the CANopen network.
Master role of the device
(NMT master/sync master)
CAN objects and COB-IDs • Plan your COB-IDs according to the CANopen DS301 communication profile.
possible.
• With CANopen-compliant devices, up to 127 nodes/node addresses are
possible.
Note: Do not use the node address 1, in order to avoid unintentional mistakes
and conflicts with a device containing the factory adjustment.
• 50, 125, 250 and 500 kbit/s are supported by all device types of the system.
• Observe the dependency between bus cable length and baud rate. Bus
cable length ( 22)
•An NMT master
In this state, process data can be communicated. Generally, there can be an
optional number of NMT masters on one CANopen bus.
• A sync master
simultaneous processing of process data and/or a simultaneous task start in
all sync receivers.
• Via CAN synchronisation you can influence the exact time of the following
events in the field device:
–Acceptance and transmission of sync-controlled PDOs
–Starting time of the task of the application (only possible for Servo Drives
9400)
• You only need to use CAN synchronisation on the Logic bus if an exact
simultaneity in the range of milliseconds is of importance. A mere operating
periphery (operator button, control lamps, etc.) does not require CAN
synchronisation.
This convention is optimised for the communication with a central master
device.COB-IDs acc. to DS301
• Up to 4 PDOs per device can be identified with this scheme. If you require
more, e.g. for a modular I/O system with more than 8 modules, you can add
them later.
• You can easily assign the node during the bus diagnostics by means of the
COB-IDs.
• COB-ID = basic identifier + node address
Planning the CANopen network
( 28)).
( 15)
sets itself and then the NMT slaves to the "Operational" state.
cyclically sends a sync telegram providing for an exactly
( 26)
DMS 4.2 EN 07/2011 TD17L25
Control technology | CANopen communication manual
Planning the CANopen network
Observe device-specific information on CAN configuration provided in the
documentation of the field devices to be integrated.
COB-IDs acc. to DS301
ObjectDirectionBasic identifier
from the driveto the driveDecHex
NMT00
Sync12880
Time Stamp256100
Emergencyz12880
PDO1
(process data channel 1)
PDO2
(process data channel 2)
PDO3
(process data channel 3)
PDO4
(process data channel 4)
SDO
(parameter data channel 1)
NMT Error Controlz1792700
TPDO1
RPDO1
TPDO2
RPDO2
TPDO3
RPDO3
TPDO4
RPDO4
z384180
z640280
z896380
z1152480
z1408580
z512200
z768300
z1024400
z1280500
z1536600
Note!
In system bus (CAN) devices, two SDO channels are permanently active, in
CANopen devices, only one by default.
When using CANopen devices, activate a second SDO channel for accesses of the
»Engineer« or »Global Drive Control«. Otherwise the communication with the
device will be interfered if you go online with the »Engineer« or the »Global
Drive Control«, while the IPC has also access.
26LDMS 4.2 EN 07/2011 TD17
Control technology | CANopen communication manual
Planning the CANopen network
The COB-IDs for your CANopen network can be calculated according to the following
formula:
COB-ID = basic identifier + node address
Basic identifier - 9400 Servo Drives
Basic identifier - 8400 Inverter Drives ( 31)
Basic identifier - I/O system IP20 (EPM-Txxx) ( 32)
Basic identifier - I/O system 1000 (EPM-Sxxx) ( 33)
Basic identifier - 8200 vector with fieldbus function module CANopen E82ZAFUC0xx
( 34)
Basic identifier - ECS servo system ( 36)
( 30)
DMS 4.2 EN 07/2011 TD17L27
Control technology | CANopen communication manual
Planning the CANopen network
Example of an overview screen
6.1Example of an overview screen
The illustration shows you an example of an overview screen for planning a CANopen
network:
28LDMS 4.2 EN 07/2011 TD17
Control technology | CANopen communication manual
6.2Device specifications of the field devices
When planning your CANopen network, consider the device specifications of the
implemented field devices.
Overview of the device specifications when being operated subordinate to a control