This documentation exclusively describes the system bus (CAN) and the CANopen-specific
functions of the Inverter Drive 8400 motec.
Note!
This documentation supplements the mounting instructions and the hardware
manual "Inverter Drives 8400 motec" supplied with the controller.
The features of the system bus (CAN) and CANopen-specific functions for the Inverter Drive
8400 motec are described in detail.
Typical applications are explained with the help of examples.
This documentation also contains ...
the most important technical data for CAN communication;
information on the installation and commissioning of the CAN network;
information on CAN data transfer, CAN monitoring functions, communication-relevant
parameters and implemented CAN objects.
The theoretical concepts are only explained to the level of detail required to understand
the function of CAN communication with Inverter Drives 8400 motec.
Depending on the software version of the controller and of the »Engineer« software
installed, the screenshots in this documentation may vary from the »Engineer«
representation.
This documentation does not describe the software of other manufacturers. No
responsibility is taken for corresponding information given in this documentation.
Information on how to use the software can be obtained from the documents of the host
(master).
All brand names used in this documentation are trademarks of their respective owners.
Tip!
Detailed information about the system bus (CAN) can be found on the website of
the CAN user organisation CiA (CAN in Automation):
www.can-cia.org
6LEDS84DMOTCAN EN 3.0 - 11/2011
Page 7
Communication manual 8400 motec CANopen
About this documentation
Target group
This documentation is intended for all persons who plan, install, commission and maintain
the networking and remote service of a machine.
Tip!
Information and software updates for Lenze products can be found in the
Download area at:
www.Lenze.com
Information regarding the validity
The information given in this documentation is valid for the following devices:
Product seriesType designationVariant
Inverter Drives 8400 motec
CANopen communication unit
Product features and variants
E84DGFCCxNxCANopen
E84DGFCCxJxCANopen + safety
( 15)
EDS84DMOTCAN EN 3.0 - 11/2011L7
Page 8
Communication manual 8400 motec CANopen
About this documentation
Document history
1.1Document history
VersionDescription
1.009/2010TD17First edition
2.001/2011TD17Update of the ...
• Parameters for CANopen communication
• »Engineer« screenshots
3.011/2011TD17General 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
Thank you for your support.
( 76) (version 02.00)
Your Lenze documentation team
8LEDS84DMOTCAN EN 3.0 - 11/2011
Page 9
1.2Conventions used
This manual uses the following conventions to distinguish between different types of
information:
Type of informationWritingExamples/notes
Numbers
DecimalStandard notationExample: 1234
Hexadecimal0x[0 ... 9, A ... F]Example: 0x60F4
Binary
• Nibble
Decimal separatorPointThe decimal point is always used.
Text
Program name» «PC software
Control elementBoldThe OK button... / The Copy command... / The
HyperlinkUnderlined
Symbols
Page reference ( 9)Optically highlighted reference to another page. Can
Step-by-step instructions
Communication manual 8400 motec CANopen
About this documentation
Conventions used
In inverted commas
Point
Example: ’100’
Example: ’0110.0100’
Example: 1234.56
Example: Lenze »Engineer«
Properties tab... / The Name input field...
Optically highlighted reference to another topic. Can
be activated with a mouse-click in this
documentation.
be activated with a mouse-click in this
documentation.
Step-by-step instructions are indicated by a
pictograph.
EDS84DMOTCAN EN 3.0 - 11/2011L9
Page 10
Communication manual 8400 motec CANopen
About this documentation
Terminology used
1.3Terminology used
TermMeaning
ControllerLenze frequency inverter of the "Inverter Drives 8400 motec" product series
Standard device
The 8400 motec controller consists of the following modules: "drive unit",
"communication unit", and "wiring unit".
• The drive unit is available in various power classes.
• The communication unit is available in the following versions:
–No fieldbus
–AS-i option
–CANopen option
–PROFIBUS option
–PROFINET option
–EtherCAT option
• The wiring unit provides flexible connection options for an easy integration
into the power supply of the machine.
diagnosing, and configuring) during the entire life cycle, i.e. from planning to
maintenance of the commissioned machine.
usage, the term is usually referred to as "Index".
"subcodes".
In this documentation a slash "/" is used as a separator between the code and
subcode (e.g. "C00118/3").
In normal usage, the term is also referred to as "Subindex".
Drive unit
Communication unit
Wiring unit
»Engineer«PC software from Lenze which supports you in "engineering" (parameter setting,
CodeParameter which serves to parameterise and monitor the controller. In normal
SubcodeIf a code contains more than one parameter, these parameters are stored in
Lenze settingThese are settings with which the device is preconfigured ex works.
Basic setting
HWHardware
SWSoftware
Note!
Some of the terms used originate from the CANopen protocol.
10LEDS84DMOTCAN EN 3.0 - 11/2011
Page 11
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!
(characterise the type and severity of danger)
Note
(describes the danger and suggests how to avoid the danger)
PictographSignal wordMeaning
Communication manual 8400 motec CANopen
About this documentation
Danger!Danger of personal injury through dangerous electrical voltage
Reference to an imminent danger that may result in death or serious
personal injury if the corresponding measures are not taken.
Danger!Danger of personal injury through a general source of danger
Reference to an imminent danger that may result in death or serious
personal injury if the corresponding measures are not taken.
Stop!Danger of property damage
Reference to a possible danger that may result in property damage if the
corresponding measures are not taken.
Notes used
Application notes
PictographSignal wordMeaning
Note!Important note for trouble-free operation
Tip!Useful tip for simple handling
Reference to other documents
EDS84DMOTCAN EN 3.0 - 11/2011L11
Page 12
Communication manual 8400 motec CANopen
Safety instructions
General safety and application instructions
2Safety instructions
Note!
Always observe the specified safety measures to avoid severe injury to persons
and damage to property!
Always keep this documentation to hand in the vicinity of the product during
operation.
2.1General safety and application instructions
Danger!
Disregarding the following basic safety measures may lead to severe personal
injury and damage to material assets.
Lenze drive and automation components ...
– must only be used as directed.
Application as directed
– must never be commissioned in the event of visible damage.
– must never be technically modified.
– must never be commissioned before they have been completely mounted.
– must never be operated without the covers required.
– can - depending on the degree of protection - have live, movable or rotating parts
during operation and after operation. Surfaces can be hot.
For Lenze drive components ...
– use only the accessories approved.
– use only original spare parts from the manufacturer.
Observe all specifications given in the attached and associated documentation.
– This is the precondition for safe and trouble-free operation and for achieving the
specified product features.
Product features and variants
– The procedural notes and circuit details described in this document are only
proposals. It is up to the user to check whether they can be adapted to the particular
applications. Lenze does not take any responsibility for the suitability of the
procedures and circuit proposals described.
( 14)
( 15)
12LEDS84DMOTCAN EN 3.0 - 11/2011
Page 13
Communication manual 8400 motec CANopen
Device and application-specific safety instructions
Only qualified personnel may work with and on Lenze drive and automation
components. In accordance with IEC 60364 and CENELEC, these are persons ...
– who are familiar with the installation, assembly, commissioning, and operation of
the product.
– who have the corresponding qualifications for their work.
– who know all regulations for the prevention of accidents, directives and laws
applicable on site and are able to apply them.
2.2Device and application-specific safety instructions
During operation, the communication unit must be connected to the wiring unit and
the drive unit.
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 correspond to the given specifications.
Specification of the bus cable
( 26)
Safety instructions
Documentation of "Inverter Drives 8400 motec", control system, plant/machine
All other measures prescribed in this documentation must also be implemented.
Observe the safety instructions and application notes specified in the
documentation.
2.3Residual hazards
Device protection
The communication unit contains electronic components that can be damaged or
destroyed by electrostatic discharge.
Installation
( 22)
EDS84DMOTCAN EN 3.0 - 11/2011L13
Page 14
Communication manual 8400 motec CANopen
Product description
Application as directed
3Product description
3.1Application as directed
The CANopen communication unit ...
is a unit that can only be used in conjunction with the following modules:
Product seriesType designation
Inverter Drives 8400 motec
Drive unit
Inverter Drives 8400 motec
Wiring unit
is a device intended for use in industrial power systems.
may only be operated under the operating conditions specified in this documentation.
E84DGDVxxxxxxxx
E84DGVNxx
may only be used in CANopen networks.
can also be used without being connected to the CANopen network.
Any other use shall be deemed inappropriate!
14LEDS84DMOTCAN EN 3.0 - 11/2011
Page 15
3.2Product features and variants
The CANopen communication unit is available in the following versions:
Product seriesType designationFeatures
Inverter Drives 8400 motec
CANopen communication unit
The CANopen communication unit ...
– is mounted on the wiring unit (E84DGVNxx);
– is exclusively supplied internally by the drive unit (E84DGDVxxxxxxxx).
Communication manual 8400 motec CANopen
Product description
Product features and variants
Enclosure
IP 65
CANopen
M12
I/O: Terminal
E84DGFCCANPzzz
E84DGFCC9NPzzz
E84DGFCCAJPzzzz
E84DGFCC9JPzzzz
I/O: M12
Safety
The I/O connections can be led into the device via M12 connectors or by means of cable
glands.
In the E84DGFCC9xx version, a maximum of four digital inputs is conducted on M12
connectors (see "Inverter Drives 8400 motec" hardware manual).
Devices without an integrated safety system (safety option) have no analog input and
no relay output.
In the case of the E84DGFCCxJx communication units, the integrated safety system can
be used for the protection of persons on machines.
Setting of the CAN node address and baud rate is possible via DIP switch or code.
Communication with the Lenze »Engineer« (access to all Lenze parameters) is
preferably carried out via the CAN bus. Furthermore communication can be effected via
the diagnostic interface of the drive unit.
"Inverter Drives 8400 motec" hardware manual
Here you'll find detailed information on the integrated safety system (safety
option).
Software manual / »Engineer« online help "Inverter Drives 8400 motec"
Here you will find detailed information on how to configure the safety system
(safety option).
EDS84DMOTCAN EN 3.0 - 11/2011L15
Page 16
Communication manual 8400 motec CANopen
Product description
Product features and variants
The system bus (CANopen) of the Inverter Drives 8400 motec is the advanced version of the
system bus (CAN) and includes the following features:
Full compatibility according to CANopen DS301, V4.02.
Support of the "Heartbeat" NMT slave function (DS301, V4.02).
Number of parameterisable server SDO channels:
– Max. 2 channels with 1 ... 8 bytes
– Because of the 2 server SDO channels, the address range from 1 ... 63 is available.
Monitoring protocolsHeartbeat (heartbeat producer and heartbeat consumer)
• 1 Heartbeat Producer can be monitored.
Emergency telegram (to master)
20LEDS84DMOTCAN EN 3.0 - 11/2011
Page 21
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 a CANopen network depend on ...
the processing time in the controller;
the telegram runtime (baud rate / telegram length);
the nesting depth of the network.
Processing time in the controller
DataProcessing time
Process dataApprox. 2 ms
Parameter data Approx. 30 ms + 20 ms tolerance (typical)
Communication manual 8400 motec CANopen
Technical data
Communication time
update cycle
+ 0 ... 1 ms
+ 1 ... x ms
• For some codes, the processing time may be longer (see software
manual/»Engineer« online help "Inverter Drives 8400 motec").
processing time in the module
application task runtime of the technology application used
(tolerance)
There are no interdependencies between parameter data and process data.
EDS84DMOTCAN EN 3.0 - 11/2011L21
Page 22
Communication manual 8400 motec CANopen
Installation
5Installation
Stop!
Electrostatic discharge
Electronic components within the communication unit can be damaged or
destroyed by electrostatic discharge.
Possible consequences:
• The communication unit is defective.
• Communication via the fieldbus is not possible or faulty.
• I/O signals are faulty.
• The safety function is faulty.
Protective measures
• Discharge electrostatic charges before touching the communication unit.
22LEDS84DMOTCAN EN 3.0 - 11/2011
Page 23
5.1Mechanical installation
Mounting instructions for "Inverter Drives 8400 motec"
Here you will find detailed information on the installation.
0.37 ... 3.0 kW4.0 ... 7.5 kW
Communication manual 8400 motec CANopen
Installation
Mechanical installation
[5-1]Mechanical installation of the 8400 motec components
Legend for Fig. [5-1]
1Drive unit
2Communication unit
3Wiring unit
ACover of the drive unit
EDK84DG...Mounting instructions for the drive unit, communication unit, wiring unit
E84DG023a
E84DG023b
EDS84DMOTCAN EN 3.0 - 11/2011L23
Page 24
Communication manual 8400 motec CANopen
Installation
Electrical installation
5.2Electrical installation
"Inverter Drives 8400 motec" hardware manual
Here you'll find detailed information on ...
• the digital and analog inputs and outputs;
• the relay output;
• the integrated safety system (safety option);
• the wiring of the connections.
Observe the notes and wiring instructions given in the documentation.
5.2.1Network topology
The following examples show two simple CAN networks.
Each segment of the network must be terminated at both ends by resistors (120 Ω)
between CAN-Low and CAN-High. The bus terminators of the system bus (CAN) are marked
with a "Z" in the following examples.
A CAN network consisting of only one segment starts with the CAN master (M) with
integrated bus termination, whereas the last CAN node (S) has to be terminated by a bus
terminating resistor.
Bus termination
( 25)
M
Z
Z
SSS
1
[5-2]CAN network with one segment
E94YCPM012a
24LEDS84DMOTCAN EN 3.0 - 11/2011
Page 25
Communication manual 8400 motec CANopen
Installation
Electrical installation
A CAN network consisting of several segments contains repeaters (R) for connecting the
segments. The repeaters are provided with integrated bus terminations.
Consider the use of repeaters
( 28)
M
Z
Z
Z
R
Z
Z
R
Z
[5-3]CAN network with repeaters
If no repeater is to be used at the end of the segment, the bus must be terminated by a bus
terminating resistor at the last node (S). The bus termination is supplied by the node itself.
5.2.2Bus termination
The system bus (CANopen) must be terminated through a bus terminating resistor at the
first and last physical node (120 Ω).
In the case of the communication unit, the bus terminating resistor can only be installed
externally at the M12 connector. This has the advantage that the presence of the resistor
can be identified on the closed device.
Note!
• The CANopen terminals (input and output) must be installed so that they are
closed. For this purpose either use a connecting cable, a closed terminating
resistor plug (M12 pins, 5-pole, A-coded), or a cap.
• The connecting cable and terminating resistor plug can be procured freely
from various cable manufacturers (e.g. Lapp or Turck).
• If you want to disconnect individual nodes, ensure that the bus terminations
at the cable ends remain active. Otherwise the bus may become instable.
• Observe that the bus terminator is no longer active when the terminating
resistor plug has been removed.
SSS
SS
123
E94YCPM012b
EDS84DMOTCAN EN 3.0 - 11/2011L25
Page 26
Communication manual 8400 motec CANopen
Installation
Electrical installation
5.2.3Specification of the bus cable
We recommend the use of CAN cables in accordance with ISO 11898-2:
CAN cable in accordance with ISO 11898-2
Cable typePaired with shielding
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)
Observe the notes provided on the Bus cable length
5.2.4Bus cable length
Note!
• It is absolutely necessary to comply with the permissible cable lengths.
• Please take into account the reduction of the total cable length due to the
• Mixed operation refers to different nodes being connected to the same
Total cable length
• If the total cable lengths of the nodes are different at the same baud rate, the
1. Check that the total cable length is not exceeded.
The total cable length is determined by the baud rate.
( 26)!
signal delay of the repeater.
Consider the use of repeaters
( 28)
network.
smaller value must be used to determine the maximum cable length.
Baud rate [kbps]Max. bus length [m]
204013
501575
125600
250275
500113
80038
100013
[5-1]Total cable length
26LEDS84DMOTCAN EN 3.0 - 11/2011
Page 27
Communication manual 8400 motec CANopen
Segment cable length
2. Check that the segment cable length is not exceeded
The segment cable length is determined by the number of nodes and the cable
cross-section used. Without a repeater, the segment cable length corresponds to
the total cable length.
Installation
Electrical installation
Maximum 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
[5-2]Segment cable length
3. Compare both values.
If the value determined from the Segment cable length
the required total cable length Total cable length
Repeaters divide the total cable length into segments.
Selection example
Given
• Cable cross-section:0.5 mm
• Number of nodes:63
• Repeater:Lenze repeater, type 2176 (cable reduction: 30 m)
Cable cross-section
0.25 mm
2
0.5 mm
2
0.75 mm
2
1 mm
[5-2] table is smaller than
[5-1], repeaters must be used.
2
, according to Specification of the bus cable ( 26)
2
Based on the given specifications, the following cable lengths/number of repeaters result
for a maximum of 63 nodes:
Baud rate [kbps]20501252505008001000
Max. cable length [m]401315756002751133813
Segment cable length [m]2702702702701133813
Number of repeaters15621- - -
EDS84DMOTCAN EN 3.0 - 11/2011L27
Page 28
Communication manual 8400 motec CANopen
Installation
Electrical installation
Consider the use of repeaters
Note!
The use of an additional repeater is recommended as:
• Service interface
– Advantage: Trouble-free connecting during ongoing bus operation is
possible.
• Calibration interface
– Advantage: Calibration/programming units remain electrically isolated.
Given
• Baud rate:125 kbps
• Cable cross-section:0.5 mm
• Number of nodes:28
• Cable length:450 m
2
StepsCable lengthSee
1Total cable length at 125 kbps:600 mTable Total cable length
2Segment cable length for 28 nodes and a
cable cross-section of 0.5 mm
3Comparison: The value determined in
step 2 is smaller than the required cable
length of 450 m.
2
:
360 mTable Segment cable length
( 27)
Conclusion:
A cable length of 450 m is not possible without installing a repeater.
After 360 m (step 2), a repeater must be installed.
Result:
The Lenze repeater, type 2176 (cable reduction: 30 m), is used
Calculation of the max. cable length:
– First segment: 360 m
– Second segment: 360 m (according to the table Segment cable length
[5-2] ( 27))
minus 30 m (cable reduction when a repeater is used)
Max. possible cable length with one repeater: 690 m
– Now the required cable length is possible.
[5-1] ( 26)
[5-2]
28LEDS84DMOTCAN EN 3.0 - 11/2011
Page 29
5.2.5CANopen connection
CANopen connection
PinSignalDescription
1-Not assigned
2-Not assigned
3CGCAN GND potential
4CHCAN-High data line
5CLCAN-Low data line
Communication manual 8400 motec CANopen
Installation
Electrical installation
Input: M12 pins, 5-pole, A-coded
Wiring at terminal strip X3
Output: M12 socket, 5-pole, A-coded
Wiring at terminal strip X3
EDS84DMOTCAN EN 3.0 - 11/2011L29
Page 30
Communication manual 8400 motec CANopen
Commissioning
Before initial switch-on
6Commissioning
During commissioning, system-related data such as motor parameters, operating
parameters, responses, and parameters for fieldbus communication are defined for the
controller. For Lenze devices, this is done via the codes.
The codes of the controller and communication are saved non-volatilely as a data set in the
memory module.
In addition, other codes are also available for diagnosing and monitoring the nodes.
Parameter reference
6.1Before initial switch-on
Stop!
Before switching on the device for the first time, please check ...
• the entire wiring for completeness, short circuit, and earth fault.
• whether the bus system is terminated through a bus terminating resistor at
the first and last physical node.
Bus termination
( 75)
( 25)
30LEDS84DMOTCAN EN 3.0 - 11/2011
Page 31
6.2Configuring the host (master)
First you have to configure the host (master) for the communication with the controller.
Defining the user data length
The CANopen communication unit supports the configuration of max. 8 process data
words (max. 64 bytes).
The user data length is defined during the initialisation phase of the master.
The user data lengths for process input data and process output data are the same.
Note!
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 sent by a node
Communication manual 8400 motec CANopen
Commissioning
Configuring the host (master)
EDS84DMOTCAN EN 3.0 - 11/2011L31
Page 32
Communication manual 8400 motec CANopen
Commissioning
Possible settings via DIP switch
6.3Possible settings via DIP switch
The DIP switches serve to ...
[6-1]DIP switch
Note!
• The DIP switches can only be accessed when the drive unit is detached from
the communication unit. Loosen the four fixing screws at the drive unit.
Observe the notes in the mounting instructions.
• Switch off the voltage supply of the controller and the external supply of the
communication unit before starting with the dismounting of the drive unit.
• The DIP switches are only read in when the device is switched on.
6.3.1Setting the baud rate
The baud rate ...
must be the same for all networked CANopen nodes;
Setting the baud rate
( 32) (switches: a ... c)
Setting the CAN node address
(switches: 1 ... 64)
Lenze setting: All switches OFF
( 33)
can be set via the DIP switches a...c or via the »Engineer« (code C00351
DIP switch positionBaud rate
cba
ONOFFON20 kbps
OFFONON50 kbps
OFFONOFF125 kbps
OFFOFFON250 kbps
OFFOFFOFF500 kbps
ONONOFF800 kbps
ONOFFOFF1000 kbps
Settings in the Lenze »Engineer«
( 34)
).
32LEDS84DMOTCAN EN 3.0 - 11/2011
Page 33
6.3.2Setting the CAN node address
The node addresses must differ from each other in the case of several networked CANopen
nodes.
The node address can be set via DIP switches 1...64 or via the »Engineer« with code
C00350
.
Communication manual 8400 motec CANopen
Commissioning
Possible settings via DIP switch
For the setting with C00350
DIP switches 1...64must be set toOFF.
Note!
• The valid address range is 0 ... 63.
• If DIP switch 64 = ON (node address > 63), always node address 63 is used.
DIP switchNode address
6432168421
OFFOFFOFFOFFOFFOFFOFFValue from C00350
OFFOFFOFFOFFOFFOFFON1
OFF.....................
OFFONONONONONON63
ON..................
The labelling on the housing 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
160421
The current address setting of the DIP switches is displayed in C00349
DIP switch positions for setting the CAN node address
Settings in the Lenze »Engineer«
( 34)
( 106)
.
EDS84DMOTCAN EN 3.0 - 11/2011L33
Page 34
Communication manual 8400 motec CANopen
Commissioning
Settings in the Lenze »Engineer«
6.4Settings in the Lenze »Engineer«
The following settings can be made in the »Engineer« under the Settings tab:
CAN node address (C00350
– The node address can only be parameterised if the node address "0" is set via the DIP
switches.
– A change of the node address will only become effective after a CAN reset node.
CAN node is slave or master (C00352
Deceleration during status change from "Boot-up" to "Operational" (C00356/1
Time to the first transmission of CANx_OUT in the "Operational" state (C00356/4)
)
)
)
Save changed settings with the device command C00002/11 (save all parameter sets).
34LEDS84DMOTCAN EN 3.0 - 11/2011
Page 35
6.5Initial switch-on
Establishing communication
To establish communication, the controller must be supplied with mains voltage.
All parameters (codes) and DIP switch settings are read in when the device is switched
on.
If an error occurs, the error message "CE04: MCI communication error" (error no.
01.0127.00002) is output.
The positions of the DIP switches define whether the CAN node address and the baud
rate are selected via the DIP switches or via codes C00350
Possible settings via DIP switch
Communication manual 8400 motec CANopen
Commissioning
Initial switch-on
and C00351.
( 32)
EDS84DMOTCAN EN 3.0 - 11/2011L35
Page 36
Communication manual 8400 motec CANopen
Data transfer
Structure of the CAN data telegram
7Data transfer
Via the system bus interface, for instance process data and parameter values can be
exchanged between the nodes. In addition, the interface enables the connection of
additional modules such as distributed terminals, keypads and input devices or external
control systems and hosts (masters).
The system bus interface transfers CAN objects following the CANopen communication
profile (CiA DS301, version 4.02) developed by the umbrella organisation of CiA (CAN in
Automation) in conformity with the CAL (CAN Application Layer).
The following subchapters provide a detailed description of the identifier and the user
data. The other signals refer to the transfer characteristics of the CAN telegram the
description of which is not included in the scope of this documentation.
Tip!
Please visit the homepage of the CAN user organisation CiA (CAN in automation)
for further information:
http://www.can-cia.org
36LEDS84DMOTCAN EN 3.0 - 11/2011
Page 37
7.1.1Identifier
The principle of CAN communication is based on a message-oriented data exchange
between a transmitter and many receivers. All nodes can virtually transmit and receive
simultaneously.
The identifier, also called COB-ID (abbr. for 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 user data.
The identifier consists of a basic identifier and the node address of the node to be
addressed:
Exception:
management and sync telegrams is freely assigned by the user (either manually or
automatically by the network configurator), or is permanently assigned.
Node address (node ID)
For unambiguous identification, a node address (also called node ID) within the valid
address range (1 ... 63) must be assigned to every node of the system bus network.
A node address may not be assigned more than once within a network.
The own node address can be configured via the DIP switches or via code C00350
Setting the CAN node address
Identifier assignment
The system bus is message-oriented instead of node-oriented. Every message has an
unambiguous identification, the identifier. For CANopen, node-oriented transfer is
achieved by the fact that every message has only one transmitter.
The basic identifiers for network management (NMT) and sync as well as the basic SDO
channel (SDO1) are defined 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 and can be changed via parameters/
indexes, if required.
The identifier for process data/heartbeat/emergency objects as well as network
.
( 33)
Identifiers of the process data objects
EDS84DMOTCAN EN 3.0 - 11/2011L37
( 51)
Page 38
Communication manual 8400 motec CANopen
Data transfer
Structure of the CAN data telegram
ObjectDirectionLenze-Base-IDCANopen-Base-ID
from deviceto devicedechexdechex
Network management (NMT)0000
1)
Sync
Emergency
PDO1
(Process data channel 1)
PDO2
(Process data channel 2)
SDO1
(Parameter data channel 1)
SDO2
(Parameter data channel 2)
Heartbeatz17927001792700
Boot-upz17927001792700
1)
TPDO1
RPDO1
TPDO2
RPDO2
TSDO1
RSDO1
TSDO2
RSDO2
z1288012880
z384180384180
z640280640280
z14085801408580
z14725C014725C0
1288012880
z512200512200
z641281768300
z15366001536600
z16006401600640
1) If you set the sync transmit/receive identifier manually, observe the use of the emergency telegram, since it has the same
COB-ID.
38LEDS84DMOTCAN EN 3.0 - 11/2011
Page 39
7.1.2User data
All nodes communicate by exchanging data telegrams via the system bus. The user data
area of the CAN telegram either contains network management data, or parameter data,
or process data:
Network management data
(NMT data)
Control information on start, stop, reset, etc. of communication to specific nodes or to
all nodes of the CAN network.
Process data
(PDOs – process data objects)
Process data are transferred via the process data channel.
Process data can be used to control the controller.
Communication manual 8400 motec CANopen
Data transfer
Structure of the CAN data telegram
Process data are not
Process data are transmitted between the host (master) and controllers (slaves) 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.
The exact meaning of the PDO file contents is determined via the function block editor
(FB Editor) in the I/O level or via the PDO mapping.
Parameter data
(SDOs – service data objects)
Parameter data are the CANopen indexes or, in the case of Lenze devices, the codes.
Parameters are, for instance, used for one-off plant setting during commissioning or
when the material on a production machine is changed.
Parameter data are transmitted as SDOs via the parameter data channel. They are
acknowledged by the receiver, i.e. the sender gets a feedback about whether the
transmission was successful or not.
The parameter data channel enables access to all Lenze codes and CANopen indexes.
Parameter changes are automatically saved to the controller until mains switching.
saved to the controller.
Generally the parameter transfer is not time-critical.
Parameter data are, for instance, operating parameters, diagnostic information, and
motor data.
EDS84DMOTCAN EN 3.0 - 11/2011L39
Page 40
Communication manual 8400 motec CANopen
Data transfer
Communication phases/network management
7.2Communication phases/network management
With regard to communication via the system bus, the controller distinguishes between
the following states:
StatusExplanation
"Initialisation"
(Initialisation)
"Pre-operational"
(before being ready for operation)
"Operational"
(ready for operation)
"Stopped"
(stopped)
After switch-on, an initialisation run is carried out.
• During this phase, the controller is not involved in the data exchange via
the bus.
• The standard values are re-written to all CAN-relevant parameters.
• After initialisation is completed, the controller is automatically set to the
"Pre-operational" status.
Parameter data can be received, process data are ignored.
Parameter data and process data can be received!
Only network management telegrams can be received.
Communication objectInitialisationPre-operationalOperationalStopped
PDOz
SDOzz
Synczz
Emergencyzz
Boot-upz
Network management (NMT)zzz
Code C00359
serves to display the status of the CAN bus.
Tip!
Part of the initialisation or the entire initialisation can be carried out again in every
status by transmitting the corresponding network management telegrams.
40LEDS84DMOTCAN EN 3.0 - 11/2011
Page 41
7.2.1State transitions
[7-2]NMT state transitions in the CAN network
Communication manual 8400 motec CANopen
Data transfer
Communication phases/network management
,QLWLDOLVDWLRQ
3UH2SHUDWLRQDO
2SHUDWLRQDO
6WRSSHG
TransitionNMT commandStatus after
Effects on process/parameter data after status change
change
(1)-InitialisationInitialisation starts automatically at mains connection.
• During initialisation, the controller is not involved in the
data exchange.
• After the initialisation is completed, the node sends a
boot-up message with an individual identifier and
automatically changes to the "Pre-operational" status.
(2)-Pre-operational In this phase, the master determines the way in which the
node(s) takes/take part in communication.
From here, the master changes the states for the entire network.
• A target address included in the NMT command defines the receiver(s).
• If the controller is configured as CAN master, the status is automatically changed to
"Operational" after a waiting time has expired (C00356/1
) and the command 0x0100 NMT
("Start Remote Node") is transmitted to all nodes.
• Data can only be exchanged via process data objects if the status is "Operational"!
(3), (6)0x01 xx
Start remote node
OperationalNetwork management/sync/emergency telegrams as well
as process data (PDO) and parameter data (SDO) are active.
Optional: When the status is changed, event- and time-
controlled process data (PDOs) are transmitted 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-operational Network management/sync/emergency telegrams and
parameter data (SDO) are active.
StoppedOnly network management telegrams can be received.
InitialisationAll CAN-relevant parameters (CiA DS 301) are initialised with
the saved values.
All CAN-relevant parameters (CiA DS 301) are initialised with
the saved values.
Meaning of the node address in the NMT command:
• xx = 0x00: If this assignment is selected, the telegram addresses all nodes (broadcast telegram).
The status of all nodes can be changed at the same time.
• xx = Node ID: If a node address is specified, only the status of the node with the corresponding
address changes.
EDS84DMOTCAN EN 3.0 - 11/2011L41
Page 42
Communication manual 8400 motec CANopen
Data transfer
Communication phases/network management
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 over 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
QRGH
DGGUHVV
QRGH,'
The change-over of the communication phases for the entire network is carried out by one
node, the CAN master. The function of the CAN master can also be carried out by the
controller.
Parameterising the Inverter Drives 8400 motec as CAN master
( 43)
Example:
Data can only be exchanged via process data objects if the status is "Operational". If the
CAN master is supposed to switch all nodes connected to the bus from the "Preoperational" communication status to the "Operational" communication status, the
identifier and user data in the transmission telegram must be set as follows:
Identifier: 0x00 (network management)
User data: 0x0100 ("Start remote node" NMT command to all nodes)
42LEDS84DMOTCAN EN 3.0 - 11/2011
Page 43
Communication manual 8400 motec CANopen
Communication phases/network management
7.2.3Parameterising the Inverter Drives 8400 motec as CAN master
If the initialisation of the system bus and the associated status change from "Preoperational" to "Operational" is not effected by a higher-level host, the Inverter Drive 8400
motec can instead be defined to be a "quasi" master to execute this task.
Data transfer
The controller is configured as CAN master in C00352
Being the CAN master, the controller sets all
telegram) to the "Operational" communication status with the "Start remote node"
NMT telegram. Only in this communication status data can be exchanged via process
data objects.
A delay time can be set in C00356/1
the controller transmits the "Start remote node" NMT telegram.
ParameterInfoLenze setting
C00352CAN slave/masterSlave
C00356/1
CAN delay boot-up - Operational3000 ms
, which must expire after mains switching before
.
nodes connected to the bus (broadcast
Value Unit
Note!
The changes of the master/slave operation in C00352 will not be activated until
• another mains switching of the controller
or
• the "Reset node" or "Reset communication" NMT telegram has been
transmitted to the controller.
The "CAN reset node" device command (C00002/26) is provided as an alternative
to the "Reset node" NMT telegram for the reinitialisation of the CAN-specific
device parameters.
Tip!
Master functionality is only required during the initialisation phase of the drive
system.
EDS84DMOTCAN EN 3.0 - 11/2011L43
Page 44
Communication manual 8400 motec CANopen
Process data transfer
8Process data transfer
[8-1]PDO data transfer from / to the higher-level host (master)
The CANopen communication unit is provided with two separate process data channels
(PDO1 and PDO2) for transmitting process data. Each process data channel can transmit up
to four words (8 bytes) at a maximum.
The system bus (CANopen) transmits parameter data, configuration data, diagnostic data,
alarm messages and process data between the host (master) and the controllers (slaves)
participating on the fieldbus. Depending on their time-critical nature, the data are
transmitted via different communication channels.
Process data are transmitted via the process data channel.
The process data serve to control the controller.
Transferring process data is time-critical.
Process data are transferred cyclically between the master and the slaves participating
on the fieldbus (continuous exchange of current input and output data).
The master can directly access the process data. In the PLC, for instance, the data are
directly assigned to the I/O area.
Process data are not saved in the controller.
Process data are, for instance, setpoints, actual values, control words and status words.
44LEDS84DMOTCAN EN 3.0 - 11/2011
Page 45
Communication manual 8400 motec CANopen
Process data transfer
Definitions
Process data telegrams between the host (master) and the controllers (slaves) are
distinguished in terms of direction 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 PDOs (RPDOx): Process data object received by a node
– Transmit PDOs (TPDOx): Process data object sent by a node
the device (RPDO)
the device (TPDO)
Note!
Data can only be exchanged via process data objects if the status is
"Operational"!
Communication phases/network management
( 40)
EDS84DMOTCAN EN 3.0 - 11/2011L45
Page 46
Communication manual 8400 motec CANopen
Process data transfer
Access to process data / PDO mapping
8.1Access to process data / PDO mapping
The process data are transferred via the MCI/CAN interface.
Max. 8 words (16 bits/word) per direction can be exchanged.
– 2 x 4 words via the input ports CAN1_IN and CAN2_IN
– 2 x 4 words via the output ports CAN1_OUT and CAN2_OUT
The process data are accessed via the port blocks LP_Network_In and
LP_Network_Out. These port blocks are also called process data channels.
The port/function block interconnection of the process data objects (PDO) takes place
via the Lenze »Engineer«.
[8-2]External and internal data transfer between the bus system, controller, and application
Software manual / »Engineer« online help "Inverter Drives 8400 motec"
Here you will find detailed information on port blocks and port/function block
interconnection in the »Engineer«.
46LEDS84DMOTCAN EN 3.0 - 11/2011
Page 47
Communication manual 8400 motec CANopen
Port interconnection of the process data objects (PDO)
8.2Port interconnection of the process data objects (PDO)
Note!
The »Engineer« screenshots shown on the following pages are only examples for
the setting sequence and the resulting screens.
Depending on the software version of the controller and of the »Engineer«
software installed, the screenshots may deviate from your »Engineer«
representation.
The preconfigured port interconnection of the process data objects is activated by setting
code C00007 = 40: Network (MCI/CAN).
How to freely configure the port interconnection in the »Engineer«:
1. Under the Process data object tab, click the Go to application button.
Process data transfer
2. The Ports tab displays the port blocks CAN1_IN/CAN2_IN and CAN1_OUT/
CAN2_OUT.
EDS84DMOTCAN EN 3.0 - 11/2011L47
Page 48
Communication manual 8400 motec CANopen
Process data transfer
Port interconnection of the process data objects (PDO)
3. Click the port to be configured and press the Edit port ... button.
48LEDS84DMOTCAN EN 3.0 - 11/2011
Page 49
Communication manual 8400 motec CANopen
Process data transfer
Port interconnection of the process data objects (PDO)
4. Via the button, you can assign signals to the process data words in the Signal assignment --> Function Block dialog box.
Select the signals and then confirm the selection with the OK button.
EDS84DMOTCAN EN 3.0 - 11/2011L49
Page 50
Communication manual 8400 motec CANopen
Process data transfer
Port interconnection of the process data objects (PDO)
For some process data words, you can also assign signals to the individual bits via
the and buttons.
Select the signals and then confirm the selection with OK.
The current interconnection is only displayed if the following has been set for the
control mode in code C00007 = 40: Network (MCI/CAN).
50LEDS84DMOTCAN EN 3.0 - 11/2011
Page 51
Communication manual 8400 motec CANopen
8.3Identifiers of the process data objects
In the Lenze setting, the identifier for the process data objects PDO1 and PDO2 consists of
a basic identifier (CANBaseID) and the node address set in C00350
The basic identifiers of the PDOs comply with the "Predefined connection set" of
DS301, V4.02.
Process data transfer
Identifiers of the process data objects
:
Alternatively, define via code C00353
that the identifiers of the PDOs are to be assigned
according to Lenze definition or that individual settings are to be made.
–If C00353
= "2: COBID = C0354/x", the identifiers of the PDOs can be set individually
via the Lenze codes and CANopen indexes listed in the table below. That way,
identifiers independent of the node address can be set for specific PDOs.
– If identifiers are assigned individually, all PDOs must have basic identifier values in
the range of 385 ... 1407.
Process data objectBasic identifierIndividual setting
dechexLenze codeCANopen index
PDO1
RPDO15120x200C00354/1
TPDO13840x180C00354/2I-1800/1
PDO2
RPDO27680x300C00354/3
TPDO26400x280C00354/4I-1801/1
I-1400/1
I-1401/1
Note!
After a node address change (C00350) and a subsequent CAN reset node, the
subcodes of C00354
respective basic identifier and the node address set.
automatically resume the values which result from the
Short overview: Parameters for setting the identifiers
Process data objects can be transmitted in an event-controlled or time-controlled manner.
The below table shows that it is possible to combine the different methods by means of
logic operations (AND, OR):
Event-controlled
The PDO is sent when a certain device-internal event has occurred, e.g. when the data
contents of the TPDO have changed or when a transmission cycle time has elapsed
Synchronous transmission
A TPDO (or RPDO) is sent (or received) after the device has received a sync telegram
(COB-ID 0x80).
Cyclic transmission
The cyclic transmission of PDOs takes place when the transmission cycle time has
elapsed.
Polled via RTR
A TPDO is sent when another device requests it by means of a data request telegram
(RTR remote transmit request). For this purpose, the data requester (e.g. the master)
sends the data request telegram with the COB-ID of the TPDO requested to be sent. The
receiver recognises the RTR and transmits the corresponding PDO.
Transmission typePDO transmissionLogic combination of
cyclicsynchronousevent-controlled
0zzAND
1 ... 240zzAND
254zzOR
Transmission typeDescription
0Synchronous and acyclic:
The PDO is transmitted on an event-controlled basis with every sync (e.g. when a bit change
occurs in the PDO).
1 ... 240Synchronous and cyclic (sync-controlled with response):
• Selection n = 1: The PDO is transmitted with every
• Selection 1 < n ≤ 240: The PDO is transmitted with every n-th
241 ... 251Reserved
252, 253RTR-controlled manner is not permissible.
254Event-controlled with cyclic transmission:
If this value is entered, the PDO is transferred in an event-controlled or cyclic manner. (The
values "254" and "255" are equivalent).
For a cyclic transmission, a cycle time must be set for the respective PDO. In this case, cyclic
transmission takes place in addition to event-controlled transmission.
255Not permissible
sync.
different
transmission types
sync.
52LEDS84DMOTCAN EN 3.0 - 11/2011
Page 53
Communication manual 8400 motec CANopen
Process data transfer
Transmission type
The communication parameters such as the transmission mode and cycle time can be set
freely for every PDO and independently of the settings of other PDOs:
ParameterInfoLenze setting
Value Unit
C00322/1Transmission mode CAN1 OUT254
C00322/2
C00323/1
C00323/2
C00324/1
C00324/2
C00324/3
C00356/5
C00356/2
Transmission mode CAN2 OUT254
Transmission mode CAN1 IN254
Transmission mode CAN2 IN254
Inhibit time for emergency telegrams0 ms
CAN1_OUT inhibit time0 ms
CAN2_OUT inhibit time0 ms
CAN1_OUT cycle time0 ms
CAN2_OUT cycle time0 ms
Tip!
The setting can also be carried out via the following CANopen objects:
• I-1400
• I-1800
/ I-1401: Communication parameter for RPDO1 and RPDO2
/ I-1801: Communication parameter for TPDO1 and TPDO2
EDS84DMOTCAN EN 3.0 - 11/2011L53
Page 54
Communication manual 8400 motec CANopen
Process data transfer
PDO synchronisation via sync telegram
8.5PDO synchronisation via sync telegram
During cyclic transmission, one or more PDOs are transmitted/received in fixed time
intervals. An additional specific telegram, the so-called sync telegram, is used for
synchronising cyclic process data.
The sync telegram is the trigger point for the transmission of process data from the
slaves to the master and for the acceptance of process data from the master in 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 selected transmission type.
Transmission type
Basic workflow
n Sync cycle time
[8-3]Sync telegram
A. After the sync telegram has been received, the slaves transmit the synchronous process
data to the master (TPDOs). The master reads them as process input data.
B. When the transmission process is completed, the slaves receive (RPDOs) the process
output data (of the master).
– All other telegrams (e.g. parameters or event-controlled process data) are accepted
acyclically by the slaves after the transmission is completed.
–Illustration [8-3]
when dimensioning the cycle time.
( 52)
SYNCSYNC
012
does not include acyclic data. However, they need to be considered
C. The data are accepted in the slave with the next sync telegram if the Rx mode is set to
1 ... 240. If the Rx mode is 254 or 255, the data are accepted in the next device cycle,
irrespective of the sync telegram.
Short overview: Parameters for the synchronisation via sync telegram
ParameterInfoLenze settingAssignment
Value UnitSync
C00367CAN sync Rx identifier128z
C00368
C00369
54LEDS84DMOTCAN EN 3.0 - 11/2011
CAN sync Tx identifier128z
CAN sync transmission cycle time0 msz
master
Sync
slave
Page 55
9Parameter data transfer
Communication manual 8400 motec CANopen
Parameter data transfer
[9-1]Parameter data transfer via the available parameter data channels
Parameters are values stored in codes on Lenze controllers.
Two parameter data channels are available for parameter setting, enabling the
simultaneous connection of different devices for configuration purposes.
Parameter data are transmitted via the system bus as SDOs (Service Data Objects) via the
system bus (CANopen) and are acknowledged by the receiver. The SDO enables read and
write access to all device parameters and to the CANopen object directory integrated in the
device. Indexes (e.g. 0x1000) enable access to device parameters and functions included in
the object directory. To transfer SDOs, the information contained in the user data must
comply with the CAN-SDO protocol.
EDS84DMOTCAN EN 3.0 - 11/2011L55
Page 56
Communication manual 8400 motec CANopen
Parameter data transfer
Identifiers of the parameter data objects
9.1Identifiers of the parameter data objects
In the Lenze setting, the basic identifiers of the SDOs are preset according to the
"Predefined Connection Set".
The identifiers for the parameter data objects SDO1 and SDO2 are generated from the
basic identifier and the node address set in code C00350
Identifier = basic identifier + node address
ObjectDirectionLenze-Base-IDCANopen-Base-ID
from deviceto devicedechexdechex
SDO1
(Parameter data channel 1)
SDO2
(Parameter data channel 2)
Heartbeatz17927001792700
Boot-upz17927001792700
TSDO1
RSDO1
TSDO2
RSDO2
z14085801408580
z14725C014725C0
:
z15366001536600
z16006401600640
Note!
Please observe that the parameter data channels 1 and 2 are active in the factory
setting.
56LEDS84DMOTCAN EN 3.0 - 11/2011
Page 57
9.2User data
Structure of the user data of the parameter data telegram
Maximally 4 bytes are available for parameter value entries. Depending on the data
format, they are assigned as follows:
5th byte6th byte7th byte8th byte
Parameter value (1 byte)0x000x000x00
Parameter value (2 bytes)0x000x00
Low byteHigh byte
Low byteHigh byteLow byteHigh byte
Communication manual 8400 motec CANopen
Parameter data transfer
User data
Low byteHigh byteLow byteHigh byte
Parameter value (4 bytes)
Low wordHigh word
Note!
The "Factor" column of the Table of attributes ( 87) contains a scaling factor for
all Lenze parameters. The scaling factor is relevant to the transfer of parameter
values which have one or more decimal positions in the parameter list.
If the scaling factor is > 1, the value must be multiplied by the indicated scaling
factor prior to transmission to be able to transfer the value as an integer. At the
SDO client end, the integer must be divided by the scaling factor to obtain the
original value including decimal positions again.
Example
A value of "123.45" is to be transmitted for a code, unit: "%" (e.g. C00039/1: "Fixed setpointJOG1").
Parameters with the "%" unit have two decimal positions and hence a scaling factor of
"100".
Calculation:
Value to be transmitted = scaling factor x value
Data
(1408 = SDO1 basic identifier from the controller)
Command= 0x60 = "Write response" (acknowledgement of the write access from the controller)
IndexAs in telegram to the drive
Subindex
EDS84DMOTCAN EN 3.0 - 11/2011L63
Page 64
Communication manual 8400 motec CANopen
Parameter data transfer
Parameter data telegram examples
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
which are transmitted as a block parameter. Depending on the block, the data width from
the 2nd to 8th byte is assigned within the user data.
Influence of the final bit and the residual data length on the transmission command
• The end of transmission is signalled via the set final bit 0.
• Bits 1 ... 3 reveal the number of bytes that do not contain data anymore.
* Toggle bit
Data 1 ... 7= "0.00" (ASCII representation)
The result of the data block transmission is: "01.00.00.00"
:
bin
(3 bytes do not contain any data)
bin
66LEDS84DMOTCAN EN 3.0 - 11/2011
Page 67
Communication manual 8400 motec CANopen
10Monitoring
10.1Monitoring of the RPDOs for data reception
RPDO1 and RPDO2 have a parameterisable monitoring time within which the RPDO must
arrive.
The following settings can be made in the »Engineer« under the Monitoring tab:
Response to "BusOff" (bus system switched off), C00592/2
CAN1_IN monitoring time, C00357/1
CAN2_IN monitoring time, C00357/2
Response to CAN1_IN monitoring, C00593/1
Response to CAN2_IN monitoring, C00593/2
Monitoring
Monitoring of the RPDOs for data reception
If a monitoring time > 0 ms (C00357/1...2) is entered for CAN1_IN/CAN2_IN, the RPDO
is expected after the set time has expired.
If the RPDO is not received within the monitoring time or with the configured sync, the
response set for the respective RPDO is effected (C00593/1...2
A monitoring time = 0 ms deactivates the monitoring function.
).
EDS84DMOTCAN EN 3.0 - 11/2011L67
Page 68
Communication manual 8400 motec CANopen
Monitoring
Integrated error detection
10.2Integrated error detection
If a node detects an error, it rejects the CAN telegram bits received so far and transmits an
error flag. The error flag consists of 6 consecutive bits with the same logic value.
The following errors are detected:
Bit error
The sending node monitors the bus and interrupts the transmission if it receives a different
logic value than the value transmitted. With the next bit, the sending node starts the
transmission of an error flag.
In the arbitration phase, the sender only detects a bit error if a dominantly sent bit is
received as a recessive bit. In the ACK slot as well, the dominant overwriting of a recessive
bit is not indicated as a bit error.
Stuff-bit error
If more than 5 consecutive bits before the ACK delimiter in the CAN telegram have the
same logic value, the previously transmitted telegram will be rejected and an error flag will
be sent with the next bit.
CRC error
If the CRC checksum received does not correspond to the checksum calculated in the CAN
chip, the CAN controller sends an error flag after the ACK delimiter, and the previously
transmitted telegram is invalidated.
Acknowledgement error
If the ACK slot which is sent recessively by the transmitting node is not overwritten
dominantly by a receiver, the transmitting node aborts the transmission. The transmitting
node invalidates the telegram transmitted and sends an error flag with the next bit.
Format error
If a dominant bit is detected in the CRC delimiter, in the ACK delimiter or in the first 6 bits
of the EOF field, the telegram received is rejected and an error flag is sent with the next bit.
68LEDS84DMOTCAN EN 3.0 - 11/2011
Page 69
10.3Heartbeat protocol
+
+
The heartbeat protocol can be used for node monitoring purposes within a CAN network.
Basic workflow
Communication manual 8400 motec CANopen
Monitoring
Heartbeat protocol
r: Reserved (always 0)
s: Status of the producer (0: Boot-up, 4: Stopped, 5: Operational, 127: Pre-operational)
[10-1] Heartbeat protocol
HDUWEHDWSURGXFHU
UHTXHVWLQGLFDWLRQ
UHTXHVWLQGLFDWLRQ
+HDUWEHDWSURGXFHUWLPH
HDUWEHDWFRQVXPHUV
U
U
V
V
LQGLFDWLRQ
(0(5*(1&<
107PDVWHU
LQGLFDWLRQ
LQGLFDWLRQ
WLPH
+HDUWEHDWFRQVXPHU
LQGLFDWLRQ
LQGLFDWLRQ
WLPH
+HDUWEHDWFRQVXPHU
+HDUWEHDW
HYHQW
1. A heartbeat producer cyclically transmits a so-called heartbeat telegram to one or more
consumers.
2. The consumer(s) monitor(s) the heartbeat telegram for arrival on a regular basis.
10.3.1Telegram structure
The heartbeat telegram of the producer has the following identifier:
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
(s)
(r)Producer status (s)
Bit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
EDS84DMOTCAN EN 3.0 - 11/2011L69
Page 70
Communication manual 8400 motec CANopen
Monitoring
Heartbeat protocol
10.3.2Parameter setting
Short overview of the parameters for the "Heartbeat" monitoring function:
ParameterInfoLenze settingAssignment
C00347/1...nCAN status
of heartbeat producer 1
C00381Heartbeat producer time0 msz
C00385/1...n
C00386/1...n
C00592/5
Highlighted in grey = display parameter
Heartbeat producer time
CAN node address
of heartbeat producer 1
Heartbeat consumer time
for heartbeat producer 1
Resp. to heartbeat eventNo responsez
Value UnitConsumer Producer
-z
0z
0msz
Time interval for the transmission of the heartbeat telegram to the consumer(s).
Parameterisable in C00381
or via object I-1017. The parameterised time is rounded
down to an integer multiple of 5 ms.
The heartbeat telegram is sent automatically as soon as a time > 0 ms is set.
Heartbeat consumer time
Monitoring time for the nodes (producers) to be monitored.
Parameterisable in C00386/1...n
or via object I-1016.
The parameterised time is rounded down to an integer multiple of 5 ms and must have
a greater value than the heartbeat producer time of the node to be monitored.
1 Heartbeat Producer can be monitored.
The node address(es) of the nodes to be monitored is/are set in C00385/1...n
object I-1016
, too.
or via
70LEDS84DMOTCAN EN 3.0 - 11/2011
Page 71
Communication manual 8400 motec CANopen
Monitoring
Heartbeat protocol
Heartbeat event
The "Heartbeat event" is activated in the consumer if it does not receive any heartbeat
telegram from the producer within the heartbeat consumer time:
The consumer changes from the "Operational" communication status to the "Pre-
operational" communication status.
The NMT master receives an emergency telegram containing emergengy error code
0x8130.
The response parameterised in C00592/5
Note!
The heartbeat monitoring will not start until the first heartbeat telegram of a
monitored producer has been received successfully and the "Pre-operational"
NMT status has been achieved.
The boot-up telegram counts as the first heartbeat telegram.
is activated (Lenze setting: "No response").
EDS84DMOTCAN EN 3.0 - 11/2011L71
Page 72
Communication manual 8400 motec CANopen
Monitoring
Heartbeat protocol
10.3.3Commissioning example
Task
A controller (node 2) which is configured as heartbeat consumer is to monitor another
controller (heartbeat producer, node 1).
The heartbeat producer is to transmit a heartbeat telegram to the heartbeat consumer
every 10 ms.
The heartbeat consumer monitors the heartbeat telegram for arrival. A response is to
be activated in the event of an error.
Parameterising the heartbeat producer (node 1)
1. Set the heartbeat producer time (C00381
Parameterising the heartbeat consumer (node 2)
1. Set the CAN node address of the producer in C00385/1
2. Set the heartbeat consumer time in C00386/1
– Note: The heartbeat consumer time must be greater than the heartbeat producer
time of the node to be monitored set in C00381
3. Set the desired response in C00592/5
the consumer occurs.
) to 10 ms.
.
.
.
which is to be activated if a heartbeat event in
Tip!
C00347/1...n
Heartbeat telegram
The heartbeat telegram from the producer has the following identifier:
displays the heartbeat status of the nodes monitored.
72LEDS84DMOTCAN EN 3.0 - 11/2011
Page 73
10.4Emergency telegram
If the error status changes because an internal device error occurs or has been eliminated,
the NMT master once receives an emergency telegram with the following structure:
See table below • For emergency error code 0xF000: Lenze error number
Emergency error codeError registerCause
0x00000xXXOne of several errors eliminated
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 shorter than expected
0x82200x11PDO length greater than expected
0x87000x11Monitoring of the sync telegram
0xF0000x01Generic error
Communication manual 8400 motec CANopen
Monitoring
Emergency telegram
0x00
Reserved
(value displayed in C00168)
• All other emergency error codes have a value of "0" here.
0x00One error has been eliminated (error-free status afterwards)
reception is also used for transmission.
• An error with a "Fault", "Trouble", "TroubleQSP", "Warning", or
"SystemFault" error response occurred in the standard device.
• Error message is the Lenze error number (C00168).
Low wordHigh word
Low byteHigh byteLow byteHigh byte
More emergency error codes are listed in the short overview of the error messages of the
operating system in the software manual/»Engineer« online help "Inverter Drives 8400
motec".
Generic errorCorresponding error-free message: Value
Reserved
"0x00000000"
Lenze error number
Tip!
A detalied description can be found in CAN specification DS301, V4.02.
EDS84DMOTCAN EN 3.0 - 11/2011L73
Page 74
Communication manual 8400 motec CANopen
Diagnostics
11Diagnostics
Diagnostics with the »Engineer«
In the »Engineer« under the Diagnostics tab, various system bus (CANopen) diagnostics
information is displayed.
74LEDS84DMOTCAN EN 3.0 - 11/2011
Page 75
Communication manual 8400 motec CANopen
Communication-relevant parameters of the operating system
12Parameter reference
This chapter complements the parameter list and table of attributes in the software
manual and the »Engineer« online help for the Inverter Drive 8400 motec by the
parameters for CANopen communication.
Software manual/»Engineer« online help "Inverter Drives 8400 motec"
Here you can find general information on parameters.
12.1Communication-relevant parameters of the operating system
This chapter lists communication-relevant parameters of the 8400 motec operating
system in numerically ascending order.
C01501
Parameter reference
C01503
Parameter | Name:
C01501 | Resp. to communication error with MCI
Configuration of monitoring modes for the communication unit
Selection list
0 No Reaction
1Fault
4 WarningLocked
SubcodesLenze settingInfo
C01501/11: FaultResp. to MCI error 1
• Response to a communication error.
C01501/21: FaultResp. to MCI error 2
• Response to an incompatible communication unit.
; Read access ; Write access CINH PLC STOP No transfer COM MOT Scaling factor: 1
Parameter | Name:
C01503 | MCI timeout
Setting range (min. value | unit | max. value)
0ms1000
SubcodesLenze settingInfo
C01503/1200 msMCI timeout
; Read access ; Write access CINH PLC STOP No transfer COM MOT Scaling factor: 1
Data type: UNSIGNED_8
Index: 23074
Data type: UNSIGNED_16
Index: 23072
= 5A22
d
= 5A20
d
h
h
EDS84DMOTCAN EN 3.0 - 11/2011L75
Page 76
Communication manual 8400 motec CANopen
Parameter reference
Parameters for CANopen communication
12.2Parameters for CANopen communication
This chapter lists the CANopen parameters of the communication unit in numerically
ascending order.
C00322
C00323
Parameter | Name:
C00322 | Transmission mode CAN TxPDOs
TPDO transmission type according to DS301 V4.02
• The following transmission modes are supported:
–0: Synchronous and acyclic
–1 ... 240: Synchronous and cyclic
–252: Synchronous - only RTR
–253: Asynchronous - only RTR
–254: Asynchronous - manufacturer-specific
–255: Asynchronous - device profile-specific
• The basic setting for all PDOs is the "asychronous - manufacturer-specific" setting (254).
• Mapping of the CANopen objects I-1800/2
Setting range (min. value | unit | max. value)
0255
SubcodesLenze settingInfo
C00322/1254Transmission mode CAN1 OUT
C00322/2254Transmission mode CAN2 OUT
; Read access ; Write access CINH PLC-STOP No transfer PDO_MA P_RX PDO_MAP_TX ; COM MOT
Parameter | Name:
C00323 | Transmission mode CAN Rx PDOs
RPDO transmission type according to DS301 V4.02
• For the RPDO, it serves as monitoring setting in the case of sync-controlled PDOs.
• The following transmission modes are supported:
–0: Synchronous and acyclic
–1 ... 240: Synchronous and cyclic
–252: Synchronous - only RTR
–253: Asynchronous - only RTR
–254: Asynchronous - manufacturer-specific
–255: Asynchronous - device profile-specific
• The basic setting for all PDOs is the "asychronous - manufacturer-specific" setting (254).
• Mapping of the CANopen objects I-1400/2
Setting range (min. value | unit | max. value)
0255
SubcodesLenze settingInfo
C00323/1254Transmission mode CAN1 IN
C00323/2254Transmission mode CAN2 IN
; Read access ; Write access CINH PLC-STOP No transfer PDO_MA P_RX PDO_MAP_TX ; COM MOT
and I-1801/2 (see DS301 V4.02).
and I-1401/2 (see DS301 V4.02).
Data type: UNSIGNED_8
Data type: UNSIGNED_8
Index: 24253
Index: 24252
= 5EBD
d
= 5EBC
d
h
h
76LEDS84DMOTCAN EN 3.0 - 11/2011
Page 77
C00324
Communication manual 8400 motec CANopen
Parameter reference
Parameters for CANopen communication
C00345
Parameter | Name:
C00324 | CAN Tx inhibit time
Data type: UNSIGNED_16
Index: 24251
= 5EBB
d
Inhibit time for the transmission of the emergency telegram and the process data
Note:
If the "Asynchronous - manufacturer-specific/device profile-specific" transmission time is set, the transmission
cycle timer is reset to 0 if the transmission has been triggered in an event-controlled manner.
Example: Cycle time (C00356/x
) = 500 ms, inhibit time = 100 ms, data change sporadically:
• In the case of a sporadical data change < 500 ms, due to the inhibit time set, transmission takes place as quickly
as possible every 100 ms (event-controlled transmission).
• In the case of a sporadical data change > 500 ms, due to the cycle time set, transmission takes place every 500 ms
(cyclic transmission).
• Mapping of the CANopen objects I-1800/3
and I-1801/3 (see DS301 V4.02).
Setting range (min. value | unit | max. value)
0ms6500
SubcodesLenze settingInfo
C00324/10 msInhibit time for emergency telegrams
C00324/20 msCAN1_OUT inhibit time
C00324/30 msCAN2_OUT inhibit time
; Read access ; Write access CINH PLC-STOP No transfer PDO_MA P_RX PDO_MAP_TX ; COM MOT
Parameter | Name:
C00345 | CAN error status
Data type: UNSIGNED_8
Index: 24230
= 5EA6
d
Display of the CAN error status
Selection list (read only)
0 No Error
1 Warning ErrActive
2 Warning ErrPassive
3 Bus off
4 Reserved
5 Reserved
; Read access Write access CINH PLC-STOP ; No transfer PDO_MAP_RX PDO_MAP_TX COM MOT
h
h
EDS84DMOTCAN EN 3.0 - 11/2011L77
Page 78
Communication manual 8400 motec CANopen
Parameter reference
Parameters for CANopen communication
C00347
C00349
Parameter | Name:
Data type: UNSIGNED_8
C00347 | CAN status HeartBeat producer
Display of the heartbeat producer's CAN status
Heartbeat protocol
( 69)
Selection list
0 Boot-up
4 Stopped
5 Operational
127 Pre-operational
250 Failed
255 NoResponse
SubcodesInfo
C00347/1Status node 1
; Read access Write access CINH PLC-STOP ; No transfer PDO_MAP_RX PDO_MAP_TX ; COM MOT
Parameter | Name:
Data type: UNSIGNED_16
C00349 | CAN setting, DIP switch
Display of the DIP switch setting at the last mains connection
Possible settings via DIP switch
( 32)
Display area (min. hex value | max. hex value)
0x00000xFFFF
Value is bit-coded:
Bit 0 Node address 1
Bit 1 Node address 2
Bit 2 Node address 4
Bit 3 Node address 8
Bit 4 Node address 16
Bit 5 Node address 32
Bit 6 Node address 64
Bit 7 Baud rate 1
Bit 8 Baud rate 2
Bit 9 Baud rate 4
Bit 10 Reserved
... ...
Bit 14 Reserved
Bit 15 Accept DIP switch at 24V-ON
; Read access Write access CINH PLC-STOP ; No transfer PDO_MAP_RX PDO_MAP_TX COM MOT
Index: 24228
Index: 24226
= 5EA4
d
= 5EA2
d
h
h
78LEDS84DMOTCAN EN 3.0 - 11/2011
Page 79
C00350
Communication manual 8400 motec CANopen
Parameter reference
Parameters for CANopen communication
C00351
Parameter | Name:
Data type: UNSIGNED_8
C00350 | CAN node address
Setting of the node address via parameters
• The node address can only be parameterised if the node address "0" is set via the DIP switches.
• A change of the node address will only become effective after a CAN reset node.
Setting the CAN node address
( 33)
Setting range (min. value | unit | max. value)Lenze setting
1631
; Read access ; Write access CINH PLC-STOP No transfer PDO_MA P_RX PDO_MAP_TX ; COM MOT
Parameter | Name:
Data type: UNSIGNED_8
C00351 | CAN baud rate
Setting of the baud rate via parameters
• The baud rate can only be parameterised if the baud rate "0" is set via the DIP switches.
• A change of the baud rate will only become effective after a CAN reset node.
Setting the baud rate
( 32)
Selection list (Lenze setting printed in bold)
0 500 kbps
1 250 kbps
2 125 kbps
3 50 kbps
4 1000 kbps
5 20 kbps
14 800 kbps
; Read access ; Write access CINH PLC-STOP No transfer PDO_MA P_RX PDO_MAP_TX ; COM MOT
Index: 24225
Index: 24224
= 5EA1
d
= 5EA0
d
h
h
C00352
Parameter | Name:
C00352 | CAN Slave/Master
Data type: UNSIGNED_8
Index: 24223
The drive starts as CAN master after mains switching if the value "1" has been entered and saved here.
Selection list (Lenze setting printed in bold)
0Slave
1Master
; Read access ; Write access CINH PLC-STOP No transfer PDO_MA P_RX PDO_MAP_TX ; COM MOT
= 5E9F
d
h
EDS84DMOTCAN EN 3.0 - 11/2011L79
Page 80
Communication manual 8400 motec CANopen
Parameter reference
Parameters for CANopen communication
C00353
C00354
Parameter | Name:
Data type: UNSIGNED_8
C00353 | CAN IN/OUT COBID source
Identifier allocation procedure for the CANx_IN/OUT process data
2 COBID = C0354/xCOBID = direct setting from C00354/x
SubcodesLenze settingInfo
C00353/11COBID source CAN1_IN/OUT
C00353/21COBID source CAN2_IN/OUT
; Read access ; Write access CINH PLC-STOP No transfer PDO_MA P_RX PDO_MAP_TX ; COM MOT
Parameter | Name:
Data type: UNSIGNED_32
C00354 | COBID
Setting of the default COBID according to CANopen
• A change of the COBID will only become effective after a CAN reset node.
Identifiers of the process data objects
( 51)
Value is bit-coded:
Bit 0 COBID Bit0
... ...
Bit 10 COBID Bit10
Bit 11 Reserved
... ...
Bit 30 Reserved
Bit 31 PDO invalid
SubcodesLenze settingInfo
C00354/1513 (0x00000201)COBID CAN1_IN
C00354/2385 (0x00000181)COBID CAN1_OUT
C00354/3769 (0x00000301)COBID CAN2_IN
C00354/4641 (0x00000281)COBID CAN2_OUT
; Read access ; Write access CINH PLC-STOP No transfer PDO_MA P_RX PDO_MAP_TX ; COM MOT
Index: 24222
Index: 24221
= 5E9E
d
)
= 5E9D
d
h
h
C00355
Parameter | Name:
C00355 | Active COBID
Data type: UNSIGNED_16
Index: 24220
= 5E9C
d
Display of the COBID of the PDOs that is active in the CAN stack
Identifiers of the process data objects
( 51)
Display area (min. value | unit | max. value)
02047
SubcodesInfo
C00355/1Active COBID CAN1_IN
C00355/2Active COBID CAN1_OUT
C00355/3Active COBID CAN2_IN
C00355/4Active COBID CAN2_OUT
; Read access Write access CINH PLC-STOP ; No transfer PDO_MAP_RX PDO_MAP_TX ; COM MOT
80LEDS84DMOTCAN EN 3.0 - 11/2011
h
Page 81
C00356
Communication manual 8400 motec CANopen
Parameter reference
Parameters for CANopen communication
C00357
Parameter | Name:
C00356 | CAN time settings
Data type: UNSIGNED_16
Index: 24219
= 5E9B
d
Different time settings for the CAN interface
Setting range (min. value | unit | max. value)
0ms65000
SubcodesLenze settingInfo
C00356/13000 msCAN delay during status change from "Boot-up" to
"Operational"
C00356/20 msCAN2_OUT cycle time
C00356/30 msReserved
C00356/40 msCANx_OUT time "Operational" to "First transmission"
C00356/50 msCAN1_OUT cycle time
; Read access ; Write access CINH PLC-STOP No transfer PDO_MA P_RX PDO_MAP_TX ; COM MOT
Parameter | Name:
C00357 | CAN monitoring times
Data type: UNSIGNED_16
Index: 24218
= 5E9A
d
Mapping of the RPDO event time (see DS301 V4.02)
• If a non-zero value is entered, the RPDO is expected after the time set has elapsed.
• If the RPDO is not received within the expected time, the response set in C00593/1...2
is effected.
Setting range (min. value | unit | max. value)
0ms65000
SubcodesLenze settingInfo
C00357/13000 msCAN1_IN monitoring time
C00357/23000 msCAN2_IN monitoring time
; Read access ; Write access CINH PLC-STOP No transfer PDO_MA P_RX PDO_MAP_TX ; COM MOT
h
h
C00359
Parameter | Name:
Data type: UNSIGNED_8
C00359 | CAN status
Display of the CAN status
Communication phases/network management
( 40)
Selection list (read only)
0 Operational
1 Pre-operational
2 Reserved
3 Reserved
4 BootUp
5 Stopped
6 Reserved
7 Reset
; Read access Write access CINH PLC-STOP ; No transfer PDO_MAP_RX PDO_MAP_TX ; COM MOT
Index: 24216
= 5E98
d
h
EDS84DMOTCAN EN 3.0 - 11/2011L81
Page 82
Communication manual 8400 motec CANopen
Parameter reference
Parameters for CANopen communication
C00360
C00364
Parameter | Name:
Data type: UNSIGNED_16
C00360 | CAN telegram counter
Number of received and sent CAN telegrams
Display area (min. value | unit | max. value)
065535
SubcodesInfo
C00360/1All PDOs/SDOs sent
C00360/2All PDOs/SDOs received
C00360/3Telegram counter CAN1_OUT
C00360/4Telegram counter CAN2_OUT
C00360/5Reserved
C00360/6Telegram counter SDO1 OUT
C00360/7Telegram counter SDO2 OUT
C00360/8Telegram counter CAN1_IN
C00360/9Telegram counter CAN2_IN
C00360/10Reserved
C00360/11Telegram counter SDO1 IN
C00360/12Telegram counter SDO2 IN
; Read access Write access CINH PLC-STOP ; No transfer PDO_MAP_RX PDO_MAP_TX ; COM MOT
Index: 24215
= 5E97
d
h
Parameter | Name:
Data type: UNSIGNED_8
C00364 | CAN MessageError
Value is bit-coded:
Bit 0 No Error
Bit 1 StuffError
Bit 2 FormError
Bit 3 AckError
Bit 4 Bit1Error
Bit 5 Bit0Error
Bit 6 CRCError
Bit 7 Reserved
; Read access Write access CINH PLC-STOP ; No transfer PDO_MAP_RX PDO_MAP_TX ; COM MOT
Index: 24211
= 5E93
d
h
82LEDS84DMOTCAN EN 3.0 - 11/2011
Page 83
C00366
Communication manual 8400 motec CANopen
Parameter reference
Parameters for CANopen communication
C00367
Parameter | Name:
C00366 | Number of CAN SDO channels
Data type: UNSIGNED_8
Index: 24209
= 5E91
d
Available from firmware version 02.00.
Selection of the number of active parameter data channels
• In the Lenze setting in accordance with CANopen, only parameter data channel 1 is activated. To activate both
parameter data channels, set the selection "2 SDO Lenze".
• Mapping of the CANopen object I-1201
(see DS301 V4.02)
Selection list (Lenze setting printed in bold)Info
01 SDO CANopenI-1201
• Subindex1.Bit31 = 1 (client -> server (rx))
• Subindex2.Bit31 = 1 (server -> client (tx))
• Bit 31 = 1 (SDO invalid/not available)
1 2 SDO LenzeI-1201
• Subindex1.Bit31 = 0 (client -> server (rx))
• Subindex2.Bit31 = 0 (server -> client (tx))
• Bit 31 = 1 (SDO valid/available)
; Read access ; Write access CINH PLC-STOP No transfer PDO_MA P_RX PDO_MAP_TX ; COM MOT
Parameter | Name:
C00367 | CAN sync-Rx identifier
Data type: UNSIGNED_16
Index: 24208
= 5E90
d
Identifier by means of which the sync slave is to receive sync telegrams.
• Mapping of the CANopen object I-1005
PDO synchronisation via sync telegram
(see DS301 V4.02).
( 54)
Setting range (min. value | unit | max. value)Lenze setting
128255 128
; Read access ; Write access CINH PLC-STOP No transfer PDO_MA P_RX PDO_MAP_TX ; COM MOT
h
h
C00368
C00369
Parameter | Name:
Data type: UNSIGNED_16
C00368 | CAN sync-Tx identifier
Identifier by means of which the sync master is to transmit sync telegrams.
• Mapping of the CANopen object I-1005
PDO synchronisation via sync telegram
(see DS301 V4.02).
( 54)
Setting range (min. value | unit | max. value)Lenze setting
128255 128
; Read access ; Write access CINH PLC-STOP No transfer PDO_MA P_RX PDO_MAP_TX ; COM MOT
Parameter | Name:
Data type: UNSIGNED_16
C00369 | CAN sync transmission cycle time
Cycle during which the sync master is to transmit sync telegrams.
• If "0 ms" is set (Lenze setting), no sync telegrams are generated.
• Mapping of the CANopen object I-1006
PDO synchronisation via sync telegram
(see DS301 V4.02).
( 54)
Setting range (min. value | unit | max. value)Lenze setting
0ms65000 0ms
; Read access ; Write access CINH PLC-STOP No transfer PDO_MA P_RX PDO_MAP_TX ; COM MOT
Index: 24207
Index: 24206
= 5E8F
d
= 5E8E
d
h
h
EDS84DMOTCAN EN 3.0 - 11/2011L83
Page 84
Communication manual 8400 motec CANopen
Parameter reference
Parameters for CANopen communication
C00372
C00381
C00385
Parameter | Name:
Data type: UNSIGNED_8
C00372 | CAN_Tx_Rx_Error
Display of CAN transmission and reception errors
Display area (min. value | unit | max. value)
0ms255
SubcodesInfo
C00372/1Transmission error (Tx_Error)
C00372/2Receipt error (Rx_Error)
; Read access Write access CINH PLC-STOP ; No transfer PDO_MAP_RX PDO_MAP_TX ; COM MOT
Parameter | Name:
Data type: UNSIGNED_16
C00381 | CAN Heartbeat Producer Time
Time interval for the transmission of the heartbeat telegram to the consumer(s).
• The heartbeat telegram is sent automatically as soon as a time > 0 ms is set.
• Mapping of the CANopen object I-1017
Heartbeat protocol
( 69)
(see DS301 V4.02).
Setting range (min. value | unit | max. value)Lenze setting
0ms65535 0ms
; Read access ; Write access CINH PLC-STOP No transfer PDO_MA P_RX PDO_MAP_TX ; COM MOT
Index: 24203
Index: 24194
= 5E8B
d
= 5E82
d
h
h
C00386
Parameter | Name:
Data type: UNSIGNED_8
C00385 | CAN NodeID heartbeat producer
Subcode 1 represents the node which is to be monitored via heartbeat.
Heartbeat protocol
( 69)
Setting range (min. value | unit | max. value)
0127
SubcodesLenze settingInfo
C00385/10CAN NodeID heartbeat producer 1
; Read access ; Write access CINH PLC-STOP ; No transfer PDO_MAP_RX PDO_MAP_TX ; COM MOT
Parameter | Name:
Data type: UNSIGNED_16
C00386 | ConsumerTime HeartBeat producer
Monitoring time for the nodes to be monitored
• Mapping of the CANopen object I-1016
Heartbeat protocol
( 69)
(see DS301 V4.02).
Setting range (min. value | unit | max. value)
0ms60000
SubcodesLenze settingInfo
C00386/10 msConsumerTime HeartBeat Producer 1
; Read access ; Write access CINH PLC-STOP No transfer PDO_MA P_RX PDO_MAP_TX ; COM MOT
Index: 24190
Index: 24189
= 5E7E
d
= 5E7D
d
h
h
84LEDS84DMOTCAN EN 3.0 - 11/2011
Page 85
C00389
Communication manual 8400 motec CANopen
Parameter reference
Parameters for CANopen communication
C00409
Parameter | Name:
Data type: UNSIGNED_8
C00389 | PDO valid / not valid
Validity of the PDOs
Selection list (Lenze setting printed in bold)
0 PDO available/valid
1 PDO not available/invalid
SubcodesLenze settingInfo
C00389/10PDO valid / invalid CAN1_IN
C00389/20PDO valid / invalid CAN1_OUT
C00389/30PDO valid / invalid CAN2_IN
C00389/40PDO valid / invalid CAN2_OUT
; Read access ; Write access CINH PLC-STOP No transfer PDO_MA P_RX PDO_MAP_TX ; COM MOT
Parameter | Name:
Data type: UNSIGNED_16
C00409 | LP_CanIn Mapping
Mapping for the port blocks LP_CanIn1...2
• Mapping of the CANopen objects I-1600
... I-1601 (see DS301 V4.02)
Setting range (min. value | unit | max. value)
065535
SubcodesLenze settingInfo
C00409/10LP_CanIn1_wIn1(wCtrl)
C00409/20LP_CanIn1_wIn2
C00409/30LP_CanIn1_wIn3
C00409/40LP_CanIn1_wIn4
C00409/50LP_CanIn2_wIn1
C00409/60LP_CanIn2_wIn2
C00409/70LP_CanIn2_wIn3
C00409/80LP_CanIn2_wIn4
; Read access ; Write access CINH PLC-STOP No transfer ; PDO_MAP_RX PDO_MAP_TX COM MOT
Index: 24186
Index: 24166
= 5E7A
d
= 5E66
d
h
h
EDS84DMOTCAN EN 3.0 - 11/2011L85
Page 86
Communication manual 8400 motec CANopen
Parameter reference
Parameters for CANopen communication
C00592
C00593
Parameter | Name:
C00592 | Resp. to CAN bus connection
Data type: UNSIGNED_8
Index: 23983
= 5DAF
d
Configuration of monitoring of the CAN interface
Selection list
0 No Reaction
1Fault
2Trouble
4 WarningLocked
SubcodesLenze settingInfo
C00592/10: No ReactionResponse to an incorrect telegram during CAN
communication
C00592/20: No ReactionResponse to "BusOff" (bus system switched off)
C00592/30: No ReactionResponse to warnings of the CAN controller
C00592/40: No ReactionResponse to communication stop of a CAN bus node
C00592/50: No ReactionResponse to an event in the case of monitoring via
heartbeat protocol
; Read access ; Write access CINH PLC-STOP No transfer PDO_MA P_RX PDO_MAP_TX COM MOT
Parameter | Name:
C00593 | Resp. to CANx_IN monitoring
Data type: UNSIGNED_8
Index: 23982
= 5DAE
d
Configuration of monitoring for the reception of PDOs CAN1_IN and CAN2_IN
Selection list
0 No Reaction
1Fault
2Trouble
4 WarningLocked
SubcodesLenze settingInfo
C00593/10: No ReactionResponse if the monitoring time set in C00357/1
for the
reception of the PDO CAN1_IN is exceeded.
C00593/20: No ReactionResponse if the monitoring time set in C00357/2
for the
reception of the PDO CAN2_IN is exceeded.
; Read access ; Write access CINH PLC-STOP No transfer PDO_MA P_RX PDO_MAP_TX COM MOT
h
h
86LEDS84DMOTCAN EN 3.0 - 11/2011
Page 87
12.3Table of attributes
How to read the table of attributes:
ColumnMeaningEntry
CodeParameter nameCxxxxx
NameParameter short text (display text)Text
IndexdecIndex under which the parameter is addressed.
hex5FFF
DataDSData structureESingle variable
DANumber of array elements (subcodes)Number
DTData typeBITFIELD_81 byte, bit-coded
FactorFactor for data transmission via a bus system,
AccessRRead access; Reading permitted
WWrite access; Writing permitted
CINHController inhibit required; Writing is only possible if controller inhibit is set
The subindex for array variables corresponds to the
Lenze subcode number.
depending on the number of decimal positions
Communication manual 8400 motec CANopen
Parameter reference
Table of attributes
24575 - Lenze code numberIs only required for access via a bus
Resp. to CAN bus connection239835DAFA5UNSIGNED_81;;
Resp. to CANx_IN monitoring239825DAEA2UNSIGNED_81;;
88LEDS84DMOTCAN EN 3.0 - 11/2011
Page 89
Communication manual 8400 motec CANopen
13Implemented CANopen objects
Lenze devices can be parameterised with both Lenze codes and manufacturerindependent "CANopen objects". Completely CANopen-compliant
only be achieved by solely using CANopen objects for parameter setting. The CANopen
objects described in this chapter are defined in the CAN specification DS301 V4.02.
Many CANopen objects can be mapped to Lenze codes. The "Relationship to Lenze code"
column of the following table lists the Lenze codes used.
Note!
Some of the terms used here derive from the CANopen protocol.
Overview of CANopen indexes and their relationship to Lenze codes
Implemented CANopen objects
communication can
CANopen objectRelationship to Lenze
IndexSubindexName
I-1000
I-1001
I-1003
I-1005
I-10060Communication cycle periodC00369
I-10140COB-ID EMCY-
I-1016
I-10170Producer heartbeat timeC00381
I-1018Identity object
I-1200
I-1201
0Device type-
0Error register-
Predefined error field
0Number of errors-
1 ... 10Standard error field-
0COB-ID SYNC messageC00367
Consumer heartbeat time
0Highest subindex supported-
1Consumer heartbeat timeC00385/1...n
0Highest subindex supported-
1Vendor ID-
2Product code-
3Revision number-
4Serial number-
SDO1 server parameter
0Highest subindex supported-
1COB-ID client −> server (rx)-
2COB-ID server −> client (tx)-
SDO2 server parameterC00366
0Highest subindex supported
1COB-ID client −> server (rx)
2COB-ID server −> client (tx)
code
C00368
C00386/1...n
EDS84DMOTCAN EN 3.0 - 11/2011L89
Page 90
Communication manual 8400 motec CANopen
Implemented CANopen objects
CANopen objectRelationship to Lenze
IndexSubindexName
I-1400RPDO1 communication parameter
0Highest subindex supported-
1COB-ID used by RPDOC00355/1
2Transmission typeC00323/1
I-1401RPDO2 communication parameter
0Highest subindex supported-
1COB-ID used by RPDOC00355/3
2Transmission typeC00323/2
I-1600RPDO1 mapping parameter
0Number of mapped application objects in PDO-
1 ... 4Application object 1 ... 4C00409/1...4
I-1601RPDO2 mapping parameter
0Number of mapped application objects in PDO-
1 ... 4Application object 1 ... 4C00409/5...8
I-1800TPDO1 communication parameter
0Highest subindex supported-
1COB-ID used by TPDOC00355/2
2Transmission typeC00322/1
3Inhibit time-
5Event timerC00356/5
I-1801TPDO2 communication parameter
0Highest subindex supported-
1COB-ID used by TPDOC00355/4
2Transmission typeC00322/2
3Inhibit time-
5Event timerC00356/2
I-1A00TPDO1 mapping parameter
0Number of mapped application objects in PDO-
1 ... 4Application object 1 ... 4-
I-1A01
TPDO2 mapping parameter
0Number of mapped application objects in PDO-
1 ... 4Application object 1 ... 4-
code
C00369
C00369
90LEDS84DMOTCAN EN 3.0 - 11/2011
Page 91
I-1000 - Device type
Communication manual 8400 motec CANopen
Implemented CANopen objects
Index
I-1000
SubindexDefault settingDisplay range (min. value | unit | max. value)AccessData type
0: Device type0
Name:
Device type
04294967295 roU32
The CANopen index I-1000 specifies the profile for this device. Furthermore, additional
information defined in the device profile itself can be stored here.
8th byte7th byte6th byte5th byte
Data 4Data 3Data 2Data 1
High wordLow word
High byteLow byteHigh byteLow byte
Additional informationDevice profile number
[13-1] Data telegram assignment
In case of 8400 series controllers, the four bytes contain the following values:
5th and 6th byte: The data contents are 0x0000, i.e. no profile definition.
7th byte: The data content specifies the device type: Here the value is 0x00 for
controllers.
8th byte: The data contents are 0x00.
The data content for the 8400 controller thus is: 00 00 00 00
I-1001 - Error register
Index:
I-1001
SubindexDefault settingDisplay range (min. value | unit | max. value)AccessData type
0: Error register-0255 roU8
Name:
Error register
Error register
The error status in the data byte (U8) is bit-coded. The following error states are coded in
the data byte (U8):
Bit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0Error status
00000000No error
00000001Device error message
00010001Communication error
EDS84DMOTCAN EN 3.0 - 11/2011L91
Page 92
Communication manual 8400 motec CANopen
Implemented CANopen objects
I-1003 - Pre-defined error field
Index:
I-1003
SubindexDefault settingSetting range (min. value | unit | max. value)AccessData type
0: Number of errors00255 rwU8
1 ... 10: Standard error field-04294967295 roU32
Name:
Predefined error field
Error history
This object indicates that an error has occurred in the module and in the standard device.
SubindexMeaning
0Number of saved error messages
1 ... 10Display of the error list
The error messages (U32) consist of a 16-bit error code and a manufacturer-specific
information field comprising 16 bits.
Note!
The values of the "Standard error field" in subindex 1 ... 10 will be deleted if the
"Number of recorded errors" subindex is overwritten with a value of "0".
Emergency
Error code
0x0000One of several errors eliminated0xXX
0x1000Standard device is in error status (error response "fault", "message",
0x3100Supply voltage of standard device faulty or failed0x01
0x8100Communication error (warning)0x11
0x8130Life guard error or heartbeat error0x11
0x8150Collision of COB IDs: An ID parameterised for reception is also used
0x8210PDO length shorter than expected0x11
0x8220PDO length greater than expected0x11
0x8700Monitoring of the sync telegram0x11
CauseEntry in the
Error register
(I-1001
)
Elimination of one single error
(afterwards no more errors)
"warning", "error", "quick stop by trouble", or "system error")
for transmission.
0x00
0x01
0x11
92LEDS84DMOTCAN EN 3.0 - 11/2011
Page 93
I-1005 - COB-ID SYNC message
Communication manual 8400 motec CANopen
Implemented CANopen objects
Index:
I-1005
SubindexDefault settingSetting range (min. value | unit | max. value)AccessData type
0: COB-ID SYNC message0x0000 0080
Name:
COB-ID SYNC message
or
0x8000 0080
04294967295 rwU32
This object can be used to activate the generation of sync telegrams and to write the
identifier value.
This object relates to codes C00367
and C00368.
Creating sync telegrams
Sync telegrams are generated by setting bit 30 (see below) to a value of "1". The time
interval between the sync telegrams can be set using object I-1006
.
Writing identifiers
For the reception of PDOs, the value 0x80 is entered in the Lenze setting (and according to
CANopen specification) into the 11 bit identifier. This means that all
modules are set to the
same sync telegram by default.
If sync telegrams are only to be received by certain
communication modules, their
identifiers can be entered with values up to and including 0x07FF.
The identifier may only be changed when the communication module does not send
any sync telegrams (bit 30 = "0").
How to change the identifier:
– Deactivate identifier (set bit 30 to "0").
– Change identifier.
– Activate identifier (set bit 30 to "1").
8th byte7th byte6th byte5th byte
Data 4Data 3Data 2Data 1
Bit 31Bit 30Bit 29 ... bit 11Bit 10 ... bit 0
x0/1Extended identifier*11-bit identifier
* The extended identifier is not supported - bit 11 ... bit 29 must be set to "0".
[13-2] Data telegram assignment
EDS84DMOTCAN EN 3.0 - 11/2011L93
Page 94
Communication manual 8400 motec CANopen
Implemented CANopen objects
I-1006 - Communication cycle period
Index:
I-1006
SubindexDefault settingSetting range (min. value | unit | max. value)AccessData type
0: Communication cycle period0 μs0μs65535000 rwU32
Name:
Communication cycle period
Setting the sync telegram cycle time.
The cycle time can be selected as "1000" or as an integer multiple of it.
If "0 μs" is set
This object relates to code C00369
(Lenze setting), no sync telegrams are generated.
.
I-1014 - COB-ID EMCY
Index:
I-1014
SubindexDefault settingSetting range (min. value | unit | max. value)AccessData type
0: COB-ID EMCY0x80 + nod e ID04294967295 rwU32
Name:
COB-ID EMCY
When communication errors occur and are acknowledged or when internal errors occur in
the communication module or controller (e.g. "fault"), an error message is sent on the
system bus. The telegram is sent once for every error. This function can be activated or
deactivated with bit 31.
8th byte7th byte6th byte5th byte
Data 4Data 3Data 2Data 1
Bit 31Bit 30Bit 29 ... bit 11Bit 10 ... bit 0
0/10Extended identifier*11-bit identifier
* The extended identifier is not supported - bit 11 ... bit 29 must be set to "0".
[13-3] Data telegram assignment
BitSetting
Bit 310 Emergency object is valid.
1 Emergency object is invalid.
Note!
The identifier can only be changed in the "emergency object invalid" status
(bit 31 = 1).
94LEDS84DMOTCAN EN 3.0 - 11/2011
Page 95
Communication manual 8400 motec CANopen
I-1016 - Consumer heartbeat time
Implemented CANopen objects
Index:
I-1016
SubindexDefault settingSetting range (min. value | unit | max. value)AccessData type
Monitoring time for the nodes to be monitored via heartbeat.
Heartbeat protocol
( 69)
The parameterised time is rounded down to an integer multiple of 5 ms and must have a
greater value than the heartbeat producer time of the node to be monitored.
SubindexMeaningLenze code
0Number of nodes to be monitored
1 ... nNode ID and heartbeat time of the node to be monitored Node ID:
C00385/x
Heartbeat time:
C00386/x
8th byte7th byte6th byte5th byte
Data 4Data 3Data 2Data 1
Bit 31 ... bit 24Bit 23 ... bit 16Bit 15 ... bit 0
0
Reserved
[13-4] Data telegram assignment
Node IDHeartbeat time
in [ms]
I-1017 - Producer heartbeat time
Index:
I-1017
SubindexDefault settingSetting range (min. value | unit | max. value)AccessData type
0: Producer heartbeat time00ms65535 rwU16
Name:
Producer heartbeat time
Time interval for the transmission of the heartbeat telegram to the consumer(s).
Heartbeat protocol
( 69)
The parameterised time is rounded down to an integer multiple of 5 ms.
The heartbeat telegram is sent automatically as soon as a tim e > 0 ms is s et. In th is c ase
the monitoring function "Node Guarding" is deactivated.
This object relates to code C00381
.
EDS84DMOTCAN EN 3.0 - 11/2011L95
Page 96
Communication manual 8400 motec CANopen
Implemented CANopen objects
I-1018 - Identity object
Index:
I-1018
SubindexDefault settingDisplay range (min. value | unit | max. value)AccessData type