Emf2178ib Canopen Aif Module v3-0 en
Emf2178ib Canopen Aif Module v3-0 en
.Li|
L−force Communication
Ä.Li|ä
Communication Manual
CANopen
EMF2178IB
Communication module
l
i Contents
2 Safety instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.1 General safety information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.2 Device− and application−specific safety instructions . . . . . . . . . . . . . . . . . . . . . . . . 12
2.3 Residual hazards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3 Product description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.1 Application as directed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3.2 Identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.3 Product features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3.4 Connections and interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4 Technical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
4.1 General data and operating conditions ................................. 17
4.2 Protective insulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4.3 Communication time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4.4 Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
5 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
5.1 Mechanical installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
5.2 Electrical installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
5.2.1 Wiring according to EMC (CE−typical drive system) . . . . . . . . . . . . . . . . . 23
5.2.2 Wiring with a host (master) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
5.2.3 Wiring system bus (CAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
5.2.4 Specification of the transmission cable . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
5.2.5 Bus cable length . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
5.2.6 Voltage supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
6 Commissioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
6.1 Before switching on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
6.2 Installing EDS files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
6.3 Setting node address and baud rate .................................... 33
6.4 Initial switch−on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
6.5 Enable drive via the communication module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
2 l EDSMF2178IB EN 3.0
Contents i
8 Data transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
8.1 Structure of the CAN telegram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
8.2 CAN communication phases / network management (NMT) ............... 45
11 Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
11.1 Heartbeat Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
11.2 Node Guarding Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
11.3 Emergency telegram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
12 Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
12.1 Measures in case of troubled communication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
12.2 LED status displays .................................................. 89
EDSMF2178IB EN 3.0 l 3
i Contents
14 Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
14.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
14.2 Communication−relevant Lenze codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
14.3 Important controller codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
15 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
4 l EDSMF2178IB EN 3.0
About this documentation 1
0Fig. 0Tab. 0
Contents
This documentation exclusively contains descriptions of the EMF2178IB communication
module (CANopen).
) Note!
This documentation supplements the mounting instructions supplied with the
function/communication module and the documentation of the used
standard device.
The mounting instructions contain safety instructions which must be
observed!
The features and functions of the communication module are described in detail.
Examples illustrate typical applications.
Furthermore this documentation contains the following:
ƒ Safety instructions that must be observed.
ƒ Key technical data relating to the communication module
ƒ Information on versions of Lenze standard devices to be used.
ƒ Notes on troubleshooting and fault elimination
The theoretical correlations are only explained in so far as they are necessary for
comprehending the function of the communication module.
This documentation does not describe the software of an original equipment
manufacturer. No responsibility is taken for corresponding information given in this
manual. Information on how to use the software can be obtained from the documents of
the host system (master).
All brand names mentioned in this manual are trademarks of their respective companies.
I Tip!
For further information visit the homepage of the CAN user organisation CiA
(CAN in Automation): www.can−cia.org.
EDSMF2178IB EN 3.0 l 5
1 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.
I Tip!
Information and auxiliary devices related to the Lenze products can be found
in the download area at
http://www.Lenze.com
Validity information
The information given in this documentation is valid for the following devices:
ƒ EMF2178IB communication modules (CANopen) as of version 1x.2x.
6 l EDSMF2178IB EN 3.0
About this documentation 1
Document history
EDSMF2178IB EN 3.0 l 7
1 About this documentation
Conventions used
8 l EDSMF2178IB EN 3.0
About this documentation 1
Terminology used
Term Meaning
Standard device Lenze controllers that can be used with the communication module.
Drive ^ 13
»Global Drive Control« / PC software from Lenze which supports you in "engineering" (parameter setting,
»GDC« diagnosing, and configuring) during the entire life cycle, i.e. from planning to
maintenance of the commissioned machine.
Code Parameter which serves to parameterise and monitor the controller. In normal speech,
the term is usually called "Index".
Subcode If a code contains more than one parameter, these parameters are stored in
"subcodes".
In this documentation a slash "/" is used as a separator between code and subcode
(e.g. "C00118/3").
In normal speech, the term is also called "Subindex".
Lenze setting These are settings the device is preconfigured with ex works.
Basic setting
HW Hardware
SW Software
PDO Process data object
SDO Service data object
EDSMF2178IB EN 3.0 l 9
1 About this documentation
Notes used
The following pictographs and signal words are used in this documentation to indicate
dangers and important information:
Safety instructions
Structure of safety instructions:
} Danger!
(characterises the type and severity of danger)
Note
(describes the danger and gives information about how to prevent dangerous
situations)
{ Danger!
Reference to an imminent danger that may result in death or
serious personal injury if the corresponding measures are not
taken.
Danger of personal injury through a general source of danger.
} Danger!
Reference to an imminent danger that may result in death or
serious personal injury if the corresponding measures are not
taken.
(
Danger of property damage.
Stop! Reference to a possible danger that may result in property
damage if the corresponding measures are not taken.
Application notes
Pictograph and signal word Meaning
10 l EDSMF2178IB EN 3.0
Safety instructions 2
General safety information
2 Safety instructions
) Note!
It is absolutely vital that the stated safety measures are implemented in order
to prevent serious injury to persons and damage to material assets.
Always keep this documentation to hand in the vicinity of the product during
operation.
} 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 for the intended purpose.
... must never be operated if damaged.
... must never be subjected to technical modifications.
... must never be operated unless completely assembled.
... must never be operated without the covers/guards.
... can − depending on their degree of protection − have live, movable or rotating parts
during or after operation. Surfaces can be hot.
ƒ For Lenze drive components ...
... only use permitted accessories.
... only use original manufacturer spare parts.
ƒ All specifications of the corresponding enclosed documentation must be observed.
This is vital for a safe and trouble−free operation and for achieving the specified product
features.
The procedural notes and circuit details provided in this document are proposals which
the user must check for suitability for his application. The manufacturer does not
accept any liability for the suitability of the specified procedures and circuit proposals.
ƒ Only qualified skilled personnel are permitted to work with or on Lenze drive and
automation components.
According to IEC 60364 or CENELEC HD 384, these are persons ...
... who are familiar with the installation, assembly, commissioning and operation of
the product,
... possess the appropriate qualifications for their work,
... and are acquainted with and can apply all the accident prevent regulations, directives
and laws applicable at the place of use.
EDSMF2178IB EN 3.0 l 11
2 Safety instructions
Device− and application−specific safety instructions
Protection of persons
ƒ If controllers are connected to phase−earthed system with a rated mains voltage
³ 400 V, external measures need to be implemented to provide reliable protection
against accidental contact. (see chapter "4.2", ^ 18)
Device protection
ƒ The communication module contains electronic components that can be damaged
or destroyed by electrostatic discharge.
12 l EDSMF2178IB EN 3.0
Product description 3
Application as directed
3 Product description
EDSMF2178IB EN 3.0 l 13
3 Product description
Identification
3.2 Identification
L
Type
Id.-No.
Prod.-No.
Ser.-No.
E82AF000P0B201XX
99371BC013
14 l EDSMF2178IB EN 3.0
Product description 3
Product features
ƒ Attachable communication module for the basic Lenze devices 8200 vector, 93XX,
9300 Servo PLC, Drive PLC, ECSXX
ƒ Front DIP switches for setting the ...
– CAN node address (max. 127 nodes)
– baud rate (10, 20, 50, 125, 250, 500 and 1000 kbit/s)
ƒ Bus expansion without repeater up to 7450 m
ƒ Topology: Line terminated at both ends (R = 120 W)
ƒ Simple connection through plug−on screw terminals
ƒ Together with a 9300 Servo PLC, additional CANopen application profiles can be
implemented.
EDSMF2178IB EN 3.0 l 15
3 Product description
Connections and interfaces
EMF2178IB 0 1
Address Bd
2
6
L
CANopen
4
C
C
SH
AN
G
AN
V+
N
LD
5
_H
_L
D
2178
2178CAN003
2102LEC007
16 l EDSMF2178IB EN 3.0
Technical data 4
General data and operating conditions
4 Technical data
Field Values
Order designation EMF2178IB
Communication media DIN ISO 11898
Network topology Line terminated at both ends (R = 120 W)
Communication profile CANopen, DS301 V4.01
Node addresses Max. 127
Cable length Max. 7450 m (depending on the baud rate, ^ 27)
Baud rate [kbit/s] 10, 20, 50, 125, 250, 500, 1000
Voltage supply Internal or external supply possible for basic devices: 8200 vector / 93XX /
9300 Servo PLC / Drive PLC / ECSXX
(also see ^ 30)
External supply via separate power supply unit:
V+: V = 24 V DC ± 10 %
I = 100 mA
GND: Reference potential for external voltage supply
, Documentation for Lenze series of devices 8200 vector, 9300 and ECS
Here you can find the ambient conditions and the electromagnetic
compatibility (EMC) specifications applying to the communication module.
EDSMF2178IB EN 3.0 l 17
4 Technical data
Protective insulation
{ Danger!
Dangerous electrical voltage
If Lenze controllers are used on a phase earthed mains with a rated mains
voltage ³ 400 V, protection against accidental contact is not ensured without
implementing external measures.
Possible consequences:
ƒ Death or serious injury
Protective measures:
ƒ If protection against accidental contact is required for the control terminals
of the controller and the connections of the plugged device modules, ...
– a double isolating distance must exist.
– the components to be connected must be provided with the second
isolating distance.
Protective insulation between the bus and ... Type of insulation according to EN 61800−5−1
Reference earth / PE Functional insulation
External supply No functional insulation
Power section
l 8200 vector Double insulation
l 9300 vector, Servo PLC Double insulation
l Drive PLC Double insulation
l ECSXX Double insulation
Control terminals
l 8200 vector No functional insulation
(with internal supply, ^ 30)
l 8200 vector Basic insulation
(with external supply, ^ 30)
l 9300 vector, Servo PLC Basic insulation
l Drive PLC Basic insulation
l ECSXX Basic insulation
18 l EDSMF2178IB EN 3.0
Technical data 4
Communication time
The communication time is the time between the start of a request and the arrival of the
corresponding response.
The CAN bus communication times depend on ...
ƒ the processing time in the controller (see documentation of the controller)
ƒ Telegram runtime
– baud rate
– telegram length
ƒ the data priority
ƒ the bus load
Telegram time
The telegram times depend on the baud rate and the telegram length:
Baud rate Telegram runtime
[kbit/s] [ms]
0 bytes 2 bytes 8 bytes
10 5.44 7.36 13.12
20 2.72 3.68 6.56
50 1.09 1.47 2.62
125 0.44 0.59 1.05
250 0.22 0.29 0.52
500 0.11 0.15 0.26
1000 0.05 0.07 0.13
EDSMF2178IB EN 3.0 l 19
4 Technical data
Dimensions
4.4 Dimensions
62
Address Bd
L
CANopen
75
C
C
SH
AN
G
AN
V+
N
LD
_H
_L
D
2178
18
36
2178CAN003
20 l EDSMF2178IB EN 3.0
Installation 5
5 Installation
} Danger!
Inappropriate handling of the communication module and the standard device
can cause serious personal injury and material damage.
Observe the safety instructions and residual hazards described in the
documentation for the standard device.
( Stop!
The device contains components that can be destroyed by electrostatic
discharge!
Before working on the device, the personnel must ensure that they are free of
electrostatic charge by using appropriate measures.
EDSMF2178IB EN 3.0 l 21
5 Installation
Mechanical installation
2102LEC014
ƒ Plug the communication module onto the standard device (here: 8200 vector).
ƒ Tighten the communication module to the standard device using the fixing screw in
order to ensure a good PE connection.
) Note!
For the internal supply of the communication module by the 8200 vector
frequency inverter the jumper has to be adjusted within the interface opening
(see illustration above).
Observe the notes (¶ 30).
22 l EDSMF2178IB EN 3.0
Installation 5
Electrical installation
Wiring according to EMC (CE−typical drive system)
) Note!
ƒ Separate control cables/data lines from motor cables.
ƒ Connect the shields of control cables/data lines at both ends in the case of
digital signals.
ƒ Use an equalizing conductor with a cross−section of at least 16mm2
(reference:PE) to avoid potential differences between the bus nodes.
ƒ Observe the other notes concerning EMC−compliant wiring given in the
documentation for the standard device.
EDSMF2178IB EN 3.0 l 23
5 Installation
Electrical installation
Wiring with a host (master)
{ Danger!
An additional electrical isolation is required if a safe electrical isolation
(reinforced insulation) to EN61800−5−1 is necessary.
For this purpose for instance an interface module for the master computer with an
additional electrical isolation can be used (see respective manufacturer information).
For wiring observe the electrical isolation of the supply voltage. The supply voltage is on the
same potential as the data bus.
The 5−pole plug connector with double screw connection serves to
ƒ connect the bus (¶ 25);
ƒ effect the external voltage supply (¶ 30).
C
C
SH
AN
G
AN
V+
N
LD
_H
_L
D
120W
2178CAN003
Designation Explanation
GND Reference potential for external voltage supply
CAN−GND connection
CAN_L Data line / input for terminating resistor 120 W
SHIELD Shielding
CAN_H Data line / input for terminating resistor 120 W
V+ External voltage supply
24 l EDSMF2178IB EN 3.0
Installation 5
Electrical installation
Wiring system bus (CAN)
) Note!
ƒ The last telegram determines the parameter when a parameter is accessed
by two units (see CANopen objects 1200 and 1201 "Server SDO
Parameters".(¶ 107)).
ƒ Please observe the notes in the chapter 6Commissioning (¶ 33), if you do
not select the baud rate and address via the front DIP switches.
EDSMF2178IB EN 3.0 l 25
5 Installation
Electrical installation
Specification of the transmission cable
CAN_H
CAN_L
SHLD
GND
V+
CAN
HIGH
LOW
GND
+
EMF2178IB
+
GND
120 W
120 W
2178CAN002
26 l EDSMF2178IB EN 3.0
Installation 5
Electrical installation
Bus cable length
) Note!
ƒ It is absolutely necessary to comply with the permissible cable lengths.
ƒ If the total cable lengths of the CAN nodes differ for the same baud rate, the
smaller value must be used to determine the max. cable length.
ƒ Observe the reduction of the total cable length due to the signal delay of the
repeater.
EDSMF2178IB EN 3.0 l 27
5 Installation
Electrical installation
Bus cable length
Results
Max. possible baud rate 250 kbps
(derived from Tab. 5−1 Total cable length)
Required cable cross−section (interpolated) 0.30 mm2 (AWG23)
(derived from Tab. 5−2 Segment cable length)
Cable cross−section of standard CAN cable 0.34 mm2 (AWG22)
(see specification of the transmission cable ^ 26)
28 l EDSMF2178IB EN 3.0
Installation 5
Electrical installation
Bus cable length
Example
Given
Total cable length to be implemented 450 m
Number of nodes 32
Cable cross−section 0.50 mm2 (AWG 20)
Baud rate 125 kbps
Repeater used Lenze repeater EMF2176IB
Reduction of the max. total cable length per 30 m
repeater (EMF2176IB)
Results
Max. total cable length 630 m
(see Tab. 5−1 Total cable length (^ 27))
Max. segment cable length 360 m
(see Tab. 5−2 Segment cable length (^ 28))
Comparison The max. segment cable length is smaller than the total cable
length to be implemented.
Conclusion A repeater must be installed at the determined max. segment
cable length of 360 m.
EDSMF2178IB EN 3.0 l 29
5 Installation
Electrical installation
Voltage supply
) Note!
Internal voltage supply has been selected in the case of standard devices with
an extended AIF interface opening (e.g. front of 8200 vector). The area shown
on a grey background in the graphic marks the jumper position.
ƒ By default, this is not supplied internally in the standard device.
ƒ For internal voltage supply place the jumper on the position indicated
below.
In the case of all other device series (9300, ECS), voltage is always supplied
from the standard device.
) Note!
In the case of an external voltage supply and for greater distances between
the control cabinets, always use a separate power supply unit (SELV/PELV) that
is safely separated in accordance with EN 61800−5−1 in each control cabinet.
The external voltage supply of the communication module ...
ƒ is required if communication via the fieldbus is to be continued in case the supply of
the standard device fails.
ƒ is carried out via the 2−pole plug connector with screw connection (24 V DC):
Terminal Description
V+ External voltage supply
V = 24VDC±10%
I = 100 mA
GND Reference potential for external voltage supply
ƒ The parameters of a basic device disconnected from the mains cannot be accessed.
30 l EDSMF2178IB EN 3.0
Installation 5
Electrical installation
Voltage supply
Terminal data
Area Values
Electrical connection Plug connector with screw connection
Possible connections rigid:
1.5 mm2 (AWG 16)
flexible:
without wire end ferrule
1.5 mm2 (AWG 16)
with wire end ferrule, without plastic sleeve
1.5 mm2 (AWG 16)
with wire end ferrule, with plastic sleeve
1.5 mm2 (AWG 16)
Tightening torque 0.5 ... 0.6 Nm (4.4 ... 5.3 lb−in)
Stripping length 6 mm
EDSMF2178IB EN 3.0 l 31
6 Commissioning
Before switching on
6 Commissioning
( Stop!
Before you switch on the standard device with the communication module for
the first time, check
ƒ the entire wiring with regard to completeness, short circuit, and earth fault.
ƒ whether the bus system is terminated by a bus terminating resistor at the
physically first and last node.
The EDS files serve to implement the Lenze communication modules for the AIF and FIF
interfaces into the CANopen configuration software.
The single EDS files describe the implemented CANopen functions of the respective
communication module and the "on board" Lenze system bus (CAN).
I Tip!
The current EDS file required for configuring the EMF2178IB (CANopen)
communication module can be found in the download area on:
www.Lenze.com
32 l EDSMF2178IB EN 3.0
Commissioning 6
Setting node address and baud rate
The node address and the baud rate can be set via codes or via the DIP switches arranged
at the front:
ƒ Node address: Switches 1 ... 7 / code C1850/C2350
ƒ Baud rate: Switches 8 ... 10 / code C1851/C2351
The Lenze setting of all DIP switches is OFF.
) Note!
Settings via codes
ƒ In the Lenze setting ˘ Address switches 1 ... 7 = OFF ˘, the values are
accepted from the codes C1850/C2350 (node address) and C1851/C2351
(baud rate).
– Node addresses > 99 can only be set via DIP switch.
– The baud rates 10 kbps and 20 kbps can only be selected via DIP switch.
ƒ Writing the codes (e.g. with GDC via CAN) has a direct effect on the standard
device codes C0009 and C0126.
ƒ Acceptance of code changes by:
– Switching off and then on again the voltage supply;
– "Reset node" with C0358 = 1;
– Network management command "Reset Communication";
– Set C2120 (AIF control byte) = 1.
ƒ The codes are inactive if at least one address switch (1 ... 7) has been set to
ON position before a renewed mains connection.
EDSMF2178IB EN 3.0 l 33
6 Commissioning
Setting node address and baud rate
ƒ If several devices are connected to the CAN network, the node addresses must differ
from each other.
ƒ The desired node address results from the sum of the values of switches (1 ... 7) in
ON position.
Example
Switch Value Switch position Node address
1 64 OFF
2 32 OFF
3 16 ON
4 8 OFF 16 + 4 + 2 + 1 = 23
5 4 ON
6 2 ON
7 1 ON
) Note!
Switch off the voltage supply of the communication module, and then switch
it on again to activate the changed settings.
34 l EDSMF2178IB EN 3.0
Commissioning 6
Setting node address and baud rate
ƒ The baud rate must be the same for all CAN nodes.
ƒ The following baud rates can be set:
Baud rate [kbps] Switch
8 9 10
10 ON ON OFF
20 ON OFF ON
50 OFF ON ON
125 OFF ON OFF
250 OFF OFF ON
500 OFF OFF OFF
1000 ON OFF OFF
) Note!
Switch off the voltage supply of the communication module, and then switch
it on again to activate the changed settings.
EDSMF2178IB EN 3.0 l 35
6 Commissioning
Initial switch−on
) Note!
Do not change the setting sequence.
1. Switch on the standard device and, if necessary, the external voltage supply of the
communication module.
– The green LED 0 on the front of the communication module is lit.
– The status LED of the standard device (Drive LED) 2 must be lit or blinking. The
meaning of the signalling can be found in the standard device documentation.
2. You can now communicate with the drive, i. e.
– all parameters (SDO) can be read;
– all writable parameters (SDO) can be overwritten.
3. After a state change ("Operational") process data can be exchanged with the drive.
2172CAN000D
36 l EDSMF2178IB EN 3.0
Commissioning 6
Enable drive via the communication module
) Note!
ƒ During operation, the plugging of the communication module onto a
different controller may cause undefined operating states.
ƒ Observe the information on the CAN configuration and controller enable in
the documentation of the corresponding controller.
EDSMF2178IB EN 3.0 l 37
6 Commissioning
Enable drive via the communication module
) Note!
Establishing communication
If communication is to be established via an externally supplied
communication module, initially the standard device must also be switched
on.
After communication has been established, the externally supplied module is
independent of the power on/off state of the standard device.
Protection against uncontrolled restart
After a fault (e.g. short−term mains failure), a restart of the drive is not always
wanted and − in some cases − even not allowed.
The restart behaviour of the controller can be set in C0142:
ƒ C0142 = 0 (Lenze setting)
– The controller remains inhibited (even if the fault is no longer active).
– The drive starts up in a controlled manner by explicit controller enable:
93XX: Set terminal 28 to HIGH level.
ECSXX: Set terminals X6/SI1 and X6/SI2 to HIGH level.
ƒ C0142 = 1
– An uncontrolled restart of the drive is possible.
38 l EDSMF2178IB EN 3.0
Replacing the EMF2172IB communication module (CAN) 7
Observe the following information when replacing the EMF2172IB (CAN) communication
module by EMF2178IB (CANopen):
ƒ The communication modules feature different plug connectors for connecting the
voltage supply and the system bus (CAN).
ƒ The DIP switches of the communication modules feature different assignments for
setting the CAN node address and the baud rate (¶ 40). Furthermore there are
different adjustable CAN address ranges:
Communication module CAN address range DIP switch
EMF2172IB (CAN) 1 ... 63 S4 ... S9
EMF2178IB (CANopen) 1 ... 127 S1 ... S7
ƒ Depending on the standard device used, the 2. SDO channel is activated via code
C1865/1 or C2365/1 (¶ 41).
Address Bd
L
1-3 4-9 CAN L
baud address
CANopen
GND
High
24 V DC
Low
+ -
C
C
SH
G
AN
AN
N
V+
LD
D
_H
_L
2172 2178
1 2 3 4 5 6 2 4 5 3 6 1
2178CAN010
EDSMF2178IB EN 3.0 l 39
7 Replacing the EMF2172IB communication module (CAN)
) Note!
On the EMF2178IB communication module, the switch S1 = OFF(Lenze setting)
must remain set. (An address setting > 63 was not possible for EMF2172IB.)
Address Bd
L
OFF
OFF
Address
- - W S1 = OFF
S9 W S2
S4 W S7
Baudrate
S3 W S8
S1 W S10
2178CAN011
40 l EDSMF2178IB EN 3.0
Replacing the EMF2172IB communication module (CAN) 7
EDSMF2178IB EN 3.0 l 41
8 Data transfer
Structure of the CAN telegram
8 Data transfer
Master and controller communicate with each other by exchanging data telegrams via the
CAN bus.
The user data area of the CAN telegram either contains network management data, process
dataor parameter data (^ 44).
Different communication channels are assigned to parameter and process data in the
controller:
ƒ Process data are transferred via the process data channel.
ƒ Parameter data are transferred via the parameter data channel.
I Tip!
The identifier and the user data will be explained in more detail in this
documentation.
The other signals refer to the transfer characteristics of the CAN telegram
which are not described in this documentation.
For more information please refer to the homepage of the CAN user
organisation CiA (CAN in Automation):
http://www.can−cia.org
42 l EDSMF2178IB EN 3.0
Data transfer 8
Structure of the CAN telegram
Identifier (COB−ID)
The principle of the CAN communication is based on a message−oriented data exchange
between a transmitter and various receivers. Here, all nodes can quasi simultaneously
transmit and receive messages. In case of CANopen, a node orientation is achieved by
having only one transmitter for each message.
The control which node is to receive a transmitted message is executed via the identifierin
the CAN telegram, also called COB−ID(Communication Object Identifier). In addition to the
addressing, the identifier contains information on the priority of the message and the type
of user data.
With the exception of the network management and the sync telegram, the identifier
consists of a basic identifier and the node address of the node to be addressed:
Identifier (COB−ID) = basic identifier + adjustable node address (Node−ID)
The identifier assignment is defined in the CANopen protocol.
Basic identifier
The basic identifier is preset as default with the following values according to the CANopen
specification:
Direction Basic identifier
Object
from the drive to the drive dec hex
NMT 0 0x000
Sync 128 0x080
Emergency X 128 0x080
PDO1 TPDO1 X 384 0x180
(Process data channel 1) RPDO1 X 512 0x200
PDO2 TPDO2 X 640 0x280
(Process data channel 2) RPDO2 X 768 0x300
PDO3 TPDO3 X 896 0x380
(process data channel 3) RPDO3 X 1024 0x400
SDO1 X 1408 0x580
(Parameter data channel 1) X 1536 0x600
SDO2 X 1472 0x5C0
(parameter data channel 2)
Lenze setting: not active. X 1600 0x640
Node guarding / heartbeat X 1792 0x700
EDSMF2178IB EN 3.0 l 43
8 Data transfer
Structure of the CAN telegram
User data
The user data area of the CAN telegram either contains network management data, process
dataor parameter data:
ƒ Network management data (NMT data)
Network management data contain information on the establishment of
communication via the CAN network (^ 45).
ƒ Process data (PDO, Process Data Objects)
– Process data are transferred via the process data channel (see also chapter "Process
data transfer", ^ 48).
– Process data serve to control the controller (slave).
– Process data are transferred between the host and the controllers to ensure a
continuous exchange of current input and output data.
– The host has direct access to process data. In the PLC, the data are, for instance,
directly assigned to the I/O area. An exchange between host and controller is
required as fast as possible. Small amounts of data can be transferred cyclically.
– Process data are not saved in the controller.
– Process data are, for instance, control words, status words, setpoints and actual
values.
ƒ Parameter data (SDO, Service Data Objects)
– Parameter data are transmitted as SDOs via the parameter data channel and
acknowledged by the receiver, i.e.the sender gets a feedback about the
transmission being successful or not (see also chapter "parameter data transfer",
^ 69).
– The parameter data channel enables access to all Lenze codes and CANopen
indices.
– The parameters for instance are set for the initial system set−up during
commissioning or when material is changed on the production machine.
– In general, the parameter data transfer is not time−critical.
– Parameter changes are automatically stored in the controller.
– Parameter data for example are operating parameters, diagnostics information,
and motor data.
44 l EDSMF2178IB EN 3.0
Data transfer 8
CAN communication phases / network management (NMT)
EDSMF2178IB EN 3.0 l 45
8 Data transfer
CAN communication phases / network management (NMT)
A bus node, the network master, carries out the changes between the communication
phases for the whole network.
With code C1852 / C2352 (¶ 125) you can set up the communication module for master
or slave operation.
After an adjustable boot−up time in C1856/1 / C2356/1 in master operation, (¶ 130) the
NMT command Start_Remote_Node is transmitted, which puts all nodes into the
"Operational" status.
) Note!
Only a change to "Operational" status enables communication via the process
data!
Example:
If all nodes connected to the bus are to be switched from the
"Pre−Operational" communication status to the "Operational" communication
status via the CAN master, the identifier and the user data must have the
following values in the transmission telegram:
ƒ Identifier: 0x00 (broadcast telegram)
ƒ User data: 0x0100
46 l EDSMF2178IB EN 3.0
Data transfer 8
CAN communication phases / network management (NMT)
State transitions
(1)
Initialisation
(2)
(14) (11)
Pre-Operational
(7)
(10)
(13) (4) (5)
Stopped
(3) (6)
E82ZAFU004
Status Command Network status after Effects on process and parameter data after the status
transition (hex) change change
Initialisation starts automatically when the mains is
switched on.
During initialisation, the drive does not take part in the
data transfer.
(1) − Initialisation
After initialisation has been completed, the node sends a
boot−up message with an individual identifier on the
CAN bus and changes automatically to the status
"Pre−operational".
In this phase, the master determines the way in which
(2) − Pre−operational
the controller takes part in the communication.
From that moment on, the master changes the states for the whole network. A target address, which is part of
the command, specifies the receiver(s).
Network management telegrams, sync, emergency,
process data (PDOs) and parameter data (SDOs) active
(like "Start remote node")
(3), (6) 0x01yy Operational
Optional:
When the status is changed, event and time−controlled
process data (PDOs) will be sent once.
Network management telegrams, sync, emergency and
(4), (7) 0x80yy Pre−operational parameter data (SDOs) active (like "Enter pre−operational
state")
(5), (8) 0x02yy Stopped Only network management telegrams can be received.
(9)
(10) Initialises all parameters in the communication module
0x81yy
with the stored values (corresponds to "Reset node")
(11) Initialisation
(12) Initialises communication−relevant parameters (CIA DS
(13) 0x82yy 301) in the communication module with the stored
(14) values (corresponds to "Reset communication")
yy = 00 In case of this assignment, the telegram addresses all devices connected. The
state of all devices can be changed at the same time.
yy = node ID If a node address is given, only the state of the device with the corresponding
address will be changed.
EDSMF2178IB EN 3.0 l 47
9 Process data transfer
Available process data objects
Agreements
ƒ Process data telegrams between host (master) and controller (slave) are
distinguished as follows with regard to their direction:
– Process data telegrams to the controller
– Process data telegrams from the controller
ƒ In CANopen, the process data objects are named from the node’s view:
– RPDOx: A process data object received by a node
– TPDOx: A process data object transmitted by a node
Depending on the basic device used, up to 3 RPDOs and TPDOs can be available.
I Tip!
From the masters’s view, the following terms are used for process data
transfer with the standard device and the plugged communication module:
ƒ The master sends the process data output words (POWs) as process output
data to the standard device
ƒ The master receives the process data input words (PIWs) as process input
data from the standard device.
48 l EDSMF2178IB EN 3.0
Process data transfer 9
Available process data objects
Byte 3, 4
Identifier User data X1
8 bytes
AIF
X1
EDSMF2178IB EN 3.0 l 49
9 Process data transfer
Configuring process data channel
) Note!
Please observe that the setpoint source selection (C0001) must be set equally
in all parameter sets.
50 l EDSMF2178IB EN 3.0
Process data transfer 9
Cyclic process data objects
Cycle time
EDSMF2178IB EN 3.0 l 51
9 Process data transfer
Cyclic process data objects
Process data signals of Lenze controllers
) Note!
Frequency and speed values are normalised with "240005"480Hz.
Byte description:
Byte Content Description
1 C0135 Bits 0 ... 7 of the control word under C0135 (^ 145) are entered here.
Control word, low byte
2 C0135 Bits 8 ... 15 of the control word under C0135 (^ 145) are entered
Control word, high byte here.
3 AIF−IN.W1, low byte
4 AIF−IN.W1, high byte
AIF−IN.Wx is parameterised under code C0412.
5 AIF−IN.W2, low byte
6 AIF−IN.W2, high byte
7/8 xx No evaluation of these data, any content possible
Byte description:
Byte Content Explanation
1 C0150 Bits 0 ... 7 of the status word are entered here under C0150 (^ 145).
Status word, low byte
2 C0150 Bits 8 ... 15 of the status word are entered here under C0150 (^ 145).
Status word, high byte
3 AIF−OUT−W1
Low byte
4 AIF−OUT.W1
High byte
AIF−OUT.Wx is parameterised under code C0421.
5 AIF−OUT−W2
Low byte
6 AIF−OUT.W2
High byte
7/8 xx No evaluation of these data, any content possible
52 l EDSMF2178IB EN 3.0
Process data transfer 9
Cyclic process data objects
Process data signals of Lenze controllers
Device control word AIF−CTRL for 8200 vector (C0135, index 0x5F78)
Bit Assignment (Lenze setting) Set under
C0410/...
C0001 = 3 with C0007 £ 51 C0001 = 3 with C0007 > 51
0/1 JOG values Freely configurable 1
Bit 1 0 2
0 0 00 = C0046 active
0 1 01 = NSET1−JOG1 (C0037) active
1 0 10 = NSET1−JOG2 (C0038) active
1 1 11 = NSET1−JOG3 (C0039) active
2 Current direction of rotation (DCTRL1−CW/CCW) Freely configurable 3
0 Not active
1 Active
3 Quick stop (QSP) (AIF−CTRL−QSP) Quick stop (QSP) (AIF−CTRL−QSP) 4
0 Not active 0 Not active
1 Active 1 Active
4 Stop ramp function generator (NSET1−RFG1−STOP) Freely configurable 5
0 Not active
1 Active
5 Ramp function generator input = 0 Freely configurable 6
(NSET1−RFG1−0)
0 Not active
1 Active
6 UP function motor potentiometer (MPOT1−UP) Freely configurable 7
0 Not active
1 Active
7 DOWN function motor potentiometer Freely configurable 8
(MPOT1−DOWN)
8 Freely configurable Freely configurable 9
9 Controller inhibit (AIF−CTRL−CINH) Controller inhibit (AIF−CTRL−CINH) 10
0 Not active 0 Not active
1 Active 1 Active
10 External fault (AIF−CTRL−TRIP−SET) External fault (AIF−CTRL−TRIP−SET) 11
0 Not active 0 Not active
1 Active 1 Active
11 Reset fault Reset fault 12
(AIF−CTRL−TRIP−RESET) (AIF−CTRL−TRIP−RESET)
0 −> 1 Edge from 0 to 1 0 −> 1 Edge from 0 to 1
12 Change over parameter set (DCTRL1−PAR2/4) Freely configurable 13
0 Not active
1 Active
13 Change over parameter set (DCTRL1−PAR3/4) Freely configurable 14
0 Not active
1 Active
14 DC injection brake (MCTRL1−DCB) Freely configurable 15
0 Not active
1 Active
15 Freely configurable Freely configurable 16
EDSMF2178IB EN 3.0 l 53
9 Process data transfer
Cyclic process data objects
Process data signals of Lenze controllers
AIF-IN
.B0 C0410/x = 10
.B1 C0410/x = 11
.B2 C0410/x = 12
DCTRL
.B3 QSP
.B4 ...
...
... ...
... ...
.B8
AIF-CTRL DCTRL
16 Bit .B9 CINH
.B10 TRIP-SET
.B11 TRIP-RESET
AIF
.B12... C0410/x = 22
... ...
... ...
...
.B15
C0410/x = 25
AIF-IN.W1
16 Bit C0412/x = 10
AIF-IN.W2
16 Bit C0412/x = 11
2141LON011
Fig. 9−3 System block AIF−IN in 8200 vector (freely configurable assignment)
54 l EDSMF2178IB EN 3.0
Process data transfer 9
Cyclic process data objects
Process data signals of Lenze controllers
Device status word AIF−STAT for 8200 vector (C0150, index 0x5F69)
Bit Assignment (Lenze setting) Set under C0417/...
0 Current parameter set (DCTRL−PAR−B0) 1
1 Pulse inhibit (DCTRL1−IMP) 2
2 Imax limit (MCTRL1−IMAX) 3
3 Output frequency = frequency setpoint (MCTRL1−RFG1=NOUT) 4
4 Ramp function generator input = ramp function generator output 1 5
(NSET1−RFG1−I=0)
5 Qmin threshold (PCTRL1−QMIN) 6
6 Output frequency = 0 (DCTRL1−NOUT=0) 7
7 Controller inhibit (DCTRL1−CINH) 8
8 ... 11 Device status (DCTRL1−Stat*1 ... STAT*8) Reserved
Bit 11 10 9 8
0 0 0 0 Device initialisation
0 0 1 0 Switch−on inhibit
0 0 1 1 Operation inhibited
0 1 0 0 Flying restart circuit active
0 1 0 1 DC injection brake active
0 1 1 0 Operation enabled
0 1 1 1 Message active
1 0 0 0 Fault active
1 1 1 1 Communication with basic device not possible
12 Overtemperature warning (DCTRL1−OH−WARN) 13
13 DC−bus overvoltage (DCTRL1−OV) 14
14 Direction of rotation (DCTRL1−CCW) 15
15 Ready for operation (DCTRL1−RDY) 16
STAT1 AIF-OUT
.B0
C0417/1 .B0
.B1
DCTRL1-IMP .B1
.B2
C0417/3 .B2
.B3
C0417/4 .B3
.B4
C0417/5 .B4
.B5
C0417/6 .B5
.B6
DCTRL1-NOUT=0 .B6
.B7
DCTRL1-CINH .B7
.B8
DCTRL1-STAT*1 .B8 AIF-STAT
.B9 16 Bit
DCTRL1-STAT*2 .B9
.B10
DCTRL1-STAT*4 .B10
DCTRL1-STAT*8 .B11 .B11
.B12
DCTRL1-OH-WARN .B12
.B13 AIF
DCTRL1-OV .B13
.B14
C0417/15 .B14
.B15
C0417/16 .B15
AIF-OUT.W1
C0421/1 16 Bit
AIF-OUT.W2
C0421/2 16 Bit
2141LON013
Fig. 9−4 System block AIF−OUT in 8200 vector (freely programmable assignment)
EDSMF2178IB EN 3.0 l 55
9 Process data transfer
Cyclic process data objects
Process data signals of Lenze controllers
AIF−IN.W1 to AIF−IN.W3 depend on the signal configuration selected under code C0005.
Under code C0005 you can preconfigure the signals of the control word and the status
word.
In the controller, other signals can be assigned to AIF−IN.W1 to AIF−IN.W3. For this, the
function block configuration described in the 93XX System Manual is used.
Signal configuration AIF−IN.W1 AIF−IN.W2 AIF−IN.W3 AIF−IN.D1
(C0005)
Speed control 1003 / 1013 / 1113 NSET−N
Speed setpoint
100 % = 16383
Torque control 4003 / 4013 / 4113 MCTRL−MADD
Torque setpoint Not assigned
100 % = 16383
LF master 5003 / 5013 / 5113 NSET−N
Speed setpoint
100 % = 16383
LF slave rail 6003 / 6013 / 6113 DFSET−A−TRIM DFSET−N−TRIM
Phase trimming Speed trimming
LF slave cascade 7003 / 7013 / 7113 DFSET−VP−DIV DFSET−A−TRIM Not assigned Not assigned
LF factor Phase trimming
cam profiler 1xxx3 YSET1−FACT
Positioning 2xxx3 Not assigned
vector control 1xx3 / 2xx3 / 3xx3 / NLIM−IN1 Not assigned
5xx3 / 100x3
vector control 4xx3 NCTRL−MADD
vector control 6xx3 DFSET−A−TRIM DFSET−N−TRIM
vector control 7xx3 / 8xx3 / 9xx3 DFSET−VP−DIV DFSET−A−TRIM
vector control 100x3 NLIM−IN1
Not assigned
vector control 110x3 Not assigned
56 l EDSMF2178IB EN 3.0
Process data transfer 9
Cyclic process data objects
Process data signals of Lenze controllers
) Note!
The individual bit−control commands of the control word depend on other bit
positions.
EDSMF2178IB EN 3.0 l 57
9 Process data transfer
Cyclic process data objects
Process data signals of Lenze controllers
A IF -IN * )
A IF -C T R L .B 3 Q S P D C T R L
A IF -C T R L .B 8 D IS A B L E
A IF -IN A IF -C T R L .B 9 C IN H
A IF -C T R L .B 1 0 T R IP -S E T
D C T R L A IF -C T R L .B 1 1 T R IP -R E S E T
A IF -C T R L .B 3 Q S P B it 0 A IF -C T R L .B 0
A IF -C T R L .B 8 D IS A B L E
A IF -C T R L .B 1
A IF -C T R L .B 9 C IN H A IF -C T R L .B 2
A IF -C T R L .B 1 0 T R IP -S E T A IF -C T R L .B 4
S te u e rw o rt
A IF -C T R L .B 1 1 T R IP -R E S E T A IF -C T R L .B 5
1 6 B it
A IF -C T R L .B 6
A IF -C T R L .B 0
A IF -C T R L .B 7
A IF -C T R L .B 1
B it 0 A IF -C T R L .B 1 2
A IF -C T R L .B 2 A IF -C T R L .B 1 3
A IF -C T R L .B 4 B it 1 5 A IF -C T R L .B 1 4
A IF -C T R L .B 5
S te u e rw o rt
A IF -C T R L .B 1 5
1 6 B it A IF -C T R L .B 6
A IF -C T R L .B 7 C 0 1 3 6 /3
A IF -C T R L .B 1 2
A IF -C T R L .B 1 3 A IF -IN .W 1
B y te 3 ,4
B it 1 5 1 6 B it
A IF -C T R L .B 1 4 C 0 8 5 6 /1
A IF -C T R L .B 1 5 1 6 B it
L o w W o rd A IF -IN .D 2
1 6 B it
A IF -IN .W 1 C 1 1 9 7
B y te 3 ,4
1 6 B it H ig h W o r d
C 0 8 5 6 /1
X 1 A IF -IN .W 2
1 6 B it
A IF -IN .W 2 C 0 8 5 6 /2
1 6 B it
1 6 B it A IF -IN .W 3
X 1 C 0 8 5 6 /2
A IF -IN .W 3 C 0 8 5 6 /3
1 6 B it A IF -IN .B 0
C 0 8 5 6 /3
A IF -IN .B 0 C 0 8 5 5 /1 A IF -IN .B 2
B y te 5 ,6
C 0 8 5 5 /1 A IF -IN .B 2 1 6 B in ä r -
...
B y te 5 ,6
1 6 B in ä r - s ig n a le
A IF -IN .B 1 4
...
s ig n a le
A IF -IN .B 1 4 A IF -IN .B 1 5
A IF -IN .B 1 5 A IF -IN .B 1 6
A IF -IN .B 1 6 C 0 8 5 5 /2 A IF -IN .B 1 7
C 0 8 5 5 /2 A IF -IN .B 1 7 1 6 B in ä r -
...
1 6 B in ä r - s ig n a le A IF -IN .B 3 0
...
s ig n a le A IF -IN .B 3 0 A IF -IN .B 3 1
B y te 7 ,8
A IF -IN .B 3 1
B y te 7 ,8
1 6 B it
L o w W o rd
1 6 B it A IF -IN .D 1
L o w W o rd
A IF -IN .D 1 1 6 B it C 0 8 5 7
H ig h W o r d
1 6 B it C 0 8 5 7
H ig h W o r d
2111IBU003
58 l EDSMF2178IB EN 3.0
Process data transfer 9
Cyclic process data objects
Process data signals of Lenze controllers
EDSMF2178IB EN 3.0 l 59
9 Process data transfer
Cyclic process data objects
Process data signals of Lenze controllers
A IF -O U T A IF -O U T * )
S T A T S T A T
B it 0 B it 0
S T A T .B 0 S T A T .B 0
C 0 1 5 6 /1 C 0 1 5 6 /1
D C T R L -IM P D C T R L -IM P
S ta tu s w o rd
S ta tu s w o rd
...
1 6 B it 1 6 B it
...
S T A T .B 1 4 S T A T .B 1 4
C 0 1 5 6 /6 C 0 1 5 6 /6
S T A T .B 1 5 S T A T .B 1 5
C 0 1 5 6 /7 C 0 1 5 6 /7
B it 1 5 1 6 B it B it 1 5
B it 0 A IF -O U T .D 2 L o w W o rd C 0 8 5 4 B it 0
C 1 1 9 5
1 6 B it
C 1 1 9 6 H ig h W o r d 0
A IF -O U T .W 1
B y te 3 ,4
A IF -O U T .W 1
B y te 3 ,4
C 0 8 5 0 /1 C 0 8 5 0 /1
3
C 0 8 5 8 /1 C 0 8 5 8 /1
A IF -O U T .W 2 A IF -O U T .W 2
C 0 8 5 0 /2 C 0 8 5 0 /2
C 0 8 5 8 /2 B it 1 5 C 0 8 5 8 /2 B it 1 5
C 0 8 5 0 /3
A IF -O U T .W 3
B it 0
: C 0 8 5 0 /3
A IF -O U T .W 3
B it 0
X 1
C 0 8 5 2 C 0 8 5 2
C 0 8 5 8 /3 C 0 8 5 8 /3
0 0
F D O F D O
F D O -0 F D O -0
B y te 5 ,6
C 0 1 1 6 /1 1
B y te 5 ,6
C 0 1 1 6 /1 1
1 6 B it 1 6 B it
...
2
...
2 F D O -1 5
F D O -1 5 L o w W o rd C 0 1 1 6 /1 6 L o w W o rd
C 0 1 1 6 /1 6 3
F D O -1 6 F D O -1 6
C 0 1 1 6 /1 7 C 0 1 1 6 /1 7 1 6 B it
1 6 B it
...
...
H ig h W o r d F D O -3 1 H ig h W o r d
F D O -3 1 C 0 1 1 6 /3 2
C 0 1 1 6 /3 2 C 0 8 5 3
C 0 8 5 3
1 6 B it 1 6 B it
0 L o w W o rd 0
L o w W o rd A IF -O U T .D 1
A IF -O U T .D 1 C 0 8 5 1
B y te 7 ,8
C 0 8 5 1 1
B y te 7 ,8
1
1 6 B it 1 6 B it 2
C 0 8 5 9 2 C 0 8 5 9
H ig h W o r d H ig h W o r d
B it 3 1 B it 3 1
2111IBU002
60 l EDSMF2178IB EN 3.0
Process data transfer 9
Cyclic process data objects
Process data signals of Lenze controllers
9.3.1.3 Process data signals for 9300 Servo PLC, Drive PLC, ECSxA
) Note!
Only 9300 Servo PLC & ECSxA:
Perform the following linkings in the PLC program of the drive controller:
ƒ AIF1_wDctrlCtrl WDCTRL_wAIF1Ctrl
ƒ DCTRL_wStat W AIF1_wDctrlStat
EDSMF2178IB EN 3.0 l 61
9 Process data transfer
Cyclic process data objects
Process data signals of Lenze controllers
...
signals
Byte AIF2_bInB15_b
AIF1_bCtrlB4_b 2
AIF1_bCtrlB5_b
AIF1_bCtrlB6_b AIF2_nInW2_a
16 Bit
Byte
AIF1_bCtrlB7_b 3
AIF1_bCtrlDisable_b AIF2_bInB16_b
16 binary 16 binary
...
signals AIF1_bCtrlCInhibit_b signals
Byte AIF2_bInB31_b
AIF1_bCtrlTripSet_b 4
AIF1_bCtrlTripReset_b Automation
Byte
Interface
Controlword
1
AIF1_bCtrlB12_b 16 Bit
Byte LowWord
AIF1_bCtrlB13_b 5 AIF2_dnInD1_p
Byte AIF2_nInW3_a
3 16 Bit
AIF1_nInW1_a Byte
16 Bit 7
C0856/1 AIF2_nInW4_a
Byte 16 Bit
4
Automation Byte
Interface AIF1_nInW2_a 8
16 Bit
Byte
5 C0856/2
AIF1_bInB0_b
C0855/1
Inputs_AIF3
…
...
7 C0856/3 signals
AIF1_bIn16_b Byte AIF3_bInB15_b
C0855/2 2
…
...
AIF1_dnInD1_p signals
Byte AIF3_bInB31_b
16 Bit 4
HighWord C0857 Automation
Interface
16 Bit
Byte LowWord
5 AIF3_dnInD1_p
16 Bit
HighWord
Byte
6
AIF3_nInW3_a
16 Bit
Byte
7
AIF3_nInW4_a
16 Bit
Byte
8
62 l EDSMF2178IB EN 3.0
Process data transfer 9
Cyclic process data objects
Process data signals of Lenze controllers
EDSMF2178IB EN 3.0 l 63
9 Process data transfer
Cyclic process data objects
Process data signals of Lenze controllers
Outputs_AIF1 Outputs_AIF2
AIF2_nOutW1_a
16 Bit
Byte Byte
1 1
AIF1_wDctrlStat AIF2_bFDO0_b
16 Bit 16 binary
...
signals
Byte AIF2_bFDO15_b Byte
2 2
AIF2_nOutW2_a
16 Bit
Byte Byte
3 3
AIF1_nOutW1_a AIF2_bFDO16_b
16 Bit 16 binary
...
signals
C0858/1 Byte AIF2_bFDO31_b Byte
4 4
Automation Automation
AIF1_nOutW2__a Interface Interface
16 Bit 16 Bit
Byte LowWord Byte
5 AIF2_dnOutD1_p 5
AIF1_bFDO0_b C0858/2
C0151/4 16 Bit
…
HighWord
AIF1_bFDO15_b 16 binary Byte
Byte
signals 6 6
AIF2_nOutW3_a
AIF1_nOutW3_a 16 Bit
16 Bit
Byte Byte
AIF1_bFDO16_b C0858/3 7 7
AIF2_nOutW4_a
C0151/4 16 Bit
…
16 Bit
LowWord
AIF1_dnOutD1_p
16 Bit
C0859 HighWord Outputs_AIF3
AIF3_nOutW1_a
16 Bit
Byte
1
AIF3_bFDO0_b
16 binary
...
signals
AIF3_bFDO15_b Byte
2
AIF3_nOutW2_a
16 Bit
Byte
3
AIF3_bFDO16_b
16 binary
...
signals
AIF3_bFDO31_b Byte
4
Automation
Interface
16 Bit
LowWord Byte
AIF3_dnOutD1_p 5
16 Bit
HighWord
Byte
6
AIF3_nOutW3_a
16 Bit
Byte
7
AIF3_nOutW4_a
16 Bit
Byte
8
64 l EDSMF2178IB EN 3.0
Process data transfer 9
Cyclic process data objects
Mapping in CANopen objects (I−160x, I−1A0x)
General
) Note!
Mapping is not possible in communication modules used together with old
devices of the 8200 series.
The CANopen objects I−160x and I−1A0x are used to assign the CANopen process data to the
internal data. In the EMF2178IB communication module an assignment to the process
data of the internal AIF interface is possible. The process data volume and type depends on
the standard device.
The process data length depends on the AIF mode (^ 68):
Basic device AIF mode
8200 vector Mode 3: 3 process data words with variable assignment
93XX Mode 4: 4 process data words with variable assignment
9300 servo PLC Mode 5: 12 process data words with variable assignment
ECSXX depends on the variant (mode 4 or 5)
For mapping in the module, the master enters indices and data lengths.
Mapping structure
MSB LSB
31 ... 16 15 ... 8 7 ... 0
Index Subindex Object length
DWord 0 = 0x20
Word = 0x10
The EDS file for the EMF2178IB communication module supports the mapping.
I Tip!
The current EDS file required for configuring the EMF2178IB (CANopen)
communication module can be found in the download area on:
www.Lenze.com
EDSMF2178IB EN 3.0 l 65
9 Process data transfer
Cyclic process data objects
Mapping in CANopen objects (I−160x, I−1A0x)
The codes represent the values at the AIF interface. Converted into indices, mapping refers
to these codes.
Process data AIF−IN Represented as
16−bit values 32−bit values 1)
Byte 1 AIF1−IN
(bytes 1 ... 8) C1822/1
2nd byte
[C1824/1]
3rd byte
C1822/2
Byte 4
C1824/2
Byte 5
C1822/3
Byte 6
C1824/3
7th byte
C1822/4
Byte 8
[C1824/4]
Byte 9 AIF2−IN
(bytes 1 ... 8) C1822/5
Byte 10
C1824/5
Byte 11
C1822/6
Byte 12
[C1824/6]
Byte 13
C1822/7
Byte 14
[C1824/7]
Byte 15
C1822/8
Byte 16
[C1824/8]
Byte 17 AIF3−IN
(bytes 1 ... 8) C1822/9
Byte 18
C1824/9
Byte 19
C1822/10
Byte 20
[C1824/10]
Byte 21
C1822/11
Byte 22
[C1824/11]
Byte 23
C1822/12
Byte 24
1) [Cxxx/y] = Codes not relevant for the AIF modes (¶ 68)
66 l EDSMF2178IB EN 3.0
Process data transfer 9
Cyclic process data objects
Mapping in CANopen objects (I−160x, I−1A0x)
Device−internal mechanisms
The user must know the AIF interface assignment to configure the mapping accordingly in
the communication module. All data of the AIF interface can be placed on any position of
the CAN PDOs. The maximum scope of the AIF interface is shown in the codes. The available
values depend on the basic device and on the application in the basic device.
EDSMF2178IB EN 3.0 l 67
9 Process data transfer
Cyclic process data objects
Mapping in CANopen objects (I−160x, I−1A0x)
ƒ For mode 3 (e.g. for the 8200 vector), an assignment of the first three words is
useful. For the mapping, the index of code C1822 should accordingly be used with
the subindices 1 to 3.
ƒ For mode 4 (e.g. for the 93XX), an assignment of the first four words or the double
words 2 and 3 is possible. Here, the representation of the double words differs from
the text description in the basic device.
ƒ For mode 5 (e.g. for the 9300 Servo PLC), all 12 words are possible and the use of
double words 3, 5 and 9.
ƒ The user is responsible for the corresponding assignment. The mapping is not
checked once again during the entry.
ƒ For a more detailed description of the entries, see indices I−160x (¶ 111) and
I−1A0x (¶ 114).
68 l EDSMF2178IB EN 3.0
Parameter data transfer 10
Controller
Write Write
Keypad
PC
Fig. 10−1 Connection of devices for parameter setting via two parameter data channels
Parameters ...
ƒ are values which are stored under codes in Lenze controllers.
ƒ are, for instance, used for one−off plant settings or a change of material in a
machine.
ƒ are transferred with low priority.
Parameter data are transmitted via the system bus as SDOs (Service Data Objects) and
acknowledged by the receiver. The SDOs enable read and write access to the object
directory.
In the Lenze setting, one parameter data channel is available for parameter setting.
A second parameter data channel can be activated via code C1865/1 / C2365/1 or the
implemented CANopen object I−1201 in order to enable the simultaneous connection of
various devices. The parameter data channel 2 is deactivated as default.
) Note!
When the second parameter data channel is activated the possible number of
bus nodes is reduced.
EDSMF2178IB EN 3.0 l 69
10 Parameter data transfer
Access to the codes of the controller
When using Lenze communication modules, you can change the features and response
characteristics of any controller connected to the network using a higher−level host
system(PLC, master).
In Lenze controllers, parameters to be changed are listed under codes.
Controller codes are addressed via the index when accessing the code through the
communication module.
The index for Lenze code numbers is between 16576 (0x40C0) and 24575 (0x5FFF).
The parameter value is part of the telegram user data (see examples, ^ 77).
70 l EDSMF2178IB EN 3.0
Parameter data transfer 10
Lenze parameter sets
Parameter sets for 8200 vector controller
Parameter sets are used for separately storing codes based on the need for different
configurations of application processes.
( Stop!
8200 vector with EMF2178IBcommunication module
ƒ The cyclic writing of parameter data to the EEPROM is not permissible.
ƒ If you still want to change parameter data, code C0003 must be set to"0"
after every mains switching. The parameter data are not stored in the
EEPROM but as volatile data.
The 8200 vector controller has four parameter sets the parameters of which can be directly
addressed via the INTERBUS.
Addressing
Addressing is carried out with a code offset:
ƒ Offset "0" addresses the parameter set 1 with the codes C0000 ... C1999.
ƒ Offset "2000" addresses the parameter set 2 with the codes C2000 ... C3999.
ƒ Offset "4000" addresses the parameter set 3 with the codes C4000 ... C5999.
ƒ Offset "6000" addresses the parameter set 4 with the codes C6000 ... C7999.
If a parameter is only available once (see documentation of the controller), use the code
offset "0".
Example
Addressing of the code C0011 (maximum field frequency) in different parameter sets:
ƒ C0011 in parameter set 1: Code no. = 11
ƒ C0011 in parameter set 2: Code no. = 2011
ƒ C0011 in parameter set 3: Code no. = 4011
ƒ C0011 in parameter set 4: Code no. = 6011
) Note!
Automatic saving of the changed parameter data is activated (Lenze basic
setting, can be switched off via C0003).
EDSMF2178IB EN 3.0 l 71
10 Parameter data transfer
Lenze parameter sets
Parameter sets for controller 93XX
The drive controllers 93XX feature up to four parameter sets for storage in the EEPROM for
each technology variant. An additional parameter set is located in the main memory of the
drive controller. This parameter set is referred to as "current" parameter set.
Addressing
ƒ Only the current parameter set can be directly addressed via the bus.
ƒ After power−on, parameter set 1 is automatically loaded into the current parameter
set.
ƒ Before changing the parameters of parameter sets 2 ... 4, the parameter sets must
be activated.
) Note!
Changes in the current parameter set are lost after switching off the drive
controller.
Code C0003 is used to store the current parameter set (see documentation of
the controller).
72 l EDSMF2178IB EN 3.0
Parameter data transfer 10
Structure of the parameter data telegram
) Note!
User data are displayed in the left−justified INTEL format.
(Calculation examples: ^ 77)
Command
The command contains the services for writing and reading parameters and information
about the user data length.
Structure of a command:
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
MSB LSB
Command Command Specifier (cs) 0 Length e s Note
Write request 0 0 1 0 x x 1 1 User data length coding
Write response 0 1 1 0 x x 0 0 in bits 2 and 3:
l 0b00 = 4 bytes
Read request 0 1 0 0 x x 0 0 l 0b01 = 3 bytes
Read response 0 1 0 0 x x 1 1 l 0b10 = 2 bytes
l 0b11 = 1 byte
Error response 1 0 0 0 0 0 0 0
EDSMF2178IB EN 3.0 l 73
10 Parameter data transfer
Structure of the parameter data telegram
Subindex
Depending on the corresponding Lenze code, further subcodes may exist.
For all array codes, the value of the highest subindex can be read out via subindex 0.
Data (Data1...4)
Parameter value length depending on the data format
(Data format: See "table of attributes" in the documentation of the controller)
Parameter value
0x00 0x00 0x00
(length: 1 byte)
Parameter value (length: 2 bytes)
0x00 0x00
Low byte High byte
Parameter value (length: 4 bytes)
Low word High word
Low byte High byte Low byte High byte
) Note!
ƒ Lenze parameters are mainly represented as data type FIX32 (32−bit value
with sign and four decimal positions). In order to obtain integer values, the
desired parameter value must be multiplied by 10000. (See "Attribute table"
in the documentation of the controller.)
ƒ The parameters C0135 and C0150 are transferred as bit code and without
factor.
74 l EDSMF2178IB EN 3.0
Parameter data transfer 10
Structure of the parameter data telegram
Error messages
User data (up to 8 bytes)
Byte 1 2nd byte 3rd byte Byte 4 Byte 5 Byte 6 7th byte Byte 8
Index Index
Command Subindex Error code
Low byte High byte
ƒ Byte 1:
Code 128 or 0x80 in the command byte indicates that an error has occurred.
ƒ Bytes 2 ... 4:
These bytes contain the index (bytes 2 and 3) and the subindex (byte 4) of the code
in which the error has occurred.
ƒ Bytes 5 ... 8:
The data bytes 5 ... 8 contain the error code. The error code is described in reversed
direction compared to the read direction.
Example: Representation of the error code 0x06040041 in bytes 5 ... 8
EDSMF2178IB EN 3.0 l 75
10 Parameter data transfer
Error codes
76 l EDSMF2178IB EN 3.0
Parameter data transfer 10
Examples of parameter data telegram
Reading parameters
The heatsink temperature C0061 ( 43 °C) is to be read from the controller with node
address 5 via the parameter data channel 1.
ƒ Identifier calculation
Identifier from SDO1 to controller Calculation
1536 + node address 1536 + 5 = 1541
ƒ Index calculation
Index Calculation
24575 − code number 24575 − 61 = 24514 = 0x5FC2
ƒ Subindex: 0
ƒ Telegram to controller
User data
Command Index Index Subindex Data 1 Data 2 Data 3 Data 4
Identifier LOW byte HIGH byte
1541 0x40 0xC2 0x5F 0x00 0x00 0x00 0x00 0x00
– Command:
"Read Response" (response to the read request) = 0x43
– Identifier:
SDO1 from controller (1408) + node address (5) = 1413
– Index of the read request:
0x5FC2
– Subindex:
0
– Data 1 ... 4:
0x00068FB0 = 430000 W 430000 : 10000 = 43 °C
EDSMF2178IB EN 3.0 l 77
10 Parameter data transfer
Examples of parameter data telegram
Writing parameters
The acceleration time C0012 (parameter set 1) of the controller with the node address 1 is
to be changed to 20 seconds via the SDO1 (parameter data channel 1).
ƒ Identifier calculation
Identifier from SDO1 to controller Calculation
1536 + node address 1536 + 1 = 1537
ƒ Index calculation
Index Calculation
24575 − code number 24575 − 12 = 24563 = 0x5FF3
ƒ Subindex: 0
ƒ Calculation of the acceleration time
Data 1 ... 4 Calculation
Value for acceleration time 20 s ú 10000 = 200000
= 0x00030D40
ƒ Telegram to controller
User data
Command Index Index Subindex Data 1 Data 2 Data 3 Data 4
Identifier LOW byte HIGH byte
1537 0x23 0xF3 0x5F 0x00 0x40 0x0D 0x03 0x00
– Command:
"Write Response" (response of the controller (acknowledgement)) = 0x60
– Identifier:
SDO1 from controller (= 1408) + node address (= 1) = 1409
78 l EDSMF2178IB EN 3.0
Parameter data transfer 10
Examples of parameter data telegram
) Note!
The single blocks are toggled*, i.e. at first it is requested with command 0x60
(0b01100000), then with command 0x70 (0b01110000), after his again with
0x6 etc.
The response is sent accordingly. It is alternating because of a toggle bit. The
process is completed by command 0x11 (bit 0 is set, see below).
*Toggle−Bit = bit 4 (starting with "0")
ƒ Response
Command Index Index Subindex Data 1 Data 2 Data 3 Data 4
Low byte High byte
0x00 0x38 0x32 0x53 0x38 0x32 0x31 0x32
Bytes 2 ... 8, ASCII format: 8 2 S 8 2 1 2
EDSMF2178IB EN 3.0 l 79
10 Parameter data transfer
Examples of parameter data telegram
80 l EDSMF2178IB EN 3.0
Parameter data transfer 10
Special features for parameter setting of the drive controller
8200 vector controller
The digital and analog input and output signals are freely configurable (see System
Manual 8200 vector; code C0410, C0412, C0417 and C0421).
C2120:
AIF control byte
Code Subcode Index Possible settings Data type
Lenze Selection
C2120 − 22455 = 0 See table below FIX32
0x57B7
Possible settings
Selection Description
0 No command
1 Update codes 23XX and CAN reinitialisation º reset node
2 Update codes C23XX
10 Reread C2356/1...4
11 Reread C2357
12 Reread C2375
13 Reread C2376 ... C2378
14 Reread C2382
16 1) Update C7999 and C7998 including CAN reinitialisation
17 1) Update C7999, mapping table of profile indices
18 1) Update C7998, error list of emergency messages
32 1) Reset error source, activate emergency messages
33 ... 62 1) Error source 1 ... 30, activate emergency messages
1) Value range is only valid for profile applications in a PLC
With the AIF control byte it is possible to read the codes C23XX saved in the 9300 Servo PLC,
Drive PLC and ECS into the communication module.
Execute command
How to accept the values in the communication module:
ƒ Write the table value of the required command into the AIF control byte.
ƒ Change the status of the MSB of the AIF control byte. The command is executed.
EDSMF2178IB EN 3.0 l 81
10 Parameter data transfer
Special features for parameter setting of the drive controller
9300 Servo PLC / Drive PLC / ECS
Example
By writing the value"2" into the AIF control byte all codes C23XX are re−read when the MSB
changes its status.
For some codes it is necessary to carry out a CAN reinitialisation so that new values and the
functions derived from them will become effective.
C2121:
AIF status byte
Code Subcode Index Possible settings Data type
Lenze Selection
C2121 − 22454 = 0 0 [1] 255 U8
0x57B6
The AIF status byte provides the 9300 Servo PLC, Drive PLC and ECS with information of the
communication module. With this information, the 9300 Servo PLC, Drive PLC and ECS can
monitor the status of the communication module. Depending on the communication
module states, it is possible for you to take corresponding countermeasures.
AIF status byte Description
Bit 0 CE11 error, CAN−IN1 monitoring time exceeded
Bit 1 CE12 error, CAN−IN2 monitoring time exceeded
Bit 2 CE13 error, CAN−IN3 monitoring time exceeded
Bit 3 CE14−error, communication module in BUS−OFF status
Bit 4 Operational status
Bit 5 Pre−operational state
Bit 6 Warning status
Bit 7 Internally assigned
82 l EDSMF2178IB EN 3.0
Monitoring 11
Heartbeat Protocol
11 Monitoring
) Note!
ƒ Only one monitoring function can be active:
– Heartbeat or node guarding.
ƒ Heartbeat has priority over node guarding:
– If both functions are configured, the heartbeat settings will be active.
Heartbeat Indication
Producer
Time
Heartbeat
Consumer
Time
8 .... 1
t s
Request Indication
t=0 Indication
Indication
EMERGENCY Heartbeat
Event
E82ZAFU009
EDSMF2178IB EN 3.0 l 83
11 Monitoring
Heartbeat Protocol
Heartbeat transmission
The heartbeat transmission is activated by entering a time under in the CANopen object
I−1017. The monitoring is activated by setting a time and a node ID in the object I−1016/1.
Telegram structure
NMT identifier plus node ID and a data byte with status information:
Data value (s) Status
4 Stopped
5 Operational
127 Pre−operational
Identifier
Identifier = Basisadresse (1792) + configurable address (1 ... 127)
Heartbeatmonitoring
The consumer monitors whether the message is received within the "heartbeat consumer
time". If this is not the case, an emergency telegram with a "heartbeat event" is sent.
The controller response to a "heartbeat event" is set under subcode C1882/5 / C2382/5.
If the "heartbeat event" occurs, the node changes from the "Operational" state to the
"Pre−operational" state (default setting). By means of the object I−1029 a different
response can be set.
The heartbeat monitoring only starts when the first heartbeat telegram of a node
monitored has been successfully received and the "Pre−operational" NMT state has been
reached.
I Tip!
Detailed information on the objects I−1016, I−1017 and I−1029 can be found in
the chapter entitled "Implemented CANopen objects" (^ 91).
84 l EDSMF2178IB EN 3.0
Monitoring 11
Node Guarding Protocol
) Note!
ƒ Only one monitoring function can be active:
– Heartbeat or node guarding.
ƒ Heartbeat has priority over node guarding:
– If both functions are configured, the heartbeat settings will be active.
The "Node Guarding Protocol" serves to monitor the connection between the NMT master
and the NMT slave(s) within a CAN network.
) Note!
An NMT master can be a PLC with a CAN interface or a PC card.
The NMT slave function of the "Node Guarding Protocols" (DS301, version
4.01) is supported by the EMF2178IB communication module.
2175COB001
Fig. 11−1 Telegram transfer between NMT master and NMT slave
EDSMF2178IB EN 3.0 l 85
11 Monitoring
Node Guarding Protocol
RTR telegram
The NMT master cyclically ("node guard time", monitoring time) sends a data telegram
called "Remote Transmit Request" (RTR) to the NMT slave.
The RTR prompts the NMT slave to send its current data.
Response telegram
The NMT slave sends a response telegram with a user data width of 1 byte. The most
significant bit of the response telegram is a toggle bit (t).
The data value (s) of the other seven bits indicates the status of the NMT slave:
Data value (s) Status
4 Stopped
5 Operational
127 Pre−operational
Identifier
Identifier = basic address (1792) + configurable address (1 ... 127)
86 l EDSMF2178IB EN 3.0
Monitoring 11
Emergency telegram
An emergency telegram is sent once to the master if the error status of the communication
module changes, i.e.
ƒ if an internal communication module error occurs.
ƒ if an internal communication module error is eliminated.
The emergency telegram sent via the CAN bus is structured as follows:
ƒ Byte 1 + 2: Emergency error code
ƒ Byte 3: Error register object I−1001
ƒ Bytes 4 ... 8: Field for manufacturer−specific error messages
Contents:
– Emergency error code 0x1000: Lenze error number
– All other emergency error codes have the value "0".
Emergency error Cause Error register entry
codes (I−1001)
[hex]
0x0000 One of several errors eliminated xx
Single error eliminated 00
(no more errors)
0x1000 Basic device in TRIP, message, warning, FAIL, QSP or persistent fault 01
0x3100 Supply voltage of basic device faulty or failed 01
0x6280 Fault in mapping table with operation with a profile implemented in 01
the PLC
0x8100 Communication error (warning) 11
0x8130 "Life guard error" or "heartbeat error" 11
0x8210 PDO length shorter than expected 11
0x8220 PDO length longer than expected 11
0x8700 Sync telegram monitoring 11
EDSMF2178IB EN 3.0 l 87
12 Diagnostics
Measures in case of troubled communication
12 Diagnostics
The following table shows error causes and remedy measures if there is no
communication with the controller.
Possible Diagnostics Remedy
cause of error
Is the controller switched One of the operating Supply controller with voltage (see Operating
on? status LEDs of the basic Instructions/Manual for the basic device)
device (2) must be on.
Is the communication The green LED 0 l In case of supply from the controller check the
module supplied with (connection status with connection. With external supply check the 24 V
voltage? controller) is on (remedy 1) voltage at terminals 39 and 59.
or blinking (remedy 2). A voltage of 24V +10% must be applied.
l The communication module has not been initialised
with the controller yet.
l Remedy 1: Controller not switched on (see fault
possibility 1).
l Remedy 2: Check the connection to the controller.
Does the controller receive The green LED 1 Check whether the connection corresponds to the
telegrams? (connection status with instructions given in the chapter "Electrical
bus) must be blinking installation".
when communicating with Check whether host sends telegrams and uses the
the host. appropriate interface.
Is the existing node address already assigned?
88 l EDSMF2178IB EN 3.0
Diagnostics 12
LED status displays
The LEDs on the front are provided to the communication module for the purpose of fault
diagnostics.
2172CAN000D
EDSMF2178IB EN 3.0 l 89
12 Diagnostics
LED status displays
90 l EDSMF2178IB EN 3.0
Implemented CANopen objects 13
Reference between CANopen object and Lenze code
) Note!
Some of the terms used here derive from the CANopen protocol.
CANopen objects and Lenze codes do not have the same functionalities.
Some CANopen objects have a direct influence on the corresponding codes:
ƒ If a new value is written within an object, the value is also adopted in the
corresponding code C18xx or C23xx.
ƒ When reading an object, the values stored under the corresponding code are
displayed.
Example
The CANopen object I−1017 (producer heartbeat time) is mapped on the codes C1870/2
and C2370/2:
ƒ Reading the object I−1017:
– Response: Value under code C1870/C2370, subcode 2.
ƒ Writing a new value into the object I−1017:
– The new producer heartbeat time is also entered under C1870/2 and C2370/2.
EDSMF2178IB EN 3.0 l 91
13 Implemented CANopen objects
Overview
13.2 Overview
92 l EDSMF2178IB EN 3.0
Implemented CANopen objects 13
Overview
EDSMF2178IB EN 3.0 l 93
13 Implemented CANopen objects
Overview
94 l EDSMF2178IB EN 3.0
Implemented CANopen objects 13
Overview
EDSMF2178IB EN 3.0 l 95
13 Implemented CANopen objects
Overview
I−1000: Device type
The object I−1000 indicates the device profile for this device. It is also possible to include
additional information here that is defined in the device profile itself. If a specific device
profile is not used, the content is "0x0000".
Bit assignment in the data byte (U8) for the individual error states
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Error status
0 0 0 0 0 0 0 0 No fault
0 0 0 0 0 0 0 1 Device error message
0 0 0 1 0 0 0 1 Communication error
96 l EDSMF2178IB EN 3.0
Implemented CANopen objects 13
Overview
I−1003: Error history
Error history
Index (hex) Name
0x1003 Error history
Subindex Default Value range Access Data type
setting
0 Number of recorded − 0 ... 255 rw U8
errors
1 Standard error field − 0 ... 232 − 1 ro U32
...
10
This object shows that errors have occurred in the communication module and in the basic
device:
ƒ Subindex 0: Number of saved error messages.
ƒ Subindex 1 ... 10: Error list.
The error messages consist of a 16−bit error code and a 16−bit manufacturer−specific
information field.
) Note!
The values in the "standard error field" under subindex 1 ... 10 will be
completely deleted if subindex 0 "number of recorded errors" is overwritten
with "0".
EDSMF2178IB EN 3.0 l 97
13 Implemented CANopen objects
Overview
I−1005: COB−ID SYNC message
This object ensures that sync telegrams can be created for the communication module and
that the identifier value can be written.
Writing identifiers
The default setting for receiving PDOs is "0x80" in the 11−bit identifier (also according to
the CANopen specification). This means that all communication modules are default set
to the same sync telegram.
If sync telegrams are only to be received by certain communication modules, their
identifiers can be entered with values up to "0xFF". The identifiers can only be changed
when the communication module does not send sync telegrams (bit 30 = 0).
98 l EDSMF2178IB EN 3.0
Implemented CANopen objects 13
Overview
I−1006: Communication cycle period
This object is used to set a sync telegram cycle time when sync sending is activated (bit 30
in object I−1005).
If sync sending is deactivated and a cycle time is selected, the selected time is used for
monitoring the sync telegrams received.
With the default setting of "0", sync telegrams are not created or monitored.
Cycle times can be entered as "1000" or an integer multiple of "1000". The unit of the
entered time is ms. The maximum value is 65535000 ms.
EDSMF2178IB EN 3.0 l 99
13 Implemented CANopen objects
Overview
I−100A: Manufacturer software version
Subindices
Subindex Authorisati Description
on
Write Read
0 ro While writing, the 0x06010002 error Supported subindex: 3
message occurs.
1 While writing, the 0x08000020 error Reading of memory functions of all
message occurs. parameters
2 Reading of memory functions of object
communication parameters
3 Reading of memory functions of
manufacturer−specific parameters
(Index 0x6000 ... 0x9FFF)
The following functions are controller−dependent. They are indicated by reading the bit
states 0 and 1.
Bits Value Meaning of the bit assignment
0 0 No automatic saving of parameters
1 Automatic saving of parameters
1 0 No saving of parameters on command
1 Saving of parameters on command
2 ... 31 0
) Note!
For this function, the subindices to be used depend on the controller type.
Subindices
Subindex Authorisati Description
on
Write Read
0 ro While writing, the 0x06010002 error Max. available subindex (depending on
message occurs. standard device):
l 93xx : 3
l ECSXX: 3
l 82vector : 7
l 82xx: 5
1 rw All parameters can be loaded
2 This function is not supported. Only object communication parameters
While writing, the 0x08000020 error can be loaded
3 message occurs. Only manufacturer−specific parameters
can be loaded
(Index 0x6000 ... 0x9FFF)
4 Parameter set 1 can be loaded
5 Parameter set 2 can be loaded
6 Parameter set 3 can be loaded
7 Parameter set 4 can be loaded
Bit states
Bits Value Meaning of the bit assignment
0 0 Parameters cannot be loaded
1 Parameters can be loaded
1 ... 31 0
When communication errors occur, are reset or when internal errors occur in the
communication module or controller (e.g. TRIP), the CAN bus sends an error message. The
telegram is sent once for every fault. This function can be activated and deactivated with
bit 31.
Data telegram assignment
Byte 8 7th byte Byte 6 Byte 5
MSB U32 LSB
31 30 29 28 ... 11 10 0
0/1 0 0 Bit value: 0 11−bit identifier
) Note!
The COB−ID can only be changed in the "Emergency object invalid" status
(bit 31 = 1).
The emergency telegram sent via the CAN bus is structured as follows:
ƒ Byte 1 + 2: Emergency error code
ƒ Byte 3: Error register object I−1001
ƒ Bytes 4 ... 8: Field for manufacturer−specific error messages
Contents:
– Emergency error code 0x1000: Lenze error number
– All other emergency error codes have the value "0".
Subindices
Subindex Explanation
0 Highest subindex
1 Node ID and "heartbeat time" of node
The heartbeat telegram will be sent automatically if a value > "0" is entered in I−1017. The
cycle time corresponds to the entered value in milliseconds.
"Node guarding" is deactivated when the "heartbeat time" is active.
Entry of vendor ID
Index (hex) Name
0x1018 Module device description
Subindex Default Value range Access Data type
setting
0 Module device description − Module−specific ro Identity
...
4
Subindices
Subindex Meaning
0 Highest subindex
1 Vendor ID = ID assigned to Lenze by the organisation "CIA"
2 Product code
3 Revision number
4 Serial number
Subindex 1
Value of Meaning
subindex 1
0 Status change to "Pre−operational"
1 No status change
2 Status change to "Stopped"
Here, the response to communication errors (node guarding, heartbeat) can be set under
subindex 1.
Subindices
Subindex Description
0 Max. supported subindex = 3
1 Specification of the receive identifier
2 Specification of the transmit identifier
Example:
Parameter data channel 2 (SDO2) of the controller with node address"4" is to be
deactivated. The master must send this command to the communication module via
parameter data channel 1 (SDO1).
In sending direction, the basic identifier for SDO2 has the value "1600" (basic identifier for
response: "1472").
Identifier = basic identifier + node address = 1604 (0x0644)
For deactivating the parameter data channel (= invalid), set bit 31 in I−1201, subindices 1
and 2 to "1". After this, enter the following values under subindices 1 and 2:
I−1201/1: 0x80000000 + 0x644 = 0x80000644
I−1201/2: 0x80000000 + 0x5C4 = 0x800005C4
ƒ User data assignment for I−1201/1:
User data
Byte 1 2nd byte 3rd byte Byte 4 Byte 5 Byte 6 7th byte Byte 8
Index Index
Command Subindex U32
Low byte High byte
0x23 0x01 0x12 0x01 0x44 0x06 0x00 0x80
(write request) Client ® server (rx)
) Note!
The objects I−1401 and I−1402 are not available for 8200 vector and 93XX
controllers.
Subindices
Subindex Description
0 Max. supported subindices = 5
1 Identifier setting:
l RPDO1: 200hex + node ID
l RPDO2: 300hex + node ID
l RPDO3: 400hex + node ID
2 Transmission type setting (see table above)
5 Monitoring time setting (see table above)
Description of subindex 1
Data telegram assignment
Byte 8 7th byte Byte 6 Byte 5
MSB U32 LSB
31 30 29 28 ... 11 10 ... 0
0/1 0/1 0 Bit value: 0 11−bit identifier
Description of subindex 2
PDO transmission Transmission type Description
cyclic synchronous event−control
led
X X n = 1 ... 240 By entering value n, this RPDO will be
accepted by every n−th sync.
X n = 254 Manufacturer−specific,
see code C1875/ C2375
Description of subindex 5
The "monitoring time" describes the period of time in which new process input data must
arrive with the CAN−IN1 ... 3 identifiers. If the time entered is exceeded, it is possible to set
a corresponding reaction under code C1882.
) Note!
ƒ The monitoring time starts with the arrival of the first telegram.
ƒ Subindex 5 = 0: Monitoring deactivated.
) Note!
The objects I−1601 and I−1602 are not available for 8200 vector and 93XX
controllers.
Subindices
Subindex Description
0 Number of mapped objects in RPDOs
1 ... 4 This value will be returned in case of a read request for the object.
For mapping in the module, the master enters indices and data lengths.
Mapping structure
MSB LSB
31 ... 16 15 ... 8 7 ... 0
Index Subindex Object length
DWord 0 = 0x20
Word = 0x10
The EDS file for the EMF2178IB communication module supports the mapping.
I Tip!
The current EDS file required for configuring the EMF2178IB (CANopen)
communication module can be found in the download area on:
www.Lenze.com
) Note!
The objects I−1801 and I−1802 are not available for 8200 vector and 93XX
controllers.
Subindices
Subindex Description
0 Max. supported subindices = 5
1 Identifier setting:
l TPDO1: 0x180 + node ID
l TPDO2: 0x280 + node ID
l TPDO3: 0x380 + node ID
2 Transmission type setting (see table)
3 Inhibit time setting
5 Cycle time setting
Description of subindex 1
Data telegram assignment
Byte 8 7th byte Byte 6 Byte 5
MSB U32 LSB
31 30 29 28 ... 11 10 ... 0
0/1 0/1 0 Bit value: 0 11−bit identifier
Description of subindex 2
PDO transmission Transmission type Description
cyclic synchronous event−control
led
X X n = 1 ... 240 By entering value n, this TPDO will be
accepted by every n−th sync.
X n = 252 By sync, TPDO will be filled with new
data, but only sent on RTR.
X n = 254 Manufacturer−specific,
see code C1875/ C2375
Description of subindex 3
Minimum time between two process data telegrams.
) Note!
Subindex 3 = 0: Inhibit time deactivated.
Description of subindex 5
With event−controlled/cyclic operation, you can set the cycle time for sending PDOs via the
CAN bus.
) Note!
Subindex 5 = 0: Cyclic PDO sending deactivated.
) Note!
The objects I−1A01 and I−1A02 are not available for 8200 vector and 93XX
controllers.
14 Codes
14.1 Overview
) Note!
ƒ Some CANopen objects have a direct influence on the corresponding codes.
If a new value is written within an index, the value is also adopted in the
corresponding code C18xx or C23xx.
ƒ With the 9300 Servo PLC, Drive PLC and ECS, a change of code C23xx will
only become effective after one of the following actions:
– Fresh power−on of communication module.
– Sending the NMT command "Reset Node" / "Reset Communication".
– Entering the value "1" under code C2120 (AIF control byte).
ƒ With all other controllers, changes will become effective immediately.
ƒ Since the codes C18xx are in the module, the corresponding values are
directly known. The codes C23xx are in the PLC and therefore must be read
by the module first.
The configuration of the entire system where the individual controller often only
represents one of many components in general is defined or altered during the
commissioning phase or during service.
For configuring the Lenze controllers, parameters are provided which are stored as
so−called "codes" in a numerically ascending order in the memory of the controller.
All codes can be accessed via the CAN bus.
The following codes are available for communication via the CAN bus:
ƒ Codes C1810 ... C1825 and C1860 ... C1862:
– For all devices.
– These codes are stored in the EMF2178IB communication module.
ƒ Codes C1827 ... C1882
– For 8200 vector and 93XX controllers.
– These codes are stored in the EMF2178IB communication module.
ƒ Codes C2327 ... C2382:
– For 9300 Servo PLC, Drive PLC and ECS.
– These codes are stored in the controller.
Communication with the drive requires that the system identifies the drive as node. The
identification takes place in the initialisation phase of the communication module.
C1810:
Software ID
Code Subcode Index Possible settings Data type
Lenze Selection
C1810 − 22765 = g VS
0x58ED
C1811:
Software creation date
Code Subcode Index Possible settings Data type
Lenze Selection
C1811 − 22764 = g VS
0x58EC
C1812:
Software ID
Code Subcode Index Possible settings Data type
Lenze Selection
C1812 /1: 22763 = g U32
... 0x58EB
/4:
C1813:
Software creation date
Code Subcode Index Possible settings Data type
Lenze Selection
C1813 /1: 22762 = g U32
... 0x58EA
/4:
C1822:
AIF−IN all words
Code Subcode Index Possible settings Data type
Lenze Selection
C1822 /1: 22753 = g U16
... 0x58E1
/12:
C1823:
AIF−OUT all words
Code Subcode Index Possible settings Data type
Lenze Selection
C1823 /1: 22752 = g U16
... 0x58E0
/12:
C1824:
AIF−IN all double words
Code Subcode Index Possible settings Data type
Lenze Selection
C1824 /1: 22751 = g U32
... 0x58DF
/11:
All AIF−IN double words as 32−bit values, with an offset of 16 bits each.
(¶ 66)
C1825:
AIF−OUT all double words
Code Subcode Index Possible settings Data type
Lenze Selection
C1825 /1: 22750 = g U32
... 0x58DE
/11:
All AIF−OUT double words as 32−bit values, with an offset of 16 bits each.
(¶ 66)
C1827/C2327:
Guard Time
Code Subcode Index Possible settings Data type
Lenze Selection
C1827 − 22748d = 0 0 [1 ms] 65535 FIX32
0x58DC
C2327 − 22248d =
0x56E8
It is possible to select a different "node life time" for each NMT slave.
The "node life time" is the product of "guard time" (object I−100C) and the "life time factor"
(object I−100D). The NMT master must know the two values.
Relation to CANopen
The object I−100C (guard time) has a direct influence on code C1827/C2327. A newly
written value in the object is also transferred to code C1827/C2327.
C1828/C2328:
Life time factor
Code Subcode Index Possible settings Data type
Lenze Selection
C1828 − 22747 = 0 0 [1] 255 FIX32
0x58DB
C2328 − 22247 =
0x56E7
It is possible to select a different "node life time" for each NMT slave.
The "node life time" is the product of "guard time" (object I−100C) and the "life time factor"
(object I−100D). The NMT master must know the two values.
Relation to CANopen
The object I−100D (life time factor) has a direct influence on code C1828/C2328. A newly
written value in the object is also transferred to code C1828/C2328.
C1850/C2350:
CAN node address
Code Subcode Index Possible settings Data type
Lenze Selection
C1850 − 22725 = 1 1 [1] 99 FIX32
0x58C5
C2350 − 22225 =
0x56D1
This code serves to set the CAN node address of the communication module.
) Note!
ƒ If several CAN nodes are interconnected, their node addresses must differ
from each other.
ƒ Node addresses > 99 can only be set via DIP switch(¶ 33).
ƒ All DIP switches 1 ... 7 = OFF (Lenze setting):
– When the device is switched on, the settings under code C1850/C2350
(node address) and C1851/C2351 (baud rate) are active.
– Code C1850/C2350 is an image of code C0009 of the basic device. Setting
C1850/C2350 has a direct effect on C0009.
C1851/C2351:
Baud rate
Code Subcode Index Possible settings Data type
Lenze Selection
C1851 − 22724 = 0 0 ... 4 0: 500 kbps FIX32
0x58C4 1: 250 kbps
2: 125 kbps
C2351 − 22224 = 3: 50 kbps
0x56D0 4: 1000 kbit/s
This code serves to set the baud rate of the communication module.
ƒ The baud rate must be the same for all CAN nodes.
ƒ The baud rates 10 kbps and 20 kbps can only be selected via DIP switch(¶ 33).
ƒ Setting the code (e.g. with GDC via CAN) has a direct effect on the standard device
code C0125.
) Note!
ƒ The baud rate must be the same for all CAN nodes.
ƒ The baud rates 10 kbps and 20 kbps can only be selected via DIP
switch(¶ 33).
ƒ All DIP switches 1 ... 7 = OFF (Lenze setting):
– When the device is switched on, the settings under code C1850/C2350
(node address) and C1851/C2351 (baud rate) are active.
– Code C1851/C2351 is an image of code C0125 of the basic drive. Setting
C1851/C2351 has a direct effect on C0125.
C1852/C2352:
Master/slave operation
Code Subcode Index Possible settings Data type
Lenze Selection
C1852 − 22723 = 0 0: Slave operation FIX32
0x58C3 1: Master operation
C2352 − 22223 =
0x56CF
After switch−on the communication module has the state "Pre−operational". In this state
only an exchange of parameter data (SDOs) is possible.
In slave operation, the communication module stays in this state until it is put by the NMT
command "Start remote node" into the state "Operational".
In the state "Operational" also process data (PDOs) are exchanged besides parameter data
(SDOs).
In master operation, the NMT command "Start remote node" is transmitted after an
adjustable boot−up time (C1856/1, C2356/1), which puts all CAN nodes into the state
"Operational".
C1853/C2353:
Addressing CAN−IN/OUT
Code Subcode Index Possible settings Data type
Lenze Selection
C1853 /1: CAN−IN1/CAN−OUT1 22722 = 0 see table below FIX32
/2: CAN−IN2/CAN−OUT2 0x58C2
C2353 /3: CAN−IN3/CAN−OUT3 22222 =
0x56CE
Possible settings
Selection Description
0 Addressing to CANopen (default identifier)
1 Addressing to C1854/C2354 (selective addressing)
2 Addressing to Lenze system bus (CAN)
3 Addressing to CANopen objects I−140X/I−180X
Via this code, the source for the resulting addresses of the CAN−INx/OUTx process data
objects (PDOs) on the CAN bus is selected.
Relation to CANopen
The addressing of the corresponding PDP pair or subcode in code C1853/C2353 is switched
to the objects I−140X/I−180X (see above: Selection "3") if a new value is entered into the
objects I−1400 ... I−1402 or I−1800 ... I−1802.
C1854/C2354:
Individual addressing CAN−IN/OUT
Code Subcode Index Possible settings Data type
Lenze Selection
C1854 /1: CAN−IN1 22721 = /1: 129 0 [1] 1663 FIX32
/2: CAN−OUT1 0x58C1 /2: 1
/3*: CAN−IN2 /3: 257*
C2354 /4*: CAN−OUT2 22221 = /4: 258*
/5*: CAN−IN3 0x56CD /5: 385*
/6*: CAN−OUT3 /6: 386*
*) not effective when using 8200 vector or 93XXcontrollers
With this code it is possible to set the addresses of the input and output PDOs individually
via six subcodes.
The code becomes effective, if one of the subcodes of code C1853/C2353 contains the
value "1" (selective addressing).
C1855/C2355:
Display of resulting identifiers CAN−IN/OUT
Code Subcode Index Possible settings Data type
Lenze Selection
C1855 /1: CAN−IN1 22720 = g FIX32
/2: CAN−OUT1 0x58C0
/3*: CAN−IN2
C2355 /4*: CAN−OUT2 22220 =
/5*: CAN−IN3 0x56CC
/6*: CAN−OUT3
*) not effective when using 8200 vector or 93XXcontrollers
In the six subcodes of this code the resulting identifiers of the PDOs can be read out.
) Note!
In case of 9300 Servo PLC, Drive PLC and ECS, the value will be transferred to
the standard device when the communication module is initialised.
C1856/C2356:
Boot−up− and cycle times
Code Subcode Index Possible settings Data type
Lenze Selection
C1856 /1: Boot−up time 22719 = 0 ms 0 [1 ms] 65535 FIX32
/2: Cycle time CAN−OUT1 0x58BF
/3: Cycle time CAN−OUT2
C2356 /4: Cycle time CAN−OUT3 22219 =
/5: Sync Tx cycle time 0x56CB
In the event−controlled/cyclic operation it is possible to define the cycle times with which
the single PDOs will be sent via the CAN bus (also see code C1875/C2375, "Tx mode" for
CAN−OUT1 ... 3).
) Note!
The value "0" deactivates the cyclic sending of the PDO.
"Sync Tx cycle time" (C1856/5, C2356/5) describes the interval time (in ms) that is required
for sending a sync telegram to the CAN bus.
Relation to CANopen
ƒ The object I−1006 (communication cycle period) has a direct influence on subcode
C1856/5 or C2356/5.
– As the data processing speed of the EMF2178IB communication module amounts
to 1000 ms, the entry via the object I−1006 is rounded to an integer multiple of
1000 ms and stored under C1856/5 or C2356/5 (depending on the standard device).
– When the object I−1006 is read, the content of the corresponding subcode (in ms) is
returned as a response.
– When a value is entered under subcode C1856/5 or C2356/5, bit30 of the object
I−1005 (COB−ID SYNC message) is set automatically and the communication
module sends a sync telegram.
ƒ The objects I−1800/5 ... I−1802/5 (TPDO Event Timer) have a direct influence on the
subcodes C1856/2 ... 4 or C2356/2 ... 4. Newly entered values in the objects
I−1800/5 ... I−1802/5 are also transferred to the subcodes C1856/2 ... 4 or
C2356/2 ... 4.
C1857/C2357:
Monitoring time
Code Subcode Index Possible settings Data type
Lenze Selection
C1857 /1: CAN−IN1 22718 = /1 ... /5: 0 [1 ms] 65535 FIX32
/2: CAN−IN2 0x58BE 3000 ms
/3: CAN−IN3
C2357 /4: BUS−OFF monitoring time 22218 = /6: 0 ms
/5: AIF monitoring time 0x56CA
/6: Sync Rx monitoring time
) Note!
ƒ The monitoring time starts with the arrival of the first telegram.
ƒ C1857/x = 0: Monitoring deactivated.
ƒ C2357/x = 0: Monitoring deactivated.
Relation to CANopen
ƒ The object I−1006 (Communication Cycle Period) has a direct influence on the
subcodes C1857/6 or C2357/6. A new value in the code deletes bit 30 of the object
I−1005 (COB−ID SYNC message).
ƒ The objects I−1400/5 ... I−1402/5 (TPDO Event Timer) have a direct influence on the
subcodes C1857/1 ... 3 or C2357/1 ... 3. Newly entered values in the objects
I−1400/5 ... I−1402/5 are also transferred to the subcodes C1857/1 ... 3 or
C2357/1 ... 3.
C1859/C2359:
Display of DIP switch position
Code Subcode Index Possible settings Data type
Lenze Selection
C1859 − 22716 = g U16
0x58BC
C2359 − 22216d = U32
0x56C8
The DIP switch position is indicated as a hexadecimal number with the initialisation of the
communication module.
) Note!
In case of 9300 Servo PLC, Drive PLC and ECS, the value will be transferred to
the standard device when the communication module is initialised.
C1860:
Display of the current DIP switch position
Code Subcode Index Possible settings Data type
Lenze Selection
C1860 − 22715 = g U16
0x58BB
By displaying the current DIP switch position it is possible to find out if the switch position
for node address and baud rate has changed since the last initialisation.
DIP switch valencies
Switch − 1 2 3 4 5 6 7 8 9 10
Value − 512 256 128 64 32 16 8 4 2 1
Bit 15 ... 10 9 8 7 6 5 4 3 2 1 0
C1861:
Display of the active CAN node address
Code Subcode Index Possible settings Data type
Lenze Selection
C1861 − 22714 = g FIX32
0x58BA
C1862:
Display of the active baud rate
Code Subcode Index Possible settings Data type
Lenze Selection
C1862 − 22713 = g 0: 500 kbps FIX32
0x58B9 1: 250 kbps
2: 125 kbps
3: 50 kbps
4: 1000 kbps
5: 20 kbps
6: 10 kbit/s
C1864/C2364:
PDP transmission with status change to "Operational"
Code Subcode Index Possible settings Data type
Lenze Selection
C1864 − 22711 = 0 0: Do not send PDOs FIX32
0x58B7
C2364 − 22211 = 1: Send PDOs
0x56C3
When the CAN status changes from "Pre−Operational" to "Operational", all PDOs are sent
once.
C1865/C2365:
Validity of SDO2 and PDOs
Code Subcode Index Possible settings Data type
Lenze Selection
C1865 /1: SDO2 22710 = /1: 0 0 [1] 3 FIX32
/2: CAN−IN/OUT1 0x58B6 /2: 1
/3*: CAN−IN/OUT2 /3: 1
/4*: CAN−IN/OUT3 /4: 1
C2365 /1: SDO2 22210 = /1: 0
/2: CAN−IN/OUT1 0x56C2 /2: 1
/3*: CAN−IN/OUT2 /3: 1
/4*: CAN−IN/OUT3 /4: 1
C1867/C2367:
Sync Rx identifier
Code Subcode Index Possible settings Data type
Lenze Selection
C1867 − 22708 = 128 0 [1] 2047 FIX32
0x58B4
C2367 − 22208 =
0x56C0
This code contains the identifier with which the sync telegram is received.
Relation to CANopen
The object I−1005 (COB−ID SYNC message) has a direct influence on this code. Newly
written values in the object are also transferred to code C1867/C2367.
C1868/C2368:
Sync Tx identifier
Code Subcode Index Possible settings Data type
Lenze Selection
C1868 − 22707 = 128 0 [1] 2047 FIX32
0x58B3
C2368 − 22207 =
0x56BF
This code contains the identifier with which the sync telegram is sent.
Relation to CANopen
The object I−1005 (COB−ID SYNC message) has a direct influence on this code. Newly
written values in the object are also transferred to code C1868/C2368.
C1869/C2369:
Consumer heartbeat ID
Code Subcode Index Possible settings Data type
Lenze Selection
C1869 − 22706 = 0 0 [1] 255 FIX32
0x58B2
C2369 − 22206 =
0x56BE
This code contains the identifier with which the heartbeat telegram for monitoring is
received.
Relation to CANopen
The object I−1016, subindex 1 (consumer heartbeat) has a direct influence on this code. A
value entered into subindex 1 of I−1016 is also transferred to code C1869/C2369.
C1870/C2370:
Heartbeat time (consumer, producer)
Code Subcode Index Possible settings Data type
Lenze Selection
C1870 /1: Consumer 22705 = 0 0 [1 ms] 65535 FIX32
/2: Producer 0x58B1 0
C2370 /1: Consumer 22205 = 0
/2: Producer 0x56BD 0
C1871/C2371:
Emergency ID
Code Subcode Index Possible settings Data type
Lenze Selection
C1871 − 22704 = 128 0 [1] 2047 FIX32
0x58B0
C2371 − 22204 =
0x56BC
This code contains the identifier with which the emergency telegram is sent.
Relation to CANopen
The object I−1014 (COB−ID Emergency Object) has a direct influence on this code. A value
written into the object is also transferred to code C1871/C2371.
C1872/C2372:
Emergency inhibit time
Code Subcode Index Possible settings Data type
Lenze Selection
C1872 − 22703 = 0 0 [1 ms] 65535 FIX32
0x58AF
C2372 − 22203 =
0x56BB
This code contains the delay time for sending an emergency telegram.
Relation to CANopen
The object I−1015 (Inhibit Time EMCY) has a direct influence on this code. A value written
into the object is also transferred to code C1872/C2372.
C1873/C2373:
Sync rate CAN−IN1 ... 3
Code Subcode Index Possible settings Data type
Lenze Selection
C1873 /1: CAN−IN1 22702 = 1 0 [1] 240 FIX32
/2*: CAN−IN2 0x58AE
C2373 /3*: CAN−IN3 22202 =
0x56BA
*) not effective when using 8200 vector or 93XXcontrollers
The process input data (CAN−INx) are only transferred to the controller after a certain
number of sync telegrams have been received.
The sync rate can be set individually for each input PDO.
) Note!
Only sync telegrams are counted that have been received with the identifier
set under code C1867/C2367 of the communication module.
Example:
ƒ Selection n=23:
Acceptance of input PDO (to CAN−IN1 ... 3) into the controller after arrival of the 23rd
sync telegram.
Relation to CANopen
The objects I−1400 ... I−1402 (Receive PDO Communication Parameters), subindex 2 each
(transmission type), are mapped on the corresponding subcodes of C1873/C2373 in the
value range 1 ... 240.
Exception: Object I−140X, subindex 2 = "254" is mapped manufacturer−specifically as
value "0" on the corresponding subcodes of C1873/C2373.
Object I−140X, subindex Mapping to code / subcode
I−140X, subindex 2 = 1 ... 240 C1873, subcode X = 1 ... 240
I−140X, subindex 2 = 254 C1873, subcode X = 0
C1874/C2374:
Sync rate CAN−OUT1...3
Code Subcode Index Possible settings Data type
Lenze Selection
C1874 /1: CAN−OUT1 22701 = 1 1 [1] 240 FIX32
/2*: CAN−OUT2 0x58AD
C2374 /3*: CAN−OUT3 22201 =
0x56B9
*) not effective when using 8200 vector or 93XXcontrollers
The process output data (CAN−OUTx) are only transferred after a certain number of sync
telegrams have been received.
The sync rate can be set individually for each process output data object.
Relation to CANopen
The objects I−1800 ... I−1802 (Transmit PDO Communication Parameters), subindex 2 each
(transmission type), are transferred to the corresponding subcodes of C1874/C2374 in the
value range 1 ... 240.
C1875/C2375:
Tx mode CAN−OUT1...3
Code Subcode Index Possible settings Data type
Lenze Selection
C1875 /1: CAN−OUT1 22700 = /1: 0 0 [1] 3 FIX32
/2*: CAN−OUT2 0x58AC /2: 1
C2375 /3*: CAN−OUT3 22200 = /3: 1
0x56B8
*) not effective when using 8200 vector or 93XXcontrollers
This code contains a selection which indicates at which event the TPDOs CAN−OUT1 ... 3 are
to be sent. It is possible to make an individual selection for each TPDO by dividing the code
in subcodes.
ƒ Value = 0:
– The TPDOs are sent when a sync telegram has been received.
– Under code C1874/C2374 you can set that the TPDOs are only to be sent after the
n−th sync telegram (n = 1 ... 240).
ƒ Value = 1:
– TPDOs are not sent.
– With this selection the transmission of TPDOs is deactivated.
This is useful for 8200 vector and 9300 drives which are only able to exchange four
words as a maximum of control and status information via the AIF. For this
purpose, the use of one TPDO is sufficient, TPDOs 2 and 3 are deactivated (Lenze
setting). This avoids an unnecessary load of the CAN bus.
ƒ Value = 2:
– The corresponding TPDO is either transmitted event−controlled or cyclically.
– The TPDO is transmitted cyclically if a cycle time is defined for the TPDO under
code C1856/C2356. If the cycle time is zero, the TPDO is sent in case of an event,
i.e. bit change within the TPDO.
ƒ Value = 3:
– The TPDO is event−controlled and cyclically transmitted. This means that the
object is transmitted with the cycle time defined under code C1856/C2356.
– In addition, the object will be transmitted if one or several bits are changed within
the TPDO.
) Note!
If the transmission is event−controlled (also with cyclic superimpositions) some
bits can be hidden by masking the object using codes C1876 ... C1878 or with
the 9300 Servo PLC, Drive PLC and ECS C2376 ... C2378. This means that the
TPDO will not be sent when a bit is being changed.
C1876/C2376:
Masks CAN−OUT1
This mask is used to skip one or several bits of the output PDO CAN−OUT1.
Code Subcode Index Possible settings Data type
Lenze Selection
C1876 /1: CAN−OUT1.W1 22699 = 65535 0 [1] 65535 FIX32
/2: CAN−OUT1.W2 0x58AB
C2376 /3: CAN−OUT1.W3 22199 =
/4: CAN−OUT1.W4 0x56B7
The event−controlled transmission of the CAN−OUT object can be e.g. dependent on one bit
only. (See also code C1875/C2375, ^ 140.)
Example:
The mask in word 3 of the process data object CAN−OUT1 is set by code C1876/3 with the
value "0x20".
ƒ 1st cycle
Result after 1st cycle: The PDO is sent.
CAN−OUT1.W3
MASK 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0
Data 1 1 1 1 1 1 1 1 0 1 1 0 0 0 1 0
Result 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0
ƒ 2nd cycle
Result after 2nd cycle:
– New data have been written into CAN−OUT1.
– The PDO is sent due to the bit change.
CAN−OUT1.W3
MASK 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0
Data 1 1 1 1 1 1 1 1 0 1 0 0 0 0 1 0
Result 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
C1877/C2377:
Masks CAN−OUT2
This mask is used to skip one or several bits of the output PDO CAN−OUT2.
Code Subcode Index Possible settings Data type
Lenze Selection
C1877 /1: CAN−OUT2.W1 22698 = 65535 0 [1] 65535 FIX32
/2: CAN−OUT2.W2 0x58AA
C2377 /3: CAN−OUT2.W3 22198 =
/4: CAN−OUT2.W4 0x56B6
For more information, please see the description of code C1876/C2376 (^ 142).
C1878/C2378:
Masks CAN−OUT3
This mask is used to skip one or several bits of the output PDO CAN−OUT3.
Code Subcode Index Possible settings Data type
Lenze Selection
C1878 /1: CAN−OUT3.W1 22697 = 65535 0 [1] 65535 FIX32
/2: CAN−OUT3.W2 0x58A9
C2378 /3: CAN−OUT3.W3 22197 =
/4: CAN−OUT3.W4 0x56B5
For more information, please see the description of code C1876/C2376 (^ 142).
C1882/C2382:
Monitoring response
Code Subcode Index Possible settings Data type
Lenze Selection
C1882 /1: response CAN−IN1 22693 = /1:0 0 [1] 2 FIX32
/2: response CAN−IN2 0x58A5 /2:0
/3: response CAN−IN3 /3:0
/4: response BUS−OFF /4:0
C2382 /5: response 22193 = /5:0 0: no response
life guarding event / 0x56B1 /6: 0 1: Controller inhibit (CINH)
heartbeat event 2: Quick stop (QSP)
/6: response Rx sync
monitoring
Setting the response in the controller if the monitoring times have been exceeded (see
code C1857/C2357, ^ 131.).
This section briefly describes the most important codes of the standard device for CAN
communication.
C0001:
Operating mode for 8200 vector
Code Subcode Index Possible settings Data type
Lenze Selection
C0001 − 24574 = 0 see System Manual for 8200 FIX32
0x5FFE vector
The operating mode defines which source may currently write to which parameters.
The operating unit and CAN are always authorised for parameter setting.
) Note!
Please observe that the operating mode C0001 is contained in all parameter
sets. Therefore C0001 must be set equally in all parameter sets.
C0009:
CAN node address
Code Subcode Index Possible settings Data type
Lenze Selection
C0009 − 24566 = 1 1 [1] 99 FIX32
0x5FF6
C0046:
Display of frequency setpoint
Code Subcode Index Possible settings Data type
Lenze Selection
C0046 − 24529 = g see documentation of the FIX32
0x5FD1 standard device
C0125:
Baud rate
Code Subcode Index Possible settings Data type
Lenze Selection
C0125 − 24450 = 0 see documentation of the FIX32
0x5F82 standard device
C0126:
Behaviour with communication error (extract)
Code Subcode Index Possible settings Data type
Lenze Selection
C0126 − 24449 = see documentation of the FIX32
0x5F81 standard device
C0135:
Controller control word
Code Subcode Index Possible settings Data type
Lenze Selection
C0135 − 24440 = see documentation for the I16
0x5F78 basic device
C0150:
Controller status word
Code Subcode Index Possible settings Data type
Lenze Selection
C0150 − 24425 = see documentation of the I16
0x5F69 standard device
C0168:
Fault memory 9300 / ECSXX
Code Subcode Index Possible settings Data type
Lenze Selection
C0168 0 ... 8 24407 = g see documentation of the FIX32
0x5F57 standard device
C2120:
AIF control byte
Code Subcode Index Possible settings Data type
Lenze Selection
C2120 − 22455 = 0 See table below FIX32
0x57B7
Possible settings
Selection Description
0 No command
1 Update codes 23XX and CAN reinitialisation º reset node
2 Update codes C23XX
10 Reread C2356/1...4
11 Reread C2357
12 Reread C2375
13 Reread C2376 ... C2378
14 Reread C2382
16 1) Update C7999 and C7998 including CAN reinitialisation
17 1) Update C7999, mapping table of profile indices
18 1) Update C7998, error list of emergency messages
32 1) Reset error source, activate emergency messages
33 ... 62 1) Error source 1 ... 30, activate emergency messages
1) Value range is only valid for profile applications in a PLC
With the AIF control byte it is possible to read the codes C23XX saved in the 9300 Servo PLC,
Drive PLC and ECS into the communication module.
Execute command
How to accept the values in the communication module:
ƒ Write the table value of the required command into the AIF control byte.
ƒ Change the status of the MSB of the AIF control byte. The command is executed.
Example
By writing the value"2" into the AIF control byte all codes C23XX are re−read when the MSB
changes its status.
For some codes it is necessary to carry out a CAN reinitialisation so that new values and the
functions derived from them will become effective.
C2121:
AIF status byte
Code Subcode Index Possible settings Data type
Lenze Selection
C2121 − 22454 = 0 0 [1] 255 U8
0x57B6
The AIF status byte provides the 9300 Servo PLC, Drive PLC and ECS with information of the
communication module. With this information, the 9300 Servo PLC, Drive PLC and ECS can
monitor the status of the communication module. Depending on the communication
module states, it is possible for you to take corresponding countermeasures.
AIF status byte Description
Bit 0 CE11 error, CAN−IN1 monitoring time exceeded
Bit 1 CE12 error, CAN−IN2 monitoring time exceeded
Bit 2 CE13 error, CAN−IN3 monitoring time exceeded
Bit 3 CE14−error, communication module in BUS−OFF status
Bit 4 Operational status
Bit 5 Pre−operational state
Bit 6 Warning status
Bit 7 Internally assigned
15 Index
Zahlen C
8200 vector C0001: Operating mode for 8200 vector, 144
− control word, 53 C0009: CAN node address, 144
− status word, 55 C0046: Display of frequency setpoint, 144
C0125: Baud rate, 145
8200 vector fault memory, 146
C0126: Behaviour with communication error, 145
8200 vector operating mode (C0001), 144
C0135: Controller control word, 145
8200 vector special features, 81 C0150: Controller status word, 145
9300 C0161 ... C0164: Fault memory 8200 vector, 146
− control word, 57 C0168: Fault memory 9300 / ECSXX, 146
− status word, 60 C1810: Software ID, 120
9300 fault memory, 146 C1811: Software creation date, 120
C1812: Software ID, 120
9300 Servo PLC special features, 81
C1813: Software creation date, 120
C1822: AIF−IN all words, 121
A C1823: AIF−OUT all words, 121
Address setting, 34 C1824: AIF−IN all double words, 121
Addressing CAN−IN/OUT, 126 C1825: AIF−OUT all double words, 121
− individual, 129 C1827/C2327: Guard Time, 122
AIF control byte (C2120), 81 , 147 C1828/C2328: Life time factor, 122
AIF status byte (C2121), 82 , 148 C1850/C2350: CAN node address, 123
C1851/C2351: Baud rate, 124
AIF−IN, function block, 58
C1852/C2352: Master/slave operation, 125
AIF−IN all double words, 121 C1853/C2353: Addressing CAN−IN/OUT, 126
AIF−IN all words, 121 C1854/C2354: Individual addressing CAN−IN/OUT, 129
AIF−OUT, function block, 60 C1855/C2355: Display of resulting identifiers
CAN−IN/OUT, 129
AIF−OUT all double words, 121
C1856/C2356: Boot−Up and cycle times, 130
AIF−OUT all words, 121 C1857/C2357: Monitoring time, 131
Application as directed, 13 C1859/C2359: Display DIP switch position, 132
C1860: Display of the current DIP switch position, 133
B C1861: Display of the active CAN node address, 133
Basic identifier, 43 C1862: Display of the active baud rate, 133
C1864/C2364: PDO transmission with status change to
Basic insulation, 24 "Operational", 134
Baud rate, 17 , 124 C1865/C2365: Validity of SDO2 and PDOs, 134
− setting, 35 C1867/C2367: Sync Rx identifier, 135
− system bus (CAN). Siehe baud rate C1868/C2368: Sync Tx identifier, 135
Baud rate (C0125), 145 C1869/C2369: Consumer heartbeat ID, 136
Behaviour with communication error (C0126), 145 C1870/C2370: Heartbeat time (consumer, producer), 136
Emergency inhibit time (I−1015), 105 I−1016: Consumer heartbeat time, 105
Fault memory 8200 vector, 146 I−1A00: Transmit PDO mapping parameters, 114
Fault memory 9300 / ECSXX, 146 I−1A01: Transmit PDO mapping parameters, 114
Frequency setpoint display (C0046), 144 I−1A02: Transmit PDO mapping parameters, 114
Identification, 14
G Identifier (COB−ID), 43
Guard Time, 122 Identifiers, Display of the resulting identifier, 129
Guard time (I−100C), 100 Indexing of Lenze codes, 70
Individual addressing CAN−IN/OUT, 129
H Initial switch−on, 36
Hardware version, type code, 14 Installation, 21
Heartbeat Protocol, 83 − electrical, 23
Heartbeat time (consumer, producer), 136 − mechanical, 22
− system bus (CAN), 25
L O
LED status displays, 89 Operating mode for 8200 vector (C0001), 144
Order designation, 17
LEDs, 36 , 89
Lenze codes, 115 P
Life time factor, 122 Parameter, C0142 (restart protection), 38
Parameter channel, 25
Life time factor (I−100D), 101
Parameter data telegram, 73
Parameter data transfer, 69
M parameter for 8200 vector, frequency setpoint (C0046),
Manufacturer software version (I−100A), 100 50
Manufacturer’s device name (I−1008), 99 Parameter sets
− 8200 vector, 71
Mapping in CANopen objects, 65 − 93XX, 72
− AIF data image in codes, 66 − Lenze, 71
− AIF interface assignment, 68 PDO transmission with "Operational", 134
− AIF modes, 68 Plug connector with double screw connection, 24
− CANopen indices for mapping, 67 Process data channel, 25
− Device−internal mechanisms, 67 − configuring, 50
Masks CAN−OUT1, 142 Process Data Objects (PDO), 44
Masks CAN−OUT2, 143 Process data objects (PDO)
− available, 48
Masks CAN−OUT3, 143 − cyclic, 51
Master/slave operation, 125 Process data signals, 52
Mechanical installation, 22 − 8200 vector, 52
− 9300 Servo PLC, 61
Module device description (I−1018), 106 − 93XX, 56
Monitoring, 83 − Drive PLC, 61
− ECSxA, 61
Monitoring response, 143
Process data telegram
Monitoring time, 131 − RPDO, 49
− TPDO, 49
N Process data transfer, 48
Processing time, 19
Nameplate, 14
− in the controller, 19
Network management (NMT), 45 , 46 Producer heartbeat time (I−1017), 106
Network topology, 17 Product description, 13
Node address, 43 , 123 − application as directed, 13
Product features, 15
Node address setting, 34
Protection against restart, 38
Node addresses, 17 Protection of persons, 12
Node Guarding Protocol, 85 Protective insulation, 18
Node ID, 43
Notes, definition, 10
R Sync telegram, 51