This documentation solely contains descriptions for the E94AYCCA communication
module (CANopen®).
Note!
This documentation supplements the Mounting Instructions supplied with the
communication module and the "Servo Drives 9400" hardware manual.
The Mounting Instructions contain safety instructions which must be observed!
The product features and functions of the communication module are described in detail.
Examples illustrate typical applications.
This documentation also contains ...
safety instructions that must be observed;
key technical data relating to the communication module;
information about the versions of the Lenze standard devices to be used;
notes on troubleshooting and fault elimination.
The theoretical concepts are only explained to the level of detail required to understand
the function of the communication module.
This documentation does not describe any software provided by other manufacturers. No
warranty can be given for corresponding data provided in this documentation. For
information about how to use the software, please refer to the host (PLC, master)
documents.
All product names mentioned in this documentation are trademarks of their
corresponding owners.
Tip!
Detailed information about the CAN/CANopen bus system can be found on the
website of the CAN user organisation CiA® (CAN in Automation):
www.can-cia.org
Screenshots/application examples
All screenshots in this documentation are application examples. Depending on the
firmware version of the field devices and the software version of the Engineering tools
installed (e.g. »Engineer«), the screenshots in this documentation may deviate from the
actual screens shown.
6LEDS94AYCCA EN 5.0 - 06/2012
Page 7
E94AYCCA communication manual (CANopen®)
About this documentation
Target group
This documentation is intended for people involved in configuring, installing,
commissioning, and maintaining the networking and remote maintenance of a machine.
Tip!
Current documentation and software updates for Lenze products can be found in
the ”Download” area at:
www.Lenze.com
Validity information
The information in this documentation applies to the following devices:
Extension moduleType designationFrom hardware
CANopen communication manualE94AYCCAVA01.00
version
From software
version
EDS94AYCCA EN 5.0 - 06/2012L7
Page 8
E94AYCCA communication manual (CANopen®)
About this documentation
Document history
1.1Document history
VersionDescription
1.008/2006TD17First edition
2.004/2008TD17General revision
3.002/2011TD17General revision
4.011/2011TD17Assignment of the 9-pin Sub-D plug connector corrected.
System bus (CANopen) connection
5.006/2012TD17General revision
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
( 26)
Thank you for your support.
Your Lenze documentation team
8LEDS94AYCCA EN 5.0 - 06/2012
Page 9
1.2Conventions used
This documentation uses the following conventions to distinguish different types of
information:
Information typeDisplayExamples/notes
Spelling of numbers
DecimalStandard spellingExample: 1234
Hexadecimal0x[0 ... 9, A ... F]Example: 0x60F4
Binary
• Nibble
Decimal separatorPointThe decimal point is generally used.
Text
Program name» «PC software
Control elementBoldThe OK button... / the copy command... / the
Sequence of menu
commands
HyperlinkUnderlined
E94AYCCA communication manual (CANopen®)
About this documentation
Conventions used
In inverted commas
Point
Example: ’100’
Example: ’0110.0100’
For example: 1234.56
Example: Lenze »Engineer«
Properties tab... / the Name input field...
If the execution of a command requires several
commands in succession, the individual commands
are separated by an arrow: Select the File
command to...
Optically highlighted reference to another subject
which is activated with a mouse-click.
Open
Symbols
Page reference ( 9)Optically highlighted reference to another page
Step-by-step instructions
which is activated with a mouse-click.
Step-by-step instructions are indicated by a
pictograph.
EDS94AYCCA EN 5.0 - 06/2012L9
Page 10
E94AYCCA communication manual (CANopen®)
About this documentation
Terminology used
1.3Terminology used
TermMeaning
CANCAN (Controller Area Network) is an asynchronous, serial fieldbus system.
CANopen®CANopen® is a communication protocol based on CAN.
CANopen® is a trademark and patented technology, licensed by the CAN user
organisation CiA® (CAN in Automation e. V.), www.can-cia.org
System bus (CAN/CANopen)The Servo Drives 9400 system bus (CANopen) is an advancement of the 9300
Standard deviceLenze controller of the "Servo Drives 9400" product series, with which the
Controller
ModuleAccessories and extension modules such as communication modules,
Interface module
Communication module
»Engineer«Lenze PC software which supports you during the "Engineering" process
»PLC Designer«
CodeParameter by means of which you can parameterise or monitor the controller. In
SubcodeIf a code contains several parameters, they are stored in "subcodes".
Lenze settingDefault settings for the device.
Basic setting
PDOProcess data object (process data communication)
SDOService data object (parameter data communication)
HWHardware
SWSoftware
PLCProgrammable Logic Controller
HostCAN master
Control
NodeComponents of a CAN network (PLC, controller, etc.)
Bus node
Node addressUnique ID for addressing the individual components of a CAN network
I-1600.20CANopen index (hexadecimal representation)
controller series' system bus (CAN).
Features
communication module can be used.
Application as directed
distributed terminals, operator and input devices (HMIs) as well as external
controls and control systems
(parameterisation, diagnostics, and configuration) throughout the whole life
cycle, i. e. from planning to maintenance of the machine commissioned.
everyday language, the term is also referred to as "index".
In the documentation, the slash "/" is used as a separator between the code and
the subcode (e.g. "C00118/3").
In everyday language, the term is also referred to as "subindex".
• In the example: index 0x1600, subindex 0x20
( 15)
.
( 14)
Note!
Some of the terms used derive from the CANopen protocol. These terms are not
listed here.
10LEDS94AYCCA EN 5.0 - 06/2012
Page 11
1.4Notes used
The following pictographs and signal words are used in this documentation to indicate
dangers and important information:
Safety instructions
Structure of the safety instructions:
Pictograph and signal word!
(characterise the type and severity of danger)
Note
(describes the danger and provides information about how to prevent
dangerous situations)
E94AYCCA communication manual (CANopen®)
About this documentation
Notes used
PictographSignal wordMeaning
Danger!Danger of personal injury through dangerous electrical voltage
Danger!Danger of personal injury through a general source of danger
Stop!Danger of property damage
Application notes
PictographSignal wordMeaning
Note!Important note to ensure troublefree 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 property damage if the
corresponding measures are not taken.
Tip!Useful tip for simple handling
Reference to another documentation
EDS94AYCCA EN 5.0 - 06/2012L11
Page 12
E94AYCCA communication manual (CANopen®)
Safety instructions
General safety and application notes
2Safety instructions
Note!
It is absolutely vital that the stated safety measures are implemented in order to
prevent serious injury to persons and damage to material assets.
Always keep this documentation to hand in the vicinity of the product during
operation.
2.1General safety and application notes
Danger!
Disregarding the following basic safety measures may lead to severe personal
injury and damage to material assets.
Lenze drive and automation components ...
– may only be used as directed.
Application as directed
– must never be commissioned if they display any signs of damage.
– must never be modified technically.
– must never be commissioned if they are not fully mounted.
– must never be operated without the required covers.
– can have live, moving and rotating parts during and after operation, depending on
their degree of protection. Surfaces can be hot.
For Lenze drive components ...
– only use approved accessories.
– only use genuine spare parts supplied by the manufacturer of the product.
Observe all the specifications contained in the enclosed and corresponding
documentation.
– This is a precondition for ensuring safe, trouble-free operation and for making use of
the stated product features.
Features
– The specifications, processes, and circuitry described in this document are for
guidance only and must be adapted to your own specific application. Lenze does not
take responsibility for the suitability of the process and circuit proposals.
( 15)
( 14)
12LEDS94AYCCA EN 5.0 - 06/2012
Page 13
E94AYCCA communication manual (CANopen®)
Device and application-specific safety instructions
All works on and with Lenze drive and automation components may only be carried out
by qualified personnel. According to IEC 60364 and CENELEC HD 384 these are persons
who ...
– are familiar with installing, mounting, commissioning, and operating the product.
– have the qualifications necessary for their occupation.
– know and are able to apply all regulations for the prevention of accidents, directives
and laws that apply to the location of use.
2.2Device and application-specific safety instructions
During operation, the communication module must be securely connected to the
standard device.
With external voltage supply, always use a separate power supply unit, safely
separated in accordance with EN 61800-5-1 in every control cabinet ("SELV"/"PELV").
Only use cables that meet the given specifications.
Specification of the bus cable
( 27)
Safety instructions
Documentation of the standard device, control system, and plant/machine
All the other measures prescribed in this documentation must also be
implemented. Observe the safety instructions and application notes stated in
this manual.
2.3Residual hazards
Protection of persons
If Servo Drives 9400 are used on a corner grounded system with a rated mains voltage
≥ 400V, external measures need to be implemented to provide reliable protection
against accidental contact.
Protective insulation
Device protection
The communication module contains electronic components that can be damaged or
destroyed by electrostatic discharge.
Installation
( 20)
( 24)
EDS94AYCCA EN 5.0 - 06/2012L13
Page 14
E94AYCCA communication manual (CANopen®)
Product description
Application as directed
3Product description
3.1Application as directed
The communication module ...
is an accessory module which can be used with the following standard devices:
Product seriesType designationFrom hardware
Servo Drives 9400 HighLineE94AxHExxxVA01.30
Servo Drives 9400 PLCE94AxPExxxxVA01.00
Servo Drives 9400 regenerative power
supply module
is an item of equipment intended for use in industrial power systems.
may only be operated under the operating conditions specified in this documentation.
may only be used in CAN networks.
Any other use shall be deemed inappropriate!
3.2Identification
The type designation and the hardware and software version of the communication
module are specified on the nameplate:
[3-1]Identification data
version
E94ARNxxxxVA01.00
1 Type designation (type)
E94 Product series
AVersion
YModule identification: extension module
CModule type: communication module
CACANopen
2 Hardware version (HW)
3 Software version (SW)
E94YCET005
From software
version
14LEDS94AYCCA EN 5.0 - 06/2012
Page 15
3.3Features
For many years the system bus (CAN) based on the CANopen communication profile has
been integrated in Lenze controllers. Due to the lower number of data objects available,
the functionality and compatibility of the old system bus are lower as compared with
CANopen. For parameter setting, two parameter data channels are always available to the
user while CANopen provides only one active parameter data channel (along with the
possibility to establish further channels).
The system bus (CANopen) of the Servo Drives 9400 is an advancement of the 9300
controller series' system bus (CAN).
The communication module E94AYCCA (CANopen) provides the following features:
Interface module for the system bus (CANopen), connectable to the expansion slots of
Servo Drives 9400
Internal voltage supply of the communication module via the Servo Drive 9400.
Full compatibility according to CANopen DS301, V4.02
E94AYCCA communication manual (CANopen®)
Product description
Features
Support of the NMT master/slave function "node guarding" (DS301,V4.02)
Support of the NMT slave function "heartbeat" (DS301,V4.02)
No restrictions regarding the selection of node addresses
Number of parameterisable server and client SDO channels:
– max. 10 channels with 1 ... 8 bytes
Number of parameterisable PDO channels:
– max. 4 Transmit-PDOs (TPDOs) with 1 ... 8 bytes
– max. 4 Receive-PDOs (RPDOs) with 1 ... 8 bytes
All PDO channels are functionally equivalent.
Monitoring of the RPDOs for data reception
9-pin Sub-D plug connector for system bus connection (CANopen)
DIP switches for ...
– setting the CAN node address
– setting the baud rate
Front LEDs for diagnosing the ...
– voltage supply of the communication module;
– connection to the standard device;
– CANopen state machine and error states;
– physical CAN connection.
X220 9-pin Sub-D plug connector for the ...
System bus (CANopen) connection
( 26)
[3-2]E94AYCCA communication module (CANopen)
E94YCCA001B
S220 DIP switches for ...
• setting the CAN node address
• setting the baud rate
Possible settings via DIP switches
LED status displays for diagnostics
MS
LED status displays
BS
BE
DE
( 33)
( 86)
16LEDS94AYCCA EN 5.0 - 06/2012
Page 17
E94AYCCA communication manual (CANopen®)
4Technical data
4.1General data and operating conditions
FieldValues
Order designationE94AYCCA
Communication profileCANopen (DS301, V4.02)
Communication mediumCAN cable according to ISO 11898-2
Network topologyLine terminated on both sides
(e.g. termination with Lenze system connector EWZ0046)
Adjustable node addresses1 ... 127
Adjustable via DIP switches or code C13350
Max. number of nodes127
Baud rates [kbps] • 10
•20
•50
• 125
• 250
• 500
• 800
• 1000
Adjustable via DIP switches or code C13351
Process data • max. 4 TPDOs with 1 ... 8 bytes
• max. 4 RPDOs with 1 ... 8 bytes
Parameter dataMax. 10 client and server SDO channels with 1 ... 8 bytes
Transfer mode for TPDOs • With change of data
• Time-controlled, 1 to x ms
• After the reception of 1 to 240 sync telegrams
Voltage supplyInternal voltage supply of the communication module via the Servo Drive
9400.
Conformities, approvals • CE
•UL
Technical data
General data and operating conditions
/ C14350.
/ C14351.
"Servo Drives 9400" hardware manual
Here you can find the ambient conditions and data regarding the
electromagnetic compatibility (EMC) which also apply to the communication
Monitoring protocolsNode guarding (master and slave)
Heartbeat (heartbeat producer and heartbeat consumer)
18LEDS94AYCCA EN 5.0 - 06/2012
Page 19
4.3Communication time
The communication time is the time between the start of a request and the arrival of the
corresponding response.
The communication times in the CAN network depend on the ...
processing time in the device;
telegram runtime (baud rate/telegram length);
bus load (especially if the bus is loaded with PDOs and SDOs at a low baud rate).
Servo Drives 9400 processing time
There are no interdependencies between parameter data and process data.
Parameter data:
– For controller-internal parameters: approx. 30 ms ± 20 ms tolerance (typically)
– For some codes the processing time can be longer.
E94AYCCA communication manual (CANopen®)
Technical data
Communication time
Process data are transported in real time.
EDS94AYCCA EN 5.0 - 06/2012L19
Page 20
E94AYCCA communication manual (CANopen®)
Technical data
Protective insulation
4.4Protective insulation
Danger!
Dangerous electrical voltage
If Servo Drives 9400 are used on a corner grounded system with a rated mains
voltage ≥ 400 V, external measures need to be implemented to provide reliable
protection against accidental contact.
Possible consequences:
• Death or serious injury
Protective measures:
• If protection against accidental contact is required for the control terminals
of the controller and the connections of the plugged device modules, ...
– there must be a double isolating distance.
– the components to be connected must be provided with a second isolating
distance.
Note!
The available protective insulation in Servo Drives 9400 is implemented in
accordance with EN 61800-5-1.
20LEDS94AYCCA EN 5.0 - 06/2012
Page 21
E94AYCCA communication manual (CANopen®)
Technical data
Protective insulation
The illustration below ...
shows the arrangement of the terminal strips and the separate potential areas of the
controller.
serves to determine the decisive protective insulation between two terminals located
in differently insulated separate potential areas.
X2
X100
X1
X3
X4
X5
MXI1
Bus
Ext. DC
MXI2
Reinforced insulation
Basic insulation
Functional insulation
X6X6
X7X7
X107
X106
X105X105
[4-1]Protective insulation according to EN61800-5-1
X100 L1, L2, L3 (only Single Drive)X1 CAN on board 9400
+UG, -UGX2 State bus
X105 U, V, W24 V (ext.)
Rb1, Rb2 (Single Drive only)X3 Analog inputs/outputs
X106 Motor PTCX4 Digital outputs
X107 Control of the motor holding
brake
MMI
MSI
I/O
Ext. DC
E94YCXX007
X5 Digital inputs
X6 Diagnostics
X7 Resolver
X8 Encoder
MXI1, MXI2 Extension module
MMI Memory module
MSI Safety module
EDS94AYCCA EN 5.0 - 06/2012L21
Page 22
E94AYCCA communication manual (CANopen®)
Technical data
Protective insulation
Example
Which type of protective insulation is used between the bus terminal of the device module
in slot MXI1 or MXI2 and the mains terminal X100?
The separate potential area with the better protective insulation is decisive.
– The separate potential area of the bus terminal of the device module has a "basic
insulation".
– The separate potential area of the mains terminal has a "reinforced insulation".
Result: The insulation between the X100 mains terminal and the bus terminal is of the
"reinforced insulation" type.
22LEDS94AYCCA EN 5.0 - 06/2012
Page 23
4.5Dimensions
E94AYCCA communication manual (CANopen®)
Technical data
Dimensions
a 89 mm
b 134 mm
b1 87 mm
e 23 mm
[4-2]Dimensions
E94YCXX005
EDS94AYCCA EN 5.0 - 06/2012L23
Page 24
E94AYCCA communication manual (CANopen®)
Installation
5Installation
Stop!
Electrostatic discharge
Electronic components in the communication module can be damaged or
destroyed by electrostatic discharge.
Possible consequences:
• The communication module is defective.
• Fieldbus communication is faulty or not possible.
Protective measures
• Before touching the module, make sure that you are free of electrostatic
charge.
24LEDS94AYCCA EN 5.0 - 06/2012
Page 25
5.1Mechanical installation
Note!
• Only one communication module E94AYCCA (CANopen) may be inserted per
Servo Drive 9400.
• The slot used (MX1 or MX2) can be selected freely.
5.1.1Mounting
E94AYCCA communication manual (CANopen®)
Installation
Mechanical installation
[5-1]Mounting
5.1.2Dismounting
[5-2]Dismounting
E94YCXX001G
E94AYCXX001H
EDS94AYCCA EN 5.0 - 06/2012L25
Page 26
E94AYCCA communication manual (CANopen®)
OFF
ON
Installation
Electrical installation
5.2Electrical installation
Documentation of the standard device, control system, and plant/machine
Observe the notes and wiring instructions stated.
5.2.1System bus (CANopen) connection
E94YCCA002A
The system bus (CANopen) must be terminated with resistors (120 Ω) between CAN-
low and CAN-high.
The Lenze system connector EWZ0046 with integrated terminating resistor complies
with the DS102-1 recommendation of the CAN user organisation CiA. The system
connector is not contained in the scope of supply of the communication module.
On
120
EWZ0046
L
ð
2181FEW004
L
EWZ0046
120120
On
OFF
ON
F
F
O
N
O
Off
EWZ0046
L
EWZ0046
L
ð
ð
ð
OUTINININ
26LEDS94AYCCA EN 5.0 - 06/2012
Page 27
Assignment of the 9-pin Sub-D plug connector
ViewPinAssignment
1
5
6
9
1-
2CAN-LOW
3CAN-GND
4-
5-
6-
7CAN-HIGH
8-
9-
5.2.2Specification of the bus cable
We recommend the use of CAN cables according to ISO 11898-2:
E94AYCCA communication manual (CANopen®)
Installation
Electrical installation
CAN cable according to ISO 11898-2
Cable typeTwisted in pairs 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)
EDS94AYCCA EN 5.0 - 06/2012L27
Page 28
E94AYCCA communication manual (CANopen®)
Installation
Electrical installation
5.2.3Bus cable length
Note!
• It is absolutely necessary to comply with the permissible cable lengths.
• If the total cable lengths of the CAN nodes differ for the same baud rate, the
smaller value must be used to determine the max. cable length.
• Observe the reduction of the total cable length due to the signal delay of the
repeater.Checking the use of repeaters
5.2.3.1Total cable length
The baud rate also determines the total cable length.
Baud rate [kbps]Max. bus length [m]
108075
204012
501575
125600
250275
500112
80038
100012
( 30)
28LEDS94AYCCA EN 5.0 - 06/2012
Page 29
5.2.3.2Segment cable length
The segment cable length is determined by the cable cross-section used and by the number
of nodes. Repeaters divide the total cable length into segments. If no repeaters are used,
the segment cable length is identical to the total cable length.
E94AYCCA communication manual (CANopen®)
Installation
Electrical installation
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 (can be interpolated)
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
Cable cross-section required
(interpolated)
Cable cross-section of standard CAN
cable
200 m
(derived from table Total cable length
0.30 mm
(derived from the table Segment cable length
0.34 mm
Specification of the bus cable
2
(AWG23)
2
(AWG22)
( 28))
( 27)
( 29))
2
EDS94AYCCA EN 5.0 - 06/2012L29
Page 30
E94AYCCA communication manual (CANopen®)
Installation
Electrical installation
5.2.3.3Checking the use of repeaters
Compare the values derived from tables Total cable length
( 29).
( 28) and Segment cable length
If the sum of the segment cable lengths is smaller than the total cable length to be
implemented, either repeaters must be used or the cable cross-section must be
increased.
If the use of repeaters reduces the max. possible total cable length so much that it is
smaller than the total cable length to be implemented, then the cable cross-section
must be increased or less repeaters must be used or the baud rate must be decreased.
The use of a further repeater is recommended as ...
– service interface
Advantage: trouble-free connection 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 kbps
Repeater usedLenze repeater EMF2176IB
Reduction of the max. total cable
length per repeater (EMF2176IB)
450 m
30 m
2
(AWG 20)
Results
Max. possible total cable length600 m
(see table Total cable length
Max. segment cable length360 m
(see table Segment cable length
ComparisonThe max. segment cable length is smaller than the total cable length to be
implemented.
ConclusionA repeater must be installed at the determined max. segment cable length
of 360 m.
Results with 1 repeater
Max. possible total cable length570 m
(Reduction of the Total cable length
Sum of the segment cable lengths720 m
ComparisonBoth the possible total cable length and the segment cable lengths are larger
than the total cable length to be implemented.
Conclusion1 repeater is sufficient to implement the total cable length of 450 m.
( 28))
( 29))
( 28) by 30 m)
30LEDS94AYCCA EN 5.0 - 06/2012
Page 31
5.2.4Voltage supply
The communication module is only internally supplied with voltage via the standard
device.
If the standard device fails, data transfer between the communication module and
other CAN nodes is interrupted.
E94AYCCA communication manual (CANopen®)
Installation
Electrical installation
EDS94AYCCA EN 5.0 - 06/2012L31
Page 32
E94AYCCA communication manual (CANopen®)
Commissioning
Before initial switch-on
6Commissioning
During commissioning, the controller receives system-specific data, e.g. motor
parameters, operating parameters, responses, and parameters for the fieldbus
communication. In case of Lenze devices, this is done via codes.
The codes for the controller and for the communication are saved as a non-volatile data set
in the memory module.
In addition to codes for the configuration, there are codes for diagnosing and monitoring
the nodes.
Note!
When parameterising the communication module, please note that the code
number depends on the slot of the Servo Drive 9400 which the communication
module is plugged into.
The first two digits of the code number indicate the slot:
•C13nnn for slot MXI1
Parameters of the communication module for slot MXI1
•C14nnn for slot MXI2
Parameters of the communication module for slot MXI2
Furthermore, the Communication-relevant parameters of the standard device
( 101)
must be set.
6.1Before initial switch-on
Stop!
Before switching on the controller for the first time, check ...
• the entire wiring with regard to completeness, earth fault and short circuit.
• whether the bus system is terminated by a bus terminating resistor at the
physically first and last node.
System bus (CANopen) connection
( 107)
( 128)
( 26)
32LEDS94AYCCA EN 5.0 - 06/2012
Page 33
E94AYCCA communication manual (CANopen®)
6.2Possible settings via DIP switches
Commissioning
Possible settings via DIP switches
O
O
O
N
N
N
[6-1]DIP switch
6432168
6432168
643216 8
cdba
cdba
cdba
Baud
Baud
Baud
CANAddress
CANAddress
CAN Address
6.2.1Setting the node address
If several CAN nodes are interconnected, their node addresses must differ from each
other.
The node address can be set with the DIP switches 1 ... 64 or via the »Engineer« (code
C13350
/ C14350).
Valid address range: 1 … 127
PrerequisiteAt least one switch 1…64=ONSwitches 1...64=OFF
The labelling on the package corresponds to the values of the individual DIP switches for
determining the node address.
DIP switch6432168421
Switch positionOFFOFFONOFFONONON
Value00
Node address= Sum of the values = 16 + 4 + 2 + 1 = 23
DIP switch positions for setting the CAN node address
Lenze setting: all switches OFF
160421
( 178)
Note!
Switch the voltage supply of the communication module off and then on again
to activate altered settings.
Tip!
The node address resulting from the DIP switch setting applied at last mains
power-up is indicated under C13349/1
EDS94AYCCA EN 5.0 - 06/2012L33
/ C14349/1.
Page 34
E94AYCCA communication manual (CANopen®)
Commissioning
Possible settings via DIP switches
6.2.2Setting the baud rate
The baud rate can be set with the DIP switches a...d or via the »Engineer« (code
C13351
If several CAN nodes are interconnected, their baud rates must be identical.
dcba
OFFONONOFF10 kbps
OFFONOFFON20 kbps
OFFOFFONON50 kbps
OFFOFFONOFF125 kbps
OFFOFFOFFON250 kbps
OFFOFFOFFOFF500 kbps
ONONONOFF800 kbps
OFFONOFFOFF1000 kbps
OFFONONONAutomatic detection
/ C14351).
Switch positionsBaud rate
Note!
Switch the voltage supply of the standard device off and then on again to
activate altered settings.
Tip!
The baud rate resulting from the DIP switch setting applied at last mains power-up
is indicated under C13349/2
/ C14349/2.
34LEDS94AYCCA EN 5.0 - 06/2012
Page 35
6.3Settings in the »Engineer«
E94AYCCA communication manual (CANopen®)
Commissioning
Settings in the »Engineer«
Go to the Settings tab to ...
set the node address (C13350
Setting the node address
select the procedure for automatic allocation of the COB-IDs in the »Engineer«.
configure the CAN node as a master or slave (C13352
display the time that must elapse after mains power-up before the CAN NMT
master transmits the "Start remote node" telegram via the system bus (CANopen)
(C13378 / C14378).
( 33)
/ C14350).
/ C14352).
EDS94AYCCA EN 5.0 - 06/2012L35
Page 36
E94AYCCA communication manual (CANopen®)
Commissioning
Initial switch-on
6.4Initial switch-on
Documentation of Servo Drive 9400
Observe the safety instructions and residual hazards stated.
Note!
Establishing communication
When the communication module is externally supplied, the standard device
must also be switched on for establishing communication.
After communication has been established, communication of the externally
supplied module is independent of the on/off state of the standard device.
Activating changed settings
In order to activate changed settings ...
• execute device command "11: Save start parameters" via standard device
code C00002 and ...
• then execute a "CAN reset node" on the node using C00002 = 92 or switch off
and on again the voltage supply of the communication module.
Protection against uncontrolled restart
After a fault (e.g. short-term mains failure), it is sometimes not wanted or even
impermissible that the drive restarts.
In the Lenze setting of the Servo Drives 9400, the restart protection is activated.
Via the standard device code C00142 ("Auto restart after mains connection") you
can set the restart behaviour of the controller:
• C00142 = "0: Inhibited" (Lenze setting)
– The controller remains inhibited (even if the fault is no longer active).
– The drive starts up in a controlled manner by explicit controller enable:
LOW-HIGH edge at digital input X5/RFR.
• C00142 = "1: Enabled"
– An uncontrolled restart of the drive is possible.
36LEDS94AYCCA EN 5.0 - 06/2012
Page 37
E94AYCCA communication manual (CANopen®)
7Data transfer
Via the CANopen interface, process data and parameter values can be exchanged between
the CAN nodes. In addition, the interface enables the connection of further modules such
as distributed terminals, operator and input devices (HMIs), or external controls and
control systems.
The interface transfers CAN objects following the CANopen communication profile
(DS301, V4.02) ) developed by the umbrella organisation of CiA (CAN in Automation) in
conformity with the CAL (CAN Application Layer).
The identifier and the user data are described in detail in the following subchapters. The
other signals refer to the transfer characteristics of the CAN telegram that are not
described in this documentation.
Tip!
For further information please refer to the website of the CiA (CAN in Automation)
user organisation:
www.can-cia.org
EDS94AYCCA EN 5.0 - 06/2012L37
Page 38
E94AYCCA communication manual (CANopen®)
Data transfer
Structure of the CAN data telegram
7.1.1Identifier
The principle of the CAN communication is based on a message-oriented data exchange
between a transmitter and many receivers. All nodes can transmit and receive quasisimultaneously.
The identifier, also called "COB-ID" (Communication Object Identifier), is used to control
which node is to receive a transmitted message. In addition to the addressing, the
identifier contains information on the priority of the message and the type of the user
data.
The identifier consists of a basic identifier and the node address of the node to be
addressed:
Exception:
management and sync telegrams, the identifier can be assigned freely by the user (either
manually or automatically by a network configurator) or is firmly allocated.
Node address (node ID)
For the purpose of unique identification, a node address, also referred to as node ID, in the
valid address range (1 ... 127) is to be assigned to each node within the CAN network.
A node address may not be assigned more than once within a network.
The node address can be configured with the DIP switches of the communication
module or with code C13350
Setting the node address
For process data, heartbeat and emergency objects as well as network
/ C14350.
( 33)
38LEDS94AYCCA EN 5.0 - 06/2012
Page 39
E94AYCCA communication manual (CANopen®)
Data transfer
Structure of the CAN data telegram
Identifier assignment
The system bus (CANopen) is message-oriented and not node-oriented. Each message has
a unique identification, the identifier. In the case of CANopen, a node-orientation is
achieved by the fact that for each message there is only one sender.
The basic identifiers for network management (NMT) and sync as well as the basic SDO
channel (SDO1) are specified in the CANopen protocol and cannot be changed.
In the Lenze setting, the basic identifiers of the PDOs are preset according to the
"Predefined Connection Set" of DS301, V4.02. They can be changed via parameters/
indexes if required.
Identifiers of the process data objects
ObjectDirectionBasic identifier
from the deviceto the devicedechex
Network management (NMT)00
Sync12880
Emergencyz12880
PDO1
(Process data channel 1)
PDO2
(Process data channel 2)
PDO3
(Process data channel 3)
PDO4
(Process data channel 4)
SDO1
(Basic SDO channel)
SDO2 ... SDO10
(Parameter data channel 2 ... 10)
Node guarding, heartbeatz1792700
TPDO1
RPDO1
TPDO2
RPDO2
TPDO3
RPDO3
TPDO4
RPDO4
z384180
z640280
z896380
z1152480
z1408580
z14725C0
( 46)
z512200
z768300
z1024400
z1280500
z1536600
z1600640
EDS94AYCCA EN 5.0 - 06/2012L39
Page 40
E94AYCCA communication manual (CANopen®)
Data transfer
Structure of the CAN data telegram
7.1.2User data
All nodes communicate with each other by exchanging data telegrams via the system bus
(CANopen). The user data area of the CAN telegram contains network management data,
parameter data or process data:
Network management data
(NMT data)
Control information on start, stop, reset, etc. of communication to certain or all nodes
of the CAN network.
Process data
(PDOs – Process Data Objects)
Process data are transferred via the process data channel.
The controller can be controlled using process data.
Process data are not
Process data are transferred between the host and the nodes to ensure a continuous
exchange of current input and output data.
Process data usually are unscaled/scalable raw data
Process data are, for instance, setpoints and actual values.
Parameter data
(SDOs – Service Data Objects)
Parameter data are the CANopen indexes or, in the case of Lenze devices, the codes.
The parameters are, for instance, set for the initial system set-up during
commissioning or when material is changed on the production machine.
Parameter data are transmitted as SDOs via the parameter data channel. They are
acknowledged by the receiver, i.e. the sender receives a feedback about the
transmission being successful or not.
The parameter data channel enables access to all Lenze parameters (codes) and
CANopen indexes.
Parameter changes are automatically saved in the controller until the mains is
switched.
saved in the controller.
In general, the parameter transfer is not time-critical.
Parameter data are, for instance, operating parameters, diagnostic information and
motor data.
40LEDS94AYCCA EN 5.0 - 06/2012
Page 41
E94AYCCA communication manual (CANopen®)
Communication phases / network management
7.2Communication phases / network management
Regarding communication via the system bus (CANopen), the drive distinguishes between
the following states:
StatusExplanation
"Initialisation"
(Initialisation)
"Pre-operational"
(before being ready for operation)
"Operational"
(ready for operation)
"Stopped"
(Stopped)
After power-up, initialisation is executed.
• During this phase, the controller does not take part in the data transfer on
the system bus (CANopen).
• All CAN-relevant parameters are written with their standard values
again.
• After initialisation has been completed, the controller is automatically set
to the "pre-operational" status.
Parameter data can be received, process data is ignored.
Parameter data and process data can be received!
Only network management telegrams can be received.
Data transfer
Communication objectInitialisationPre-operationalOperationalStopped
PDOz
SDOzz
Synczz
Emergencyzz
Boot-upz
Network management (NMT)zzz
Tip!
In every state, the initialisation can be re-executed partly or completely by
transmitting appropriate network management telegrams.
EDS94AYCCA EN 5.0 - 06/2012L41
Page 42
E94AYCCA communication manual (CANopen®)
Data transfer
Communication phases / network management
7.2.1State transitions
,QLWLDOLVDWLRQ
[7-2]NMT state transitions in the CAN network
3UH2SHUDWLRQDO
2SHUDWLRQDO
6WRSSHG
TransitionNMT commandState after
Effect on process and parameter data after state change
change
(1)-InitialisationInitialisation starts automatically when the mains is
switched on.
• During initialisation, the controller does not take part in
the data transfer.
• After initialisation has been completed, the node sends a
boot-up message with an individual identifier and
automatically changes to the "pre-operational" status.
(2)-Pre-operationalIn this phase, the master determines the way in which the
node(s) takes/take part in the communication.
From here, the states are changed over by the master for the entire network.
• A target address contained in the NMT command specifies the receiver(s).
• If the 9400 controller has been configured as a CAN master, the state automatically changes to
"operational" after a waiting time (C13378
/ C14378) has expired, and the NMT command
0x0100 ("Start remote node") is sent to all nodes.
• Data can only be exchanged via process data objects if the state is "Operational".
(3), (6)0x01 xx
Start Remote Node
OperationalNetwork management, sync and emergency telegrams as
well as process data (PDO) and parameter data (SDO) are
active.
Optional: When the state is changed, event and timecontrolled process data (PDOs) will be sent once.
(4), (7)0x80 xx
Enter Pre-Operational
(5), (8)0x02 xx
Stop Remote Node
(9), (10), (11)0x81 xx
Reset node
(12), (13), (14)0x82 xx
Reset communication
Pre-operationalNetwork management, sync and emergency telegrams as
well as parameter data (SDO) are active.
StoppedOnly network management telegrams can be received.
InitialisationInitialisation of all CAN-relevant parameters (DS301, V4.02)
with the stored values.
Initialisation of all CAN-relevant parameters (DS301, V4.02)
with the stored values.
Meaning of the node address in the NMT command:
• xx = 0x00: With this assignment, all nodes are addressed by the telegram (broadcast telegram).
The state can be changed for all nodes at the same time.
• xx = Node-ID: If a node address is indicated, the state will only be changed for the node
addressed.
42LEDS94AYCCA EN 5.0 - 06/2012
Page 43
E94AYCCA communication manual (CANopen®)
7.2.2Network management telegram (NMT)
The telegram for the network management contains the identifier "0" and the command
included in the user data, which consists of the command byte and the node address.
,GHQWLILHU8VHUGDWD%\WH
&2%,'
%LW%LW%LW%LW%LW %LW%LW%LW%LW
[7-3]Network management telegram for changing the communication phases
Command specifier (cs)NMT command
dechex
10x01Start Remote Node
20x02Stop Remote Node
1280x80Enter Pre-Operational
1290x81Reset node
1300x82Reset communication
FRPPDQG
VSHFLILHU
FV
Data transfer
Communication phases / network management
QRGH
DGGUHVV
QRGH,'
The changeover of the communication phases is carried out by one node, the CAN master,
for the entire network. The role of the CAN master can also assumed by the drive controller.
Parameterising the controller as a CAN master
( 44)
Example:
Data can only be exchanged via the process data objects in the "Operational" state. To
change all nodes on the bus from "Pre-Operational" to "Operational" via the CAN master,
the following identifiers and user data must be set as follows in the transmit telegram:
Identifier: 0x00 (network management)
User data: 0x0100 (NMT command "Start Remote Node" to all nodes)
EDS94AYCCA EN 5.0 - 06/2012L43
Page 44
E94AYCCA communication manual (CANopen®)
Data transfer
Communication phases / network management
7.2.3Parameterising the controller as a CAN master
If the initialisation of the system bus (CANopen) and the state change from "preoperational" to" operational" is not carried out by a higher-level control system, the
controller can be defined to be a "quasi" master to take over this task.
The controller can be configured to be a CAN master in C13352
As a CAN master, the controller sets all
telegram) to the "operational" communication state using the "Start remote node"
NMT telegram. Only this communication state enables a data exchange via the process
data objects.
In C13378
switching before the controller transmits the "Start remote node" NMT telegram on the
system bus (CANopen).
ParameterInformationLenze setting
C13352 / C14352CAN slave/masterSlave
C13378
/ C14378CAN delay boot-up - Operational3000 ms
/ C14378, a delay time can be set. This delay time must elapse after mains
nodes connected to the bus (broadcast
/ C14352.
Value Unit
Note!
Changing the master/slave operation in C13352 / C14352 will only be effective
• after switching the mains power of the controller off and then on again
or
• by sending the NMT telegram "Reset Node" or "Reset Communication" to the
controller.
As an alternative to the "Reset node" NMT telegram, the device command
C00002 = "92: CAN module: reset node" can be used to reinitialise the CANspecific device parameters.
Tip!
The master functionality is only required for the initialisation phase of the drive
system.
44LEDS94AYCCA EN 5.0 - 06/2012
Page 45
8Process data transfer
E94AYCCA communication manual (CANopen®)
Process data transfer
[8-1]PDO data transfer from / to the higher-level host system
For the transfer of process data, four separated process data channels (PDO1 ... PDO4) are
available.
Definitions
Process data telegrams between the host and the devices are distinguished as follows:
– Process data telegrams to
– Process data telegrams from
The CANopen process data objects are designated as seen from the node's view:
– Receive PDO (RPDOx): process data object received by a node
– Transmit PDO (TPDOx): process data object transmitted by a node
the device (RPDO)
the device (TPDO)
Note!
Data can only be exchanged via the process data objects if the state is
"Operational".
Communication phases / network management
( 41)
EDS94AYCCA EN 5.0 - 06/2012L45
Page 46
E94AYCCA communication manual (CANopen®)
Process data transfer
Identifiers of the process data objects
8.1Identifiers of the process data objects
In the Lenze setting, the identifier for the process data objects PDO1 ... PDO4 results from
a basic identifier and the node address set in C13350
In the Lenze setting, the basic identifiers of the PDOs are preset according to the
"Predefined Connection Set" of DS301, V4.02.
The identifiers for the PDOs can be set individually via the Lenze codes and CANopen
indexes listed in the following table. Thus, you can also set an identifier independently
of the node address for certain PDOs.
Process data objectBasic identifierIndividual setting
dechexLenze codeCANopen index
PDO1RPDO15120x200C13321/1
TPDO13840x180C13320/1
PDO2RPDO27680x300C13321/2
TPDO26400x280C13320/2
PDO3RPDO310240x400C13321/3
TPDO38960x380C13320/3
PDO4RPDO412800x500C13321/4
TPDO411520x480C13320/4
/ C14350:
I-1400/1
C14321/1
I-1800/1
C14320/1
I-1401/1
C14321/2
I-1801/1
C14320/2
I-1402/1
C14321/3
I-1802/1
C14320/3
I-1403/1
C14321/4
I-1803/1
C14320/4
Note!
When the node address has been changed (C13350 / C14350) and then "Reset
node" (C00002 = 92) has been executed, the subcodes of C13320
C13321
respective basic identifier and the node address set.
Tip!
The "Predefined Connection Set" can be re-established anytime using the following
device commands of C00002:
• "93: CAN on board: Pred.Connect.Set" for CAN on board
• "94: CAN module: Pred.Connect.Set" for communication module E94AYCCA
/ C14320 and
/ C14321 are automatically reset to the identifiers resulting from the
46LEDS94AYCCA EN 5.0 - 06/2012
Page 47
8.2Transmission type
The process data objects are transmitted in an event-controlled or time-controlled way.
Event-controlled: The PDO is sent if a special device-internal event has occurred, for
instance, when the data contents of the TPDO have changed or when a transmission
cycle time has elapsed.
Synchronous: A TPDO (or RPDO) is transmitted (or received) after the device has
received a sync telegram (with identifier 0x80).
Cyclically: The PDOs are transmitted in fixed time intervals after the transmission cycle
time has elapsed.
The table shows that combinations of logic operations (AND, OR) are also possible between
the different transmission modes:
Transmission typePDO transmissionLogic operation
0zzAND
1 ... 240z-
254, 255zzOR
E94AYCCA communication manual (CANopen®)
Process data transfer
Transmission type
cyclicsynchronousevent-controlled
Transmission typeDescription
0The PDO is transmitted at every sync in an event-controlled manner (e. g. by means of a bit
1 ... 240SYNC (with response)
254, 255Event-controlled (with mask) with cyclic overlay
change within the PDO).
• Selection n = 1: The PDO is transmitted with every
• Selection 1 < n ≤ 240: The PDO is transmitted with every n-th
If this value is entered, the PDO transmission is event-controlled or
(Note: The values "254" and "255" have the same meaning).
For cyclic overlay, a cycle time must be set for the respective PDO. In this case, cyclic
transmission takes place in addition to event-controlled transmission (e.g. through a bit
change in the PDO).
sync.
sync.
cyclic.
EDS94AYCCA EN 5.0 - 06/2012L47
Page 48
E94AYCCA communication manual (CANopen®)
Process data transfer
Transmission type
The communication parameters (as e.g. transmission mode and cycle time) can be freely
adjusted for any PDO and independent of the settings of other PDOs:
ParameterInformationLenze setting
C13322/1...4
C14322/1...4
C13323/1...4
C14323/1...4
C13324/1...4
C14324/1...4
C13356/1...4
C14356/1...4
CAN TPDOx Tx mode254
CAN RPDOx Rx mode254
CAN TPDOx delay time0 1/10 ms
CAN TPDOx cycle time0 ms
Tip!
The setting can also be made via the following CANopen objects:
• I-1400
• I-1800
... I-1403: Communication parameters for RPDO1 ... RPDO4
... I-1803: Communication parameters for TPDO1 ... TPDO4
Value Unit
48LEDS94AYCCA EN 5.0 - 06/2012
Page 49
E94AYCCA communication manual (CANopen®)
8.3Masking of the TPDOs for event control
For TPDO1 ... TPDO4, a mask can be parameterised for every byte. In case of eventcontrolled transmission of a PDO, only the masked bits are used for the event control.
Mask "0x0" means that no bit of the corresponding byte triggers the transmission.
Mask "0xff" means that each bit of the corresponding byte can trigger the
transmission.
Short overview: Parameters for masking the TPDOs
ParameterInformationLenze setting
C13311/1...8
C14311/1...8
C13312/1...8
C14312/1...8
C13313/1...8
C14313/1...8
C13314/1...8
C14314/1...8
CAN TPDO1 mask byte x0x00
CAN TPDO2 mask byte x0x00
CAN TPDO3 mask byte x0x00
CAN TPDO4 mask byte x0x00
Process data transfer
Masking of the TPDOs for event control
EDS94AYCCA EN 5.0 - 06/2012L49
Page 50
E94AYCCA communication manual (CANopen®)
Process data transfer
Synchronisation of PDOs via sync telegram
8.4Synchronisation of PDOs via sync telegram
In case of cyclic transmission, one or several PDOs are transmitted or received at fixed time
intervals. For synchronising the cyclic process data, an additional special telegram, the sync
telegram, is used.
The sync telegram is the trigger point for the transmission of process data from the
frequency inverters to the master and for the acceptance of process data from the
master by the slaves.
For sync-controlled process data processing, the sync telegram must be generated
accordingly.
The response to a sync telegram is determined by the transmission type selected.
Transmission type
General procedure
( 47)
1 Sync cycle time (C01121)
[8-2]Sync telegram
A. After the sync telegram has been received, the slaves send the synchronous process
data to the master (TPDOs). The master reads them as process input data.
B. When the sending process has been completed, the slaves (RPDOs) receive the process
output data (from the master).
– All other telegrams (e.g. parameters or the event-controlled process data) are
accepted acyclically by the slaves after the transmission has been completed
successfully.
– The acyclic data are not shown in figure [8-2]
cycle time is dimensioned.
C. The data in the slave is accepted with the next sync telegram if the Rx mode is set to
1 ... 240. When the Rx mode is set to 254 or 255 the data is accepted in the next device
cycle independent of the sync telegram.
SYNCSYNC
012
They must be considered when the
50LEDS94AYCCA EN 5.0 - 06/2012
Page 51
8.4.1Parameter setting
Short overview: Parameters for synchronisation via sync telegram
ParameterInformationLenze settingAssignment
C13367
C14367
C13368
C14368
C00369/1
C01120
C01121
C01122
C01123
C01124
C01130
E94AYCCA communication manual (CANopen®)
Process data transfer
Synchronisation of PDOs via sync telegram
Value UnitSync
CAN SYNC Rx identifier128z
CAN SYNC Tx identifier128z
CAN SYNC transmit cycle time0 msz
Sync sourceOffz
Sync cycle time1000 μsz
Sync phase position400 μsz
Sync tolerance0 μsz
Sync-PLL increment109 nsz
Sync application cycle1000 μsz
Master
Sync
Slave
Sync source
C01120
is used to select the source of the synchronisation signals. Basically, only one
source can synchronise the node.
Sync cycle time
Time with which the internal phase-locking loop (PLL) expects the synchronisation signals.
The time must be set in C01121
selected in C01120
.
in accordance with the cycle of the synchronisation source
Note!
For synchronisation via the system bus (CANopen), only integer multiples of
1000 μs should be set in C01121
Example: For the system bus (CANopen), the interval between two synchronisation signals
has been set to 2 ms. If the system bus (CANopen) is to be used as synchronisation source,
a sync cycle time of 2000 μs must be set in C01121
.
.
EDS94AYCCA EN 5.0 - 06/2012L51
Page 52
E94AYCCA communication manual (CANopen®)
Process data transfer
Synchronisation of PDOs via sync telegram
Sync phase position
The phase position defines the zero point of time for the application relating to the
synchronisation signal (bus cycle). Since PDO processing is integrated in the system part of
the application, the instant of the PDO acceptance also changes if the phase position is
changed.
If 0 is set, the application is started together with the synchronisation signal.
If a value > 0 is set, the application starts by the set time interval before the
synchronisation signal arrives (the phase position acts negatively).
Example: If the phase position is set to 400 μs, the system part of the application starts
400 μs before the synchronisation signal arrives.
Note!
From Servo Drive 9400 software version V3.0:
The effect of the sync phase position can be influenced by the application cycle
set in C01130
. For the Lenze setting of C01130, the behaviour remains as before.
Sync tolerance
Time slot for monitoring the synchronisation signal via the LS_SyncInput system block.
If the last synchronisation signal has been within this time slot around the expected
value, the SYNC_bSyncInsideWindow output of the LS_SyncInput system block is set to
TRUE.
This setting does not affect the synchronisation process.
Sync-PLL increment
If the cycle times of the synchronisation signal and the phase-locking loop (PLL) differ from
each other, the setting in C01124
can be readjusted.
If the system bus (CANopen) is used as synchronisation source, the recommended time
increment for deviations is 109 ns (Lenze setting).
defines the increment with which the phase-locking loop
52LEDS94AYCCA EN 5.0 - 06/2012
Page 53
Sync application cycle
E94AYCCA communication manual (CANopen®)
Process data transfer
Synchronisation of PDOs via sync telegram
This parameter influences the effect of the sync phase position (C01122
instant of acceptance of the synchronous PDOs by the application or the instant of
transmission of the synchronous PDOs to the system bus (CANopen).
For Servo Drive 9400 software versions lower than V3.0 the following applies:
The sync application cycle is permanently set to 1000 μs.
The resulting PDO delay can be calculated with the following formula taking into
consideration an internal processing time of 150 s:
PDO delay= (sync cycle time - sync phase position + 150 μs) modulo 1000
From Servo Drive 9400 software version V3.0 the following applies:
The sync application cycle can be set in C01130
down to full 1000 μs.
The resulting PDO delay can be calculated with the following formula, taking an
internal processing time of 150 s into consideration:
PDO delay= (sync cycle time - sync phase position + 150 μs) modulo C01130
. The value set is automatically rounded
) with regard to the
Note!
If the sync application cycle in C01130 is set higher than the sync cycle time
(C01121
(C01122
), the response is undefined. The same applies if the sync phase position
) is set higher than the sync cycle time (C01121).
In these cases, usually no synchronous PDOs are transmitted via the system bus
(CANopen) anymore.
EDS94AYCCA EN 5.0 - 06/2012L53
Page 54
E94AYCCA communication manual (CANopen®)
Process data transfer
Synchronisation of PDOs via sync telegram
8.4.2Effect of C01130 on the sync phase position
Example 1:
n-1
1
SYNCSYNC
150 µs
0101
nn+1n+2
150 µs
1 Sync cycle time (C01121
Sync phase position (C01122
Sync application cycle (C01130
A Instant of acceptance/transmission of synchronous PDOs
B Inactive instant of acceptance
n Device cycle
Example 2:
)= 2000 μs
)= 0μs
)= 1000 μs
SYNCSYNC
0
1 Sync cycle time (C01121
2 Sync phase position (C01122
Sync application cycle (C01130
3 PDO delay= (C01121
A Instant of acceptance/transmission of synchronous PDOs
B Inactive instant of acceptance
n Device cycle
)= 2000 μs
)= 400 μs
)= 1000 μs
0101
n+1n+2
n+3n-1n
- C01122 + 150 μs) modulo C01130 = 750 μs
Example 3:
SYNCSYNC
1
1 Sync cycle time (C01121
2 Sync phase position (C01122
Sync application cycle (C01130
3 PDO delay= (C01121
A Instant of acceptance/transmission of synchronous PDOs
B Inactive instant of acceptance
n Device cycle
0101
nn+1n+2
)= 2000 μs
)= 400 μs
)= 2000 μs
n+3n-1
- C01122 + 150 μs) modulo C01130 = 1750 μs
54LEDS94AYCCA EN 5.0 - 06/2012
Page 55
Example 4:
0
n
E94AYCCA communication manual (CANopen®)
Process data transfer
Synchronisation of PDOs via sync telegram
SYNCSYNC
0101
n+4n+1n+2n+3
1 Sync cycle time (C01121
2 Sync phase position (C01122
Sync application cycle (C01130
3 PDO delay= (C01121
A Instant of acceptance/transmission of synchronous PDOs
B Inactive instant of acceptance
n Device cycle
)= 2000 μs
)= 1400 μs
)= 1000 μs
- C01122 + 150 μs) modulo C01130 = 750 μs
EDS94AYCCA EN 5.0 - 06/2012L55
Page 56
E94AYCCA communication manual (CANopen®)
Process data transfer
PDO mapping
8.5PDO mapping
With Servo Drives 9400 HighLine, you can map the process data individually. For this
purpose, the »Engineer« provides a port configurator.
Note!
The port mapping is no configuration that can be carried out online for the Servo
Drive 9400. For this purpose, an update of the »Engineer« project and a
subsequent download of the application is always required.
The »Engineer« screenshots illustrated in the following are only examples
setting sequence and the resulting screens displayed.
Depending on the software version of the controller and the version of the
»Engineer« software installed, the screenshots in this documentation may differ
from the actual »Engineer« screens.
of the
56LEDS94AYCCA EN 5.0 - 06/2012
Page 57
E94AYCCA communication manual (CANopen®)
Process data transfer
Implementing PDO mapping with the »Engineer«
Example
A project to be created in the »Engineer« consists of a master drive (master) and a
slave drive (slave). Among other things, for instance PDOs are to be exchanged
between the two drives via the system bus (CANopen). In the following, the
parameterisation of the master drive is described.
1. On the Process data objects tab, the parameters for the receive objects
(RPDO1 ... RPDO4) and transmit objects (TPDO1 ... TPDO4) can be set.
Settings for receive objects (RPDO1 ... RPDO4)
PDO mapping
Transfer mode of RPDOx (C13323/1...4
Monitoring time for RPDOx (C13357/1...4
• If a different value than "0" is entered, the RPDO is expected after the time set
has elapsed.
• If the RPDO is not received within the monitoring time, an error response
parameterised under C13591/1...4
The inhibit time is not relevant for receive objects.
Display/setting of the RPDOx COB-ID (C13321/1...4
/ C14323/1...4)
/ C14357/1...4)
/ C14591/1...4 is initiated.
/ C14321/1...4)
EDS94AYCCA EN 5.0 - 06/2012L57
Page 58
E94AYCCA communication manual (CANopen®)
Process data transfer
PDO mapping
Settings for transmit objects (TPDO1 ... TPDO4)
Transfer mode of TPDOx (C13322/1...4
Transfer time of TPDOx (C13356/1...4
• If a different value than "0" is entered, the TPDO is transmitted without further
consideration of the transport type after the time set has elapsed.
Inhibit time/delay time for TPDOx (C13324/1...4 / C14324/1...4)
• Minimum time between the transmission of two identical TPDOs.
Display/setting of the TPDOx COB-ID (C13320/1...4
/ C14322/1...4)
/ C14356/1...4)
/ C14320/1...4)
58LEDS94AYCCA EN 5.0 - 06/2012
Page 59
E94AYCCA communication manual (CANopen®)
Process data transfer
PDO mapping
2. On the Ports tab, input ports and output ports can be created using the New Input
and New Output buttons.
In the example, two output ports and one input port have been created for the
master drive (master).
• A port exactly corresponds to a PDO object.
• For each port, element variables have been defined.
The following element variables are transmitted via TPDO1 (Master_Tx_Port1):
• u32_SetSpeed, type DWORD, 32 bits
• s16_Analog2, type INTEGER, 16 bits
• u8_Status, type BYTE, 8 bits
EDS94AYCCA EN 5.0 - 06/2012L59
Page 60
E94AYCCA communication manual (CANopen®)
Process data transfer
PDO mapping
3. The application can be downloaded to the Servo Drive 9400 with the menu
command
When all PDOs have been programmed and the application has been completed, it
can be downloaded to the Servo Drive 9400. All CAN parameters will be transferred
according to the settings made in the »Engineer« project.
OnlineTransfer application to device.
60LEDS94AYCCA EN 5.0 - 06/2012
Page 61
E94AYCCA communication manual (CANopen®)
9Parameter data transfer
Parameter data transfer
[9-1]Parameter data transfer via available parameter data channels
Parameters are values stored in codes on Lenze controllers.
Ten separate parameter data channels are available for parameter setting, enabling the
simultaneous connection of several devices for configuration.
Parameter data are transmitted via the system bus (CANopen) as SDOs ("Service Data
Objects") and acknowledged by the receiver. The SDO enables read and write access to the
object directory. Indexes (e.g. I-1000
included in the object directory. To transfer SDOs, the information contained in the user
data must comply with the CAN-SDO protocol.
) ensure access to device parameters and functions
9400CAN005-2
EDS94AYCCA EN 5.0 - 06/2012L61
Page 62
E94AYCCA communication manual (CANopen®)
Parameter data transfer
Identifiers of the parameter data objects
9.1Identifiers of the parameter data objects
In the Lenze setting, the identifier for the parameter data objects SDO1 ... SDO10 results
from a basic identifier and the node address set in C13350
In the Lenze setting, the basic identifiers of the SDOs are preset according to the
"Predefined Connection Set" of DS301, V4.02:
Parameter data objectDirectionBasic identifier
from the deviceto the devicedechex
SDO1
(Parameter data channel 1)
SDO2 ... 10
(Parameter data channel 2 ... 10)
Node guarding, heartbeatz1792700
Boot-upz1792700
z1408580
zzDeactivated
/ C14350:
z1536600
Note!
Please observe that the parameter data channels 2 ... 10 are deactivated in the
Lenze setting.
The procedure for activating these parameter data channels is explained in the
description for parameters C13372
description for the implemented CANopen object I-120x
Example
/ C14372 to C13374 / C14374 or in the
.
( 166)
62LEDS94AYCCA EN 5.0 - 06/2012
Page 63
9.2User data
Structure of the user data of the parameter data telegram
A maximum of 4 bytes is available for parameter value entries. The bytes are assigned as
follows, depending on the data format:
5th byte6th byte7th byte8th byte
Parameter value (1 byte)0x000x000x00
Parameter value (2 bytes)0x000x00
Low byteHigh byte
Parameter value (4 bytes)
Low wordHigh word
Low byteHigh byteLow byteHigh byte
Note!
The Table of attributes ( 149) contains a scaling factor for Lenze parameters in
the "factor" column. The scaling factor is important for the transfer of parameter
values which are represented with one or several decimal positions in the
parameter list.
When the scaling factor is > 1, the value must be multiplied by the scaling factor
before being transmitted to be able to transmit the value as an integer. On the
SDO client side, the integer must by divided by the scaling factor again to obtain
the original value with decimal positions.
Example
For a code with the scaling factor "100" and the data format U32 the value "123.45" is to
be transmitted.
Calculation:
Value to be transmitted = scaling factor x value
(1408 = basic identifier SDO1 from the controller)
Command= 0x60 = "Write Response" (acknowledgement of the write access from the controller)
Indexas in telegram to the drive
Subindex
70LEDS94AYCCA EN 5.0 - 06/2012
Page 71
9.3.3Reading block parameters
The firmware version (code C00099) is to be read from the parameter set of the
Task:
controller with node address "12". The firmware version has a length of 11 ASCII characters
and is transmitted as a block parameter. In each block, the data width from the 2nd to the
8th byte within the user data is occupied.
Influence of the end bit and the residual data length on the transmission command
• The end of transmission is reported by the set end bit 0.
• By means of bit 1 ... 3, the number of bytes which do not contain data anymore is announced.
* Toggle bit
Data 1 ... 7= "0.00" (ASCII representation)
The result of the data block transfer is: "01.00.00.00"
:
bin
(3 bytes do not contain any data)
bin
EDS94AYCCA EN 5.0 - 06/2012L73
Page 74
E94AYCCA communication manual (CANopen®)
107
107VO
Monitoring
Node guarding protocol
10Monitoring
10.1Node guarding protocol
In a CAN network, the node guarding protocol serves to monitor the connection between
the NMT master and the NMT slave(s). If the controller was parameterised as NMT master,
it can monitor up to 32 NMT slaves.
General procedure
1RGHOLIHWLPH *XDUGWLPH[/LIHWLPHIDFWRU
1RGHJXDUGLQJ
HYHQW
t: Toggle bit
s: NMT slave status (4: Stopped, 5: Operational, 127: Pre-Operational)
[10-1] Node guarding protocol
PDVWHU
UHTXHVWLQGLFDWLRQ
FRQILUPDWLRQUHVSRQVH
*XDUGWLPH
UHTXHVWLQGLFDWLRQ
FRQILUPDWLRQUHVSRQVH
575
W
W
V
575
V
(0(5*(1&<
DYH
LQGLFDWLRQFRQILUPDWLRQ
1RGHOLIHWLPH *XDUGWLPH[/LIHWLPHIDFWRU
/LIHJXDUGLQJ
HYHQW
1. The NMT master within cyclic time intervals sends a data telegram to the NMT slave,
which is referred to as "Remote Transmission Request" (RTR).
2. The NMT slave then returns a response telegram ("Response") to the NMT master.
74LEDS94AYCCA EN 5.0 - 06/2012
Page 75
10.1.1Telegram structure
RTR telegram
The RTR telegram from the NMT master has the following identifiers:
Identifier (COB-ID) = 1792 + node address of the NMT slave
The RTR telegram does not contain any user data.
The RTR bit in the arbitration field of the RTR telegram is set to the valency LOW
(dominant level).
Response telegram
The response telegram from the requested NMT slave has the same identifier as the
RTR telegram received by the NMT master.
The user data (1 byte) contains the NMT slave status and the toggle bit (see the
following description).
E94AYCCA communication manual (CANopen®)
Monitoring
Node guarding protocol
NMT slave state (s)
NMT slave statusData
Communication statusDecimal value
Stopped4 0/10000100
Operational5 0/10000101
Pre-operational127 0/11111111
(s)
(t)NMT slave state (s)
Bit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
Toggle bit (t)
The toggle bit (t) in the response telegram has the value "0" when the node guarding
protocol is activated for the first time.
The toggle bit (t) must change its value with each response.
Note!
The toggle bit is monitored by the NMT master.
If a telegram is received with a toggle bit value that has not changed compared
to the previously received telegram, it will be treated as if it were not received,
i.e. the monitoring time is not reset and elapses further.
The toggle bit can only be reset to the value "0" by the "Reset Communication"
telegram of the NMT master.
EDS94AYCCA EN 5.0 - 06/2012L75
Page 76
E94AYCCA communication manual (CANopen®)
Monitoring
Node guarding protocol
10.1.2Parameter setting
Short overview of parameters for the "Node Guarding" monitoring function:
ParameterInformationLenze settingAssignment
C13382 / C14382CAN guard time0 msz
C13383
C13386
C13387 / C14387CAN node guarding activity-z
C13388 / C14388CAN node guarding status-z
C13612 / C14612Resp. CAN node guarding errorNo responsez
C13614
C13625
Highlighted in grey = display parameter
/ C14383CAN
life time factor
/ C14386CAN node guarding0x00000000z
/ C14614Resp. CAN life guarding errorNo responsez
/ C14625CAN behaviour in the case of errorPre-operational statezz
Value UnitMasterSlave
0z
Guard time
The time interval with which the NMT master transmits the RTR telegram is the guard
time.
For each NMT slave to be monitored an individual time interval can be set.
The RTR telegram prompts the NMT slave to send its current status.
Node life time
The node life time is the product of the guard time and the life time factor:
node life time = guard time x life time factor
"Life time factor" and "Guard time" have to be known to the NMT master. For this, the
values from the NMT slave are read at each reboot, or defined values are sent to the
NMT slave at each reboot.
It is possible to select a different "node life time" for each NMT slave to be monitored.
OK status
The status of the connection is ok (OK status) if within the "Node life time"
the NMT slave has received an RTR telegram from the NMT master and
the NMT master has received a correct response from the requested NMT slave.
In the OK status the monitoring times for the NMT master and the NMT slave are reset and
the node guarding protocol is continued.
76LEDS94AYCCA EN 5.0 - 06/2012
Page 77
E94AYCCA communication manual (CANopen®)
Monitoring
Node guarding protocol
Life guarding event
The "life guarding event" is triggered in the NMT slave if the slave has not received an RTR
telegram from the NMT master within the node life time:
In the Lenze setting, the NMT slave changes from the "Operational" communication
status into the "Pre-Operational" communication status.
– C13625
An emergency telegram with the emergency error code 0x8130 is transmitted to the
NMT master.
/ C14625 or the I-1029 object can be used to set another status change.
The response parameterised in C13614
response").
/ C14614 is executed (Lenze setting: "No
Note!
The "Life Guarding Event" can only be triggered in the NMT slave if at least one
RTR telegram has been received successfully from the NMT master.
Node guarding event
The "node guarding event" is triggered in the NMT master if the master has not received
any response to its RTR telegram from the requested NMT slave within the node life time
or if the toggle bit in the response telegram has not changed within the node life time.
In the Lenze setting, the NMT master changes from the "Operational" communication
status into the "Pre-Operational" communication status.
– C13625
The response parameterised in C13612/1...32
setting: "No response"). For each monitored node, an individual NMT master response
can be set.
/ C14625 or the I-1029 object can be used to set another status change.
/ C14612/1...32 is executed (Lenze
Note!
The "Node Guarding Event" can only be triggered in the NMT master if at least
one response has been received successfully from the requested NMT slave.
EDS94AYCCA EN 5.0 - 06/2012L77
Page 78
E94AYCCA communication manual (CANopen®)
Monitoring
Node guarding protocol
10.1.3Commissioning example
Task
A Servo Drive 9400 configured as NMT master (node 1) is to monitor another Servo Drive
9400 (node 2).
The node guarding telegram is to be transmitted from the NMT master to the NMT
slave in intervals of 1 s:
– Guard time = 1000 ms
The node life time is to amount to 5 seconds:
– Node life time = guard time (1000 ms) x life time factor (5)
If an error occurs, an error response is to be activated both in the NMT master and the
NMT slave.
Parameter setting of the NMT master (node 1)
1. Set heartbeat producer time (C13381
monitoring (node guarding and heartbeat must not be used simultaneously on a
CANopen device).
2. Configure controller as NMT master: Set C13352
3. Set guard time (C13382
4. Set life time factor (C13383
5. Configure monitoring for node guarding in C13386
– The value to be entered into a free subcode (1 ... 32) is "0x050203E8".
It consists of the following:
Bit 31 ... bit 24
Life time factor
0x050x021000 [ms] = 0x03E8
6. Go to C13612/1...32
monitoring functions parameterised under C13386/1...32
response will be executed if a node guarding event occurs in the NMT master.
/ C14382) to 0 ms (slave parameter).
/ C14383) to 0 (slave parameter).
Bit23...bit16
Node address of slave
/ C14612/1...32 and set the respective response required for the
/ C14381) to 0 ms to deactivate the heartbeat
/ C14352 = "1: Master".
/ C14386.
Bit 15 ... bit 0
Guard time
/ C14386/1...32. This
Tip!
• C13387
parameterised under C13386/1...32
• C13388/1...32
monitored NMT slaves.
• C13625
in the case of a node guarding event.
/ C14387 displays the activity of each monitoring function
/ C14386/1...32 in a bit-coded manner.
/ C14388/1...32 display the node guarding status of the
/ C14625 serves to set which state change is to occur in the NMT master
78LEDS94AYCCA EN 5.0 - 06/2012
Page 79
E94AYCCA communication manual (CANopen®)
Monitoring
Node guarding protocol
Parameterise NMT slave (node 2)
1. Adapt the life time factor and guard time settings of the NMT slave to the settings
applied to the NMT master under C13386
– Set guard time (C13382
– Set life time factor (C13383
/ C14382) to 1000 ms.
/ C14383) to 5.
/ C14386:
2. Go to C13614
case of a life guarding event.
/ C14614 and set the response to be executed in the NMT slave in the
Tip!
C13625
the case of a life guarding event.
Node guarding telegrams
Remote Transmission Request:
The RTR telegram from the NMT master has the following identifiers:
Identifier (COB-ID) = 1792 + node address of slave = 1792 + 2 = 1794 = 0x702
Remote Transmission Response:
The response telegram from the NMT slave has the same identifier and the
"operational" NMT slave state in the user data (s = 5).
Telegram structure
/ C14625 serves to set which state change is to occur in the NMT slave in
( 75)
EDS94AYCCA EN 5.0 - 06/2012L79
Page 80
E94AYCCA communication manual (CANopen®)
+
+
Monitoring
Heartbeat protocol
10.2Heartbeat protocol
The heartbeat protocol can be used as an alternative to the node guarding protocol for
monitoring nodes within a CAN network. Unlike node guarding, this monitoring does not
require a polling by means of an RTR telegram (Remote Transmission Request) from the
NMT master.
Note!
Heartbeat and node guarding protocols must not be used simultaneously on a
CANopen device. If the heartbeat producer time is set > 0 ms, the heartbeat
protocol is used.
General procedure
HDUWEHDWSURGXFHU
UHTXHVWLQGLFDWLRQ
UHTXHVWLQGLFDWLRQ
+HDUWEHDWSURGXFHUWLPH
U
U
V
V
(0(5*(1&<
HDUWEHDWFRQVXPHUV
LQGLFDWLRQ
LQGLFDWLRQ
LQGLFDWLRQ
LQGLFDWLRQ
LQGLFDWLRQ
+HDUWEHDW
HYHQW
WLPH
+HDUWEHDWFRQVXPHU
WLPH
+HDUWEHDWFRQVXPHU
107PDVWHU
r: reserved (always 0)
s: status of the producer (0: Boot-up, 4: Stopped, 5: Operational, 127: Pre-Operational)
[10-2] Heartbeat protocol
1. A heartbeat producer cyclically sends a heartbeat telegram to one or several heartbeat
consumers.
2. One or several consumers monitor the regular arrival of the heartbeat telegram.
80LEDS94AYCCA EN 5.0 - 06/2012
Page 81
10.2.1Telegram structure
The heartbeat telegram from the producer has the following identifier:
Identifier (COB-ID) = 1792 + node address of the producer
The user data (1 byte) contain the status (s) of the producer:
Heartbeat producer statusData
Communication statusDecimal value
Boot-up000000000
Stopped400000100
Operational500000101
Pre-operational127 01111111
10.2.2Parameter setting
E94AYCCA communication manual (CANopen®)
Heartbeat protocol
(s)
(r)Producer status (s)
Bit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
Monitoring
Short overview of the parameters for the "Heartbeat" monitoring function:
ParameterInformationLenze settingAssignment
Value UnitConsumerProducer
C13346 / C14346CAN heartbeat activity-z
C13347 / C14347CAN heartbeat status-z
C13381 / C14381CAN heartbeat producer time0 msz
C13385
C13613
C13625
Highlighted in grey = display parameter
/ C14385CAN heartbeat consumer time0x00000000z
/ C14613Resp. to CAN heartbeat errorNo responsez
/ C14625CAN behaviour in the case of errorPre-operational statezz
Heartbeat producer time
Time interval for the transmission of the heartbeat telegram to one or several consumers.
Can be parameterised in C13381
/ C14381 or via the I-1017 object. The parameterised
time is rounded down to an integer multiple of 5 ms.
The heartbeat telegram is automatically transmitted as soon as a time > 0 ms is set.
Note!
Heartbeat and node guarding protocols must not be used simultaneously on a
CANopen device. If the heartbeat producer time is set > 0 ms, the heartbeat
protocol is used.
EDS94AYCCA EN 5.0 - 06/2012L81
Page 82
E94AYCCA communication manual (CANopen®)
Monitoring
Heartbeat protocol
Heartbeat consumer time
Monitoring time for the node (producer) to be monitored.
Can be parameterised in C13385/1...32
The parameterised time is rounded down to an integer multiple of 5 ms and must have
a higher value than the heartbeat producer time of the node to be monitored.
A consumer can monitor up to 32 producers.
Heartbeat event
The "heartbeat event" is triggered in the consumer if the consumer has not received a
heartbeat telegram from the producer within the heartbeat consumer time:
In the Lenze setting, the consumer changes from the "Operational" communication
status into the "Pre-Operational" communication status.
– C13625
An emergency telegram with the emergency error code 0x8130 is transmitted to the
NMT master.
The response parameterised for the respective producer under C13613/1...32
C14613/1...32
/ C14625 or the I-1029 object can be used to set another status change.
is executed (Lenze setting: "No response").
/ C14385/1...32 or via the I-1016 object.
/
Note!
The heartbeat monitoring starts when the first heartbeat telegram of a
monitored producer has been successfully received and the "pre-operational"
NMT status has been assumed.
The boot-up telegram counts as the first heartbeat telegram!
82LEDS94AYCCA EN 5.0 - 06/2012
Page 83
10.2.3Commissioning example
Task
A Servo Drive 9400 configured as heartbeat consumer (node 2) is to monitor another Servo
Drive 9400 (heartbeat producer; node 1).
The heartbeat producer is to transmit every 10 seconds a heartbeat telegram to the
heartbeat consumer.
The heartbeat consumer monitors the arrival of the heartbeat telegram. In case of an
error, a response is to take place.
Parameter setting of the heartbeat producer (node 1)
E94AYCCA communication manual (CANopen®)
Monitoring
Heartbeat protocol
1. Set heartbeat producer time (C13381
/ C14381) to 10 ms.
Parameter setting of the heartbeat consumer (node 2)
1. Configure heartbeat monitoring in C13385
/ C14385.
– Note: The heartbeat consumer time must be higher than the heartbeat producer
time set in C13381
/ C14381 for the node to be monitored.
– The value to be entered into a free subcode (1 ... 32) is "0x0001000F". It consists of
the following:
Bit 31 ... bit 24
Reserved
0x000x0115 [ms] = 0x000F
2. Go to C13613/1...32
monitoring functions parameterised under C13385/1...32
Bit23...bit16
Node address
of the producer
Bit 15 ... bit 0
Heartbeat consumer time
(integer multiple of 5 ms)
/ C14613/1...32 and set the respective response required for the
/ C14385/1...32. This
response will be executed if a heartbeat event occurs in the consumer.
Tip!
• C13346
parameterised under C13385/1...32
• C13347/1...32
nodes.
• C13625
heartbeat event.
/ C14346 displays the activity of each monitoring function
/ C14385/1...32 in a bit-coded manner.
/ C14347/1...32 display the heartbeat state of the monitored
/ C14625 serves to set which state change is to occur in the case of a
Heartbeat telegram
The heartbeat telegram from the producer has the following identifier:
If the error status changes due to the occurrence or elimination of an internal device error,
an emergency telegram with the following structure is sent once to the NMT master:
See table below • With emergency error code "0x1000: Lenze error number"
Emergency error codeError registerCause
0x00000xxxOne of several errors eliminated
0x00Single error eliminated (no more errors)
0x10000x01Generic error
0x31000x01Supply voltage of standard device faulty or failed
0x81000x11Communication error (warning)
0x81300x11Life guarding error or heartbeat error
0x81500x11Collision of identifiers (COB-IDs): An identifier parameterised for
0x82100x11PDO length is shorter than the expected PDO length
0x82200x11PDO length is longer than the expected PDO length
0x87000x11Sync telegram monitoring
0x00
(reserved)
(value displayed in C00168)
• With all other emergency error codes, the value "0" is entered
here.
• In the standard device, an error has occurred with the error
response "Fault", "Trouble", "Quick stop by trouble", "Warning",
"Warning locked" or "System fault".
• Error message is the Lenze error number (C00168).
breakage".
Corresponding "error-free" message: value
"0x00000000"
Tip!
A detailed description can be gathered from the CANopen specification DS301,
V4.02.
84LEDS94AYCCA EN 5.0 - 06/2012
Page 85
10.4Settings in the »Engineer«
E94AYCCA communication manual (CANopen®)
Monitoring
Settings in the »Engineer«
Go to the Monitoring tab to ...
set the response for the CAN node changing to the "bus OFF" state (C13959
C14595
set the monitoring time for RPDOx (C13357/1...4
– If a different value than "0" is entered, the RPDO is expected after the time set has
– If the RPDO is not received within the monitoring time, an error response
).
elapsed.
parameterised under C13591/1...4
/ C14357/1...4).
/ C14591/1...4 is initiated.
/
EDS94AYCCA EN 5.0 - 06/2012L85
Page 86
E94AYCCA communication manual (CANopen®)
Diagnostics
LED status displays
11Diagnostics
11.1LED status displays
Status displays MS and DE
LEDsStatusDescription
MS (green) onThe communication module is supplied with voltage.
DE (red) onThe communication module is not accepted by the standard
device (see notes in the documentation for the standard device).
E94YCCA001E
86LEDS94AYCCA EN 5.0 - 06/2012
Page 87
E94AYCCA communication manual (CANopen®)
Diagnostics
LED status displays
Status displays BS and BE (connection status to the system bus (CANopen))
LEDsDescription
BS
(green)
BE
(red)
E94YCCA001D
LED status displayMeaning
BS (green)BE (red)CANopen statusCANopen error
BE lit only-Bus off
CANopen status
CANopen error
BS and BE flickeringAutomatic detection of the baud rate is active.
BS blinking every 0.2 s | BE is offPre-operational-
BS blinking every 0.2 s | BE blinking once, 1 s offWarning limit reached
BS blinking every 0.2 s | BE blinking twice, 1 s offNode guard event
BS lit onlyOperational-
BS lit | BE blinking once, 1 s offWarning limit reached
BS lit | BE blinking twice, 1 s offNode guard event
BS lit | BE blinking three times, 1 s offSync message error
BS blinking every 1 s | BE is offStopped-
BS blinking every 1 s | BE blinking once, 1 s offWarning limit reached
BS blinking every 1 s | BE blinking twice, 1 s offNode guard event
EDS94AYCCA EN 5.0 - 06/2012L87
Page 88
E94AYCCA communication manual (CANopen®)
Diagnostics
Diagnostics with the »Engineer«
11.2Diagnostics with the »Engineer«
In the »Engineer«, diagnostic information for CAN is provided on the Diagnostics tab.
LS_SyncInput system block
In the »FB Editor«, the LS_SyncInput system block provides status information for the
received sync telegram.
LS_SyncInput
SYNC_wSyncCycleTime
SYNC_wSource
SYNCSYNC
SYNC_nSyncDeviation
SYNC_bSyncInsideWindow
SYNC_bSyncSignalReceived
SYNC_bProcessDataExpected
SYNC_bProcessDataInvalid
Software manual/»Engineer« online help for Servo Drive 9400
Here you can find detailed information on the LS_SyncInput system block.
88LEDS94AYCCA EN 5.0 - 06/2012
Page 89
E94AYCCA communication manual (CANopen®)
Short overview of the CANopen error messages
12Error messages
This chapter supplements the error list in the software manual and the »Engineer« online
help for the Servo Drive 9400 with the error messages of the communication module.
Software manual/»Engineer« online help for Servo Drive 9400
Here you can find general information on diagnostics & fault analysis and on
error messages.
12.1Short overview of the CANopen error messages
The following table lists all error messages of the communication module in the numerical
order of the error numbers. In addition, the preset error response and – where available –
the parameter for setting the error response are indicated.
Error messages
Tip!
When you click the cross-reference in the first column, you will get a detailed
description (causes and remedies) of the corresponding error message.
Error numberDesignationResponse
hexdec
0x008c0017
0x008c0018
0x009d0000
0x009d000110289153 CAN module (MXI1): invalid node address 0Warning-
0x009d0002
0x009e0000
0x009e002010354720 CAN module (MXI1): life guarding errorNo responseC13614
0x009e002110354721 CAN module (MXI1): NMT slave configuration incompleteWarning locked-
0x009f0000
0x00a00000
0x00a0002010485792 CAN module (MXI1): NMT master configuration incompleteWarning locked-
0x00a10000
0x00a1000110551297 CAN module (MXI1) RPDO2: telegram n. received or faultyNo responseC13591/2
0x00a1000210551298 CAN module (MXI1) RPDO3: telegram n. received or faultyNo responseC13591/3
0x00a1000310551299 CAN module (MXI1) RPDO4: telegram n. received or faultyNo responseC13591/4
0x00a1000410551300 CAN module (MXI1) RPDO5: telegram n. received or faultyNo responseC13591/5
0x00a1000510551301 CAN module (MXI1) RPDO6: telegram n. received or faultyNo responseC13591/6
0x00a1000610551302 CAN module (MXI1) RPDO7: telegram n. received or faultyNo responseC13591/7
0x00a1000710551303 CAN module (MXI1) RPDO8: telegram n. received or faultyNo responseC13591/8
0x00a1000810551304 CAN module (MXI1) PDO manager: configuration incompleteWarning locked-
0x00a20000
0x00a30000
0x00ac0000
0x00ac000111272193 CAN module (MXI2): invalid node address 0Warning-
0x00ac0002
9175063 MXI1: CAN module is missing or is incompatibleFault-
9175064 MXI2: CAN module is missing or is incompatibleFault-
10289152 CAN module (MXI1): bus-offInformationC13595
10289154 CAN module (MXI1): basic configuration invalidWarning locked-
10354688 CAN module (MXI1): heartbeat error index 1 ... 32No responseC13613/1...32
10420224 CAN module (MXI1): emergency configuration incompleteWarning locked-
10551296 CAN module (MXI1) RPDO1: telegram n. received or faultyNo responseC13591/1
10616832 CAN module (MXI1) SDO server: configuration incompleteWarning locked-
10682368 CAN module (MXI1) SDO client: configuration incompleteWarning locked-
11272192 CAN module (MXI2): bus-offInformationC14595
11272194 CAN module (MXI2): basic configuration invalidWarning locked-
(Lenze setting)
Can be set in
EDS94AYCCA EN 5.0 - 06/2012L89
Page 90
E94AYCCA communication manual (CANopen®)
Error messages
Short overview of the CANopen error messages
Error numberDesignationResponse
hexdec
0x00ad0000
...
0x00ad001F
0x00ad002011337760 CAN module (MXI2): life guarding errorNo responseC14614
0x00ad002111337761 CAN module (MXI2): NMT slave configuration incompleteWarning locked-
0x00ae0000
0x00af0000
...
0x00af001f
0x00af002011468832 CAN module (MXI2): NMT master configuration incompleteWarning locked-
0x00b00000
0x00b0000111534337 CAN module (MXI2) RPDO2: telegram n. received or faultyNo responseC14591/2
0x00b0000211534338 CAN module (MXI2) RPDO3: telegram n. received or faultyNo responseC14591/3
0x00b0000311534339 CAN module (MXI2) RPDO4: telegram n. received or faultyNo responseC14591/4
0x00b0000411534340 CAN module (MXI2) RPDO5: telegram n. received or faultyNo responseC14591/5
0x00b0000511534341 CAN module (MXI2) RPDO6: telegram n. received or faultyNo responseC14591/6
0x00b0000611534342 CAN module (MXI2) RPDO7: telegram n. received or faultyNo responseC14591/7
0x00b0000711534343 CAN module (MXI2) RPDO8: telegram n. received or faultyNo responseC14591/8
0x00b0000811534344 CAN module (MXI2) PDO manager: configuration incompleteWarning locked-
0x00b10000
0x00b20000
11337728
11337759
11403264 CAN module (MXI2): emergency configuration incompleteWarning locked-
11468800
11468831
11534336 CAN module (MXI2) RPDO1: telegram n. received or faultyNo responseC14591/1
11599872 CAN module (MXI2) SDO server: configuration incompleteWarning locked-
11665408 CAN module (MXI2) SDO client: configuration incompleteWarning locked-
CAN module (MXI2): heartbeat error index 1 ... 32No responseC14613/1...32
...
CAN module (MXI2): node guarding error 1 ... 32No responseC14612/1...32
...
(Lenze setting)
Can be set in
90LEDS94AYCCA EN 5.0 - 06/2012
Page 91
12.2Possible causes and remedies
This chapter includes a list of all error messages of the communication module in
numerically ascending order of the error number. Possible causes and remedies as well as
responses to error messages are described in detail.
E94AYCCA communication manual (CANopen®)
Error messages
Possible causes and remedies
Short overview of the CANopen error messages
MXI1: CAN module is missing or is incompatible [0x008c0017]
Response (Lenze setting printed in bold)Setting: not possible
None System fault : Fault Trouble Quick stop by trouble Warning locked Warning Information
CauseRemedy
The CANopen communication module in module slot
MXI1 is incompatible with the application.
MXI2: CAN module is missing or is incompatible [0x008c0018]
Response (Lenze setting printed in bold)Setting: not possible
None System fault : Fault Trouble Quick stop by trouble Warning locked Warning Information
CauseRemedy
The CANopen communication module in module slot
MXI2 is incompatible with the application.
CAN module (MXI1): bus-off [0x009d0000]
Response (Lenze setting printed in bold)Setting: C13595 (; Adjustable response)
; None System fault ; Fault ; Trouble ; Quick stop by trouble ; Warning locked ; Warning : Information
( 89)
Use a communication module supported by the
application.
Use a communication module supported by the
application.
CauseRemedy
CANopen communication module in MXI1: "bus-off"
status
• Cable defect (e. g. loose contact)
• Too many faulty telegrams received.
• Two CAN nodes have the same node address.
CAN module (MXI1): invalid node address 0 [0x009d0001]
Response (Lenze setting printed in bold)Setting: not possible
None System fault Fault Trouble Quick stop by trouble Warning locked : Warning Information
CauseRemedy
CANopen communication module in MXI1: initialisation
error
• The hardware allocation of the node address was
selected via DIP switches and the DIP switches of the
node address are all set to "0".
• Instead of the impermissible node address 0, node
address 1 is used.
• Eliminate fault in the ambience (e. g. EMC).
• Eliminate loose contact, tighten adapter.
• Assign different node addresses.
Setting the node address
• Set a different node address than "0" and carry out
mains switching.
Setting the node address
( 33)
( 33)
EDS94AYCCA EN 5.0 - 06/2012L91
Page 92
E94AYCCA communication manual (CANopen®)
Error messages
Possible causes and remedies
CAN module (MXI1): basic configuration invalid [0x009d0002]
Response (Lenze setting printed in bold)Setting: not possible
None System fault Fault Trouble Quick stop by trouble : Warning locked Warning Information
CauseRemedy
CANopen communication module in MXI1:
configuration error
• Faulty download of an »Engineer« or »PLC Designer«
project.
• Invalid CAN settings according to DS301, V4.02
carried out in the »Engineer« or »PLC Designer«
project.
CAN module (MXI1): heartbeat error index 1 ... 32 [0x009e0000 ... 0x009e001f]
Response (Lenze setting printed in bold)Setting: C13613/1...32 (; Adjustable response)
: None System fault ; Fault ; Trouble ; Quick stop by trouble ; Warning locked ; Warning ; Information
CauseRemedy
CANopen communication module in MXI1: cyclic node
monitoring
• The CAN node has not received a heartbeat telegram
from node 1 ... 32 within the time defined.
• Repeat download
• Correct CAN settings in the project and have project
regenerated.
• Reactivate CAN node by mains switching, restart of
the controller (C00002 = 11000) or "Reset node"
(C00002 = 92).
• Parameterise heartbeat producer monitoring time
again or switch off monitoring.
• Reset possibly active error status.
Tip: Before switching the mains and restarting the
controller, save the current parameter set (C00002 = 11).
Heartbeat protocol
( 80)
CAN module (MXI1): life guarding error [0x009e0020]
Response (Lenze setting printed in bold)Setting: C13614 (; Adjustable response)
: None System fault ; Fault ; Trouble ; Quick stop by trouble ; Warning locked ; Warning ; Information
CauseRemedy
CANopen communication module in MXI1: cyclic node
monitoring
• Slave response: The maximum time between two
node guarding telegrams (RTR) from the master has
been exceeded.
CAN module (MXI1): NMT slave configuration faulty [0x009e0021]
Response (Lenze setting printed in bold)Setting: not possible
None System fault Fault Trouble Quick stop by trouble : Warning locked Warning Information
CauseRemedy
CANopen communication module in MXI1: on the CAN
slave a configuration error has occurred in the network
management.
• Faulty download of an »Engineer« or »PLC Designer«
project.
• Invalid CAN settings according to DS301, V4.02
carried out in the »Engineer« or »PLC Designer«
project.
• Node guarding or heartbeat parameterised
incorrectly.
Parameterise life guarding monitoring time again or
switch it off.
Node guarding protocol
• Repeat download
• Correct CAN settings in the project and have project
regenerated.
( 74)
92LEDS94AYCCA EN 5.0 - 06/2012
Page 93
E94AYCCA communication manual (CANopen®)
CAN module (MXI1): emergency configuration faulty [0x009f0000]
Response (Lenze setting printed in bold)Setting: not possible
None System fault Fault Trouble Quick stop by trouble : Warning locked Warning Information
CauseRemedy
CANopen communication module in MXI1: CAN
emergency configuration is faulty.
• Faulty download of an »Engineer« or »PLC Designer«
project.
• Invalid CAN settings according to DS301, V4.02
carried out in the »Engineer« or »PLC Designer«
project.