BA ECSxA Axis Module Application (V8.x) v2-0 en
BA ECSxA Axis Module Application (V8.x) v2-0 en
BA ECSxA Axis Module Application (V8.x) v2-0 en
LENZE
ECSEA004C4B
OTHER SYMBOLS:
biuro@rgbelektronika.pl
+48 71 325 15 05
www.rgbautomatyka.pl
www.rgbautomatyka.pl
www.rgbelektronika.pl
YOUR
PARTNER IN
MAINTENANCE
Repair this product with RGB ELEKTRONIKA ORDER A DIAGNOSIS ∠
LINEAR
ENCODERS PLC
SYSTEMS
INDUSTRIAL
COMPUTERS
ENCODERS CNC
CONTROLS
SERVO AMPLIFIERS
MOTORS
CNC
MACHINES
OUR SERVICES
POWER
SUPPLIERS
OPERATOR
SERVO
PANELS
DRIVERS
At our premises in Wrocław, we have a fully equipped servicing facility. Here we perform all the repair
works and test each later sold unit. Our trained employees, equipped with a wide variety of tools and
having several testing stands at their disposal, are a guarantee of the highest quality service.
Ä.9Fqä
Operating Instructions
ECS
Please read these instructions before you start working!
Follow the enclosed safety instructions.
These Instructions are valid for ECSxA... axis modules as of version:
ECS x A xxx x 4 x xxx XX XX XX
Device type
L
Hans-Lenze-Straße1
D-31855 Aerzen
Made in Germany
Input 2/PE DC a-aaa/aaaV
bb.b/bb.bA
Output 3/PE AC c-ccc/cccV
Design Overload
dd.d/dd.dA
ee.eA
0-fffHz
Type ttttttttttt 1
E = standard panel−mounted unit, IP20 Id.-No. Prod.-No. Ser.-No.
Application
1D74
pendant 180s après la coupure
Conl.
Ind.
Eq.
L ´appareil est sous tension
ATTENTION
A = "Application"
de la tension réseau
Peak current
information refer to
Device is live up to
mains voltage
008 = 8 A 048 = 48 A
For detailed
016 = 16 A 064 = 64 A
}
Fieldbus interface
C = CAN system bus
Voltage class
4 = 400 V/500 V
Technical version
B = Standard
I = For IT systems
Variant
Hardware version
1A or higher
Tip!
Current documentation and software updates concerning Lenze products can be found on
the Internet in the "Services & Downloads" area under
http://www.Lenze.com
0Fig. 0Tab. 0
2 EDBCSXA064 EN 2.0
ECSEA_003A
EDBCSXA064 EN 2.0 3
Scope of supply
Position Description Quantity
ECSA... axis module 1
Accessory kit with fixing material corresponding to the design (): 1
l "E" − standard panel−mounted unit
l "D" − push−through technique
l "C" − cold−plate technique
Mounting Instructions 1
Drilling jig 1
Functional earth conductor (only ECSDA...) 1
Note!
The ECSZA000X0B connector set must be ordered separately.
Status displays
LED Operating state Check test
Red Green
Off On Controller enabled, no fault
Off Blinking Controller inhibited (CINH), switch−on inhibit Code C0183
Blinking Off Trouble/fault (TRIP) is active Code C0168/1
Blinking On Warning/FAIL−QSP is active Code C0168/1
4 EDBCSXA064 EN 2.0
Contents i
2 Safety instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
2.1 General safety and application notes for Lenze controllers . . . . . . . . . . . . . . . . . . 25
2.2 Residual hazards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
2.3 Safety instructions for the installation according to UL or UR . . . . . . . . . . . . . . . . 30
2.4 Definition of notes used . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
3 Technical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
3.1 General data and operating conditions ................................. 32
3.2 Rated data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
3.3 Current characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
3.3.1 Increased continuous current depending on the control factor . . . . . . . 36
3.3.2 Device protection by current derating . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
4 Mechanical installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
4.1 Important notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
4.2 Mounting with fixing rails (standard installation) . . . . . . . . . . . . . . . . . . . . . . . . . 41
4.2.1 Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
4.2.2 Mounting steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
4.3 Mounting with thermal separation (push−through technique) . . . . . . . . . . . . . . . 43
4.3.1 Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
4.3.2 Mounting steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
4.4 Mounting in cold−plate design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
4.4.1 Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
4.4.2 Mounting steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
EDBCSXA064 EN 2.0 5
i Contents
5 Electrical installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
5.1 Electrical isolation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
5.2 Installation according to EMC (installation of a CE−typical drive system) . . . . . . . 51
5.3 Power terminals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
5.3.1 Connection to the DC bus (+UG, −UG) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
5.3.2 Connection plans . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
5.3.3 Motor connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
5.3.4 Motor holding brake connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
5.3.5 Connection of an ECSxK... capacitor module (optional) . . . . . . . . . . . . . . 63
5.4 Control terminals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
5.4.1 Digital inputs and outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
5.4.2 Analog input . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
5.4.3 Safe torque off . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
5.5 Automation interface (AIF) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
5.6 Wiring of the system bus (CAN) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
5.7 Wiring of the feedback system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
5.7.1 Resolver connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
5.7.2 Encoder connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
5.7.3 Digital frequency input/output (encoder simulation) . . . . . . . . . . . . . . . 90
6 Commissioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
6.1 Before you start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
6.2 Commissioning steps (overview) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
6.3 Carrying out basic settings with GDC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
6.4 Setting of mains data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
6.4.1 Selecting the function of the charging current limitation . . . . . . . . . . . . 96
6.4.2 Setting the voltage thresholds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
6.5 Entry of motor data for Lenze motors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
6.6 Holding brake configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
6.7 Setting of the feedback system for position and speed control . . . . . . . . . . . . . . . 101
6.7.1 Resolver as position and speed encoder . . . . . . . . . . . . . . . . . . . . . . . . . . 101
6.7.2 TTL/sin/cos encoder without serial communication . . . . . . . . . . . . . . . . 104
6.7.3 TTL/sin/cos encoder as position encoder and resolver as speed encoder 107
6.7.4 Absolute value encoder as position and speed encoder . . . . . . . . . . . . . 110
6.7.5 Absolute value encoder as position encoder and resolver as speed encoder . . . .
114
6.8 Setting the polarity of digital inputs and outputs . . . . . . . . . . . . . . . . . . . . . . . . . . 118
6.9 Entry of machine parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
6.10 Controller enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
6.11 Loading the Lenze setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
6 EDBCSXA064 EN 2.0
Contents i
EDBCSXA064 EN 2.0 7
i Contents
10 Diagnostics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
10.1 Diagnostics with Global Drive Control (GDC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
10.2 Diagnostics with Global Drive Oscilloscope (GDO) . . . . . . . . . . . . . . . . . . . . . . . . . 182
10.3 Diagnostics with the XT EMZ9371BC keypad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
8 EDBCSXA064 EN 2.0
Contents i
EDBCSXA064 EN 2.0 9
i Contents
10 EDBCSXA064 EN 2.0
Contents i
14 Appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 349
14.1 PLC functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 349
14.2 Extendability / networking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 350
EDBCSXA064 EN 2.0 11
i Contents
15 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 433
12 EDBCSXA064 EN 2.0
Preface and general information 1
About use these Operating Instructions
Conventions used in this Manual
These Operating Instructions will assist you in connecting and commissioning the ECSxA...
axis modules.
They contain safety instructions which must be observed!
All persons working on and with the ECSxA... axis modules must have the Operating
Instructions available and must observe the information and notes relevant for their work.
The Operating Instructions must always be in a complete and perfectly readable state.
This Manual uses the following conventions to distinguish between different types of
information:
Information type Print Example
(in the descriptive text)
System block name bold The SB DIGITAL_IO...
System block variable identifier italics The input DIGIN_bIn1_b...
EDBCSXA064 EN 2.0 13
1 Preface and general information
About use these Operating Instructions
Terminology used
14 EDBCSXA064 EN 2.0
Preface and general information 1
Features of the ECSxA
Terminology used
All system block descriptions contained in this Manual have the same structure:
Headline with SB identifier
Table giving information about input and output
variables:
l Identifier
l Data type
l Signal type
l Address
l Display code
l Display format
l Information
EDBCSXA064 EN 2.0 15
1 Preface and general information
Scope of supply
Terminology used
Accessories
The appendix includes information on the following accessories: (
428).
ƒ Connector sets for
– power supply modules: ECSZE000X0B
– capacitor modules: ECSZK000X0B
– axis modules: ECSZA000X0B
ƒ ECSZS000X0B001 shield mounting kit (EMC accessories)
ƒ Communication modules for the automation interface (AIF)
ƒ ECSxE...power supply module
ƒ ECSxK... capacitor module
ƒ Brake resistors
ƒ Mains fuses
ƒ Mains chokes
ƒ RFI filters
ƒ Motors
16 EDBCSXA064 EN 2.0
Preface and general information 1
Legal regulations
Terminology used
EDBCSXA064 EN 2.0 17
1 Preface and general information
System block introduction
System blocks ˘ principle
Lenze follows the principle of describing controller functions with the aid of function
blocks (FBs). This principle can also be found in the IEC 61131−3 standard.
ƒ Functions which can be used as software functions in projects are stored in function
libraries as function blocks or functions.
ƒ In addition, quasi−hardware functions are available as system blocks (SBs).
CPU x x x x x x
x = Additional cards
ƒ The CPU can directly access the additional cards and process the resulting
information.
ƒ Additional cards have fixed addresses for access.
Tip!
In case of the ECSxA... axis modules, the system blocks correspond to these
attachment cards!
System blocks therefore are specific (hardware) function blocks which are
firmly integrated into the runtime system of the ECSxA... axis module.
18 EDBCSXA064 EN 2.0
Preface and general information 1
System block introduction
System blocks ˘ principle
EDBCSXA064 EN 2.0 19
1 Preface and general information
System block introduction
Access via system variables
If you have integrated a system block into the system configuration of the DDS, you can use
its system variables within your project.
You can call up the input assistance in the editors of the DDS via <F2>, among other things
listing all the system variables that are provided:
In this Manual, the system variables can be retrieved in the system variable table of the
corresponding system block.
Example: Table with the inputs of the SB Inputs_Digital of the ECSxA... axis module
Variable Data Signal Address Display Display Notes
type type code format
Controller inhibit ˘ takes
DIGIN_bCInh_b %IX1.0.0 ˘ ˘ direct effect on the
device control DCTRL.
DIGIN_bIn1_b %IX1.0.1
DIGIN_bIn2_b BOOL binary %IX1.0.2
DIGIN_bIn3_b %IX1.0.3
C0443 bin
DIGIN_bIn4_b %IX1.0.4
"Safe torque off"
DIGIN_b_safe_standstill_b %IX1.0.5
(former "safe standstill")
20 EDBCSXA064 EN 2.0
Preface and general information 1
System block introduction
Access via absolute addresses
You can also access the inputs and outputs of the system blocks via absolute addresses
according to standard IEC 61131−3:
For inputs: For outputs:
a = node number
%IXa.b.c %QXa.b.c b = word address
c = bit address
In this Manual, the absolute addresses can be retrieved in the system variable table of the
corresponding system block.
Example: Table with the inputs of the SB Inputs_Digital of the ECSxA... axis module
Variable Data Signal Address Display Display Notes
type type code format
Controller inhibit ˘ takes
DIGIN_bCInh_b %IX1.0.0 ˘ ˘ direct effect on the
device control DCTRL.
DIGIN_bIn1_b %IX1.0.1
DIGIN_bIn2_b BOOL binary %IX1.0.2
DIGIN_bIn3_b %IX1.0.3
C0443 bin
DIGIN_bIn4_b %IX1.0.4
"Safe torque off"
DIGIN_b_safe_standstill_b %IX1.0.5
(former "safe standstill")
For connecting the application program with the hardware, system blocks are connected
with program organisation units (POUs):
POE-Input POE-Output
SB-Output SB-Input
SB POE SB
Fig. 1−1 Plan: Connecting system blocks to a program organisation unit (POU)
Note!
Inputs and outputs are always classified from the program’s point of view.
ƒ Logical SB inputs are always hardware−side outputs of the ECSxA axis...
module
ƒ Logical SB outputs are always hardware−side inputs of the ECSxA axis...
module
EDBCSXA064 EN 2.0 21
1 Preface and general information
System block introduction
Definition of the inputs/outputs
Example:
Use of the system blocks Inputs_Digital and Outputs_Digital
Inputs_DIGITAL Outputs_DIGITAL
X6
DIGIN_bIn1_b 0 X6
DI1 DIGOUT_bOut1_b
0 DIGIN_bIn2_b 1 DO1
DI2 C0444/1 1
1 DIGIN_bIn3_b
DI3 1
DIGIN_bIn4_b C0118/1
DI4 X6
C0114/1...4 safe torque off SO
C0443 POE
0
mP DIGOUT_bRelais_b
1
X6 C0444/2 1
DIGIN_bCInh_b
SI1
safe standstill DIGIN_b_safe_standstill_b X6 C0118/2 X25
SI2
B+ B1
C0443 mP + Imp
B- B2
MONIT-Rel1
C0602
ECSXA207
Fig. 1−2 Plan: connecting the system blocks "Inputs_Digital" and "Outputs_Digital"
If you want to use digital input 1 and digital output 1, carry out the following steps:
1. Explicitly integrate the SBs Inputs_Digital and Outputs_Digital into the DDS control
configuration. (
23)
2. For access to digital input 1:
– Assign the system variable DIGIN_bIn1_b to a POU variable.
3. For access to digital output 1:
– Assign the system variable DIGOUT_bOut1_b to a POU variable.
Note!
According to the IEC 61131−3 standard the system variables DIGIN_bIn1_b and
DIGOUT_bOut1_b may generally only be used once.
The use of one system variable in several POUs must be carried out via a copy
(as global variable).
22 EDBCSXA064 EN 2.0
Preface and general information 1
System block introduction
Integrating system blocks into the DDS
The system blocks required have to be integrated explicitly into the project in the DDS via
the control configuration.
ƒ The control configuration is placed as an object in the Resources tab in the Object
organiser.
ƒ The control configuration lists all inputs and outputs including the identifiers of the
corresponding system variable, the absolute address and the data type of the
system variable for every linked SB.
0 1 2
ECSXA245
Fig. 1−3 Example: Control configuration including the SBs "Inputs_DIGITAL" and "Outputs_DIGITAL"
Identifier of the system variable
Absolute address
Data type of the system variable
Tip!
The control configuration can be accessed using the right mouse key. A
context menu helps you to add and delete SBs.
EDBCSXA064 EN 2.0 23
1 Preface and general information
System block introduction
Signal types and scaling
A signal type can be assigned to most inputs and outputs of the Lenze function
blocks/system blocks. The following signal types are distinguished:
ƒ digital and analog signals
ƒ position and speed signals
The identifier of the corresponding input/output variable has an ending (starting with an
underscore). It indicates the signal type.
Signal Scaling
Ending Memory
Type Symbol (external size º internal size)
Analog _a (analog) 16 Bit1 100 % º 16384
24 EDBCSXA064 EN 2.0
Safety instructions 2
General safety and application notes for Lenze controllers
2 Safety instructions
Application as directed
Controllers are components which are designed for installation in electrical systems or
machines. They are not to be used as domestic appliances, but only for industrial purposes
according to EN 61000−3−2.
When controllers are installed into machines, commissioning (i.e. starting of the operation
as directed) is prohibited until it is proven that the machine complies with the regulations
of the EC Directive 98/37/EC (Machinery Directive); EN 60204 must be observed.
Commissioning (i.e. starting of the operation as directed) is only allowed when there is
compliance with the EMC Directive (2004/108/EC).
The controllers meet the requirements of the Low−Voltage Directive 2006/95/EC. The
harmonised standard EN 61800−5−1 applies to the controllers.
The technical data and supply conditions can be obtained from the nameplate and the
documentation. They must be strictly observed.
Warning: Controllers are products which can be installed in drive systems of category C2
according to EN 61800−3. These products can cause radio interferences in residential areas.
In this case, special measures can be necessary.
Transport, storage
Please observe the notes on transport, storage, and appropriate handling.
Observe the climatic conditions according to the technical data.
EDBCSXA064 EN 2.0 25
2 Safety instructions
General safety and application notes for Lenze controllers
Installation
The controllers must be installed and cooled according to the instructions given in the
corresponding documentation.
Ensure proper handling and avoid excessive mechanical stress. Do not bend any
components and do not change any insulation distances during transport or handling. Do
not touch any electronic components and contacts.
Controllers contain electrostatic sensitive devices which can easily be damaged by
inappropriate handling. Do not damage or destroy any electrical components since this
might endanger your health!
Electrical connection
When working on live controllers, observe the applicable national regulations for the
prevention of accidents (e.g. VBG 4).
The electrical installation must be carried out according to the appropriate regulations
(e.g. cable cross−sections, fuses, PE connection). Additional information can be obtained
from the documentation.
This documentation contains information on installation in compliance with EMC
(shielding, earthing, filters, and cables). These notes must also be observed for CE−marked
controllers. The manufacturer of the system is responsible for compliance with the limit
values demanded by EMC legislation. The controllers must be installed in housings (e.g.
control cabinets) to meet the limit values for radio interferences valid at the site of
installation. The housings must enable an EMC−compliant installation. Observe in
particular that e.g. the control cabinet doors have a circumferential metal connection to
the housing. Reduce housing openings and cutouts to a minimum.
Lenze controllers can cause a direct current in the protective conductor. If a residual current
device (RCD) is used as a protective means in case of direct or indirect contact, only a
residual current device (RCD) of type B may be used on the current supply side of the
controller. Otherwise, another protective measure such as separation from the
environment through double or reinforced insulation or disconnection from the mains by
means of a transformer must be applied.
Operation
If necessary, systems including controllers must be equipped with additional monitoring
and protection devices according to the valid safety regulations (e.g. law on technical
equipment, regulations for the prevention of accidents). The controllers can be adapted to
your application. Please observe the corresponding information given in the
documentation.
After the controller has been disconnected from the supply voltage, all live components
and power connections must not be touched immediately because capacitors can still be
charged. Please observe the corresponding stickers on the controller.
All protection covers and doors must be shut during operation.
Notes for UL−approved systems with integrated controllers: UL warnings are notes that
only apply to UL systems. The documentation contains special UL notes.
Safety functions
Special controller variants support safety functions (e.g. "safe torque off", formerly "safe
standstill") according to the requirements of Appendix I No. 1.2.7 of the EC Directive
"Machinery" 98/37/EC, EN 954−1 Category 3 and EN 1037. Strictly observe the notes on
the safety functions given in the documentation for the respective variants.
26 EDBCSXA064 EN 2.0
Safety instructions 2
General safety and application notes for Lenze controllers
Disposal
Recycle metal and plastic materials. Ensure professional disposal of assembled PCBs.
The product−specific safety and application notes given in these instructions must be
observed!
EDBCSXA064 EN 2.0 27
2 Safety instructions
Residual hazards
Protection of persons
ƒ Before working on the axis module, check that no voltage is applied to the power
terminals, because
– the power terminals +UG, −UG, U, V and W remain live for at least 3 minutes after
mains switch−off.
– the power terminals +UG, −UG, U, V and W remain live when the motor is stopped.
ƒ The heatsink has an operating temperature of > 70 °C:
– Direct skin contact with the heatsink results in burns.
ƒ The discharge current to PE is > 3.5 mA AC or. > 10 mA DC.
– EN 61800−5−1 requires a fixed installation.
– The PE connection must comply with EN 61800−5−1.
– Comply with the further requirements of EN 61800−5−1 for high discharge
currents!
Device protection
ƒ All pluggable connection terminals must only be connected or disconnected when
no voltage is applied!
ƒ The power terminals +UG, −UG, U, V, W and PE are not protected against polarity
reversal.
– When wiring, observe the polarity of the power terminals!
ƒ Power must not be converted until all devices of the power system are ready for
operation. Otherwise, the input current limitation may be destroyed.
Frequent mains switching (e.g. inching mode via mains contactor) can overload and
destroy the input current limitation of the axis module, if
ƒ the axis module is supplied via the ECSxE supply module and the input current
limitation is activated depending on the DC−bus voltage (C0175 = 1 or 2).
ƒ the axis module is not supplied via a supply module delivered by Lenze.
ƒ the low−voltage supply (24 V) is switched off.
For this reason allow a break of at least three minutes between two starting operations!
Use the safety function ˜Safe torque off˜ (STO) for frequent disconnections for safety
reasons.
28 EDBCSXA064 EN 2.0
Safety instructions 2
Residual hazards
Motor protection
ƒ Only use motors with a minimum insulation resistance of û = 1.5 kV,
min. du/dt = 5 kV/ms.
– Lenze motors meet these requirements.
ƒ When using motors with an unknown insulation resistance, please contact your
motor supplier.
ƒ Some settings of the axis module lead to an overheating of the connected motor,
e.g. longer operation of self−ventilated motors with low speeds.
ƒ Use PTC thermistors or thermostats with PTC characteristic for motor temperature
monitoring.
EDBCSXA064 EN 2.0 29
2 Safety instructions
Safety instructions for the installation according to UL or UR
Warnings!
General markings:
ƒ Use 60/75 °C or 75 °C copper wire only.
ƒ Maximum ambient temperature 55 °C, with reduced output current.
Markings provided for the supply units:
ƒ Suitable for use on a circuit capable of delivering not more than 5000 rms
symmetrical amperes, 480 V max, when protected by K5 or H Fuses
(400/480 V devices).
ƒ Alternate − Circuit breakers (either inverse−time, instantaneous trip types or
combination motor controller type E) may be used in lieu of above fuses
when it is shown that the let−through energy (i2t) and peak let−through
current (Ip) of the inverse−time current−limiting circuit breaker will be less
than that of the non−semiconductor type K5 fuses with which the drive has
been tested.
ƒ Alternate − An inverse−time circuit breaker may be used, sized upon the
input rating of the drive, multiplied by 300 %.
Markings provided for the inverter units:
ƒ The inverter units shall be used with supply units which are provided with
overvoltage devices or systems in accordance with UL840 2nd ed., Table 5.1.
ƒ The devices are provided with integral overload and integral thermal
protection for the motor.
ƒ The devices are not provided with overspeed protection.
Terminal lb−in Nm
X 21, X 22, X 23, X 24 10.6 ... 13.3 1.2 ... 1.5
X4, X6, X14 1.95 ... 2.2 0.22 ... 0.25
X 25 4.4 ... 7.1 0.5 ... 0.8
Wiring diagram AWG
Terminal AWG
X 21, X 22, X 23, X 24 12 ... 8
X4, X6, X14 28 ... 16
X 25 24 ... 12
30 EDBCSXA064 EN 2.0
Safety instructions 2
Definition of 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
Warnings!
device in UL−approved systems.
Possibly the drive system is not operated in compliance with UL if
the corresponding measures are not taken.
Safety or application note for the operation of a UR−approved
Warnings!
device in UL−approved systems.
Possibly the drive system is not operated in compliance with UL if
the corresponding measures are not taken.
EDBCSXA064 EN 2.0 31
3 Technical data
General data and operating conditions
3 Technical data
Environmental conditions
Climate 3k3 in accordance with IEC/EN 60721−3−3
Condensation, splash water and ice formation
not permissible.
Storage IEC/EN 60721−3−1 1K3 (−25 ... + 55 °C)
Transport IEC/EN 60721−3−2 2K3 (−25 ... +70 °C)
Operation IEC/EN 60721−3−3 3K3 (0 ... + 55 °C)
l Atmospheric pressure: 86 ... 106 kPa
l Above +40 °C: reduce the rated output
current by 2 %/°C.
Site altitude 0 ... 4000 m amsl
l Reduce rated output current by
5 %/1000 m above 1000 m amsl.
l Over 2000 m amsl: use is only permitted in
environments with overvoltage category II
Pollution VDE 0110 part 2 pollution degree 2
Vibration resistance Accelerational stability up to 0.7 g (Germanischer Lloyd, general conditions)
32 EDBCSXA064 EN 2.0
Technical data 3
General data and operating conditions
EDBCSXA064 EN 2.0 33
3 Technical data
Rated data
34 EDBCSXA064 EN 2.0
Technical data 3
Rated data
EDBCSXA064 EN 2.0 35
3 Technical data
Current characteristics
Increased continuous current depending on the control factor
In the lower speed range ˘ the motor does not need the full motor voltage ˘ particularly
the more powerful ECS axis modules can be permanently operated with increased output
current (cp. continuous current I0,eff 34).
I [A]
I 0 [A]
30.0
27.0 ECSxS/P/M/A064
25.0
23.0 ECSxS/P/M/A048
I N [A]
20.0
20.0
17.0
16.0 ECSxS/P/M/A032
15.0
12.7
10.0
8.0 ECSxS/P/M/A016 8.0
0.0
0% 50 % 100 %
U Mot_n / U Mot_max
ECSXA002
Fig. 3−1 Continuous device current, depending on the output voltage for Umains £ 400 V at 4 kHz
Ir Rated output current of the axis module
UMot_n Actual controller output voltage
UMot_max 0.9 x current mains voltage
The permissible continuous current depends on the control factor of the power output
stages, approximately on the ratio of the motor voltage output in the operating point
(UMot_n) to the maximum possible output voltage (UMot_max). Due to voltage drops across
the components involved at rated load and a control margin, UMot_max can be estimated
with 90 % of the mains voltage.
36 EDBCSXA064 EN 2.0
Technical data 3
Current characteristics
Increased continuous current depending on the control factor
The following table shows the connections between mains voltage, DC−bus voltage and
motor voltage:
Mains voltage DC−bus voltage Output voltage (motor voltage)
[Umains] [UDC = Umains x 1.35] nominally achievable for 100 %
modulation
[Umot = 0.66 x UDC]
3 x 230 V AC 310 V DC 3 x 205 V AC
3 x 380 V AC 510 V DC 3 x 340 V AC
3 x 400 V AC 540 V DC 3 x 360 V AC
3 x 415 V AC 560 V DC 3 x 370 V AC
3 x 460 V AC 620 V DC 3 x 415 V AC
3 x 480 V AC 650 V DC 3 x 435 V AC
3 x 528 V AC 712 V DC 3 x 475 V AC
For steady−state operation in generator mode with increased DC−bus voltage or supply
from a closed−loop DC−voltage source, interpolate accordingly between the values given in
the table.
The increased rated currents are valid for the entire voltage range specified at switching
frequencies of 4 kHz and 8 kHz.
Note!
If in this connection a heatsink temperature of > 70 °C is reached, the drive
switches to a switching frequency of 4 kHz, independently of the selected
switching frequency.
Tip!
The operating threshold of the I x t monitoring is automatically derived from
the variable continuous currents.
EDBCSXA064 EN 2.0 37
3 Technical data
Current characteristics
Increased continuous current depending on the control factor
Example:
The ECS axis module suitable for operation in conjunction with a Lenze motor of type
MCS 14L32 is to be determined.
ƒ Rated motor data
– Rated motor torque (Mmot) = 17.2 Nm
– Rated motor speed (nmot) = 3225 rpm
– Motor voltage at 3250 rpm (Umot_n3250) = 275 V
– Rated motor current (Imot) = 15 A
– Max. motor current (Imot_max) = 92 A
ƒ Application data:
– Max. torque (Mmax) = 35 Nm
– Max. operating speed (nmax) = 2500 rpm
– An effective process power (Peff) of 4.5 kW arises on the basis of the Mn diagram.
– The drive rating results in an effective motor current (IMot_eff) of 14.8 A.
A first estimation based on the rated current of the ECS axis module would probably lead
to selecting the ECSxA048 module with a rated current of 17.0 A.
However, if we take into account the increased continuous current for smaller control
factors, the more cost−effective ECSxA032 axis module with a rated current of 12.7 A can
be used here.
ƒ When the MCS 14L32 is operated with 2500 rpm, the real motor voltage is
(UMot_n2500):
n 2500rpm
U Mot_n2500 + U Mot_n3250 @ nmax Þ 275V @ + 212V
Mot 3250rpm
ƒ This leads to the following max. control factor (αmax) of the axis module:
U Mot_n2500 212V + 0.59 + 59%
a max + Þ
U max 360V
Using the current characteristic of Fig. 3−1 ( 36), a continuous current of 15.5 A can
be determined for the ECSxA032 axis module when the control factor (αmax) is 59 %.
ƒ Result:
Under the conditions mentioned above the MCS 14L32 Lenze motor can be operated
continuously on the ECSxA032 axis module.
38 EDBCSXA064 EN 2.0
Technical data 3
Current characteristics
Device protection by current derating
The maximum output current is limited. With output frequencies < 5 Hz the limitation
depends on the heatsink temperature.
I out 1.00
1.00
I max
£ 70 °C
0.75
0.67
90 °C
0.57
0.38
0.00
0 5 10
f out [Hz]
ECSXA024
EDBCSXA064 EN 2.0 39
4 Mechanical installation
Important notes
4 Mechanical installation
ƒ Axis modules of the ECS series provide IP20 enclosure and can therefore only be
used for installation in control cabinets.
ƒ If the cooling air contains air pollutants (dust, fluff, grease, aggressive gases):
– Take suitable preventive measures , e.g. separate air duct, installation of filters,
regular cleaning.
ƒ Possible mounting positions:
– Vertical at the mounting plate
– DC bus connections (X23) at the top
– Motor connection (X24) at the bottom
ƒ Maintain the specified clearances (above and below) to other installations!
– If the ECSZS000X0B shield mounting kit is used, an additional clearance is
required.
– Ensure unimpeded ventilation of cooling air and outlet of exhaust air.
– Several modules of the ECS series can be installed in the control cabinet next to
each other without any clearance.
ƒ The mounting plate of the control cabinet
– must be electrically conductive.
– must not be varnished.
ƒ In case of continuous vibrations or shocks use shock absorbers.
40 EDBCSXA064 EN 2.0
Mechanical installation 4
Mounting with fixing rails (standard installation)
Dimensions
4.2.1 Dimensions
Note!
Mounting with ECSZS000X0B shield mounting kit:
ƒ Mounting clearance below the module > 195 mm
0 1
g g
³ 65 mm
h
h
d1
d1
b
b
d
d
³ 65 mm
g g
e a a
ECSxA005
EDBCSXA064 EN 2.0 41
4 Mechanical installation
Mounting with fixing rails (standard installation)
Mounting steps
42 EDBCSXA064 EN 2.0
Mechanical installation 4
Mounting with thermal separation (push−through technique)
For the push−through technique the rear panel of the control cabinet must be a steel plate
with a thickness of at least 2 mm.
The edges of the mounting cutout and the fixing holes for the clamps must be slightly
curved inwards (towards the axis module).
Cooling
With the separated heatsink the heat generation in the control cabinet can be reduced.
ƒ Distribution of the power loss:
– approx. 65 % via separated cooler
– approx. 35 % in the inside of the axis module
ƒ Protection class of the separated cooler: IP54
– The sealing surface at the heatsink of the axis module must rest completely
against the mounting plate.
– Use a liquid thread sealant to bond the screws of the clamps.
ƒ For sufficient cooling of the drive system:
– Air flow behind the rear panel of the control cabinet must be ³ 3 m/s (e.g. by means
of a collective fan).
ƒ With sufficient cooling, the rated data of the axis modules remain valid.
EDBCSXA064 EN 2.0 43
4 Mechanical installation
Mounting with thermal separation (push−through technique)
Dimensions
4.3.1 Dimensions
Note!
Mounting with ECSZS000X0B shield mounting kit:
ƒ Mounting clearance below the module > 195 mm
0 1
Z Z
³ 65 mm
a1 a1
g g
h
b1
b1
d
b
b
d
³ 65 mm
c1 g c1 g
e e1 a a
ECSXA007
44 EDBCSXA064 EN 2.0
Mechanical installation 4
Mounting with thermal separation (push−through technique)
Dimensions
Note!
Installation with shield mounting ECSZS000X0B:
ƒ Clearance below the mounting cutout > 220 mm
³ 70 mm a1 a1
h
g
b1
b1
d
³ 90 mm
c1 c1
0 1 2
ECSXA063
EDBCSXA064 EN 2.0 45
4 Mechanical installation
Mounting with thermal separation (push−through technique)
Mounting steps
Note!
Fixing the functional earth conductor to the ECSDA... axis module is required
for a better electromagnetic compatibility (EMC).
ECSXA081
46 EDBCSXA064 EN 2.0
Mechanical installation 4
Mounting in cold−plate design
The axis modules ECSC... are intended for mounting in cold−plate design (e.g. on collective
coolers).
ƒ Ambient conditions:
– Furthermore the rated data regarding the ambient temperature and the derating
factors at increased temperature apply to the axis modules ( 32 et seqq.).
– Temperature of the cooling plate ("Cold Plate"): max. +85 °C
EDBCSXA064 EN 2.0 47
4 Mechanical installation
Mounting in cold−plate design
Dimensions
4.4.1 Dimensions
Note!
Mounting with ECSZS000X0B shield mounting kit:
ƒ Mounting clearance below the module > 195 mm
0 1
a a
a1 a1
g g
³ 65 mm
b
d
³ 65 mm
g
g
e c1 c1
ECSXA009
48 EDBCSXA064 EN 2.0
Mechanical installation 4
Mounting in cold−plate design
Mounting steps
À Á Â
ECSXA030
Note!
Penetration depth of the screws into the collective cooler: approx. 15 mm!
Tip!
The heat transfer resistance is reduced if − following step 2. −
ƒ a thin layer of heat conducting paste is applied to the contact surface or
ƒ heat conducting foil is used.
EDBCSXA064 EN 2.0 49
5 Electrical installation
Electrical isolation
5 Electrical installation
The integrated electrical isolation between the power section and the control section is a
protective separation (reinforced insulation) acc. to EN 61800−5−1.
To maintain this protective separation, it must be ensured that the external 24 V supply
and all components connected to this supply also have a protective separation (SELV/PELV)
acc. to EN 61800−5−1.
24 V supply
X6/+24, GND
Safe torque off
X6/S24, S0, SI1, SI2 Functional
Dig. input/output insulation (50 V)
X6/DI1, DI2, DI3, DI4, DO1
D bl iinsulation
Double l ti
Analog input
X6/AI+, AI−, AG
CAN
X4, X14 DC bus
AIF X23
X1
Brake connection
X25
Brake supply
X6/B+, B−
50 EDBCSXA064 EN 2.0
Electrical installation 5
Installation according to EMC (installation of a CE−typical drive system)
General information
ƒ The electromagnetic compatibility of a machine depends on the type of installation
and care taken. Especially consider the following:
– Assembly
– Filters
– Shielding
– Earthing
ƒ For diverging installations, the evaluation of the conformity to the EMC Directive
requires a check of the machine or system regarding the EMC limit values. This for
instance applies to:
– Use of unshielded cables
– Use of collective interference filters instead of the assigned RFI filters
– Operation without RFI filters
ƒ The compliance of the machine application with the EMC Directive is in the
responsibility of the user.
– If you observe the following measures, you can assume that the machine will
operate without any EMC problems caused by the drive system, and that
compliance with the EMC Directive and the EMC law is achieved.
– If devices which do not comply with the CE requirements concerning noise
immunity EN 61000−6−2 are operated close to the axis modules, these devices may
be electromagnetically affected by the axis modules.
Assembly
ƒ Connect the power supply modules, capacitor modules (optional), axis modules, RFI
filters, and mains chokes to the earthed mounting plate with a surface as large as
possible.
– Mounting plates with conductive surfaces (zinc−coated or stainless steel) allow
permanent contact.
– Painted plates are not suitable for an EMC−compliant installation.
ƒ If you use the ECSxK... capacitor module:
– Install the capacitor module between the power supply module and the axis
module(s).
– If the total cable length in the DC−bus connection is > 5 m, install the capacitor
module as close as possible to the axis module with the greatest power.
ƒ Use of several mounting plates:
– Connect as much surface of the mounting plates as possible (e.g. with copper
bands).
ƒ Ensure the separation of motor cable and signal or mains cables.
ƒ Avoid a common terminal/power strip for the mains input and motor output.
ƒ Lay the cables as close as possible to the reference potential. Freely suspended
cables act like aerials.
EDBCSXA064 EN 2.0 51
5 Electrical installation
Installation according to EMC (installation of a CE−typical drive system)
Filters
Only use RFI filters and mains chokes which are assigned to the power supply modules:
ƒ RFI filters reduce impermissible high−frequency interferences to a permissible value.
ƒ Mains chokes reduce low−frequency interferences which depend on the motor
cables and their lengths.
Shielding
ƒ Connect the motor cable shield to the axis module
– with the ECSZS000X0B shield mounting kit.
– to the mounting plate below the axis module with a large surface.
– Recommendation: For the shield connection, use ground clamps on bare metal
mounting surfaces.
ƒ If contactors, motor−protecting switches or terminals are located in the motor cable:
– Connect the shields of the connected cables and connect the shields to the
mounting plate, too, with a surface as large as possible.
ƒ Connect the shield in the motor terminal box or on the motor housing to PE:
– Metal glands at the motor terminal box ensure a large−surface connection of the
shield and the motor housing.
ƒ Shield the control cables:
– Connect both shield ends of the digital control cables.
– Connect one shield end of the analog control cables.
– Always connect the shields to the shield connection at the axis module over the
shortest possible distance.
ƒ Using the axis modules in residential areas:
– Additionally dampen the shield in order to limit the interfering radiation: ³10 dB .
This can be implemented by using standard, closed, metallic, and earthed control
cabinets or boxes.
Earthing
ƒ Earth all metallically conductive components (e. g. power supply module, capacitor
module, axis module, RFI filter, motor filter, mains choke) using suitable cables
connected to a central point (PE bar).
ƒ Maintain the minimum cross−sections prescribed in the safety regulations:
– For the EMC, not the cable cross−section is important, but the cable surface and the
contact surface which should be as large as possible.
52 EDBCSXA064 EN 2.0
Electrical installation 5
Power terminals
ECSXA080
Danger!
Dangerous voltage
The leakage current to earth (PE) is > 3.5 mA AC or > 10 mA DC.
Possible consequences:
ƒ Death or severe injuries when the device is touched in the event of a fault.
Protective measures:
ƒ Implement the actions required in the EN 61800−5−1. Especially:
– Fixed installation
– PE connection must conform to standards (PE conductor diameter
³ 10 mm2 or PE conductor must be connected twice)
Stop!
No device protection in the event of too high mains voltages
The mains input is not fused internally.
Possible consequences:
ƒ Destruction of the device if the mains voltage is too high.
Protective measures:
ƒ Observe the max. permissible mains voltage.
ƒ Fuse the device correctly on the supply side against mains fluctuations and
voltage peaks.
EDBCSXA064 EN 2.0 53
5 Electrical installation
Power terminals
ƒ All power connections are plug connections and coded. The ECSZA000X0B plug
connector set must be ordered separately.
ƒ Installation of the cables to EN 60204−1.
ƒ The cables used must comply with the approvals required at the site of use (e.g. VDE,
UL, etc.).
Note!
ECSDA... axis modules:
For a better electromagnetic compatibility (EMC), connect the functional earth
conductor to the ECSDA... axis module ( 46).
This is not required for the ECSEA... (standard installation) and ECSCA... (cold
plate) axis modules!
54 EDBCSXA064 EN 2.0
Electrical installation 5
Power terminals
Shielded cables
The following factors decisively determine the effect of the shielded cables:
ƒ Good shield connection
– Ensure a contact surface as large as possible
ƒ Low shield resistance
– Only use shields with tin−plated or nickel−plated copper braids (shields with steel
braids cannot be used).
ƒ High overlap rate of the braid
– At least 70 ... 80 % with 90° overlap angle
The ECSZS000X0B shield mounting kit includes a wire clamp and shield sheet.
EDBCSXA064 EN 2.0 55
5 Electrical installation
Power terminals
Connection to the DC bus (+UG, −UG)
Stop!
No device protection for DC bus voltage surges
In passive axis modules (without 24 V−supply), the charging circuit can be
overloaded through DC bus voltage surges.
Possible consequences:
ƒ Destruction of the device
Protective measures:
ƒ All axis modules in the DC−bus connection should be basically supplied with
a control voltage of 24 V.
ƒ If the total cable length is > 20 m, install an axis module or a capacitor module
directly at the power supply module.
ƒ Design the ±UG cables twisted and as short as possible. Ensure short−circuit−proof
routing!
ƒ Cable length (module « module) > 30 cm: install shielded ±UG cables.
Cable cross−sections
Cable length 1) Wire end ferrule Cable cross− Tightening torque Stripping
section length
Without wire end ferrule 6 mm2
Up to 20 m
With wire end ferrule (AWG 10)
1.2 ... 1.5 Nm
Without wire end ferrule 5 mm
10 mm2 (10.6 ... 13.3 lb−in)
> 20 m With wire end ferrule
(AWG 8)
Use pin−end connectors for wiring!
1) Respective cable length from module to module
Fuses
ƒ When using ECSxE power supply modules which are fused on the supply side the
DC−bus supply need not be fused.
ƒ When ECS axis modules are supplied by devices of the 82xx or 93xx series which can
supply a continuous current > 40 A, use the following fuses between the supplying
device and the ECS devices:
Fuse Support
Value [A] Lenze type Lenze type
50 EFSGR0500ANIN EFH20007
Warnings!
ƒ Use UL−approved cables, fuses and fuse holders only.
ƒ UL fuse:
– Voltage 500 ... 600 V
– Tripping characteristic "H", "K5" or "CC"
56 EDBCSXA064 EN 2.0
Electrical installation 5
Power terminals
Connection to the DC bus (+UG, −UG)
Danger!
Hazardous electrical voltage
Components can carry hazardous voltages until up to 3 minutes after
power−off.
Possible consequences:
ƒ Death or severe injuries when touching the device.
Protective measures:
ƒ Replace fuses in the deenergised state only.
– Set controller inhibit (CINH) for all axis modules in DC−bus operation and
disconnect all power supply modules from the mains.
EDBCSXA064 EN 2.0 57
5 Electrical installation
Power terminals
Connection plans
Observe...
the notes in the detailed documentation of the power supply module.
L1
L2
L3
N
F1...F3
F4
Z1
Off "
On
"
L1 L2 L3 PE BR0 BR1 +UG +UG -UG PE +UG +UG -UG -UG PE PE +UG +UG -UG -UG PE PE
K1
X21 X22 X23 X23
Rb
ECSEE... ECSxS/P/M/A... ECSxS/P/M/A...
K1
ECSDE...
X6 X25 X24 X25 X24
... X7 X7
T1
T2
0 0
" " " "
" " 6
" " 6
M M
3~ R 3~ R
J J
2 2
+ +
ECSXA011
58 EDBCSXA064 EN 2.0
Electrical installation 5
Power terminals
Connection plans
L1
L2
L3
N
F1...F3
F4 Rb
Z1 J
"
"
Off
L1 L2 L3 PE BR0 BR1 +UG +UG -UG PE +UG +UG -UG -UG PE PE +UG +UG -UG -UG PE PE
0 0
" "
Rb
J " "
" " 6
" " 6
M M
3~ R 3~ R
J J
2 2
+ +
ECSXA012
EDBCSXA064 EN 2.0 59
5 Electrical installation
Power terminals
Motor connection
ECSXA010
Motor cables
ƒ Use low−capacitance motor cables. Capacitance per unit length:
– Core/core: max. 75 pF/m
– Core/shield: max. 150 pF/m
ƒ Length: max. 50 m, shielded
ƒ The cross−section of the motor cables are selected according to the motor standstill
current (I0) when using synchronous motors or according to the rated motor current
(IN) for asynchronous motors.
ƒ Length of the unshielded ends: 40 ... 100 mm (depending on the cable cross−section)
ƒ Lenze system cables meet these requirements.
ƒ Use the ECSZS000X0B shield mounting kit for EMC−compliant wiring.
60 EDBCSXA064 EN 2.0
Electrical installation 5
Power terminals
Motor holding brake connection
Stop!
ƒ Protect X6/B+ with an F 1.6 A fuse.
ƒ If no appropriate voltage (incorrect height, incorrect polarity) is applied to
the brake, it engages and can be overheated and damaged by the motor
that keeps rotating.
Note!
By the current monitoring, an ohmic voltage loss of 1.5 V along the motor
cable is produced. The voltage loss can be compensated by a higher voltage at
the cable entry.
EDBCSXA064 EN 2.0 61
5 Electrical installation
Power terminals
Motor holding brake connection
UK Voltage for compensating the voltage loss at 6X/B+ and X6/B− [V]
UB Rated operating voltage of the brake [V]
LL Cable length [m]
IB Brake current [A]
1.5 A
X6 B+ B- X25 BD2 BD1
F 1.6 A "
" _
+
_
+
+
ECSXA017
62 EDBCSXA064 EN 2.0
Electrical installation 5
Power terminals
Connection of an ECSxK... capacitor module (optional)
Observe...
the notes in the detailed documentation of the capacitor module.
K1
L1
L2
L3
N
F1...F3
F4
Z1
Off "
On
"
L1 L2 L3 PE BR0 BR1 +UG +UG -UG PE +UG +UG -UG -UG PE PE +UG +UG -UG -UG PE PE
K1
X21 X22 X23 X23
BD1 BD2 U V W PE
1
" " "
EDBCSXA064 EN 2.0 63
5 Electrical installation
Control terminals
ECSXA070
For the supply of the control electronics an external 24 V DC voltage at terminals X6/+24
and X6/GND is required.
Stop!
ƒ The control cables must always be shielded to prevent interference
injections.
ƒ The voltage difference between X6/AG, X6/GND and PE of the axis module
may maximally amount to 50 V.
ƒ The voltage difference can be limited by:
– overvoltage−limiting components or
– direct connection of X6/AG and X6/GND to PE.
ƒ The wiring has to ensure that for X6/DO1 = 0 (LOW level) the connected axis
modules do not draw energy from the DC bus. Otherwise, the power supply
module may be damaged.
64 EDBCSXA064 EN 2.0
Electrical installation 5
Control terminals
ECSxE... ECSxS/P/M/A...
X6 X6
+24V
+24V
GND
DO1
GND
S24
DO1
DI1
SI1
DI2
DI3
DI4
AI+
SI2
AG
SO
AI-
D24
B+
B-
DI1
DI2
T1
T2
"
"
F 1,6 A
" "
U 2
" " - "
0 1 =
+ 3
+24 VDC
+
=
24 VDC
GND -
4
ECSXA013
EDBCSXA064 EN 2.0 65
5 Electrical installation
Control terminals
X6/SI1
X6/SI2
66 EDBCSXA064 EN 2.0
Electrical installation 5
Control terminals
Digital inputs and outputs
Stop!
If an inductive load is connected to X6/DO1, a spark suppressor with a limiting
function to max. 50 V ± 0 % must be provided.
GNDext
47k
1k
1.5 A
3k3
3k3
3k3
3k3
X6 DI1 DI2 DI3 DI4 GND DO1 +24
"
"
_
24 VDC =
+
ECSXA014
EDBCSXA064 EN 2.0 67
5 Electrical installation
Control terminals
Analog input
82k5
82k5
X3
250R
5 6
GND
3.3 nF 3.3 nF
=
X6 AI- AG AI+
"
"
ECSXA015
Stop!
Do not plug the jumper on 3−4! The axis module cannot be initialised like this.
68 EDBCSXA064 EN 2.0
Electrical installation 5
Control terminals
Safe torque off
The axis modules support the safety function "safe torque off" (formerly "safe standstill"),
"protection against unexpected start−up", according to the requirements of control
category 3 of EN ISO 13849. For this purpose, the axis modules are equipped with two
independent safety routes. Control category 3 is reached when the output signal at X6/SO
is checked as well.
EDBCSXA064 EN 2.0 69
5 Electrical installation
Control terminals
Safe torque off
Installation/commissioning
ƒ The "safe torque off" function must only be installed and commissioned by qualified
personnel.
ƒ All control components (switches, relays, PLC, ...) and the control cabinet must meet
the requirements of EN ISO 13849. These include for instance:
– Switches, relays in enclosure IP54.
– Control cabinet in enclosure IP54.
– All other requirements can be found in EN ISO 13849.
ƒ Wiring with insulated wire end ferrules is essential.
ƒ All safety−relevant cables (e.g. control cable for the safety relay, feedback contact)
outside the control cabinet must be protected, e.g. in the cable duct. It must be
ensured that short circuits between the individual cables cannot occur. For further
measures, see EN ISO 13849.
ƒ If force effects from outside (e.g. sagging of hanging loads) are to be expected when
the "safe torque off" function is active, additional measures have to be taken (e.g.
mechanical brakes).
Danger!
When using the "safe torque off" function, additional measures are required
for "emergency stops"!
There is neither an electrical isolation between motor and axis module not a
"service" or "repair switch".
Possible consequences:
ƒ Death or severe injuries
ƒ The machine/drive may be destroyed or damaged
Protective measures:
ƒ An "emergency stop" requires the electrical isolation of the motor cable, e.g.
by means of a central mains contactor with emergency stop wiring.
During operation
ƒ After installation, the operator must check the "safe torque off" function.
ƒ The function check must be repeated at regular intervals, but no later than after one
year.
70 EDBCSXA064 EN 2.0
Electrical installation 5
Control terminals
Safe torque off
5.4.3.2 Implementation
In the axis module, the "safe torque off" connection is implemented with optocouplers.
The optocouplers isolate the following areas electrically from each other:
ƒ The digital inputs and outputs:
– input X6/SI1 (controller enable/inhibit)
– input X6/SI2 (pulse enable/inhibit)
– brake output X6/B+, B−
– output X6/SO ("safe torque off" active/inactive)
ƒ The circuit for the internal control
ƒ The final power stage
U &
X6
X2
Sl1
V &
U
Sl2 W &
µP V
S24
>1 X &
W
SO
Y &
GND
B+
Z &
B-
X25
BD2
BD1
ECSXA100
Stop!
Use insulated wire end ferrules when wiring the "safe torque off" circuits to
X6.
EDBCSXA064 EN 2.0 71
5 Electrical installation
Control terminals
Safe torque off
Terminal assignment
Plug connector X6
Terminal Function Level Electrical data
X6/S24 Low−voltage supply 18 ... 30 V DC
0.7 A
X6/SO "Safe torque off" feedback LOW During operation 24 V DC
output 0.7 A (max. 1.4 A)
HIGH "Safe torque off" active Short−circuit−proof
X6/SI1 Input 1 (controller LOW Controller inhibited LOW level:
enable/inhibit) −3 ... +5 V
HIGH Controller enabled −3 ... +1.5 mA
X6/SI2 Input 2 (pulse enable/inhibit) LOW Pulses for power section are HIGH level:
inhibited +15 ... +30 V
+2 ... +15 mA
HIGH Pulses for power section are Input current at 24 V DC:
enabled 8 mA per input
72 EDBCSXA064 EN 2.0
Electrical installation 5
Control terminals
Safe torque off
Tip!
Please see page 77 for a wiring example with an electronic safety control
unit for category 3.
11 13 23
S1
12 14 24
11 13 23
S2
12 14 24 X6
Sl1
Sl2
S24
SO
GND
B+
B-
H1 X25
BD2
Y1
BD1
GND
ECSXA101
Stop!
Observe the reaction of the drive when you activate controller enable and/or
pulse enable (X6/SI1 or SI2 = HIGH level):
ƒ The motor brake is applied immediately. This can lead to high wear on the
motor holding brake (see data sheet for the brake).
ƒ If the brake monitoring is active (C0602 = 0), TRIP "Rel1" is set. Before
recommissioning, the TRIP must be reset.
EDBCSXA064 EN 2.0 73
5 Electrical installation
Control terminals
Safe torque off
74 EDBCSXA064 EN 2.0
Electrical installation 5
Control terminals
Safe torque off
ƒ All control components (switches, relays, PLC, ...) and the control cabinet must meet
the requirements of EN ISO 13849. These include for instance:
– Switches, relays in enclosure IP54.
– Control cabinet in enclosure IP54.
– All other requirements can be found in EN ISO 13849.
ƒ Wiring with wire end ferrules is essential.
ƒ All safety−relevant cables (e.g. control cable for the safety relay, feedback contact)
outside the control cabinet must be protected, e.g. in the cable duct. It must be
ensured that short circuits between the individual cables cannot occur! For further
measures, see EN ISO 13849.
EDBCSXA064 EN 2.0 75
5 Electrical installation
Control terminals
Safe torque off
Stop!
If the function check leads to impermissible states at the terminals,
commissioning cannot take place!
Test specifications
ƒ Check the circuitry with regard to correct function.
ƒ Check directly at the terminals whether the "safe torque off" function operates
faultlessly in the axis module:
States of the "safe torque off" function on the axis module
Resulting level at Impermissible level at
Level at input terminal
output terminal output terminal
X6/SI1 X6/SI2 X6/SO X6/SO
LOW LOW HIGH LOW
LOW HIGH LOW
HIGH LOW LOW HIGH
HIGH HIGH LOW
76 EDBCSXA064 EN 2.0
Electrical installation 5
Control terminals
Safe torque off
5.4.3.7 Example: Wiring with electronic safety control unit for category 3
ECSXA102
ƒ The motor is shutdown in accordance with stop category 1 of EN 60204 when the
safety function is requested.
ƒ The delay time of the safety control unit and the quick stop deceleration time have
to be coordinated with the brake closing time.
ƒ The diode−capacitor combination prevents the test pulses of the safety control unit
from disturbing the smooth running of the motor, as otherwise a short−time inhibit
of the controller cannot be ruled out. It can be procured from the company Pilz (Pilz
order number: 774195) as a complete terminal.
EDBCSXA064 EN 2.0 77
5 Electrical installation
Automation interface (AIF)
78 EDBCSXA064 EN 2.0
Electrical installation 5
Wiring of the system bus (CAN)
Note!
System bus (CAN)
In case of the ECSxA... axis module the communication can take place with a
master system or further controllers via both CAN bus interfaces (X4 or X14).
MotionBus (CAN)
The term "MotionBus (CAN)" expresses the functionality of the CAN bus
interface X4 for the ECSxS/P/M... axis modules. In these devices the
communication with a master system or further controllers is exclusively
carried out via X4. The parameter setting and the diagnostics is exclusively
executed via the interface X14.
EDBCSXA064 EN 2.0 79
5 Electrical installation
Wiring of the system bus (CAN)
M PC HMI
MB
SB
X4 X14 X4 X14 X4 X14
S S S
ECS_COB006
PC HMI
MB
SB
X4 X14 X4 X14 X4 X14
M S S
ECS_COB007
80 EDBCSXA064 EN 2.0
Electrical installation 5
Wiring of the system bus (CAN)
ECS_COB003
EDBCSXA064 EN 2.0 81
5 Electrical installation
Wiring of the system bus (CAN)
ECS_COB004
Note!
Connect one bus terminating resistor (120 W) each to the first and last node of
the system bus (CAN).
82 EDBCSXA064 EN 2.0
Electrical installation 5
Wiring of the system bus (CAN)
Note!
Be absolutely sure to observe the permissible cable lengths.
1. Check the compliance with the total cable length in Tab. 5−1.
The total cable length is defined by the baud rate.
Baud rate [kBit/s] Max. bus length [m]
50 1500
125 630
250 290
500 120
1000 25
2. Check the compliance with the segment cable length in Tab. 5−2.
The segment cable length is defined by the cable cross−section used and by the number of nodes. Without
using a repeater, the segment cable length equals the total cable length.
For the max. number of nodes (63), the following cable lengths / number of repeaters from
the specifications must be observed:
Baud rate [kbit/s] 50 120 250 500 1000
Max. cable length [m] 1500 630 290 120 25
Segment cable length [m] 310 310 290 120 25
Number of repeaters 5 2 − − −
EDBCSXA064 EN 2.0 83
5 Electrical installation
Wiring of the system bus (CAN)
Conclusion
l Without the use of repeaters, the cable length of 450 m that is to be implemented is not possible.
l After 360 m (point 2), a repeater has to be used.
Result
l The Lenze repeater, type 2176 (cable reduction: 30 m) is used
l Calculation of the max. cable length:
First segment: 360
Second segment: 360 m (according to Tab. 5−1) minus 30 m (cable reduction if a repeater is used)
à Max. cable length to be implemented with a repeater: 690 m.
à Therefore, the specified cable length can be implemented.
Note!
The use of further repeaters is recommended as
ƒ a service interface
Advantage: Trouble−free connection during bus operation is possible.
ƒ Calibration interface
Advantage: The calibration/programming unit remains electrically isolated.
84 EDBCSXA064 EN 2.0
Electrical installation 5
Wiring of the feedback system
Note!
If a "safe isolation" acc. to EN 61140 between the encoder cable and motor
cable (e.g. by using separating webs or separated draglines) is not ensured on
the entire cable length cable due to an installation on the system side, the
encoder cable must be provided with an insulation resistance of 300 V. Lenze
encoder cables meet this requirement.
ƒ We recommend to use Lenze encoder cables for wiring.
ƒ In case of self−prepared cables
– only use cables with shielded cores twisted in pairs.
– observe the notes on wiring/preparation on the following pages.
EDBCSXA064 EN 2.0 85
5 Electrical installation
Wiring of the feedback system
Resolver connection
Note!
Before using a resolver from another manufacturer, please consult Lenze.
Connect a resolver via the 9−pole Sub−D socket X7.
Features
ƒ Resolver: U = 10 V, f = 4 kHz
ƒ Resolver and resolver supply cable are monitored for open circuit (fault
message "Sd2").
X7
Æ
2
mm AWG
+REF
1
0.5 20
-REF
2 X7
3 1
6
+COS
4
-COS
5 9
+SIN
5
6
-SIN 0.14 26
7
R1 (+KTY)
8
R2 (-KTY)
9
KTY
ECSXA022
86 EDBCSXA064 EN 2.0
Electrical installation 5
Wiring of the feedback system
Encoder connection
Danger!
For operating systems up to and including version 7.0:
Uncontrolled movements of the drive possible when absolute value encoders
are used!
If an absolute value encoder is disconnected from the axis module during
operation, a OH3−TRIP (fault no. "0053") occurs. If the absolute value encoder
now is connected to X8 again and a TRIP−RESET is carried out, the drive may
start up in an uncontrolled manner with a high speed and a high torque. An
SD8−TRIP (fault no. "0088") will not occur, as would be expected.
Possible consequences:
ƒ Death or severest injuries
ƒ Destruction or damage of the machine/drive
Protective measures:
ƒ If a TRIP occurs during commissioning when an absolute value encoder is
used, check the history buffer C0168. If an SD8−TRIP (fault no. "0088") is at
the second or third place, it is absolutely necessary to switch off and on
again the supply of the control electronics (24 V supply).
Via the 9−pole Sub−D−plug X8, you can connect the following encoders:
ƒ Incremental encoder
– with two 5 V complementary signals (TTL encoders) that are electrically shifted by
90°.
– Optionally, the zero track can be connected.
ƒ Sin/cos encoder
– with rated voltage (5 ... 8 V).
– with serial communication (single−turn or multi−turn; the initialisation time of the
axis module is extended to approx. 2 s).
The controller supplies the encoder with voltage.
Use C0421 to set the supply voltage VCC (5 ... 8 V) to compensate, if required, the voltage
loss [DU] on the encoder cable:
Stop!
Observe the permissible connection voltage of the encoder used. If the values
in C0421 are set too high, the encoder can be destroyed!
EDBCSXA064 EN 2.0 87
5 Electrical installation
Wiring of the feedback system
Encoder connection
< 50 m 5
9
B X8
B
1 1 6
A
2
A
3
VCC
4
GND A
5
Z A
6
Z B
KTY 7 B
R1 (+KTY)
8 Z
R2 (-KTY)
9 Z
ECSXA026
88 EDBCSXA064 EN 2.0
Electrical installation 5
Wiring of the feedback system
Encoder connection
SinCos encoder
Features
Input/output frequency: 0 ... 200 kHz
Internal resistance (Ri): 221 W
Offset voltage for signals SIN, COS, Z: 2.5 V
ƒ The differential voltage between signal track and reference track must not exceed
1 V ± 10 %.
ƒ The connection is open−circuit monitored (fault message "Sd8")
ƒ For encoders with tracks sine, sine and cosine, cosine:
– Assign RefSIN with sine.
– Assign RefCOS with cosine.
< 50 m 5
9
RefSIN X8
SIN
1 1 6
RefCOS
2
COS
3
VCC
4
GND SIN
5
Z
6 RefSIN
0.5V
= 2.5 V
Z
KTY 7
R1 (+KTY) COS
8
R2 (-KTY) RefCOS = 2.5 V
9 0.5 V
ECSXA023
EDBCSXA064 EN 2.0 89
5 Electrical installation
Wiring of the feedback system
Digital frequency input/output (encoder simulation)
Features
X8 as digital frequency input X8 as digital frequency output
l Input frequency: 0 ... 200 kHz l Output frequency: 0 ... 200 kHz
l Current consumption: max. 6 mA per channel l Permissible current loading: max. 20 mA per
l Two−track with inverse 5 V signals and zero track channel
l Possible input signals: l Two−track with inverse 5 V signals (RS422)
– incremental encoder with two 5 V complementary l The function of the output signals can be set via
signals (TTL encoders) offset by 90° C0540.
l The function of the inputs signals can be set via
C0427.
Wiring
ƒ 1 slave on the master:
Wire master and slave to each other directly via interface X8.
< 50 m
5
9
X8 B X8
(ECS-Master) (ECS-Slave)
B
1 1 1 6
A
2 2
A
3 3
4 4
GND A
5 5
Z A
6 6
Z B
7 7 B
8 8 Z
9 9 Z
ECSXA029
90 EDBCSXA064 EN 2.0
Electrical installation 5
Wiring of the feedback system
Digital frequency input/output (encoder simulation)
120
X4 X4 X4 X4
XS
X14 X14 X14 X14
120
120
120
X8 X8 X8 X8
0 1 1 1
EMF2132IB
X5
X1 X2 X3 X4
ECSXP001
Fig. 5−23 ECS axis modules in the CAN network with EMF2132IB digital frequency distributor
p Drive PLC or customer PLC for controlling the drive system (optional)
M Master value of the master (ECSxS/P/A axis module)
S1...3 Slave 1, slave 2, slave 3 (ECSxS/P/A axis module)
EYD0017AxxxxW01W01 digital frequency cable of master
EYD0017AxxxxW01S01 digital frequency cable of slave
Tip!
"xxxx" in the type designation of the digital frequency cables serves as a
wildcard for the specification of the cable length in decimetres.
Example: EYD0017A0015W01W01 ® cable length = 15 dm
EDBCSXA064 EN 2.0 91
6 Commissioning
Before you start
6 Commissioning
Note!
ƒ The use of a Lenze motor is assumed in this description of the
commissioning steps. For details on the operation with other motors see
122.
ƒ The description is based on operation with the Lenze programs "Drive PLC
Developer Studio" (DDS) and "Global Drive Control" (GDC). The parameters
are displayed in online mode, i.e. GDC can directly access the codes of the
axis module.
Prior to initial switch−on of the drive system, check the wiring for completeness,
short−circuit, and earth fault:
ƒ Power connection:
– Polarity of the DC−bus voltage supply via terminals +UG, −UG
ƒ Motor connection:
– In−phase connection to the motor (direction of rotation)
ƒ Wiring of safe torque off" (formerly "safe standstill")
ƒ Feedback system
ƒ Control terminals:
– Wiring adjusted to the signal assignment of the control terminals.
92 EDBCSXA064 EN 2.0
Commissioning 6
Commissioning steps (overview)
Start
DDS Manuals:
– Introduction in the IEC 61131−3 programming
– Getting started
– Reference Manual
Optimise
drive behaviour
( 130)
End
EDBCSXA064 EN 2.0 93
6 Commissioning
Carrying out basic settings with GDC
Note!
Follow the commissioning steps in the given order!
94 EDBCSXA064 EN 2.0
Commissioning 6
Carrying out basic settings with GDC
EDBCSXA064 EN 2.0 95
6 Commissioning
Setting of mains data
Selecting the function of the charging current limitation
In GDC, you can find the parameters and codes to be set in the parameter menu under
Code list:
The ECS axis modules are provided with a charging current limitation by means of charge
resistors and charge relays. In the Lenze setting the charging current limitation is activated
(C0175 = 1).
At mains connection the charge relay remains open for a while so that the charging current
of the DC bus is limited by the charging resistors. When a certain voltage level has been
reached, the charging resistors are short circuited by switching on (closing) the charge
relay contacts.
Stop!
ƒ If the DC−bus voltage is generated with an ECSxE power supply module, the
DC bus is charged in a controlled way. Therefore, set C0175 = 3 for the axis
module (charging current limitation inactive, charging resistor
short−circuited).
If the Lenze setting has been loaded via C0002, C0175 = 3 must be set again.
ƒ Cyclic switching of the mains voltage at the power supply module can
overload and destroy the charging current limitation of the axis module if
activated (C0175 = 1 or C0175 = 2).
For this reason, allow a break of at least three minutes between two starting
operations in case of cyclic mains switching over a longer period of time!
96 EDBCSXA064 EN 2.0
Commissioning 6
Setting of mains data
Setting the voltage thresholds
Note!
All drive components in DC−bus connections must have the same thresholds!
EDBCSXA064 EN 2.0 97
6 Commissioning
Entry of motor data for Lenze motors
Note!
ƒ The following only describes the parameter setting for Lenze motors! (If you
use a motor from another manufacturer, see 122.)
ƒ If the Lenze setting has been loaded via C0002, the motor data must be
entered once again.
ƒ In "GDC Easy", the "Input assistant for motor data" is not available. In this
case, please contact your Lenze representative for the stator resistance and
leakage inductance data.
Parameter setting with the "Input assistant for motor data" of the GDC
1. Go to the GDC menu bar and select the Tool Motor data menu item or click the
button with the voltage divider symbol in the tool bar (rightmost in Fig. 6−2):
ECSXA300
ECSXA311
98 EDBCSXA064 EN 2.0
Commissioning 6
Entry of motor data for Lenze motors
2. Select the "Lenze motor list" and click the [ Continue ] button.
ECSXA302
3. Select the connected motor from the list (see motor nameplate).
– The corresponding motor data is displayed on the right in the "Motor data" fields.
4. Click the [ Complete ] button.
– The data is transferred to the controller. This process can take a few seconds and is
confirmed by a message after being completed.
EDBCSXA064 EN 2.0 99
6 Commissioning
Holding brake configuration
Tip!
If you use a motor without a holding brake, you can skip this chapter.
In GDC, you can find the parameters and codes to be set in the parameter menu under
Complete code list.
Code Name Description
C0472/10 FCODE analog [%] Speed threshold from which the drive is allowed to output the signal "Close
brake".
l This code refers to the maximum speed set in C0011.
Note: Enter a value > 0 so that the brake can be opened.
C0472/11 FCODE analog [%] Value/direction of the torque against the holding brake.
6.7 Setting of the feedback system for position and speed control
The following feedback systems can be selected for position and speed control:
ƒ Resolver (
101)
ƒ TTL incremental encoder/sin/cos encoder without serial communication (
104)
– as position and speed encoder (
104)
– as position encoder and resolver as speed encoder (
107)
ƒ Absolute value encoder (Hiperface®, single−turn/multi−turn)
– as position and speed encoder (
110)
– as position encoder and resolver as speed encoder (
114)
The GDC contains the parameters or codes to be set in the parameter menu under
Motor/Feedb. Feedback:
Note!
If the Lenze setting has been loaded via C0002, the feedback system must be
reset.
If a resolver is connected to X7 and used as a position and speed encoder, no settings are
necessary.
Lenze setting:
ƒ Resolver as position encoder: C0490 = 0
ƒ Resolver as speed encoder: C0495 = 0
Note!
When encoders are used for position and speed control, the same feedback
system will automatically be set for both control modes under C0490 and
C0495. Separate feedback systems can only be selected in connection with a
resolver.
2. Select encoder used.
– Incremental encoder (TTL encoder): C0419 = 110 ... 113
– Sin/cos encoder without serial communication: C0419 = 210 ... 213
– Encoder used is not in the list: C0419 = 1 ("Common")
3. When setting C0419 = 1 ("Common") configure encoder data.
Note!
When setting C0419 = 11x or 21x do not configure encoder data.
The encoder data (C0420, C0421, C0427) is set automatically in accordance
with the selection.
– C0420 (number of increments of the encoder)
– C0421 (encoder voltage)
– C0427 (signal type of the encoder)
4. Save settings with C0003 = 1.
112 IT2048−5V
113 IT4096−5V
210 IS512−5V SinCos encoder
211 IS1024−5V
212 IS2048−5V
213 IS4096−5V
307 AS64−8V SinCos absolute value encoder
308 AS128−8V with Hiperface® interface
(single−turn)
309 AS256−8V Selections 307, 308, 309 are only
310 AS512−8V possible with operating system
7.0 or higher.
311 AS1024−8V
407 AM64−8V SinCos absolute value encoder
408 AM128−8V with Hiperface® interface
(multi−turn)
409 AM256−8V Selections 407, 408, 409 are only
410 AM512−8V possible with operating system
7.0 or higher.
411 AM1024−8V
[C0420] Encoder const. 512 Number of increments of the 309
encoder 104
110
1 {1 inc/rev} 8192 Sets C0419 = 0 ("common") if the
value is altered.
[C0421] Encoder volt 0 Encoder voltage 309
0 5.0 V Sets C0419 = 0 ("common") if the 104
value is altered. 110
1 5.6 V
2 6.3 V
3 6.9 V
4 7.5 V
5 8.1 V
[C0427] Enc. signal 0 Function of the master frequency 309
input signals on X8 (DFIN) 104
0 2−phase 110
1 A: speed
B: direction
2 A or B: speed or direction
[C0491] X8 in/out 0 Function of X8 309
0 X8 is input 104
110
1 X8 is output
Note!
When setting C0419 = 11x or 21x do not configure encoder data.
The encoder data (C0420, C0421, C0427) is set automatically in accordance
with the selection.
– C0420 (number of increments of the encoder)
– C0421 (encoder voltage)
– C0427 (signal type of the encoder)
5. Save settings with C0003 = 1.
112 IT2048−5V
113 IT4096−5V
210 IS512−5V SinCos encoder
211 IS1024−5V
212 IS2048−5V
213 IS4096−5V
307 AS64−8V SinCos absolute value encoder
308 AS128−8V with Hiperface® interface
(single−turn)
309 AS256−8V Selections 307, 308, 309 are only
310 AS512−8V possible with operating system
7.0 or higher.
311 AS1024−8V
407 AM64−8V SinCos absolute value encoder
408 AM128−8V with Hiperface® interface
(multi−turn)
409 AM256−8V Selections 407, 408, 409 are only
410 AM512−8V possible with operating system
7.0 or higher.
411 AM1024−8V
[C0420] Encoder const. 512 Number of increments of the 309
encoder 104
110
1 {1 inc/rev} 8192 Sets C0419 = 0 ("common") if the
value is altered.
Danger!
For operating systems up to and including version 7.0:
Uncontrolled movements of the drive possible when absolute value encoders
are used!
If an absolute value encoder is disconnected from the axis module during
operation, a OH3−TRIP (fault no. "0053") occurs. If the absolute value encoder
now is connected to X8 again and a TRIP−RESET is carried out, the drive may
start up in an uncontrolled manner with a high speed and a high torque. An
SD8−TRIP (fault no. "0088") will not occur, as would be expected.
Possible consequences:
ƒ Death or severest injuries
ƒ Destruction or damage of the machine/drive
Protective measures:
ƒ If a TRIP occurs during commissioning when an absolute value encoder is
used, check the history buffer C0168. If an SD8−TRIP (fault no. "0088") is at
the second or third place, it is absolutely necessary to switch off and on
again the supply of the control electronics (24 V supply).
If an absolute value encoder with Hiperface® interface is connected to X8 and used as
position and speed encoder, the following setting sequence must be observed:
1. Select absolute value encoder as position and speed encoder.
– Single−turn encoder: C0490 and C0495 = 3
– Multi−turn encoder: C0490 and C0495 = 4
If X8 has been selected as output by changing C0491, X8 will be automatically reset to
input through the encoder selection.
Note!
When encoders are used for position and speed control, the same feedback
system will automatically be set for both control modes. Separate feedback
systems can only be selected in connection with a resolver (see code table,
C0490 and C0495).
2. Select an absolute value encoder.
– Single−turn encoder: C0419 = 307 ... 311
– Multi−turn encoder: C0419 = 407 ... 411
The encoder data (C0420, C0421, C0427) is set automatically in accordance with the
selection.
Danger!
When absolute value encoders are used, uncontrolled movements of the drive
are possible!
With operating systems up to and including version 6.7, the drive may start up
in an uncontrolled manner with a high speed and a high torque after mains
connection and controller enable.
Possible consequences:
ƒ Death or severe injuries
ƒ The machine/drive may be destroyed or damaged
Protective measures:
ƒ Do not parameterise codes C0420, C0421 and C0427!
Note!
When configuring the absolute value encoder, an "SD7" system error is
activated. The error can only be reset by means of mains switching.
112 IT2048−5V
113 IT4096−5V
210 IS512−5V SinCos encoder
211 IS1024−5V
212 IS2048−5V
213 IS4096−5V
307 AS64−8V SinCos absolute value encoder
308 AS128−8V with Hiperface® interface
(single−turn)
309 AS256−8V Selections 307, 308, 309 are only
310 AS512−8V possible with operating system
7.0 or higher.
311 AS1024−8V
407 AM64−8V SinCos absolute value encoder
408 AM128−8V with Hiperface® interface
(multi−turn)
409 AM256−8V Selections 407, 408, 409 are only
410 AM512−8V possible with operating system
7.0 or higher.
411 AM1024−8V
6.7.5 Absolute value encoder as position encoder and resolver as speed encoder
Danger!
For operating systems up to and including version 7.0:
Uncontrolled movements of the drive possible when absolute value encoders
are used!
If an absolute value encoder is disconnected from the axis module during
operation, a OH3−TRIP (fault no. "0053") occurs. If the absolute value encoder
now is connected to X8 again and a TRIP−RESET is carried out, the drive may
start up in an uncontrolled manner with a high speed and a high torque. An
SD8−TRIP (fault no. "0088") will not occur, as would be expected.
Possible consequences:
ƒ Death or severest injuries
ƒ Destruction or damage of the machine/drive
Protective measures:
ƒ If a TRIP occurs during commissioning when an absolute value encoder is
used, check the history buffer C0168. If an SD8−TRIP (fault no. "0088") is at
the second or third place, it is absolutely necessary to switch off and on
again the supply of the control electronics (24 V supply).
An absolute value encoder Hiperface® interface connected to X8 can be configured as a
position encoder with a resolver connected to X7 being used as a speed encoder.
Observe the following setting sequence:
1. Select absolute value encoder as position encoder.
– Single−turn encoder: C0490 = 3
– Multi−turn encoder: C0490 = 4
2. Select resolver as speed encoder.
– C0495 = 0
3. Select an absolute value encoder.
– Single−turn encoder: C0419 = 307 ... 311
– Multi−turn encoder: C0419 = 407 ... 411
The encoder data (C0420, C0421, C0427) is set automatically in accordance with the
selection.
Danger!
When absolute value encoders are used, uncontrolled movements of the drive
are possible!
With operating systems up to and including version 6.7, the drive may start up
in an uncontrolled manner with a high speed and a high torque after mains
connection and controller enable.
Possible consequences:
ƒ Death or severe injuries
ƒ The machine/drive may be destroyed or damaged
Protective measures:
ƒ Do not parameterise codes C0420, C0421 and C0427!
112 IT2048−5V
113 IT4096−5V
210 IS512−5V SinCos encoder
211 IS1024−5V
212 IS2048−5V
213 IS4096−5V
307 AS64−8V SinCos absolute value encoder
308 AS128−8V with Hiperface® interface
(single−turn)
309 AS256−8V Selections 307, 308, 309 are only
310 AS512−8V possible with operating system
7.0 or higher.
311 AS1024−8V
407 AM64−8V SinCos absolute value encoder
408 AM128−8V with Hiperface® interface
(multi−turn)
409 AM256−8V Selections 407, 408, 409 are only
410 AM512−8V possible with operating system
7.0 or higher.
411 AM1024−8V
[C0420] Encoder const. 512 Number of increments of the 309
encoder 104
110
1 {1 inc/rev} 8192 Sets C0419 = 0 ("common") if the
value is altered.
[C0421] Encoder volt 0 Encoder voltage 309
0 5.0 V Sets C0419 = 0 ("common") if the 104
value is altered. 110
1 5.6 V
2 6.3 V
3 6.9 V
4 7.5 V
5 8.1 V
[C0427] Enc. signal 0 Function of the master frequency 309
input signals on X8 (DFIN) 104
0 2−phase 110
1 A: speed
B: direction
2 A or B: speed or direction
[C0491] X8 in/out 0 Function of X8 309
0 X8 is input 104
110
1 X8 is output
The polarity can be set for each digital input and output. This determines whether the
input or output is HIGH active or LOW active.
The following are available:
ƒ 4 digital inputs (X6/DI1 ... DI4)
ƒ 1 digital output (X6/DO1)
ƒ 1 relay output (X25/BD1, BD2)
The GDC contains codes for setting the polarity of digital inputs and outputs in the
parameter menu under Terminal I/O:
Fig. 6−6 GDC view: Setting of the polarity of digital inputs and outputs
In GDC the codes for machine parameters such as maximum speed and ramp times can be
found in the parameter menu under:
ƒ Short setup
ƒ The controller is only enabled if enable is given by all relevant signal sources (AND
operation).
ƒ If the controller is not enabled (inhibited), the responsible signal source is indicated
under C0183 (drive diagnostics) in the parameter menu under Diagnostics
Current status:
The following table shows the signal sources for controller enable:
Source for controller Controller Controller Note
inhibit inhibit enable
Terminal X6/SI1 0 ... +4 V +13 ... +30 V For controller enable, X6/SI1 has to be
(LOW level) (HIGH level) = HIGH and X6/SI2 = HIGH.
Terminal X6/SI2 0 ... +4 V +13 ... +30 V
(LOW level) (HIGH level)
C0040 C0040 = 0 C0040 = 1
Operating key key Inhibiting with key is only possible if
module/keypad the key is assigned with "CINH" via
C0469.
Fault l In case of TRIP l No TRIP/message For check see 213.
l In case of active
message l TRIP reset
Control word − C0135/bit 9 = 1 C0135/bit 9 = 0 GDC function keys:
system bus (CAN), l <F8> key (controller enable/start)
C0135 l <F9> key (controller inhibit/stop)
Fieldbus module See Operating Instructions of the corresponding fieldbus module.
Note!
All signal sources act like a series connection of switches which are
independent of each other.
Note!
After loading the Lenze setting, all parameters are set to basic setting defined
by Lenze. Settings that have been adjusted before get lost during this process!
In GDC, you can find the parameters and codes to be set in the parameter menu under Load
/ Save / PLC / Multitasking:
Setting sequence
1. Stop the PLC program: C2108 = 2
2. Load the Lenze setting: C0002 = 0
3. Continue with 3.1 or 3.2.
3.1 (The 24 V−supply voltage can be switched.):
A Switch off and on again the 24 V−supply voltage.
B Plug the XT keypad onto the AIF interface (X1).
3.2 (The 24 V−supply voltage cannot be switched.):
A Plug the XT keypad onto the AIF interface (X1).
B Reset the PLC: C2108 = 3
If you operate servo motors of other manufacturers on the controller, you have to enter the
motor data manually. The GDC includes the corresponding codes in the parameter menu
under Motor/Feedb. Motor adjustment.
In GDC, you can find the parameters and codes to be set in the parameter menu under
Motor/Feedback Feedback.
C0060 indicates the rotor position within one revolution as a numerical value between 0
and 2047. The indicated rotor position is derived from the selected position encoder
(C0490).
Evaluation:
If the motor controller (resolver) is set as position encoder (C0490) and the rotor rotates in
CW direction (view on the front of the motor shaft), the numerical value must rise. If the
values are falling, reverse the Sin+ and Sin− connections.
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0060 Rotor pos Current rotor position; value is 124
derived from position encoder.
Therefore, it is only valid as rotor
position if the position encoder
settings under C0490 are
identical with the settings of the
speed encoder on the motor
shaft under C0495.
Only display
0 {1 inc} 2047 1 rev = 2048 inc
For an optimum machine operation, the current controller settings must be adapted to the
electrical motor data.
The parameters of the current controller depend on the electrical motor data. They do not
depend on mechanical data as with the speed and position control circuit. This is why the
default current controller settings of the "GDC motor data input assistant" can usually be
used. A current controller adjustment is only required for third−party motors and for Lenze
motors only in special cases.
Note!
If possible, adjust the current controller with the maximum current (C0022)
provided for operation.
L1 S L1 S
V p + T n +
250ms R1 S
Note!
Depending on the leakage inductance of the motor, the calculated values can
be outside the adjustable range. In this case
ƒ set a lower gain and a higher integral−action time;
ƒ adjust the current controller metrologically ( 126).
For applications with high current controller dynamics the pilot control of the current
controller outputs can be activated with C0074 (C0074 = 1). For this, it is vital to enter the
correct values for the stator resistance (C0084) and leakage inductance (C0085).These can
be obtained from the data sheet of the motor used!
Leakage inductance and stator resistance of the motor are not known:
The current controller can be optimised metrologically with a current probe and an
oscilloscope. For this, a test mode is available in which the current C0022 x Ö2 flows in phase
U after controller enable.
Stop!
Avoid damage to the motor and machine
ƒ During the current controller adjustment, the motor must be freely
rotatable.
ƒ The test current must not exceed the maximum permissible motor current.
ƒ Always adjust the current controller at a switching frequency of 8 kHz.
Setting sequence
1. Select 8 kHz as switching frequency (C0018 = 2).
2. Select the test current under C0022:
– Start with a low current value, e.g. half the rated motor current.
3. Activate the test mode with C0418 = 1.
4. Enable the controller. ( 120)
– Adjust the synchronous motor.
– The asynchronous motor remains at standstill.
5. Enable and inhibit the controller several times in a row changing the current
controller gain (C0075) and the current controller adjustment time (C0076) such
that the current characteristic is free of harmonics.
6. After the adjustment has been completed, deactivate the test mode with C0418 = 0.
7. If required, change the switching frequency under C0018.
Note!
Resolver / absolute value encoder with Hiperface® interface
ƒ If the rotor zero phase is not known, the rotor position only has to be
adjusted once during commissioning.
ƒ For multi−turn absolute value encoders, the traversing range must be within
the display range of the encoder (0 ... 4095 revolutions) if the traversing
range is limited.
TTL incremental encoder / sin/cos encoder with zero track
ƒ If these encoder types are used for the operation of synchronous motors, the
rotor position must be adjusted every time the low−voltage supply is
switched on.
The rotor position must be adjusted if:
ƒ A servo motor from another manufacturer is operated on the controller.
ƒ Another encoder has been mounted subsequently.
ƒ A defective encoder has been replaced.
The rotor position can only be adjusted if:
ƒ The resolver is polarised correctly.
ƒ The current controller has been adjusted.
The GDC contains the parameters or codes to be set on the parameter menu under
Motor/Feedb. Rotor position adjustment:
Setting sequence
1. Inhibit controller. ( 120)
– Press <F9> key in GDC.
– Green LED is blinking, red LED is off
2. Unload motor mechanically.
– Disconnect motor from gearbox or machine.
– Where required, remove toothed lock washers, gear wheels, etc. from the motor
shaft.
– Where required, support holding torques held by a mounted motor brake by
means of retainers.
3. Deactivate "Safe torque off" (
69) so that the motor can be energised during rotor
position adjustment.
– X6/SI1 = HIGH
– X6/SI2 = HIGH
4. Open holding brake (if available).
5. Activate rotor position adjustment with C0095 = 1.
6. Enable controller. ( 120)
– Press <F8> key in GDC.
The rotor position adjustment program of the controller is started:
– The rotor rotates half a revolution in 16 steps (for resolver with 1 pole pair:
180° electrically ¢ 180° mechanically).
– After one revolution, C0095 is reset to "0".
– The rotor zero phase is stored under C0058. (For absolute value encoders
(Hiperface®, single−turn/multi−turn) at X8, C0058 is always "0".)
Danger!
Uncontrolled drive movements after an Sd7 fault with absolute value
encoders
If absolute value encoders are used and the rotor position adjustment is
completed with the fault message "Sd7" (
222), the rotor position could not
be assigned to the feedback system. In this case, the drive may carry out
uncontrolled movements after controller enable.
Possible consequences:
ƒ Death or severe injuries
ƒ The machine/drive may be destroyed or damaged
Protective measures:
ƒ Repeat rotor position adjustment (starting with step 1).
ƒ Check wiring and interference immunity of the encoder at X8.
Tip!
The values for C0058 and C0095 are only displayed in GDC if you place the bar
cursor on them and read back the code using function key <F6>.
For applications with high current controller dynamics, the pilot control for the current
controller can be adjusted under C0074:
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0074 Dynamics 0 Pilot control of the current 125
controller for higher dynamics
0 Normal
1 Enhanced
ƒ The speed controller can only be set correctly when the system constellation has
been completed.
ƒ Please note that the input and output variables of the speed controller are scaled:
– Input: scaling to nmax (C0011)
– Output: scaling to Imax (C0022)
ƒ Hence, C0011 and C0022 have a direct impact on the proportional gain of the speed
controller (C0070).
ƒ The speed controller can only be optimally adjusted if
– the current controller is set correctly.
– the time constant for the actual speed value filter is not set too high (C0497).
– the axis module is appropriately connected to PE so that no noisy speed and
current signals occur.
– there are as few as possible elastic or loose connections between drive and load.
ƒ The speed controller is designed as an ideal PID controller.
In GDC, you can find the codes for adjusting the speed controller in the parameter menu
under Controller settings Speed/position.
Parameter setting
ƒ Via C0070 you set the proportional gain (Vpn):
– Enter approx. 50 % of the speed setpoint (100 % = 16384 = nmax).
– Increase C0070 until the drive becomes instable (pay attention to engine noises).
– Reduce C0070, until the drive runs stable again.
– Reduce C0070 to approx. half the value.
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0070 Vp speedCTRL 3.0 Proportional gain of speed 130
controller (Vpn)
0.00 { 0.01} 127.99
ƒ The proportional gain (Vpn) can be altered by the PLC program via
MCTRL_nNAdapt_a):
– Vpn = MCTRL_nNAdapt_a [%] × C0070
– Default: MCTRL_nNAdapt_a = 100 % ð Vpn = 100 % × C0070 = C0070
Signal edge
If the drive operates with the maximum torque, the speed controller operates within the
limitation.
ƒ The drive cannot follow the speed setpoint.
ƒ MCTRL_bMMax_bis set to TRUE.
Stop!
ƒ Field weakening operation is only possible with asynchronous motors.
ƒ The field weakening reduces the available torque.
To optimise the machine operation during field weakening, you can set the field controller
and the field weakening controller accordingly.
ƒ Field weakening occurs if the maximum output voltage of the controller is reached
with rising speed and cannot be increased further.
ƒ The maximum possible output voltage depends on
– the DC−bus voltage (mains voltage).
– the voltage reduction through the controller.
– the voltage drop at the mains choke.
ƒ Practical values for the voltage drop under the influence of mains choke and inverter
are between 6 ... 10 %.
In GDC, you can find the codes for adjusting the field controller/field weakening controller
in the parameter menu under Controller settings Field controller/field weakening
controller:
Fig. 6−13 GDC view: Field controller / field weakening controller adjustment
Setting sequence
1. Stop the PLC program: C2108 = 2
– As of operating system version 7.0 (see nameplate), this is no longer necessary,
because C0006 (see 2.) can also be written when the PLC program is running!
2. Set motor control for asynchronous motors: C0006 = 2
– The motor nameplate data must be entered correctly!
3. Read rotor time constant Tr (C0083).
4. Read magnetising current Id (C0092).
5. Calculate field controller gain VpF and enter in C0077.
T r(C0083) @ I d(C0092)
V pF +
875ms @ I max
6. Enter rotor time constant Tr as field controller integral−action time TnF in C0078.
Note!
An excessive value of Imax (C0022) can cause a malfunction of the drive in the
field weakening range of the asynchronous motor. For this reason, the current
is limited in terms of speed in the field weakening range. The limitation has a
1/n characteristic and is derived from the motor parameters.
The limitation can be adjusted with the stator leakage inductance (C0085):
ƒ Low values cause a limitation at higher speeds.
ƒ Higher values cause a limitation at lower speeds.
Setting sequence:
1. Set gain Vp: C0577 = 0.01 ... 0.99
– Vp must not be "0"!
2. Set integral−action time Tn: C0578 = 1 ... 40 ms
3. Select a speed setpoint so that the motor is operated in the field weakening range.
4. Observe the speed curve
– If the speed takes an irregular course, the field weakening controller must be
readjusted.
– The field weakening controller must be provided with a distinct integral action.
For resolver adjustment, mainly component tolerances of the resolver evaluation are
compensated in the device. A resolver error characteristic is not included.
The resolver adjustment
ƒ is required if the speed characteristic is unstable.
ƒ is carried out by C0417 = 1 while the motor is idling.
ƒ is started after controller enable has been effected. It stops automatically after
16 shaft revolutions by selecting a setpoint or by manual rotation in the inhibited
state (X6/SI1 or X6/SI2 = LOW).
If it is not possible to adjust the resolver (due to a fault or a defective cable), the original
adjustment values can be restored with C0417 = 2.
The GDC contains the parameters or codes to be set in the parameter menu under
Motor/Feedb. Feedback:
7 Parameter setting
ƒ Controllers and power supply modules can be adapted to your application by setting
the parameters. A detailed description of the functions can be found in the chapter
"Commissioning" (
92).
ƒ The parameters for the functions are stored in numbered codes:
– The codes are marked in the text with a "C".
– The code list in the appendix (
359) provides a quick overview of all codes. The
codes are sorted in numerical ascending order, thus serving as a "reference book".
With the "Global Drive Control" (GDC) parameterisation and operating program, Lenze
provides a plain, concise and compatible tool for the configuration of your
application−specific drive task with the PC or laptop:
ƒ The GDC input assistant offers a comfortable motor selection.
ƒ The menu structure supports the commissioning process by its clear structuring.
0 1
2 L
X14
4
3
ECSXA453
Lx
xx
W
2Z
A
E8
B 00
b 50
c 00 0_Hz
Mene
u
d p
Coda
.0
Par
dcbBA
SHP
RG
50 T
U SHPRG p Menu
NO 0050 00
UV
Code
L-
Para
TR 50.00_Hz
ST
MC
MCTRL-NOUT
zZ
S T
U V
Yy z
Y Z
y
EMZ9371BC
dcbBA
SHPRG p
Code
Para
Menu
0050 00
GLOBAL DRIVE
E82ZBBXC
Init
S T
U V
z
Y Z
y
d
0050 00 0 BA
dcb
50.00 Hz
20 %
1
S T
U V
z
Y Z
y 2 3
d
0050 00
50.00 Hz
20 %
S T
U V
z
Y Z
y
9371BC018
Connect the keypad to the AIF interface (X1) of the axis module/power supply module.
It is possible to connect/disconnect the keypad during operation.
As soon as the keypad is supplied with voltage, it carries out a short self−test.
The operation level indicates when the keypad is ready for operation:
Current status of the axis module/power supply module
Code number, subcode number, and current value
Active fault message or additional status message
Current value in % of the status display defined under C0004
must be pressed to leave the operation level.
0 4
1 dcbBA 5
6
SHPRG p Menu
Code
Para
0050 00
2 50.00_Hz
3 MCTRL-NOUT 7
S T
U V
z 8
Y Z
y
9371BC002
Status displays
Display Meaning Explanation
Ready for operation
Pulse inhibit active Power outputs inhibited
! Adjusted current limitation is exceeded in
motor mode or generator mode
" Speed controller 1 within its limitation l Drive is torque−controlled
l Only active for operation with Lenze
devices of the 9300 series!
# Active fault
Parameter acceptance
Display Meaning Explanation
$ Parameter is accepted immediately The device immediately operates with the
new parameter value.
SHPRG $ The parameter must be confirmed with % The device operates with the new
parameter value after being confirmed.
SHPRG When the controller is inhibited, the The device operates with the new
parameter must be confirmed with % parameter value after the controller has
been released again.
None Display parameters Cannot be changed.
Active level
Display Meaning Explanation
Menu Active menu level l Selection of main menu and submenus
l No menu for ECSxE power supply
module
Code Active code level Selection of codes and subcodes
Para Active parameter level Change of parameters in the codes or
subcodes
None Active operating level Display of operating parameters
Short text
Display Meaning Explanation
Alphanumerical Contents of the menus, meaning of the codes
and parameters
Display of C0004 in % and the active fault in
the operating level
Number
Active level Meaning Explanation
Menu level Menu number l Display is only active when operating
Lenze devices of the 8200 vector or
8200 motec series.
l No menu for ECSxE power supply
module
Code level Four−digit code number
Number
Active level Meaning Explanation
Menu level Submenu number l Display is only active when operating
Lenze devices of the 8200 vector or
8200 motec series.
l No menu for ECSxE power supply
module
Code level Two−digit subcode number
& Parameter value
Parameter value with unit
' Cursor
The figure over the cursor can be changed directly in the parameter level.
( Function keys
For description see the following table.
Note!
Key combinations with %:
Press % and keep it pressed, then press second key in addition.
Key Function
Menu level 1) Code level Parameter level Operating level
Change to parameter Change to operating
Change to code level
level level
Load predefined Accept parameters
% configurations in the when SHPRG $ or
menu "Short setup" 2) SHPRG is displayed
) Change between menu Change figure over
Change code number
* items cursor
%) Quick change between Quick change of code Quick change of figure
%* menu items number over cursor
+ Change between main menu, submenus and Cursor to the right
, code level Cursor to the left
- Cancel function of . key, the LED in the key goes out.
. Inhibit the controller, LED in the key lights up.
Reset fault (TRIP reset): 1. Remove cause of malfunction
2. Press .
3. Press -
1) No menu for ECSxE power supply module
2) Only active when operating Lenze devices of the 8200 vector or 8200 motec series.
All parameters for the axis module/power supply module parameterisation or monitoring
are stored in codes. The codes are numbered and marked with a "C" in the documentation.
Some codes store the parameters in numbered "subcodes" to provide a clear structure for
parameter setting (e.g. C0517 user menu).
Stop!
Your settings have an effect on the current parameters in the main memory.
You must store your settings as a parameter set to prevent that they will get
lost when switching the mains!
For easy operation, the codes are clearly arranged in function−related menus:
Main menu Submenu Description
Display Display
User menu Codes defined under C0517
Diagnostic Diagnostics
Actual info Display codes for drive monitoring
History Fault analysis with history buffer
SystemBlocks Configuration of the main function blocks
MCTRL Motor control
DCTRL Internal control
Terminal I/O Assigning inputs and outputs to internal signals
AIN1 Analog input 1
DIGIN Digital inputs
DIGOUT Digital outputs
DFIN Digital frequency input
DFOUT Digital frequency output
Controller Configuration of internal control parameters
Speed Speed controller
Current Current controller or torque controller
Phase Phase controller
Field Field controller
Field weak Field weakening controller
Motor/Feedb. Motor data input, configuration of speed feedback
Motor adj Motor data
Feedback Configuration of feedback systems
Monitoring Configuration of monitoring functions
Identify Identification
Drive Software version of basic device
Op Keypad Software version of XT keypad
1) For ECSxS/P/M... modules, the MotionBus (CAN) configuration is made on the "System bus" menu level!
With a corresponding fieldbus module (e.g. 2175) the AIF interface X1 of the ECSxA... axis
module can be used as an additional system bus interface.
Note!
If the fieldbus module plugged on the AIF interface X1 and the integrated
system bus interface are connected to the same system bus network, ensure
that different CAN addresses and different identifiers are set for the
interfaces!
Tip!
Changes of the CAN baud rate, the CAN addresses and the identifiers for PDOs
are only accepted after a reset node.
A reset node can be executed by
ƒ New mains connection
ƒ Reset−node command by NMT command.
ƒ Reset−node command via the SB AIF_IO_Management (
231)
In order that communication can be established via the system bus, all nodes must use the
same baud rate for the data transmission.
ƒ The baud rate is configured via code C2351:
Code Possible settings IMPORTANT
No. Name Lenze/ Selection
appl.
C2351 XCAN baud 0 Baud rate XCAN
rate l Modifications are only valid
after reset node!
0 500 kbit/s
1 250 kbit/sec
2 125 kbit/s
3 50 kbit/s
4 1000 kbit/s
If the system bus initialisation and the related state change from Pre−Operational to
Operationalis not executed by a higher−level master system, a controller can be intended
for a "quasi" master to execute this task.
ƒ The configuration is done via code C2352:
Code Possible settings IMPORTANT
No. Name Lenze/ Selection
appl.
C2352 XCAN mst 0 Establish XCAN master
operation.
0 Slave
1 Master
Assign each node within the system bus network to a node address ˘ also called node ID
˘ for a clear identification in the range 1 to 63.
ƒ A node address may not be assigned more than once within a network.
ƒ The node address for the AIF interface X1 of the ECSxA axis module is configured via
code C2350:
Code Possible settings IMPORTANT
No. Name Lenze/ Selection
appl.
C2350 XCAN address 1 XCAN node address
XCAN = system bus (CAN) at AIF
1 {1} 63
Assignment of the node address for the data exchange between Lenze devices
If Lenze devices are assigned with node addresses in a complete ascending order, the
identifiers of the event−controlled data objects (XCAN2_IO/XCAN3_IO) are factory−set so
that the devices are able to communicate with each other:
L L L
The identifiers for the process data objects XCAN1_IO ... XCAN3_IO consist of the basic
identifiers and the node address set in C2350:
Identifier = basic identifier + node address
Object Basic identifier
dec hex
PDO1 XCAN1_IO (cyclic process data)
(Process data channel 1)
XCAN1_IN 512 200
XCAN1_OUT 384 180
PDO2 XCAN2_IO (event/time−controlled process data)
(Process data channel 2)
XCAN2_IN 640 280
XCAN2_OUT 641 281
PDO3 XCAN3_IO (event/time−controlled process data)
(Process data channel 3)
XCAN3_IN 768 300
XCAN3_OUT 769 301
In case of larger system bus networks with many nodes it may be sensible to set individual
identifiers for the process data objects XCAN1_IO ... XCAN3_IO via C2353/C2354 which
are independent of the node address set in C2350:
1. Set C2353/x to "1".
– (x = Subcode of the corresponding process data object):
Code Possible settings IMPORTANT
No. Name Lenze/ Selection
appl.
C2353 Source for system bus node
addresses of
XCAN_IN/XCAN_OUT
1 XCAN addr sel 0 CAN node address (C2350) XCAN1_IN/XCAN1_OUT address
2 XCAN addr sel 0 CAN node address (C2350) XCAN2_IN/XCAN2_OUT address
3 XCAN addr sel 0 CAN node address (C2350) XCAN3_IN/XCAN3_OUT address
0 C2350 (auto) Automatically determined by
C2350
1 C2354 (man.) Determined by C2354
2. Set in C2354/x the value which results in the desired identifier when added to
"384".
– (x = Subcode of the corresponding process data object):
Code Possible settings IMPORTANT
No. Name Lenze/ Selection
appl.
C2354 XCAN: altern. node addresses for
XCAN_IN/XCAN_OUT
1 XCAN addr. 129 1 {1} 512 XCAN1_IN address 2
2 XCAN addr. 1 XCAN1_OUT address 2
3 XCAN addr. 257 XCAN2_IN address 2
4 XCAN addr. 258 XCAN2_OUT address 2
5 XCAN addr. 385 XCAN3_IN address 2
6 XCAN addr. 386 XCAN3_OUT address 2
ƒ Ensure that the identifier of the telegram to be sent must correspond to the
identifier of the process data object to be addressed.
ƒ In case the addresses are assigned individually, the identifier for the process data
objects is made up as follows:
Identifier = 384 + value of C0354/x
ƒ Thus, identifiers can be assigned for the process data objects within the range
385 ... 896.
The identifier which is set for the process data objects can be displayed via C2355.
ƒ C2355 is a display code. Settings via C2355 are not possible.
Code Possible settings IMPORTANT
No. Name Lenze/ Selection
appl.
C2355 Identifier for
XCAN_IN/XCAN_OUT
Read only
1 XCAN Id 1 {1} 2047 Identifier XCAN1_IN
2 XCAN Id Identifier XCAN1_OUT
3 XCAN Id Identifier XCAN2_IN
4 XCAN Id Identifier XCAN2_OUT
5 XCAN Id Identifier XCAN3_IN
6 XCAN Id Identifier XCAN3_OUT
The transfer of the output data of XCAN1_OUT ... XCAN3_OUT can be event or
time−controlled.
ƒ The transmission mode can be configured via code C2356/x:
Code Possible settings IMPORTANT
No. Name Lenze/ Selection
appl.
C2356 Time settings for XCAN
1 XCAN times 0 0 {1 ms} 65000 XCAN boot−up time:
Delay time after mains
connection for initialisation
through the master.
2 XCAN times 0 XCAN1...3_OUT cycle times:
Factor to task time for process
3 XCAN times 0 data object transmission.
0 = event−controlled
4 XCAN times 0
transmission
5 XCAN times 0 XCAN delay time:
When the Operational NMT
status is reached (after
Pre−operational), the ˜CANdelay˜
delay time is started. After the
delay time, the PDOs
XCAN2_OUT and XCAN3_OUT
are sent for the first time.
Event−controlled transmission
C2356/x = 0
ƒ The output data is always transferred when one value in the eight bytes of user data
has changed (Lenze default setting).
Time−controlled transmission
C2356/x = 1 ... 65000
ƒ The output data is transferred with the cycle time set in C2356/x (referred to the
task cycle time).
Example:
ƒ The CAN object is used in a 10 ms task.
ƒ Factor set via C0356/2 = 5
ðThe CAN object is sent in every fifth task cycle, hence every 50 ms (10 ms x 5).
Code for enabling the second parameter channel and the PDO channels
Code Possible settings IMPORTANT
No. Name Lenze/ Selection
appl.
C2365 Enabling the second parameter
channel and the PDO channels
1 0 0 {1} 3 Enabling the second parameter
channel
2 1 Enabling the first parameter
channel
3 1 Enabling the second process data
channel
4 1 Enabling the third process data
channel
0 Deactivated
1 Activated
2 Reception activated
3 Transmission activated
8.6 Synchronisation
The response to the receipt of a sync telegram can be configured via C2375:
Code Possible settings IMPORTANT
No. Name Lenze/ Selection
appl.
C2375 TX mode for XCANx_OUT
1 XCAN Tx 0 Response to sync XCAN1_OUT
mode
2 XCAN Tx 0 Response to sync XCAN2_OUT
mode
3 XCAN Tx 0 Response to sync XCAN3_OUT
mode
0 Response to sync
1 No response to sync
2 Event
3 Event, cycle C2356 superimposed
The transmission or receipt identifiers of the the sync telegram can be configured via
C2367/C2368:
Code Possible settings IMPORTANT
No. Name Lenze/ Selection
appl.
C2367 Sync Rx Id 128 XCAN receive identifier of the
sync telegram
1 {1} 2047
C2368 Sync Tx Id 128 XCAN send identifier of the sync
telegram
1 {1} 2047
The cycle time required for transmitting a sync telegram with the identifier set in C2368
can be configured via C2356/5:
Code Possible settings IMPORTANT
No. Name Lenze/ Selection
appl.
C2356 Time settings for XCAN
1 XCAN times 0 0 {1 ms} 65000 XCAN boot−up time:
Delay time after mains
connection for initialisation
through the master.
2 XCAN times 0 XCAN1...3_OUT cycle times:
Factor to task time for process
3 XCAN times 0 data object transmission.
0 = event−controlled
4 XCAN times 0
transmission
5 XCAN times 0 XCAN delay time:
When the Operational NMT
status is reached (after
Pre−operational), the ˜CANdelay˜
delay time is started. After the
delay time, the PDOs
XCAN2_OUT and XCAN3_OUT
are sent for the first time.
Changes of the CAN baud rate, the node addresses and the identifiers are only accepted
after a node has been reset.
A reset node can be executed by
ƒ New mains connection
ƒ Reset−node command via the bus system (by the network management (NMT))
8.8 Monitoring
For the inputs of the process data objects XCAN1_IN ... XCAN3_IN a time monitoring can
be configured via C2357:
Code Possible settings IMPORTANT
No. Name Lenze/ Selection
appl.
C2357 Monitoring time for XCAN
process data input objects
1 CE monit time 3000 1 {1 ms} 65000 XCAN1_IN monitoring time
2 CE monit time 3000 XCAN2_IN monitoring time
3 CE monit time 3000 XCAN3_IN monitoring time
4 CE monit time 3000 Bus off
5 CE monit time 3000 AIF monitoring time (can only be
set if C2357/6 = 0)
6 CE monit time 0 Sync monitoring time (can only
be set if C2357/5 = 0)
The response, if no telegram has been received within the defined monitoring time, can be
configured via the code C2382/x:
Code Possible settings IMPORTANT
No. Name Lenze/ Selection
appl.
C2382 Configuration of monitoring
XCAN
(no telegrams received)
1 XCAN Conf. CE 0 Off XCAN1_IN
2 XCAN Conf. CE 0 Off XCAN2_IN
3 XCAN Conf. CE 0 Off XCAN3_IN
4 XCAN Conf. CE 0 Off Bus off
5 XCAN Conf. CE 0 Off Life guarding event
6 XCAN Conf. CE 0 Off Response to sync reception
0 Off
1 Controller inhibit (CINH)
2 Quick stop (QSP)
If the ECSxA... axis module has been decoupled from the system bus due to too many faulty
received telegrams, the signal "BusOffState" (CE14) is set.
The response to this can be configured via C2382/4
Code Possible settings IMPORTANT
No. Name Lenze/ Selection
appl.
C2382 Configuration of monitoring
XCAN
(no telegrams received)
1 XCAN Conf. CE 0 Off XCAN1_IN
2 XCAN Conf. CE 0 Off XCAN2_IN
3 XCAN Conf. CE 0 Off XCAN3_IN
4 XCAN Conf. CE 0 Off Bus off
5 XCAN Conf. CE 0 Off Life guarding event
6 XCAN Conf. CE 0 Off Response to sync reception
0 Off
1 Controller inhibit (CINH)
2 Quick stop (QSP)
Tip!
Possible causes of faulty received telegrams may be:
ƒ Missing bus termination
ƒ Insufficient shielding
ƒ Potential differences in the grounding of the control electronics
ƒ Bus load is too high. See chapter 9.13.3, "Bus load by the ECSxA.. axis
module" (
180).
8.9 Diagnostics
The operating status of the automation interface can be displayed via C2121:
Code Possible settings IMPORTANT
No. Name Lenze/ Selection
appl.
C2121 AIF:State AIF−CAN: Status
l For detailed information: see
description of the
corresponding fieldbus
module.
Read only
1 {1} 255 Binary interpretation reflects bit
states
Bit 0 XCAN1_IN monitoring time
Bit1 XCAN2_IN monitoring time
Bit2 XCAN3_IN monitoring time
Bit3 XCAN bus off
Bit4 XCAN operational
Bit5 XCAN pre−operational
Bit6 XCAN warning
Bit 7 Internally assigned
Bit6 = 1 Warning The ECSxA... axis module has received faulty telegrams and participates
only passively in the system bus, i.e. the axis module no longer transmits
any data.
Possible causes:
l Missing bus termination
l Insufficient shielding
l Potential differences in the grounding of the control electronics
l Excessive bus load
l The ECSxA... axis module is not connected to the system bus.
Bit3 = 1 Bus off The ECSxA... axis module has been decoupled from the system bus due to
too many faulty telegrams received.
l The response to this status can be configured via C2382/4. 155
The codes for the system bus (CAN / CAN−AUX) configuration can be found in the GDC
parameter menu under System bus. They are divided into separate code ranges:
Interface Code range
X4 System bus (CAN) C03xx
X14 System bus (CAN−AUX) C24xx
The CAN bus system is based on a message−oriented data exchange between a transmitter
and many receivers. Thus, all nodes can transmit and receive messages at the same time.
The identifier in the CAN telegram ˘ also called COB−ID (Communication Object Identifier)
controls which node is to receive a transmitted message. With the exception of the
network management (NMT) and the sync telegram (Sync) the identifier contains the
node address of the drive besides the basic identifier:
Identifier (COB−ID) = basic identifier + adjustable node address (node ID)
The basic identifier is preset with the following values:
Direction Basic identifier
Object to the from the dec hex
ECS module ECS module
NMT 0 0
Sync 128 80
XCAN1_IN
RPDO1 CAN1_IN X 512 200
PDO1 CANaux1_IN
(Process data channel 1) XCAN1_OUT
TPDO1 CAN1_OUT X 384 180
CANaux1_OUT
XCAN2_IN
RPDO2 CAN2_IN X 640 280
PDO2 CANaux2_IN
(Process data channel 2) XCAN2_OUT
TPDO2 CAN2_OUT X 641 281
CANaux2_OUT
XCAN3_IN
RPDO3 CAN3_IN X 768 300
PDO3 CANaux3_IN
(Process data channel 3) XCAN3_OUT
TPDO3 CAN3_OUT X 769 301
CANaux3_OUT
Assignment of the node address for the data exchange between Lenze devices
If Lenze devices are assigned with node addresses in a complete ascending order, the
identifiers of the event−controlled data objects (CAN2_IO/CAN3_IO) are factory−set so
that the devices are able to communicate with each other.
L L L
Assign each node within the system bus network to a node address ˘ also called node ID
˘ for a clear identification in the range 1 to 63.
ƒ A node address may not be assigned more than once within a network.
ECS_COB005
Fig. 9−2 DIP switch for node address and baud rate (all switches: OFF)
Note!
ƒ If all DIP switches for the node address (S2 ... S7) are in "OFF" position, the
settings under code C0350 (node address) and C0351 (baud rate) apply.
ƒ If only one DIP switch for the node address (S2 ... S7) is in "ON" position, the
settings of DIP switches S2 ... S10 apply.
ƒ The baud rate must be set identically for all CAN nodes.
is in ON position)
2
S1
ON: Node address setting is valid for CAN and
3
S2 32 ON
6
32 + 16 + 8 = 56
7
S3 16 ON
8
S4 8 ON
9
S5 4 OFF
10
S6 2 OFF
OFF ON S7 1 OFF
Note!
The baud rate must be set identically for all CAN nodes.
Switch Baud rate [kbit/s]
1000 500 250 125 50
ON
1
Note!
ƒ If all DIP switches for the node address (S2 ... S7) are in "OFF" position, the
settings under code C0350 (node address) and C0351 (baud rate) apply.
ƒ If only one DIP switch for the node address (S2 ... S7) is in "ON" position, the
settings of DIP switches S2 ... S10 apply.
ƒ The baud rate must be set identically for all CAN nodes.
Note!
If reset node is executed via GDC, communication will be interrupted. You
therefore have to log in again manually or find the devices connected to the
bus once again.
Under C0353/C2453 you can determine whether the identifier (COB−ID) is defined with a
basic identifier ( 426) and the node address under C0350/C2453 or individually by
means of an "ID offset".
The "ID offset" can be selected under C0354/C2454. For all process data input and output
objects, the identifier is calculated as follows:
Identifier (COB−ID) = 384 + ID offset (C0354 or C2454)
Note!
The identifier of the telegram to be sent must correspond to the identifier of
the process data input object to be addressed.
Note!
If reset node is executed via GDC, communication will be interrupted. You
therefore have to log in again manually or find the devices connected to the
bus once again.
Unless the bus initialisation and the corresponding status change from "Pre−operational"
to "Operational" is carried out by a higher−level host system, the controller can be defined
as master to carry out this task.
The master functionality is only required for the initialisation phase of the drive system.
Under C0356/C2456, you can set a boot−up time for the master for the initialisation phase
(
168).
The NMT telegram start_remote_node (broadcast telegram) serves to set all nodes to the
"Operational" NMT status by the master. A data exchange via the process data objects is
only possible in this status.
Use C0352/C2452 for configuration.
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0352 CAN mst 0 Master/slave configuration for 167
CAN bus interface X4
0 Slave CAN boot−up is not active
1 Master CAN boot up is active
2 Master with node guarding
3 Slave and heartbeat producer
4 Slave with node guarding
C2452 CANa mst 0 Configuration of master/slave 167
for CAN bus interface X14
(CAN−AUX)
0 Slave
1 Master
Note!
If reset node is executed via GDC, communication will be interrupted. You
therefore have to log in again manually or find the devices connected to the
bus once again.
Boot−up time
Code Meaning
C0356/1 l Delay time (in ms) after mains connection for the initialisation by the master.
C2456/1 – Only valid if C0352/C2452 = 1 (master).
– Normally the Lenze setting (3000 ms) is sufficient.
l In a CAN network without a higher−level host, one node (master) must initialise the CAN
network. The master activates the entire network once at a specific instant and thus starts
the process data transfer.
– Status changes from "pre−operational" to operational".
With cyclic node monitoring (Node Guarding), the CAN master regularly queries the states
of the slaves being monitored.
ƒ The master starts the node guarding by sending the node guarding telegram.
ƒ If the slave does not receive a node guarding telegram within the monitoring time
(Node Life Time), the "Life Guarding Event" is activated (fault message "Err
NodeGuard").
Settings
In order that the power supply module takes over the function of the
"Node Guarding Slave", make the following settings:
1. Set C0352 = 2.
(The power supply module is configured as "Node Guarding Slave".)
2. Set the time interval of the status enquiry by the master (Node Guard Time) via
C0382.
3. Set the factor for the monitoring time (Node Life Time Factor) via C0383.
Tip!
The SB CAN_Synchronization is used to synchronise the internal time base of
the ECS axis module with the arrival of the sync telegram.
In this way, the internal computing processes (e.g. control processes) of the
ECS axis module can be synchronised with the computing processes of other
bus nodes which can also process the sync telegram.
For detailed information about the SB CAN_Synchronization, please see page
(
257) in this documentation.
The response to the reception of a sync telegram can be configured under C0366/C02466:
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0366 Sync Response 1 CAN sync response for CAN bus 260
interface X4
0 No response
1 Response
C2466 Sync Response 1 CAN−AUX sync response for CAN
bus interface X14
0 No response
1 Response
The transmit and receive identifiers of the sync telegram can be configured under
C0367/C2467 and C0368/C2468:
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0367 Sync Rx ID 128 CAN sync receipt ID for CAN bus 259
interface X4
1 {1} 256
C0368 Sync Tx ID 128 Sync transmission ID for CAN bus 412
interface X4 171
1 {1} 256
C2467 Sync Rx ID 128 CAN−AUX sync receipt ID for CAN 259
bus interface X14
1 {1} 256
C2468 Sync Tx ID 128 CAN−AUX Sync−transmission ID 412
for CAN bus interface X14 260
1 {1} 256
The cycle time for sending a sync telegram with the identifier set under C0368/C2468 can
be configured under C0369/C2469:
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0369 SyNc Tx time 0 CAN sync transmission cycle for 258
CAN bus interface X4
A sync telegram with the
identifier of C0368 is sent with
the cycle time set.
ECSxP: The setting is effected
automatically depending on
C4062!
0 {1 ms} 65000 0 = switched off
C2469 Sync Tx time 0 CAN−AUX sync transmission cycle 257
for CAN bus interface X14
A sync telegram with the
identifier of C2468 is sent with
the set cycle time.
0 {1 ms} 65000 0 = switched off
Note!
If reset node is executed via GDC, communication will be interrupted. You
therefore have to log in again manually or find the devices connected to the
bus once again.
Tip!
Detailed information on the SB CAN_Management can be found in chapter
13.6 (
253).
Detailed information on the SB CANaux_Management can be found in chapter
13.11 (
279).
The operating system from V6.0 of the ECSxA axis module contains a special CanDSx driver
which can be activated by means of the functions of the function library
LenzeCanDSxDrv.lib.
By means of this driver, indices of the ECSxA... axis modules and other Lenze PLCs can be
assigned to another code than the one that is assigned automatically.
Note!
ƒ Each Lenze code is firmly assigned to an index via the following formula:
– Index = 5FFFhex − code
– Index = 24575dec − code
ƒ The function of the CanDSx driver is restricted to the system bus (CAN).
Problem
Users have equipped the ECSxA... axis module with a function which can be parameterised
via the user code C3200/5. The code C3200 is automatically assigned to the index
21375dec.
Index = 24575dec − code = 24575dec − 3200 = 21375dec
Due to the communication profile used, however, this function should be parameterised
via the index 4101dec/subindex 2.
Solution
By means of the functions of the function library LenzeCanDSxDrv.lib the
index 4101dec/subindex 2 in the ECSxA... axis module is simply redirected to code C3200/5
so that the communication profile can be used as usual.
Functional principle
The operating system (from V6.0) of the ECSxA... axis module contains a "mapping table".
According to this table up to 256 indices within the ECSxA... can be "mapped" to other
codes than the ones that are automatically assigned.
If a CAN telegram arrives and the index is within the valid range, it is checked if this index
is listed in the mapping table.
ƒ If the index is listed in the mapping table, the codes which are reassigned to this
index in the mapping table are accessed.
ƒ If the index is not listed in the mapping table, the automatically assigned code
which results from the formula mentioned above is accessed.
Index access: 4101/2 Index access: 21475/1
yes yes
Code access: C3200/5 Lenze code = 24575 - Index = 24575 - 21475 = 3100
Code access = C3100/1
From operating system V6.x the ECSxA axis module supports the remote parameterisation
of other system bus nodes. All write/read accesses to parameters will not be listed in the
ECSxA... axis module anymore but redirected to the node selected for remote
maintenance.
ƒ The redirection takes place via the parameter data channel SDO1 of the selected
node.
ƒ The node to which the write/read accesses are to be redirected, is determined via
C0370 by setting here the node address of the corresponding node.
ƒ A time−out during remote parameterisation activates the system error message
"CE5". The corresponding response can be configured under C0603 (
192).
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
[C0370] SDO Gateway 0 Gateway address
Activating remote parameter
setting
l When selecting a setting ¹0,
all code read/write accesses
will be redirected to the
system bus device with the
corresponding CAN node
address.
l The respective code is
accessed via parameter data
channel 1 of the target device.
0 {1} 63 0 = remote parameterisation
deactivated
By means of the following diagnostic codes you can trace the process via the MotionBus
(CAN) and the system bus (CAN):
ƒ C0359/C2459: Bus state
ƒ C0360/C2460: Telegram counter
ƒ C0361/C2461: Bus load
C0359/C2459 indicates the current operating status of the MotionBus/system bus (CAN).
Value of Operating status Description
C0359/C2459
0 Operational The bus system is fully operative.
1 Pre−operational Only parameters (codes) can be transferred via the bus system.
Data exchange from controller to controller is not possible. A
status change to "Operational" is possible via a special signal on
the MotionBus/system bus (CAN).
A status change from "Pre−operational" to "Operational" is
possible through:
l The master functionality of a higher−level host
l If a master has been selected under C0352/C2452, the
operating status will be changed automatically for the entire
drive system after the set boot−up time (C0356/C2456) when
power is switched on.
l Reset node via C0358/C2458 ( 255)
l The binary input signal "Reset node", which can be set
accordingly.
l Reset node via the connected host
2 Warning Faulty telegrams have been received. The controller is passive
(does not send any data). Possible causes:
l Missing bus termination
l Insufficient shielding
l Potential differences in the grounding of the control
electronics
l Bus load is too high
l Controller is not connected to the MotionBus/system bus
(CAN)
3 Bus off Too many faulty telegrams: Controller has disconnected from the
MotionBus/system bus (CAN). Reconnection is possible through:
l TRIP reset
l Reset node ( 255)
l Mains connection
C0360/2460 counts for all parameter data channel the telegrams which are valid for the
controller. The counters have a width of 16 bits. If the value "65535" is exceeded, counting
restarts with "0".
Counted messages:
C0360/C2460 Meaning
Subcode 1 All sent telegrams
Subcode 2 All received telegrams
Subcode 3 Telegrams sent of CAN1_OUT/CANaux1_OUT
Subcode 4 Telegrams sent of CAN2_OUT/CANaux2_OUT
l Always "0"; channel is not used!
Subcode 5 Telegrams sent of CAN3_OUT/CANaux3_OUT
l Always "0"; channel is not used!
Subcode 6 Telegrams sent of parameter data channel 1
Subcode 7 Telegrams sent of parameter data channel 2
Subcode 8 Telegrams received of CAN1_IN/CANaux1_IN
Subcode 9 Telegrams received of CAN2_IN/CANaux2_IN
l Always "0"; channel is not used!
Subcode 10 Telegrams received of CAN3_IN/CANaux3_IN
l Always "0"; channel is not used!
Subcode 11 Telegrams received of parameter data channel 1
Subcode 12 Telegrams received of parameter data channel 2
Use C0361/C2461 to determine the bus load through the controller and the individual
data channels in percent. Faulty telegrams are not considered.
Bus load of the individual subcodes:
C0361/C2461 Meaning
Subcode 1 All sent telegrams
Subcode 2 All received telegrams
Subcode 3 Telegrams sent of CAN1_OUT/CANaux1_OUT
Subcode 4 Telegrams sent of CAN2_OUT/CANaux2_OUT
l Always "0"; channel is not used!
Subcode 5 Telegrams sent of CAN3_OUT/CANaux3_OUT
l Always "0"; channel is not used!
Subcode 6 Telegrams sent of parameter data channel 1
Subcode 7 Telegrams sent of parameter data channel 2
Subcode 8 Telegrams received of CAN1_IN/CANaux1_OUT
Subcode 9 Telegrams received of CAN2_IN/CANaux2_OUT
l Always "0"; channel is not used!
Subcode 10 Telegrams received of CAN3_IN/CANaux3_OUT
l Always "0"; channel is not used!
Subcode 11 Telegrams received from parameter data channel 1
Subcode 12 Telegrams received from parameter data channel 2
The data transfer is limited. The limits are determined by the number of telegrams
transmitted per time unit and the baud rate.
The limits can be determined during data exchange in a drive network by adding all drives
involved under C0361/1 and C2461/1.
Example:
Drive/host Bus load
C0361/1 − controller 1 23.5 %
C0361/1 − controller 2 12.6 %
Host 16.0 %
52.1 % (total)
Two drives and the host are interconnected via the MotionBus (CAN).
Note!
ƒ Max. bus load of all devices involved: 80 %
ƒ If other devices are connected, as for instance decentralised inputs and
outputs, their telegrams must be taken into consideration.
ƒ If the time between the individual sync telegrams is too short the bus can be
overloaded.
– Remedy: Change the synchronisation cycle of the higher−level control
system and the controller (C1121).
10 Diagnostics
In GDC, the codes for drive system diagnostics can be found in the parameter menu under
Diagnostics and the corresponding submenus. Fault history values can be found in the
Faults menu.
The "Global Drive Oscilloscope" (GDO) is included in the scope of supply of the Lenze
parameter setting and operating program "Global Drive Control" (GDC) and the "Drive PLC
Developer Studio" (DDS) and can be used as an additional diagnostic program.
The GDO serves to record e.g. input and output data and device−internal states during
controller operation.
Note!
Detailed information about the functionality and handling of GDO can be
found in the Manual "Global Drive Oscilloscope (GDO), Getting started".
ECSXA480
Menu bar
Symbol bar at the top
Data sets
Symbol bar on the left
Graph display field
Vertical operating elements
Status display
Trigger/cursor operating elements
Horizontal operating elements
Operating elements for recording
In the "Diagnostic" menu the two submenus "Actual info" and "History" contain all codes
for
ƒ monitoring the drive
ƒ fault/error diagnosis
In the operating level, more status messages are displayed. If several status messages are
active, the message with the highest priority is displayed.
Priority Display Meaning
1 GLOBAL DRIVE INIT Initialisation or communication error between
keypad and controller
2 XXX − TRIP Active TRIP (contents of C0168/1)
3 XXX − MESSAGE Active message (contents of C0168/1)
4 Special device states:
Switch−on inhibit
5 Source for controller inhibit (the value of C0004 is displayed simultaneously):
STP1 9300 servo: Terminal X5/28
ECSxS/P/M/A: Terminal X6/SI1
STP3 Operating module or LECOM A/B/LI
STP4 INTERBUS or PROFIBUS−DP
STP5 9300 servo, ECSxA/E: System bus (CAN)
ECSxS/P/M: MotionBus (CAN)
STP6 C0040
6 Source for quick stop (QSP):
QSP−term−Ext The MCTRL−QSP input of the MCTRL function block is on HIGH signal.
QSP−C0135 Operating module or LECOM A/B/LI
QSP−AIF INTERBUS or PROFIBUS−DP
QSP−CAN 9300 servo, ECSxA: System bus (CAN)
ECSxS/P/M: MotionBus (CAN)
7 XXX − WARNING Active warning (contents of C0168/1)
8 xxxx Value below C0004
11 Monitoring functions
Responses (
189) of monitoring functions can be parameterised partly via codes ˘ in the
GDC parameter menu ) under Monitoring.
x064 CE3 Communication error on the CAN3_IN process data input object CAN3_IN C0593 ü ü l
(monitoring time adjustable via C0357/3)
x065 CE4 BUS−OFF status of MotionBus (CAN) CAN C0595 ü ü l
(too many faulty telegrams)
x066 CE5 Communication error of the Gateway function (C0370, C0371) via CAN C0603 ü ü l
MotionBus (CAN)
Monitoring functions
x122 CE11 Communication error on the CANaux1_IN process data input object ( time CANaux1_IN C2481 ü ü l
monitoring adjustable via C2457/1)
x123 CE12 Communication error on the CANaux2_IN process data input object ( time CANaux2_IN C2482 ü ü l
monitoring adjustable via C2457/2)
x124 CE13 Communication error on the CANaux3_IN process data input object ( time CANaux3_IN C2483 ü ü l
monitoring adjustable via C2457/3)
x125 CE14 BUS−OFF status of system bus (CANaux) CANaux C2484 ü ü l
(too many faulty telegrams)
x126 CE15 Communication error of the Gateway function (C0370, C0371) via system CANaux C2485 ü ü l
bus (CAN)
x260 Err Node "Life Guarding Event": Node C0384 l ü ü ü2) ü
Guard The controller configured as CAN slave does not receive a "Node Guarding" Guarding
telegram with the "Node Life Time" from the CAN master.
Temperatures / sensors
x: 0 = TRIP, 1 = message, 2 = warning, 3 = FAIL−QSP
1) Adjustable in the DDS under Project Exceptional handling
2) For ECSxA... only
185
11
11
186
Monitoring functions
x053 OH3 Motor temperature > 150° C MCTRL C0583 l ü ü
x054 OH4 Heatsink temperature > C0122 MCTRL C0582 ü l ü
x055 OH5 Interior temperature > C0124 MCTRL C0605 ü l ü
x057 OH7 Motor temperature > C0121 MCTRL C0584 ü l ü
x058 OH8 Motor temperature via inputs T1 and T2 is too high. MCTRL C0585 ü l ü
x086 Sd6 Thermal sensor error on the motor (X7 or X8) MCTRL C0594 ü ü l
x095 FAN1 Fan monitoring (only for built−in units) ü l
X110 H10 Thermal sensor error on heatsink FWM C0588 l ü
x111 H11 Thermal sensor error in the interior of the device FWM C0588 l ü
Motor / feedback system
0011 OC1 Short circuit of motor cable MCTRL l
0012 OC2 Motor cable earth fault MCTRL l
x190 nErr Speed control error (monitoring window C0576) MCTRL C0579 ü ü ü ü l
x200 Nmax Maximum speed (C0596) has been exceeded. MCTRL C0607 l ü ü
x: 0 = TRIP, 1 = message, 2 = warning, 3 = FAIL−QSP
1) Adjustable in the DDS under Project Exceptional handling
2) For ECSxA... only
EDBCSXA064 EN 2.0
Float error
0209 float Sys−T Float error in system task (ID 0) Internal l ü ü 1)
0210 float Cycl.−T Float error in cyclic task (PLC_PRG ID 1) Internal l ü ü 1)
Monitoring functions
x232 NoCamData Motion profiles (cam data) are not available. Internal l
x240 ovrTrans Overflow of transmit request memory Free CAN C0608 l ü ü ü ü
Queue objects
x241 ovr Receive Too many receive telegrams Free CAN C0609 l ü
objects
Parameter setting
0072 PR1 Check sum error in parameter set 1 Internal l
0074 PEr Program error Internal l
0075 PR0 Error in the parameter sets Internal l
0079 PI Error during parameter initialisation Internal l
0080 PR6 l For ECSxS/P/M:Internal fault Internal l
l For ECSxA: Too many user codes
Application−specific fault messages
x: 0 = TRIP, 1 = message, 2 = warning, 3 = FAIL−QSP
1) Adjustable in the DDS under Project Exceptional handling
2) For ECSxA... only
187
11
11
188
Monitoring functions
2402 PosPosLimit Positive software limit position (C3040) has been reached. l
2403 NegPosLimi Negative software limit position (C3041) has been reached. l
t
2404 FollowErrW Following error warning limit (C3030) has been reached. l
arn
2422 InvProfData Impermissible positioning profile parameters l
2423 OverflIntPos Position setpoint overflow l
2424 SWLimOut− Impermissible software limit positions l
OfRan
3400 PosLimitSw Positive hardware limit switch has been approached. l
3401 NegLimitSw Negative hardware limit switch has been approached. l
3402 PosPosLimit Positive software limit position (C3040) has been reached in positioning l
profile mode.
3403 NegPosLimi Negative software limit position (C3041) has been reached in positioning l
t profile mode.
3405 FollowErrFai Following error limit (C3031) has been reached. l
l
3406 HomePosErr Home position has not been reached. l
3409 MaxVelErr Max. speed has been reached. l
3417 InSftw− Impermissible setting of the software limit positions l
Limits
3500 ExtTripSet External error has been actuated. l
3501 InvTpProfN Invalid positioning profile number l
o
3503 InvalidFeed Impermissible feedback system selection l
b
3504 InvalidOS Version of operating system is not compatible. l
x: 0 = TRIP, 1 = message, 2 = warning, 3 = FAIL−QSP
1) Adjustable in the DDS under Project Exceptional handling
2) For ECSxA... only
EDBCSXA064 EN 2.0
Monitoring functions 11
Configuring monitoring functions
Responses
11.2.1 Responses
Each process data input object can monitor whether a telegram has been received within
a specified time. As soon as a telegram arrives, the corresponding monitoring time
(C0357/C02457) is restarted ("retriggerable monoflop" function).
The following assignments are valid:
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0357 Monitoring time for CAN1...3_IN 191
(CAN bus interface X4)
1 CE monit time 3000 1 {1 ms} 65000 CE1 monitoring time
2 CE monit time 3000 CE2 monitoring time
3 CE monit time 3000 CE3 monitoring time
C2457 Monitoring time for 191
CANaux1...3_IN (CAN bus
interface X14)
1 CE monit time 3000 1 {1 ms} 65000 CE11 monitoring time
2 CE monit time 3000 CE12 monitoring time
3 CE monit time 3000 CE13 monitoring time
The input signals (CAN1...3_IN/CANaux1...3_IN) can also be used as binary output signals,
e.g. for the assignment of the output terminal.
Bus off
If the controller disconnects from the MotionBus/system bus (CAN) due to faulty
telegrams, the "BusOffState" signal (CE4/CE14) is set.
"BusOffState" can activate an error (TRIP) or warning. The signal can also be switched off.
The response is set under C0595/C2484. You can also assign the terminal output for this.
The monitoring process is activated if a short circuit occurs in the motor phases. This can
also be caused by an interturn fault in the machine.
ƒ Monitoring can also be actuated at mains connection, if an earth fault occurs.
ƒ If monitoring is actuated, the drive controller has to be disconnected from the
mains, and the short circuit has to be eliminated.
The ECSxA... axis module is equipped with a standard earth fault detection.
ƒ If monitoring is actuated, the drive controller has to be disconnected from the
mains, and the earth fault has to be eliminated.
Possible causes for an earth fault are:
ƒ Short circuit to frame of the machine
ƒ Short circuit of a phase to the shield
ƒ Short circuit of a phase to PE
Note!
This monitoring only applies to temperature sensors specified by Lenze like the
temperature sensors included in the standard servo motors.
With regard to default setting, this monitoring is switched actively and is
actuated when no Lenze servo motor is used!
ƒ Adjustable warning threshold (OH7)
– The warning threshold can be set under C0121
– The reaction to exceeding the threshold can be set under C0584
ƒ Fixed warning threshold (OH3)
– Threshold = 150 °C
– The reaction to exceeding the threshold can be set under C0583
The hysteresis is 15 K, i.e. the reset value for the fixed warning threshold is 135 °C.
The connections X7 ( 86) or X8 ( 87) are available as inputs for the temperature
sensor.
Stop!
The temperature sensor must only be connected to X7 or X8; the other input
for the temperature sensor must not be assigned!
The monitoring with the adjustable threshold (OH7) is designed as an early warning stage
before final disconnection of the controller by means of TRIP (OH3). Therefore, the process
can be influenced accordingly, so that the final disconnection of the controller at
unfavourable moments is avoided. Furthermore, for instance, additional fans can be
activated, generating an unacceptable noise load when switched to continuous operation.
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0121 OH7 limit 120 Threshold for motor temperature 193
monitoring
45 {1 °C} 150 Motor temperature > C0121 ð
fault message OH7 (C0584)
C0583 MONIT OH3 0 Configuration of motor 193
temperature monitoring via
resolver input X7 or encoder
input X8
0 TRIP
2 Warning
3 Off
The heatsink temperature of the controller can be monitored with two temperature
thresholds:
ƒ Adjustable temperature threshold (OH4)
– Threshold can be set under C0122
– The reaction to exceeding the threshold can be set under C0582
ƒ Fixed temperature threshold (OH)
– Threshold = 90 °C
– Reaction to exceeding the threshold = TRIP
The hysteresis is 5 K, i.e. the reset value for the fixed threshold is 85 °C.
The monitoring with the adjustable threshold (OH4) is designed as an early warning stage
before final disconnection of the controller by means of TRIP (OH). Therefore, the process
can be influenced accordingly, so that the final disconnection of the controller at
unfavourable moments is avoided. Furthermore, for instance, additional fans can be
activated, generating a noise load when switched to continuous operation.
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0122 OH4 limit 80 Threshold for heatsink 196
temperature monitoring
45 {1 °C} 90 Heatsink temperature
> C0122 ð fault message OH4
(C0582)
C0582 MONIT OH4 2 Configuration of heatsink 196
temperature monitoring
Set threshold in C0122
0 TRIP
2 Warning
3 Off
The following causes can bring about an actuation of the monitoring process:
Cause Remedy
The ambient temperature is too high. Mount a fan in the control cabinet.
The drive controller is overloaded in the arithmetic l Mount a fan in the control cabinet.
mean, i. e. overload and recovery phase are above l Reduce overload phase.
100%. l Use more powerful drive controller.
The temperature inside the controller can be monitored with two temperature thresholds:
ƒ with an adjustable threshold (OH5) via C0124
– The warning threshold can be set under C0124
– The reaction to exceeding the threshold can be set under C0605
ƒ with a fixed threshold (OH1)
– Threshold = 90 °C
– Reaction to exceeding the threshold = TRIP
The hysteresis is 5 K, i.e. the reset value for the fixed warning threshold is 85 °C.
The monitoring with the adjustable threshold (OH4) is designed as an early warning stage
before final disconnection of the controller by means of TRIP (OH). Therefore, the process
can be influenced accordingly, so that the final disconnection of the controller at
unfavourable moments is avoided. Furthermore, for instance, additional fans can be
activated, generating a noise load when switched to continuous operation.
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0124 OH5 limit 75 Threshold for temperature 197
monitoring inside the device
10 {1 %} 90 C0062 > C0124 ð fault message
OH5 (C0605)
C0605 MONIT OH5 2 Configuration of early warning 197
of temperature inside the device
(threshold in C0124)
0 TRIP
2 Warning
3 Off
The function of the thermal sensors of the heatsink and the interior of the device is
monitored. If the thermal sensors report values outside the measuring range, fault H10
(heatsink) or H11 (interior) is reported. The response to these faults can be defined under
C0588.
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0588 MONIT 0 Configuration of monitoring 198
H10/H11 Thermal sensors (H10, H11) in
the controller
"SensFaultTht/SensFaultTid"
(FWM H10/H11)
0 TRIP
2 Warning
3 Off
The I x t monitoring monitors the current load of the axis module. The monitoring is set
such that operation
ƒ is permanently possible with a device output current = Ir.
ƒ is possible for £ 30 s with a device output current £ 1.5 x Ir.
The overload protection of the axis module can be set with thresholds:
ƒ adjustable threshold (OC7) via C0123
ƒ fixed threshold (OC5) = 100 %
After an overcurrent phase, you can calculate with a recovery phase of 120 s. For a more
precise consideration, see the overcurrent characteristic and the value 3 x taxis module
( 199).
The response to exceeding the adjustable threshold can be defined under C0604.
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0123 OC7 limit 90 Threshold for I x t warning (axis 193
module)
0 {1 %} 100 C0064 > C0123 ð fault message
OC7 (C0604)
Overcurrent characteristic
tTRIP [s]
200
180
160
ECSxS/P/M/A064
140
ECSxS/P/M/A048
120 ECSxS/P/M/A004, -008, -016, -032
100
80
60
40
20
0
1 1.5 2.0 2.5 3.0 3.5 4.0 I / Ir
ECSXA025
The overcurrent characteristic shows the maximum time tTRIP till the axis module
generates an I x t error. In order to reach this time tTRIP again, the time 3 x taxis module with
the load I/Ir = 0 A must be observed.
Device taxis module [s] Overcurrent characteristic
ECSxA004 54.6
ECSxA008 27.3
ǒ Ǔ
t
ECSxA016 27.3 I subprofile_x I subprofile_x *t
subprofile_x
150
100
75
44
t [s]
10 60 120 180
ECSXA293
The I2 x t load of the motor is continually calculated by the axis module and displayed in
C0066. Via C0120 and C0127 you can set two actuation thresholds. If threshold 1 is
exceeded, the response (OC8) set in C0606 is activated. If threshold 2 is exceeded,
OC6−TRIP is activated.
The I2 x t monitoring has been designed such that it will be activated after 179 s in the
event of a motor current of 1.5 x Ir and a set threshold of 100 % (thermal motor time
constant C0128 = 5 min).
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0120 OC6 limit 105 Threshold for I2 x t monitoring 201
(motor)
0 {1 %} 120 0 = I2 x t monitoring is switched
off
I2 x t > C0120 ð OC6−TRIP
C0127 OC8 limit 100 Threshold for I2 x t warning 201
(motor)
0 {1 %} 120 I2 x t > C0127 ð fault message
OC8 (C0606)
C0128 Tau motor 5.0 Thermal time constant of the 201
motor
0.5 {0.1 min} 25.0 For calculating the I2 x t
disconnection
C0606 MONIT OC8 2 Configuration of I2 x t early 201
warning
(threshold in C0120)
0 TRIP
2 Warning
3 Off
Ȣ Ȥ
IM
@ 100 Ir y C0120 or C0127
The release time for different motor currents and thresholds can be taken from the
diagram (C0128 = 5.0 min):
2
I t [%] Imot = 3 x Ir Imot = 2 x Ir Imot = 1.5 x Ir Imot = Ir
120
100
50
0 t [s]
0 100 200 300 400 500 600 700 800 900 1000
ECSXA040
This monitoring functions monitor the DC bus and protect the drive controller.
ƒ If the DC−bus voltage at terminals +UG and −UG exceeds the upper switch−off
threshold set in C0173, an OU message is actuated.
ƒ If the DC−bus voltage at terminals +UG and −UG falls below the lower switch−off
threshold set in C0174, an LU message is actuated.
The monitoring remains active until the corresponding threshold is fallen below/exceeded
again.
Note!
All drive components in DC−bus connections must have the same thresholds!
Tip!
If undervoltage is existent for more that 3 s, or if mains connection is carried
out, an entry into the fault memory is effected.
ƒ This operational mode can occur if the control module is fed via the
terminals X6/+24 and X6/GND by means of an external supply and the
mains are disconnected.
ƒ If there is no undervoltage anymore (mains are reconnected again), the
entry in the fault memory is not continued, but deleted. This case does not
describe an error, but a state of the drive controller.
Undervoltages of less than 3 s are interpreted as a fault (e. g. mains fault) and
are entered into the fault memory. In this case, the fault memory is updated.
If the voltage at X6/DI1 or X6/DI3 falls below 17 V, TRIP "U15" is actuated. The fault can
only be reset if U > 19 V.
Note!
ƒ This monitoring function can only be used for asynchronous motors.
ƒ When this monitoring function is activated, the calculating time which is
available for the user, is reduced.
ƒ The response is set via C0597.
ƒ The monitoring limit is set via C0599.
Error acknowledgement
1. Check motor cables.
2. Execute TRIP−RESET.
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0597 MONIT LP1 3 Configuration of motor phase 205
monitoring (LP1)
When this monitoring function is
activated, the calculating time
which is provided to the user is
reduced!
0 TRIP
2 Warning
3 Off
C0599 Limit LP1 5.0 Monitoring limit for motor phase 205
monitoring (LP1) referred to the
current limit.
0.01 {0.01 %} 10.00
This monitoring function monitors the resolver cable and the resolver with regard to open
circuit and protects the motor.
Stop!
If monitoring is disconnected, the machine can achieve very high speeds in
case of faults (e. g. system cable is disconnected or not correctly screwed),
which can result in the damage of the motor and of the driven machine! The
same applies if "warning" is set as a response.
ƒ For commissioning C0586, always use the Lenze setting (TRIP).
ƒ Only use the possibility of disconnection via C0586 if the monitoring is
activated without apparent reason (e. g. by very long cables or intense
interference injection of other drives).
ƒ Configure C0586 = 2 (warning) only on the above−mentioned condition,
because the pulses are enabled despite faulty feedback.
If a fault with regard to the survey of the actual speed value is available, it is
not definitely ensured that monitoring is activated with regard to overspeed
(NMAX, 211).
This monitoring ...
ƒ is automatically activated if a resolver is selected as an actual speed value encoder
via C0419.
ƒ is automatically activated if another actual speed value encoder is selected.
The response is set via C0586.
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0586 MONIT SD2 0 Configuration of monitoring 206
Resolver "ResolverFault"
(MCTRL Sd2)
0 TRIP
2 Warning
3 Off
This monitoring function checks whether the motor temperature sensor supplies values
within the measuring range of −50 ... +250 °C. If the values are outside this measuring
range, monitoring is activated.
The response is set via C0594.
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0594 MONIT SD6 3 Configuration of monitoring 207
Motor temperature sensor "
SensorFault" (MCTRL Sd6)
0 TRIP
2 Warning
3 Off
When the ECSxA... axis module is switched on, this monitoring function repeatedly
downloads the absolute value of the encoder to identify whether the same value is
transferred to the drive.
If a deviation > 5° on the motor shaft is detected, the monitoring (TRIP) is actuated.
The error can only be reset by mains switching!
This monitoring function identifies via a plausibility check whether the encoder is available
and the sin/cos tracks supply plausible values with regard to each other.
ƒ The following sin/cos encoder types are supported:
– Stegmann SCS 60/70 ST 512 single−turn absolute value encoder (512 inc/rev).
– Stegmann SCM 60/70 ST 512 multi−turn absolute value encoder (512 inc/rev).
ƒ The fault "Sd8" can only be reset by mains switching.
ƒ If required, the encoder has to move by several angular degrees for actuating a fault.
ƒ The response is set via C0580.
ƒ The filter time constant (C0559) serves to filter short−time trouble on the sin/cos
track of the encoder without an SD8 trip being released immediately.
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0580 Monit SD8 3 Configuration of open−circuit 208
monitoring for sin/cos encoders
0 TRIP
3 Off
C0559 SD8 filter t 1 Filter time constant (SD8)
1 {1 ms} 200 Example:
If the setting is "10 ms", a
SD8−TRIP is actuated after 10 ms.
Note!
For the desired encoder monitoring, and in particular when using synchronous
machines, set error handling to "TRIP".
In order to achieve further encoder reliability, an additional monitoring of
following errors can be activated, e. g. with regard to position systems. In
doing this, also set the corresponding responses to "TRIP".
This monitoring function compares the actual speed value supplied by the tacho generator
to the speed setpoint on the speed controller. If the difference of the two speed values
exceeds the tolerance window set in C0576, the monitoring function is actuated.
The subsequent speed behaviour of the drive controller can be evaluated by means of this
monitoring.
ƒ If the system deviation exceeds a certain value, this may indicate a drive problem. In
this case, the drive somehow is inhibited from following the set speed setpoint.
With regard to a generally functional drive controller, this may be caused by
mechanical blockades on the load side, or by a motor torque that is not sufficient.
Furthermore, a tacho generator in speed−controlled operation can be protected further on
by this monitoring. Thus, the monitoring presents a supplementation to the individual
encoder monitoring systems.
ƒ Faults on the encoder system bring about an incorrect actual speed value. This
normally results in a system deviation on the speed controller that is greater than
that in the normal operating status.
ƒ The tolerance margin is set via C0576.
ƒ The response is set via C0579.
Note!
ƒ Where required, adjust the setpoint ramps and/or the quick stop
deceleration time by longer times to the application, so that no fault
messages are output.
ƒ Set the tolerance window (C0576) to at least twice the value of the system
deviation occurring during operation. The value can be identified by
respective tests when commissioning is effected.
The monitoring process is activated when the current speed exceeds the upper speed limit
of the system or the double value of C0011 (nmax).
Stop!
ƒ With regard to active loads (e. g. hoists), pay attention to the fact that the
drive in this case operates without torque. Specific on−site measures are
required!
ƒ If the actual speed value encoder fails, it is not provided that this monitoring
will be activated.
The upper speed limit of the system (maximum speed) is set via C0596.
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0596 NMAX limit 5500 Monitoring: Maximum speed of 211
the machine
0 {1 rpm} 16000
This monitoring function observes the correct execution of the rotor position adjustment.
This monitoring function can occur during rotor position adjustment in connection with
feedback systems:
ƒ Resolver
ƒ TTL encoder
ƒ Sin/cos encoder
ƒ Absolute value encoder (single/multi−turn)
Cause for this is a cancellation of the adjustment routine as a result of
ƒ a supply voltage loss
ƒ an encoder cable interruption
ƒ a routine stop through the deactivation of C0095
Error acknowledgement
1. Remove the cause for the cancellation.
2. Inhibit controller
3. Deactivate rotor position adjustment with C0095 = 0.
4. Execute TRIP−RESET.
5. Activate rotor position adjustment with C0095 = 1.
Failures can be quickly detected by means of display elements or status messages via the
system bus (CAN/CAN−AUX).
Display elements and status messages provide a rough classification of the trouble.
In the chapter "12.3.2 Causes and remedies" (
222) , you can find information on fault
elimination.
The history buffer (C0168) enables you to trace faults. The corresponding fault messages
are stored in eight memory locations in the sequence of their occurrence.
Note!
ƒ If several faults with different responses occur at the same time, only the
fault the response of which has the highest priority is entered in the history
buffer.
– Power supply module ECSxE:
TRIP/KSB−TRIP (highest) → message → warning (lowest)
– Axis module ECSxS/P/M/A:
TRIP (highest) → message → FAIL−QSP → warning (lowest)
ƒ If several faults with the same response occur at the same time, (e.g. two
messages) only the fault that occurred first is entered in the history buffer.
ƒ If a fault occurs several times in quick succession, only the time of the last
occurrence is entered in the history buffer.
FIF−CAN / CAN−AUX
communication error:
x062 CE1 CAN1 CAN1_IN (monitoring time can C0591 ü ü · ü ü ü
be set with C0357/1)
x063 CE2 CAN2 CAN2_IN (monitoring time can C0592
be set with C0357/2)
x064 CE3 CAN3 CAN3_IN (monitoring time can C0593
be set with C0357/3)
x065 CE4 CAN CAN BUS−OFF status C0595 ü ü · ü ü ü
(too many faulty telegrams
received)
x066 CE5 CAN CAN time−out (gateway C0603 ü ü · ü ü ü
function C0370)
FIF−CAN / CAN−AUX
communication error:
x122 CE11 FIF−CA FIF−CAN1_IN (monitoring time C0591 ü ü · ü
N1 can be set with C2457/1)
CANau CANaux1_IN (monitoring time C2481 ü ü · ü
x1 can be set with C2457/1)
x123 CE12 FIF−CA FIF−CAN2_IN (monitoring time C0592 ü ü · ü
N2 can be set with C2457/2)
CANau CANaux2_IN (monitoring time C2482 ü ü · ü
x2 can be set with C2457/2)
x124 CE13 FIF−CA FIF−CAN3_IN (monitoring time C0593 ü ü · ü
N3 can be set with C2457/3)
CANau CANaux3_IN (monitoring time C2483 ü ü · ü
x3 can be set with C2457/3)
x125 CE14 FIF−CA BUS−OFF status of FIF−CAN C0595 ü ü · ü
N (too many faulty telegrams
received)
CANau BUS−OFF state CAN AUX C2484 ü ü · ü
x (too many faulty telegrams
received)
x126 CE15 CANau Communication error of C2485 ü ü · ü
x gateway function (C0370,
C0371) via CAN−AUX
x260 Err NodeGuard Node "Life guarding event": The PLC C0384 · ü ü ü 3) ü ü ü ü
guardin as a CAN slave has not
g received any "node guarding"
telegram within the node
lifetime of the CAN master.
Tip!
When the fault messages are retrieved via the system bus (CAN) they are
displayed as a number (see column fault number ˘number" in the following
table).
13 System blocks
The following sections inform about the system blocks of the basic unit.
13.1.1 Inputs_AIF_Management
Inputs_AIF_Management
AIF
AIF_bCe0CommErr_b
Communication
Error
AIF_bFieldBusStateBit0_b
AIF_bFieldBusStateBit1_b
AIF_bFieldBusStateBit2_b
AIF_bFieldBusStateBit3_b
AIF_bFieldBusStateBit4_b
AIF_bFieldBusStateBit5_b
AIF_bFieldBusStateBit6_b
X1
AIF AIF_bFieldBusStateBit7_b
Fieldbus State
AIF_bFieldBusStateBit8_b
AIF_bFieldBusStateBit9_b
AIF_bFieldBusStateBit10_b
AIF_bFieldBusStateBit11_b
AIF_bFieldBusStateBit12_b
AIF_bFieldBusStateBit13_b
AIF_bFieldBusStateBit14_b
AIF_bFieldBusStateBit15_b
ECSXA200
System variables
Variable Data Signal Address Display Display Comments
type type code format
Communication error
AIF_bCe0CommErr_b %IX161.0.0 ˘ ˘
"CE0"
AIF_bFieldBusStateBit0_
%IX161.1.0 ˘ ˘ Error number ˘ bit 0
b
AIF_bFieldBusStateBit1_
%IX161.1.1 ˘ ˘ Error number ˘ bit 1
b
AIF_bFieldBusStateBit2_
%IX161.1.2 ˘ ˘ Error number ˘ bit 2
b
AIF_bFieldBusStateBit3_
%IX161.1.3 ˘ ˘ Error number ˘ bit 3
b
AIF_bFieldBusStateBit4_
%IX161.1.4 ˘ ˘ Error number ˘ bit 4
b
AIF_bFieldBusStateBit5_
%IX161.1.5 ˘ ˘ Error number ˘ bit 5
b
AIF_bFieldBusStateBit6_
%IX161.1.6 ˘ ˘ Error number ˘ bit 6
b
AIF_bFieldBusStateBit7_
Bool binary %IX161.1.7 ˘ ˘ Error number ˘ bit 7
b
AIF_bFieldBusStateBit8_
%IX161.1.8 ˘ ˘ Error number ˘ bit 8
b
AIF_bFieldBusStateBit9_
%IX161.1.9 ˘ ˘ Error number ˘ bit 9
b
AIF_bFieldBusStateBit10
%IX161.1.10 ˘ ˘ Error number ˘ bit 10
_b
AIF_bFieldBusStateBit11
%IX161.1.11 ˘ ˘ Error number ˘ bit 11
_b
AIF_bFieldBusStateBit12
%IX161.1.12 ˘ ˘ Error number ˘ bit 12
_b
AIF_bFieldBusStateBit13
%IX161.1.13 ˘ ˘ Error number ˘ bit 13
_b
AIF_bFieldBusStateBit14
%IX161.1.14 ˘ ˘ Error number ˘ bit 14
_b
AIF_bFieldBusStateBit15
%IX161.1.15 ˘ ˘ Error number ˘ bit 15
_b
Codes
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0126 MONIT CE0 3 Monitoring of the 231
communication via AIF interface
X1.
l Under C2382, you can select
whether controller inhibit
(CINH) or quick stop (QSP) is
activated when a CE0 fault
occurs.
0 TRIP A communication error activates
2 Warning the set CE0 response.
13.1.2 Outputs_AIF_Management
This SB serves to transfer commands and messages to a fieldbus module connected to the
automation interface (AIF).
For this purpose, a control word is available via C2120. The commands are preselected as
numbers. Some of the command numbers present a universally valid character for all
fieldbus modules, others can be specifically applied to the different components.
Altogether up to 16 commands can be available.
Outputs_AIF_Management
AIF control word
Bit 8 … 15
AIF_wControl
Bit 7
Toggle-Bit (MSB)
C2120
Bit 0 … 6
ECSXA243
System variables
Variable Data Signal Address Display Display Notes
type type code format
AIF_wControl Word ˘ %QX161.0 C2120 ˘
Codes
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C2120 AIF: Control 0 AIF−CAN: control word 234
0 {1} 255 Binary interpretation reflects bit
states
0 No command Note: The MSB (bit 7) of the
1 Read XCAN codes + reinitialisation control word automatically
changes its state with every
2 Read XCAN code access to the code. Observe this
10 Read XCAN C2356/1 ... 4 when interpreting the data!
11 Read XCAN C2357
12 Read XCAN C2375
13 Read XCAN C2376 ... C2378
14 Read XCAN C2382
255 Not assigned
13.2.1 Inputs_AIF1
This SB is used as an interface for input signals (e.g. setpoints/actual values) to the
attached fieldbus module (e.g. INTERBUS, PROFIBUS−DP).
The process image is
ƒ created in the cyclic task by means of a fixed set time interval of 10 ms.
ƒ created in an interval task within the time set for this task.
ƒ read at the beginning of the task and written at its end.
Inputs_AIF1 AIF1_wDctrlCtrl
16 Bit
AIF1_bCtrlB0_b
AIF1_bCtrlB1_b
AIF1_bCtrlB2_b
AIF1_bCtrlQuickstop_b
AIF1_bCtrlB4_b
AIF1_bCtrlB5_b
AIF1_bCtrlB6_b
C0136/3 AIF1_bCtrlB7_b
AIF1_bCtrlDisable_b
16 binary
signals AIF1_bCtrlCInhibit_b
AIF1_bCtrlTripSet_b
AIF1_bCtrlTripReset_b
AIF1_bCtrlB12_b
AIF1_bCtrlB13_b
AIF1_bCtrlB14_b
AIF1_bCtrlB15_b
Byte
Controlword
1 16 Bit
AIF1_nInW1_a
Byte
2
C0856/1
Byte
3
Byte
X1 4
AIF1_nInW2_a
16 Bit
Byte
5 C0856/2
AIF1_bInB0_b
C0855/1
…
Byte 16 binary
AIF1_bInB15_b
6 signals
AIF1_nInW3_a
16 Bit
Byte
7 C0856/3
AIF1_bIn16_b
C0855/2
…
Byte 16 binary
AIF1_bIn31_b
8 signals
16 Bit
LowWord
AIF1_dnInD1_p
16 Bit
HighWord C0857
ECSXA201
System variables
Variable Data Signal Address Display Display Comments
type type code format
AIF1_wDctrlCtrl Word ˘ %IW41.0 C0136/3 hex
AIF1_bCtrlB0_b %IX41.0.0
AIF1_bCtrlB1_b %IX41.0.1
AIF1_bCtrlB2_b %IX41.0.2
AIF1_bCtrlQuickstop_b %IX41.0.3
AIF1_bCtrlB4_b %IX41.0.4
AIF1_bCtrlB5_b %IX41.0.5
AIF1_bCtrlB6_b %IX41.0.6
AIF1_bCtrlB7_b %IX41.0.7
BOOL binary C0136/3 bin
AIF1_bCtrlDisable_b %IX41.0.8
AIF1_bCtrlCInhibit_b %IX41.0.9
AIF1_bCtrlTripSet_b %IX41.0.10
AIF1_bCtrlTripReset_b %IX41.0.11
AIF1_bCtrlB12_b %IX41.0.12
AIF1_bCtrlB13_b %IX41.0.13
AIF1_bCtrlB14_b %IX41.0.14
AIF1_bCtrlB15_b %IX41.0.15
AIF1_nInW1_a %IW41.1 C0856/1
AIF1_nInW2_a integer analog %IW41.2 C0856/2 dec [%]
AIF1_nInW3_a %IW41.3 C0856/3
AIF1_bInB0_b %IX41.2.0
... ... C0855/1
AIF1_bInB15_b %IX41.2.15
BOOL binary hex
AIF1_bInB16_b %IX41.3.0
... ... C0855/2
AIF1_bInB31_b %IX41.3.15
double
AIF1_dnInD1_p position %ID41.1 C0857 dec [inc]
integer
User data
The 8 bytes of received user data are assigned to several variables of different data types.
According to requirements, they can thus be evaluated by the PLC program as:
ƒ binary information (1 bit)
ƒ control word/quasi−analog value (16 bit)
ƒ angle information (32 bit)
Byte Variable (1 bit) Variable (16 bit) Variable (32 bit)
1, 2 AIF1_bCtrlB0_b
AIF1_bCtrlB1_b
AIF1_bCtrlB2_b
AIF1_bCtrlQuickstop_b
AIF1_bCtrlB4_b
...
AIF1_bCtrlB7_b
AIF1_wDctrlCtrl
AIF1_bCtrlDisable_b
AIF1_bCtrlCInhibit_b
AIF1_bCtrlTripSet_b
AIF1_bCtrlTripReset_b
AIF1_bCtrlB12_b
...
AIF1_bCtrlB15_b
The quick stop (QSP), DISABLE, CINH, TRIP−SET and TRIP−RESET functions can be controlled via the
following variables (control signals):
l AIF1_bCtrlQuickstop_b
l AIF1_bCtrlDisable_b
l AIF1_bCtrlCInhibit_b
l AIF1_bCtrlTripSet_b
l AIF1_bCtrlTripReset_b
The remaining 11 bits (AIF1_bCtrlB..._b) can be used to control other functions/function blocks.
3, 4
AIF1_nInW1_a
5, 6 AIF1_bInB0_b
... AIF1_nInW2_a
AIF1_bInB15_b
AIF1_dnInD1_p
7, 8 AIF1_bInB16_b
... AIF1_nInW3_a
AIF1_bInB31_b
Codes
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0136 Control words
Hexadecimal value is bit−coded.
Read only
1 CTRLWORD 0 {hex} FFFF Control word C0135
2 CTRLWORD CAN control word
3 CTRLWORD AIF control word
C0855 Digital process data input words 235
are indicated on the AIF interface
(AIF1_IN)
Hexadecimal value is bit−coded.
Read only
1 AIF1 IN bits 0000 {hex} FFFF Input word 2 (bit 0 ... 15)
2 AIF1 IN bits Input word 3 (bit 0 ... 15)
C0856 Analog process data input words 235
are indicated decimally on the
AIF interface (AIF1_IN)
100.00% = 16384
Read only
1 AIF1 IN words −199.99 {0.01 %} 199.99 Input word 1
2 AIF1 IN words Input word 2
3 AIF1 IN words Input word 3
C0857 AIF1 IN phi 32 bits of phase information on 235
the AIF interface (AIF1_IN)
Read only
−2147483648 {1} 2147483647
13.2.2 Outputs_AIF1
This SB is used as an interface for output signals (e.g. setpoints/actual values) to attached
fieldbus modules (e.g. INTERBUS, PROFIBUS−DP).
The process image is
ƒ created in the cyclic task by means of a fixed set time interval of 10 ms.
ƒ created in an interval task within the time set for this task.
ƒ read at the beginning of the task and written at its end.
Outputs_AIF1
Byte
1
AIF1_wDctrlStat
16 Bit
Byte
2
Byte
3
AIF1_nOutW1_a
16 Bit
C0858/1 Byte
4 X1
AIF1_nOutW2__a
16 Bit
Byte
C0858/2 5
AIF1_bFDO0_b
…
AIF1_nOutW3_a
16 Bit
Byte
AIF1_bFDO16_b C0858/3 7
…
16 Bit
LowWord
AIF1_dnOutD1_p
16 Bit
C0859 HighWord
ECSXA202
System variables
Variable Data Signal Address Display Display Notes
type type code format
AIF1_wDctrlStat Word ˘ %QW41.0 ˘ ˘
AIF1_nOutW1_a %QW41.1 C0858/1
AIF1_nOutW2_a Integer analog %QW41.2 C0858/2 dec [%]
AIF1_nOutW3_a %QW41.3 C0858/3
AIF1_bFDO0_b %QX41.2.0
... ...
AIF1_bFDO15_b %QX41.2.15
BOOL binary ˘ hex
AIF1_bFDO16_b %QX41.3.0
... ...
AIF1_bFDO31_b %QX41.3.15
Double
AIF1_dnOutD1_p position %QD41.1 C0859 dec [inc]
integer
User data
The 8 bytes of user data to be sent can be written via several variables of different data
types. According to requirements, data can therefore be transferred from the PLC program
as
ƒ binary information (1 bit)
ƒ status word/quasi−analog value (16 bit)
ƒ angle information (32 bit)
Note!
Avoid simultaneous overwriting via different variable types to ensure data
consistency.
Thus, bytes 5 and 6 should only be overwritten by
ƒ variable AIF1_dnOutD1_p,
ƒ variable AIF1_nOutW2_a or
ƒ variables AIF1_bFDO0_b ... AIF1_bFDO15_b.
Byte 1/2 can be used for transferring the status word from the SB DCTRL_DriveControl to the field bus
module.
l For this purpose, connect variable DCTRL_wStat of the SB DCTRL_DriveControl to variable
AIF1_wDctrlStat.
l In addition to signals such as IMP and CINH the SB status word DCTRL_DriveControl contains some
freely assignable signals which can be overwritten via the variables DCTRL_bStateB..._b of the
SB DCTRL_DriveControl.
3, 4
AIF1_nOutW1_a
5, 6 AIF1_bFDO0_b
... AIF1_nOutW2_a
AIF1_bFDO15_b
AIF1_dnOutD1_p
7, 8 AIF1_bFDO16_b
... AIF1_nOutW3_a
AIF1_bFDO31_b
Codes
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0858 Analog process data output 240
words are indicated decimally on
the AIF interface (AIF1_OUT)
100.00% = 16384
Read only
1 AIF1 OUT −199.99 {0.01 %} 199.99 Output word 1
words
2 AIF1 OUT Output word 2
words
3 AIF1 OUT Output word 3
words
C0859 AIF1 OUT phi 32−bit phase information at the 240
AIF interface (AIF1_OUT)
Only display
−2147483648 {1} 2147483647
13.3.1 Inputs_AIF2
This SB is used as an interface for input signals (e.g. setpoints/actual values) to the
attached fieldbus module (e.g. INTERBUS, PROFIBUS−DP).
The process image is
ƒ created in the cyclic task by means of a fixed set time interval of 10 ms.
ƒ created in an interval task within the time set for this task.
ƒ read at the beginning of the task and written at its end.
Inputs_AIF2
AIF2_nInW1_a
16 Bit
Byte
1
AIF2_bInB0_b
16 binary
...
signals
Byte AIF2_bInB15_b
2
AIF2_nInW2_a
16 Bit
Byte
3
AIF2_bInB16_b
16 binary
...
signals
Byte AIF2_bInB31_b
X1 4
16 Bit
Byte LowWord
5 AIF2_dnInD1_p
16 Bit
HighWord
Byte
6
AIF2_nInW3_a
16 Bit
Byte
7
AIF2_nInW4_a
16 Bit
Byte
8
ECSXA203
System variables
Variable Data Signal Address Display Display Notes
type type code format
AIF2_nInW1_a %IW42.0
AIF2_nInW2_a %IW42.1
Integer analog ˘ ˘
AIF2_nInW3_a %IW42.2
AIF2_nInW4_a %IW42.3
AIF2_bInB0_b %IX42.0.0
... ...
AIF2_bInB15_b %IX42.0.15
Bool binary ˘ ˘
AIF2_bInB16_b %IX42.1.0
... ...
AIF2_bInB31_b %IX42.1.15
Double
AIF2_dnInD1_p position %ID42.0 ˘ ˘
Integer
User data
The first 4 bytes from the 8 bytes of received user data are assigned to several variables of
different data types. According to requirements, they thus can be evaluated by the PLC
program as:
ƒ binary information (1 bit)
ƒ quasi−analog value (16 bit)
ƒ angle information (32 bit)
Byte Variable (1 bit) Variable (16 bit) Variable (32 bit)
1, 2 AIF2_bInB0_b
... AIF2_nInW1_a
AIF2_bInB15_b
AIF2_dnInD1_p
3, 4 AIF2_bInB16_b
... AIF2_nInW2_a
AIF2_bInB31_b
5, 6
AIF2_nInW3_a
7, 8
AIF2_nInW4_a
13.3.2 Outputs_AIF2
This SB is used as an interface for output signals (e.g. setpoints/actual values) to attached
fieldbus modules (e.g. INTERBUS, PROFIBUS−DP).
The process image is
ƒ created in the cyclic task by means of a fixed set time interval of 10 ms.
ƒ created in an interval task within the time set for this task.
ƒ read at the beginning of the task and written at its end.
Outputs_AIF2
AIF2_nOutW1_a
16 bits
Byte
1
AIF2_bFDO0_b
16 binary
...
signals
AIF2_bFDO15_b Byte
2
AIF2_nOutW2_a
16 bits
Byte
3
AIF2_bFDO16_b
16 binary
...
signals
AIF2_bFDO31_b Byte
4 X1
16 bits
Low Word Byte
AIF2_dnOutD1_p 5
16 bits
High Word
Byte
6
AIF2_nOutW3_a
16 bits
Byte
7
AIF2_nOutW4_a
16 bits
Byte
8
ECSXA204
System variables
Variable Data Signal Address Display Display Notes
type type code format
AIF2_nOutW1_a %QW42.0
AIF2_nOutW2_a %QW42.1
Integer analog ˘ ˘
AIF2_nOutW3_a %QW42.2
AIF2_nOutW4_a %QW42.3
AIF2_bFDO0_b %QX42.0.0
... ...
AIF2_bFDO15_b %QX42.0.15
Bool binary ˘ ˘
AIF2_bFDO16_b %QX42.1.0
... ...
AIF2_bFDO31_b %QX42.1.15
Double
AIF2_dnOutD1_p position %QD42.0 ˘ ˘
Integer
User data
The first 4 bytes of the 8 bytes user data to be sent can be written via several variables of
different data types. According to requirements, data can therefore be transferred from
the PLC program as
ƒ binary information (1 bit)
ƒ status word/quasi−analog value (16 bit)
ƒ angle information (32 bit)
Note!
Avoid simultaneous overwriting via different variable types to ensure data
consistency.
Thus, bytes 1 and 2 should only be overwritten by
ƒ variable AIF2_dnOutD1_p,
ƒ variable AIF2_nOutW1_a or
ƒ variables AIF2_bFDO0_b ... AIF2_bFDO15_b.
7, 8
AIF2_nOutW4_a
13.4.1 Inputs_AIF3
This SB is used as an interface for input signals (e.g. setpoints/actual values) to the
attached fieldbus module (e.g. INTERBUS, PROFIBUS−DP).
The process image is
ƒ created in the cyclic task by means of a fixed set time interval of 10 ms.
ƒ created in an interval task within the time set for this task.
ƒ read at the beginning of the task and written at its end.
Inputs_AIF3
AIF3_nInW1_a
16 Bit
Byte
1
AIF3_bInB0_b
16 binary
...
signals
Byte AIF3_bInB15_b
2
AIF3_nInW2_a
16 Bit
Byte
3
AIF3_bInB16_b
16 binary
...
signals
Byte AIF3_bInB31_b
X1 4
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
ECSXA205
System variables
Variable Data Signal Address Display Display Notes
type type code format
AIF3_nInW1_a %IW43.0
AIF3_nInW2_a %IW43.1
Integer analog ˘ ˘
AIF3_nInW3_a %IW43.2
AIF3_nInW4_a %IW43.3
AIF3_bInB0_b %IX43.0.0
... ...
AIF3_bInB15_b %IX43.0.15
Bool binary ˘ ˘
AIF3_bInB16_b %IX43.1.0
... ...
AIF3_bInB31_b %IX43.1.15
Double
AIF3_dnInD1_p position %ID43.0 ˘ ˘
Integer
User data
The first 4 bytes from the 8 bytes of received user data are assigned to several variables of
different data types. According to requirements, they thus can be evaluated by the PLC
program as:
ƒ binary information (1 bit)
ƒ quasi−analog value (16 bit)
ƒ angle information (32 bit)
Byte Variable (1 bit) Variable (16 bit) Variable (32 bit)
1, 2 AIF3_bInB0_b
... AIF3_nInW1_a
AIF3_bInB15_b
AIF3_dnInD1_p
3, 4 AIF3_bInB16_b
... AIF3_nInW2_a
AIF3_bInB31_b
5, 6
AIF3_nInW3_a
7, 8
AIF3_nInW4_a
13.4.2 Outputs_AIF3
This SB is used as an interface for output signals (e.g. setpoints/actual values) to attached
fieldbus modules (e.g. INTERBUS, PROFIBUS−DP).
The process image is
ƒ created in the cyclic task by means of a fixed set time interval of 10 ms.
ƒ created in an interval task within the time set for this task.
ƒ read at the beginning of the task and written at its end.
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 X1
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
ECSXA206
System variables
Variable Data Signal Address Display Display Notes
type type code format
AIF3_nOutW1_a %QW43.0
AIF3_nOutW2_a %QW43.1
Integer analog ˘ ˘
AIF3_nOutW3_a %QW43.2
AIF3_nOutW4_a %QW43.3
AIF3_bFDO0_b %QX43.0.0
... ...
AIF3_bFDO15_b %QX43.0.15
BOOL binary ˘ ˘
AIF3_bFDO16_b %QX43.1.0
... ...
AIF3_bFDO31_b %QX43.1.15
Double
AIF3_dnOutD1_p position %QD43.0 ˘ ˘
integer
User data
The first 4 bytes of the 8 bytes user data to be sent can be written via several variables of
different data types. According to requirements, data can therefore be transferred from
the PLC program as
ƒ binary information (1 bit)
ƒ status word/quasi−analog value (16 bit)
ƒ angle information (32 bit)
Note!
Avoid simultaneous overwriting via different variable types to ensure data
consistency.
Thus, bytes 1 and 2 should only be overwritten by
ƒ variable AIF3_dnOutD1_p,
ƒ variable AIF3_nOutW1_a or
ƒ variables AIF3_bFDO0_b ... AIF3_bFDO15_b.
7, 8
AIF3_nOutW4_a
This SB represents the interface for analog differential signals via terminal X6/AI+, AI− as
a setpoint input or an actual value input.
Inputs_ANALOG1
X6 C0034 C0026/1
AI- AIN1_nIn_a
AI+
AG C0400
C0027/1 AIN1_bError_b
ECSXA221
Stop!
Do not plug the jumper on 3−4! The axis module cannot be initialised like this.
System variables
Variable Data Signal Address Display Display Comments
type type code format
AIN1_nIn_a integer analog %IW11.0 C0400 dec [%] Analog input 1
Only when C0034 = 1:
AIN1_bError_b BOOL binary %IX11.1.0 ˘ ˘
TRUE, if ½I½ < 2 mA
Codes
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0026 Used for relative analog signals 251
1 FCODE (offset) 0.0 −199.99 {0.01 %} 199.99 325
2 FCODE (offset) 0.0
C0027 Used for relative analog signals 251
1 FCODE (gain) 100.0 −199.99 {0.01 %} 199.99 325
2 FCODE (gain) 100.0
C0034 Mst current 0 Selection: master 251
voltage/master current on
analog input (AIN1_nIn_a)
0 −10 ... + 10 V Master voltage
1 +4 ... +20 mA
Master current
2 −20 ... +20 mA
C0400 DIS: AnalogIn Signal at the analog input
Read only
−199.99 {0.01 %} 199.99
C0598 MONIT SD5 3 Configuration of master current 251
monitoring at X6 < 2 mA
"MastISourceDef"
0 TRIP
2 Warning
3 Off
This SB serves to
ƒ activate a reset node to e.g. accept changes in the baud rate and addressing.
ƒ process Communication Error, Bus Off State and other states in the PLC program.
ƒ influence the instant of transmission of CAN2_Out and CAN3_Out.
In addition, the system bus communication can be monitored.
Note!
ƒ The process image for this SB is created in the course of a fixed system task
(interval: 1 ms).
ƒ Even if this SB has not been assigned to the control configuration, a reset
node can be carried out via C0358.
CAN_Management
CAN_bCe1CommErrCanIn1_b
CAN1_IN communication error
CAN_bCe2CommErrCanIn2_b
CAN2_IN communication error
CAN_bCe3CommErrCanIn3_b
CAN3_IN communication error
CAN_bCe4BusOffState_b
CAN bus off state
CAN_bFreePdoTxBufferOverflow_b
Free Pdo Tx buffer overflow
CAN_bFreePdoRxOverflow_b
Free Pdo Rx overflow
CAN_bOverrunLifeTime_b
Overrun life time
CAN_byNodeAddress
CAN node address (C0350)
CAN_byState
CAN state (C0359)
C0358
1 CAN_ResetNode
CAN_bResetNode_b
CAN_bTxCan2Synchronized_b
CAN2_OUT CAN_SYNC
CAN_bTxCan3Synchronized_b
CAN3_OUT CAN_SYNC
13.6.1 Inputs_CAN_Management
System variables
Variable Data Signal Address Display Display Comments
type type code format
CAN_bCe1CommErrCanI %IX101.0.0 CAN1_IN
n1_b communication error
CAN_bCe2CommErrCanI %IX101.0.1 CAN2_IN
n1_b communication error
CAN_bCe3CommErrCanI %IX101.0.2 CAN3_IN
n1_b communication error
CAN_bCe4BusOffState_ %IX101.0.3 CAN bus "Off State"
b BOOL binary ˘ ˘ detected (CAN bus
interface X4)
CAN_bFreePdoTxBuffer %IX101.0.4 Overflow of transmit
Overflow_b request memory
CAN_bFreePdoRxOverflo %IX101.0.5 Overflow of receipt
w_b memory
CAN_bOverrunLifeTime_ %IX101.0.6 "Node Life Time"
b exceeded
CAN_byNodeAddress %IB101.2 Node address
C0350 ˘
(CAN bus interface X4)
Byte ˘
CAN_byState %IB101.3 CAN bus status
C0359 ˘
(CAN bus interface X4)
13.6.2 Outputs_CAN_Management
System variables
Variable Data Signal Address Display Display Comments
type type code format
CAN_bResetNode_b %QX101.0.0 Carry out reset node
(CAN bus interface X4)
CAN_bTxCan2Synchroni %QX101.0.1 Transmit CAN2_OUT
zed_b BOOL binary ˘ ˘ with Sync telegram.
CAN_bTxCan3Synchroni %QX101.0.2 Transmit CAN3_OUT
zed_b with sync telegram.
Note!
If reset node is executed via GDC, communication will be interrupted. You
therefore have to log in again manually or find the devices connected to the
bus once again.
Note!
Detailed information concerning the CAN bus synchronisation: 257
This SB serves to synchronise the internal time base of the controller with the instant of
reception of the sync telegram or a terminal signal. Thereby the start of cyclic and
time−controlled internal processes of all controllers involved in the synchronisation (e.g.
data transfer from tasks to the DCTRL function block) is effected synchronously.
CAN_Synchronization C0367
C0368
CAN_bResetSyncForInterpolartor_b CAN_bSyncInsideWindow_b
Off 0 Sync CAN_bSyncForInterpolator_b
Control CAN_nSyncDeviation
Sync telegram 1
Sync signal 2
X6/DI1
C1120
C1121 C0363
C1122 C0366
C1123 C0369
System variables
Variable Data Signal Address Display Display Comments
type type code format
CAN_bSyncInsideWindo BOOL binary %IX102.0.0 ˘ ˘ TRUE:
w_b Sync telegram/signal
within the time slot
(C1123)
FALSE:
l Quit synchronicity
l no sync
telegram/signal
l Time slot (C1123) too
small
CAN_bSyncForInterpolat BOOL binary %IX102.0.1 ˘ ˘ TRUE:
or_b Sync telegram/signal
detected
CAN_nSyncDeviation integer %IX102.1 ˘ ˘ current sync deviation
CAN_bResetSyncForInter BOOL binary %QX102.0.0 ˘ ˘ TRUE:
polator_b Reset
CAN_bSyncForInterpolat
or_b
Operating mode
The operating mode (sync signal source) is set via C1120.
Note!
When synchronising via terminal, ensure that in addition to the
SB CAN_Synchronization the SB DIGITAL_IO must also be integrated in the
control configuration of the "Drive PLC Developer Studio" (DDS).
Synchronisation time
The synchronisation process requires an additional period of time after the mains
connection and the initialisation phase.
The synchronisation time depends on
ƒ the baud rate of the CAN bus,
ƒ the starting time (arrival of the first sync signal),
ƒ the time interval between the sync signals,
ƒ the sync correction factor (C0363),
ƒ the operating mode (C1120).
The synchronisation time can be set via the code C0369.
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0369 SyNc Tx time 0 CAN sync transmission cycle for 258
CAN bus interface X4
A sync telegram with the
identifier of C0368 is sent with
the cycle time set.
ECSxP: The setting is effected
automatically depending on
C4062!
0 {1 ms} 65000 0 = switched off
Synchronisation cycle
For the purpose of synchronisation the master sends a periodic sync signal.
The controllers receive the sync signal and compare the time between two LOW−HIGH
edges of the signal with the preselected cycle time (C1121).
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C1121 Sync cycle 2 Synchronisation cycle 258
1 {1 ms} 13
1 {1} 256
Phase shift
The synchronisation phase (C1122) defines the period of time of the offset by which the
start of the controller−internal cycle lags behind the sync signal received.
Note!
Always set the synchronisation phase greater than the maximum possible
temporal jitter* of the sync signals received!
* Jitters are phase shiftings and hence periodic changes of signal frequencies.
They are shiftings of fixed instants of a digital signal (e.g. the transition instant
from one signal amplitude to another). Jitters especially occur at high
frequencies and may cause data losses.
Sync-signal
Fig. 13−12 "Time slot" for the LOW−HIGH edges of the sync signal
Note!
A jitter (
259) up to ±200 ms on the LOW−HIGH edges of the sync signal is
permissible. The amount of the jitter has an impact on the parameterisation of
the "time slot".
The CAN bus transmits the sync signal and the process signals.
Application examples:
ƒ Selection of cyclic, synchronised position setpoint information for multi−axis
applications via the CAN bus
Observe the following sequence in the commissioning phase:
Device Step Description
All devices 1. Commission the controller and the CAN bus.
2. Inhibit the controller. 120
l Press key <F9> in the GDC.
Slaves 3. Connect "CANSync−InsideWindow" with
digital output.
4. C1120 = 1 Active synchronisation by sync telegram via
CAN bus.
5. C0366 = 1 (Lenze setting) CAN sync reaction:
l Slaves respond to sync telegram.
Master 6. Define the telegram (identifier) sequence:
A . Send new setpoint to all slaves.
B Send sync telegram.
C Receive response of all slaves.
7. Start communication/send sync telegrams.
Slaves 8. Read C0362 of the master. Retrieve cycle time of the sync telegram from
the master.
9. Set C1121 according to C0362 of the master. Adjust the time distance of the sync
telegrams to be received to the cycle time of
the master.
10. Set C1123. Set optimum size for the "time slot".
l If the sync signal "jitters" heavily ( 259),
increase "time slot".
Slaves 11. Enable the controller via the signal Monitoring of the synchronisation:
"CANSync−InsideWindow" applied to the l If "CANSync−InsideWindow" = TRUE,
digital output. enable the controller.
The transmission paths for the sync signal and the process signals are separated.
ƒ The process signals are connected via a freely selectable input channel (e.g. AIF
interface, digital frequency input).
ƒ The sync signal is injected via the digital input X6/DI1.
Application examples:
ƒ Entry of cyclic, synchronised position setpoint information for multi−axis
applications via other bus systems (e.g. INTERBUS).
ƒ Synchronisation of the internal processing cycles to superimposed process controls.
Note!
When synchronising via terminal, ensure that in addition to the
SB CAN_Synchronization the SB DIGITAL_IO must also be integrated in the
control configuration of the "Drive PLC Developer Studio" (DDS).
Please observe the following sequence for commissioning:
Site Step Description
All devices 1. Commission the controller and the CAN bus.
2. Inhibit the controller. 120
l Press the <F9> key in GDC.
Slaves 3. Connect "CANSync−InsideWindow" with
digital output.
4. Connect the sync signal of the master to
terminal X6/DI1.
Slaves 5. C1120 = 2 Synchronisation through sync signal via
terminal X6/DI1 (DigIn_bIn1_b) is active.
Slaves 6. C0366 = 1 (Lenze setting) CAN sync reaction:
l Slaves respond to sync telegram.
Master 7. Start communication/send sync signals.
Slaves 8. Read C0362 of the master. Retrieve cycle time of the sync signal from
the master.
9. Set C1121 according to C0362 of the master. Adjust the time distance of the sync signal to
be received to the cycle time of the master.
10. Set C1123. Set optimum size for the "time slot".
l If the sync signal "jitters" heavily ( 259),
increase "time slot".
11. Enable the controller via the signal Synchronisation monitoring:
"CANSync−InsideWindow" applied to the l If "CANSync−InsideWindow" = TRUE,
digital output. enable the controller.
This SB serves to transmit cyclic process data via the CAN bus interface X4.
A sync telegram which must be generated from another node is required for transmission.
ƒ The transmission mode (event or time−controlled) is set via C0356.
ƒ The monitoring time is set via C0357 (Lenze setting: 3000 ms).
CAN1_IO
CAN1_wDctrlStat WORD CAN1_wDctrlCtrl
WORD
State C0136/2
data
output CAN1_bCtrlQuickstop_b
Bit: 3
CAN1_bCtrlDisable_b
8
3
CAN1_bCtrlCInhibit_b
3
9
CAN1_bCtrlTripSet_b
10
CAN1_bCtrlTripReset_b
11
CAN1_bCtrlB0_b
0
CAN1_bCtrlB1_b
1
CAN1_bCtrlB2_b
16 x 2
CAN1_bCtrlB4_b
Byte Byte BOOL 4
CAN1_bCtrlB5_b
5
1 1 6
CAN1_bCtrlB6_b
CAN1_bCtrlB7_b
7
2 2 12
CAN1_bCtrlB12_b
CAN1_bCtrlB13_b
13
CAN1_bCtrlB14_b
3 3 14
CAN1_bCtrlB15_b
15
X4 X4
Codes
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0136 Control words
Hexadecimal value is bit−coded.
Read only
1 CTRLWORD 0 {hex} FFFF Control word C0135
2 CTRLWORD CAN control word
3 CTRLWORD AIF control word
C0356 CAN time settings for CAN bus 168
interface X4
1 CAN times 3000 0 {1 ms} 65000 CAN boot−up time:
Delay time after mains
connection for initialisation by
the master.
2 CAN times 0 CAN2_OUT/CAN3_OUT cycle
times: Factor for the task time to
send process data telegram.
3 CAN times 0 0 = Event−controlled
transmission
4 CAN times 20 CAN2_OUT/CAN3_OUT delay
time
When the NMT state
"Operational" has been reached
(after "Pre−operational"), the
delay time ˜CANdelay˜ is started.
After the delay time has expired,
the PDOs CAN2_OUT and
CAN3_OUT are sent for the first
time.
C0357 Monitoring time for CAN1...3_IN 191
(CAN bus interface X4)
1 CE monit time 3000 1 {1 ms} 65000 CE1 monitoring time
2 CE monit time 3000 CE2 monitoring time
3 CE monit time 3000 CE3 monitoring time
C0863 Digital process data input words 415
for CAN bus interface X4
0000 {hex} FFFF Hexadecimal value is bit−coded.
Read only
1 CAN IN bits Bit 0 ... Bit15 CAN1_IN: Process data input
word 1
2 CAN IN bits Bit 16 ... Bit 31 CAN1_IN: Process data input
word 2
3 CAN IN bits Bit 0 ... Bit15 CAN2_IN: Process data input
word 1
4 CAN IN bits Bit 16 ... Bit 31 CAN2_IN: Process data input
word 2
5 CAN IN bits Bit 0 ... Bit15 CAN3_IN: Process data input
word 1
6 CAN IN bits Bit 16 ... Bit 31 CAN3_IN: Process data input
word 2
13.8.1 Inputs_CAN1
System variables
Variable Data Signal Address Display Display Comments
type type code format
CAN1_wDctrlCtrl Integer analog %IW31.0 C0136/2 dec [%]
CAN1_bInB0_b %IX31.2.0 Display code for binary
... Bool binary ... C0863/1 hex signals of
CAN1_nInW1_a
CAN1_bInB15_b %IX31.2.15
CAN1_nInW1_a Integer analog %IW31.1 C0866/1 dec [%]
CAN1_bInB16_b %IX31.3.0 Display code for binary
... Bool binary ... C0863/2 hex signals of
CAN1_nInW2_a
CAN1_bInB31_b %IX31.3.15
CAN1_nInW2_a Integer analog %IW31.2 C0866/2 dec [%]
CAN1_nInW3_a Integer analog %IW31.3 C0866/3 dec [%]
CAN1_dnInD1_p Double position %ID31.1 C0867/1 dec [inc]
integer
User data
The 8 bytes of received user data are assigned to several variables of different data types.
According to requirements, they can thus be evaluated by the PLC program as:
ƒ binary information (1 bit)
ƒ control word/quasi−analog value (16 bit)
ƒ angle information (32 bit)
Byte Variable (1 bit) Variable (16 bit) Variable (32 bit)
1, 2 CAN1_bCtrlB0_b
CAN1_bCtrlB1_b
CAN1_bCtrlB2_b
CAN1_bCtrlQuickstop_b
CAN1_bCtrlB4_b
CAN1_bCtrlB5_b
CAN1_bCtrlB6_b
CAN1_bCtrlB7_b
CAN1_wDctrlCtrl
CAN1_bCtrlDisable_b
CAN1_bCtrlCInhibit_b
CAN1_bCtrlTripSet_b
CAN1_bCtrlTripReset_b
CAN1_bCtrlB12_b
CAN1_bCtrlB13_b
CAN1_bCtrlB14_b
CAN1_bCtrlB15_b
3, 4 CAN1_nInW1_a
5, 6 CAN1_bInB0_b
... CAN1_nInW2_a CAN1_dnInD1_p
CAN1_bInB15_b
7, 8 CAN1_bInB16_b
... CAN1_nInW3_a
CAN1_bInB31_b
13.8.2 Outputs_CAN1
System variables
Variable Data Signal Address Display Display Comments
type type code format
CAN1_wDctrlStat Integer analog %QW31.0 ˘ ˘
CAN1_bFDO0_b %QX31.2.0
... Bool binary ... ˘ hex
CAN1_bFDO15_b %QX31.2.15
CAN1_nOutW1_a Integer analog %QW31.1 C0868/1 dec [%]
CAN1_bFDO16_b %QX31.3.0
... Bool binary ... ˘ hex
CAN1_bFDO31_b %QX31.3.15
CAN1_nOutW2_a Integer analog %QW31.2 C0868/2 dec [%]
CAN1_nOutW3_a Integer analog %QW31.3 C0868/3 dec [%]
CAN1_dnOutD1_p Double position %QD31.1 C0869/1 dec [inc]
integer
User data
The 8 bytes of user data to be sent can be written via several variables of different data
types. According to requirements, data can therefore be transferred from the PLC program
as
ƒ binary information (1 bit)
ƒ status word/quasi−analog value (16 bit)
ƒ angle information (32 bit)
Byte Variable (1 bit) Variable (16 bit) Variable (32 bit)
1, 2 CAN1_wDctrlStat
3, 4 CAN1_nOutW1_a
5, 6 CAN1_bFDO0_b
... CAN1_nOutW2_a
CAN1_bFDO15_b
CAN1_dnOutD1_p
7, 8 CAN1_bFDO16_b
... CAN1_nOutW3_a
CAN1_bFDO31_b
Note!
Avoid simultaneous overwriting via different variable types to ensure data
consistency.
E.g., for overwriting bytes 5 and 6, either only use the variable
CAN1_dnOutD1_p, only the variable CAN1_nOutW2_a or only the variables
CAN1_bFDO0_b ... CAN1_bFDO15_b!
This SB serves to transmit event or time−controlled process data via the CAN bus interface
X14.
A sync telegram is not required.
ƒ The transmission mode (event or time−controlled) is set via C0356.
ƒ The monitoring time is set via C0357 (Lenze setting: 3000 ms).
CAN2_IO
Byte Byte
1 1
CAN2_nOutW1_a WORD WORD CAN2_nInW1_a
C0868/4 C0866/4
2 2
CAN2_nOutW2_a WORD WORD CAN2_nInW2_a
C0868/5 C0866/5
8 8
X4 X4
Codes
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0356 CAN time settings for CAN bus 168
interface X4
1 CAN times 3000 0 {1 ms} 65000 CAN boot−up time:
Delay time after mains
connection for initialisation by
the master.
2 CAN times 0 CAN2_OUT/CAN3_OUT cycle
times: Factor for the task time to
send process data telegram.
3 CAN times 0 0 = Event−controlled
transmission
4 CAN times 20 CAN2_OUT/CAN3_OUT delay
time
When the NMT state
"Operational" has been reached
(after "Pre−operational"), the
delay time ˜CANdelay˜ is started.
After the delay time has expired,
the PDOs CAN2_OUT and
CAN3_OUT are sent for the first
time.
C0357 Monitoring time for CAN1...3_IN 191
(CAN bus interface X4)
1 CE monit time 3000 1 {1 ms} 65000 CE1 monitoring time
2 CE monit time 3000 CE2 monitoring time
3 CE monit time 3000 CE3 monitoring time
C0863 Digital process data input words 415
for CAN bus interface X4
0000 {hex} FFFF Hexadecimal value is bit−coded.
Read only
1 CAN IN bits Bit 0 ... Bit15 CAN1_IN: Process data input
word 1
2 CAN IN bits Bit 16 ... Bit 31 CAN1_IN: Process data input
word 2
3 CAN IN bits Bit 0 ... Bit15 CAN2_IN: Process data input
word 1
4 CAN IN bits Bit 16 ... Bit 31 CAN2_IN: Process data input
word 2
5 CAN IN bits Bit 0 ... Bit15 CAN3_IN: Process data input
word 1
6 CAN IN bits Bit 16 ... Bit 31 CAN3_IN: Process data input
word 2
13.9.1 Inputs_CAN2
System variables
Variable Data Signal Address Display Display Comments
type type code format
CAN2_nInW1_a %IW32.0 C0866/4
integer analog dec [%]
CAN2_nInW2_a %IW32.1 C0866/5
CAN2_bInB0_b %IX32.0.0
... ... C0863/3
CAN2_bInB15_b %IX32.0.0
BOOL binary hex
CAN2_bInB16_b %IX32.1.0
... ... C0863/4
CAN2_bInB31_b %IX32.1.15
CAN2_dnInD1_p double position %ID32.0 C0867/2 dec [inc]
integer
CAN2_nInW3_a %IW32.2 C0866/6
integer analog dec [%]
CAN2_nInW4_a %IW32.3 C0866/7
User data
The first 4 bytes from the 8 bytes of received user data are assigned to several variables of
different data types. According to requirements, they thus can be evaluated by the PLC
program as:
ƒ binary information (1 bit)
ƒ quasi−analog value (16 bit)
ƒ angle information (32 bit)
Byte Variable (1 bit) Variable (16 bit) Variable (32 bit)
1, 2 CAN2_bInB0_b
... CAN2_nInW1_a
CAN2_bInB15_b
CAN2_dnInD1_p
3, 4 CAN2_bInB16_b
... CAN2_nInW2_a
CAN2_bInB31_b
5, 6
CAN2_nInW3_a
7, 8
CAN2_nInW4_a
13.9.2 Outputs_CAN2
System variables
Variable Data Signal Address Display Display Comments
type type code format
CAN2_nOutW1_a %QW32.0 C0868/4
integer analog dec [%]
CAN2_nOutW2_a %QW32.1 C0868/5
CAN2_bFDO0_b %QX32.0.0
... ...
CAN2_bFDO15_b %QX32.0.15 Display code in hex
BOOL binary C0151/2 hex
CAN2_bFDO16_b %QX32.1.0 as double word
... ...
CAN2_bFDO31_b %QX32.1.15
CAN2_dnOutD1_p double position %QD32.0 C0869/2 dec [inc]
integer
CAN2_nOutW3_a %QW32.2 C0868/6
integer analog dec [%]
CAN2_nOutW4_a %QW32.3 C0868/7
User data
The first 4 bytes of the 8 bytes user data to be sent can be written via several variables of
different data types. According to requirements, data can therefore be transferred from
the PLC program as
ƒ binary information (1 bit)
ƒ status word/quasi−analog value (16 bit)
ƒ angle information (32 bit)
Byte Variable (1 bit) Variable (16 bit) Variable (32 bit)
1, 2 CAN2_bFDO0_b
... CAN2_nOutW1_a
CAN2_bFDO15_b
CAN2_dnOutD1_p
3, 4 CAN2_bFDO16_b
... CAN2_nOutW2_a
CAN2_bFDO31_b
5, 6
CAN2_nOutW3_a
7, 8
CAN2_nOutW4_a
Note!
Avoid simultaneous overwriting via different variable types to ensure data
consistency.
If you want to describe e.g. the bytes 1 and 2, either use only the variable
CAN2_dnOutD1_p, only the variable CAN2_nOutW1_a or only the variables
CAN2_bFDO0_b ... CAN2_bFDO15_b!
This SB serves to transmit event or time−controlled process data via the CAN bus interface
X14.
A sync telegram is not required.
ƒ The transmission mode (event or time−controlled) is set via C0356.
ƒ The monitoring time is set via C0357 (Lenze setting: 3000 ms).
CAN3_IO
Byte Byte
1 1
CAN3_nOutW1_a WORD WORD CAN3_nInW1_a
C0868/8 C0866/8
2 2
CAN3_nOutW2_a WORD WORD CAN3_nInW2_a
C0868/9 C0866/9
8 8
X4 X4
Codes
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0356 CAN time settings for CAN bus 168
interface X4
1 CAN times 3000 0 {1 ms} 65000 CAN boot−up time:
Delay time after mains
connection for initialisation by
the master.
2 CAN times 0 CAN2_OUT/CAN3_OUT cycle
times: Factor for the task time to
send process data telegram.
3 CAN times 0 0 = Event−controlled
transmission
4 CAN times 20 CAN2_OUT/CAN3_OUT delay
time
When the NMT state
"Operational" has been reached
(after "Pre−operational"), the
delay time ˜CANdelay˜ is started.
After the delay time has expired,
the PDOs CAN2_OUT and
CAN3_OUT are sent for the first
time.
C0357 Monitoring time for CAN1...3_IN 191
(CAN bus interface X4)
1 CE monit time 3000 1 {1 ms} 65000 CE1 monitoring time
2 CE monit time 3000 CE2 monitoring time
3 CE monit time 3000 CE3 monitoring time
C0863 Digital process data input words 415
for CAN bus interface X4
0000 {hex} FFFF Hexadecimal value is bit−coded.
Read only
1 CAN IN bits Bit 0 ... Bit15 CAN1_IN: Process data input
word 1
2 CAN IN bits Bit 16 ... Bit 31 CAN1_IN: Process data input
word 2
3 CAN IN bits Bit 0 ... Bit15 CAN2_IN: Process data input
word 1
4 CAN IN bits Bit 16 ... Bit 31 CAN2_IN: Process data input
word 2
5 CAN IN bits Bit 0 ... Bit15 CAN3_IN: Process data input
word 1
6 CAN IN bits Bit 16 ... Bit 31 CAN3_IN: Process data input
word 2
13.10.1 Inputs_CAN3
System variables
Variable Data Signal Address Display Display Comments
type type code format
CAN3_nInW1_a %IW33.0 C0866/8
integer analog dec [%]
CAN3_nInW2_a %IW33.1 C0866/9
CAN3_bInB0_b %IX33.0.0
... ... C0863/5
CAN3_bInB15_b %IX33.0.15
BOOL binary hex
CAN3_bInB16_b %IX33.1.0
... ... C0863/6
CAN3_bInB31_b %IX33.1.15
CAN3_dnInD1_p double position %ID33.0 C0867/3 dec [inc]
integer
CAN3_nInW3_a %IW33.2 C0866/10
integer analog dec [%]
CAN3_nInW4_a %IW33.3 C0866/11
User data
The first 4 bytes from the 8 bytes of received user data are assigned to several variables of
different data types. According to requirements, they thus can be evaluated by the PLC
program as:
ƒ binary information (1 bit)
ƒ quasi−analog value (16 bit)
ƒ angle information (32 bit)
Byte Variable (1 bit) Variable (16 bit) Variable (32 bit)
1, 2 CAN3_bInB0_b
... CAN3_nInW1_a
CAN3_bInB15_b
CAN3_dnInD1_p
3, 4 CAN3_bInB16_b
... CAN3_nInW2_a
CAN3_bInB31_b
5, 6
CAN3_nInW3_a
7, 8
CAN3_nInW4_a
13.10.2 Outputs_CAN3
System variables
Variable Data Signal Address Display Display Comments
type type code format
CAN3_nOutW1_a %QW33.0 C0868/8
integer analog dec [%]
CAN3_nOutW2_a %QW33.1 C0868/9
CAN3_bFDO0_b %QX33.0.0
... ...
CAN3_bFDO15_b %QX33.0.15 Display code in hex
BOOL binary C0151/3 hex
CAN3_bFDO16_b %QX33.1.0 as double word
... ...
CAN3_bFDO31_b %QX33.1.15
CAN3_dnOutD1_p double position %QD33.0 C0869/3 dec [inc]
integer
CAN3_nOutW3_a %QW33.2 C0868/10
integer analog dec [%]
CAN3_nOutW4_a %QW33.3 C0868/11
User data
The first 4 bytes of the 8 bytes user data to be sent can be written via several variables of
different data types. According to requirements, data can therefore be transferred from
the PLC program as
ƒ binary information (1 bit)
ƒ status word/quasi−analog value (16 bit)
ƒ angle information (32 bit)
Byte Variable (1 bit) Variable (16 bit) Variable (32 bit)
1, 2 CAN3_bFDO0_b
... CAN3_nOutW1_a
CAN3_bFDO15_b
CAN3_dnOutD1_p
3, 4 CAN3_bFDO16_b
... CAN3_nOutW2_a
CAN3_bFDO31_b
5, 6
CAN3_nOutW3_a
7, 8
CAN3_nOutW4_a
Note!
Avoid simultaneous overwriting via different varianle types to ensure data
consistency.
If you want to describe e.g. the bytes 1 and 2, either use only the variable
CAN3_dnOutD1_p, only the variable CAN3_nOutW1_a or only the variables
CAN3_bFDO0_b ... CAN3_bFDO15_b!
This SB serves to
ƒ activate a reset node to e.g. accept changes in the baud rate and addressing.
ƒ process Communication Error, Bus Off State and other states in the PLC program.
ƒ influence the instant of transmission of CAN2aux_OUT and CAN3aux_OUT.
In addition, the system bus communication can be monitored.
Note!
ƒ The process image for this SB is created in the course of a fixed system task
(interval: 1 ms).
ƒ Even if this SB has not been assigned to the control configuration, a reset
node can be carried out via C2458.
CANaux_Management
CANaux1_IN CANaux_bCe11CommErrCanIn1_b
Communication Error
CANaux2_IN CANaux_bCe12CommErrCanIn2_b
Communication Error
CANaux3_IN CANaux_bCe13CommErrCanIn3_b
Communication Error
CANaux CANaux_bCe14BusOffState_b
Bus Off State
C2458
1 CANaux_ResetNode
CANaux_bResetNode_b
CANaux_bTxCan2Synchronized_b
CANaux2_OUT CAN_SYNC
CANaux_bTxCan3Synchronized_b
CANaux3_OUT CAN_SYNC
13.11.1 Inputs_CANaux_Management
System variables
Variable Data Signal Address Display Display Comments
type type code format
CANaux_bCe11Comm−E %IX111.0.0 CANaux1_IN
rrCanIn1_b communication error
CANaux_bCe12Comm−E %IX111.0.1 CANaux2_IN
rrCanIn2_b communication error
CANaux_bCe13Comm−E BOOL binary %IX111.0.2 ˘ ˘ CANaux3_IN
rrCanIn3_b communication error
CANaux_bCe14BusOffSt %IX111.0.3 CAN bus "Off State"
ate_b detected (CAN bus
interface X14)
CANaux_byNode−Addres %IB111.2 Node address
C2450 ˘
s (CAN bus interface X14)
Byte ˘
CANaux_byState %IB111.3 CAN bus status
C2459 ˘
(CAN bus interface X14)
13.11.2 Outputs_CANaux_Management
System variables
Variable Data Signal Address Display Display Comments
type type code format
CANaux_bResetNode_b %QX111.0.0 Carry out reset node
(CAN bus interface X14)
CANaux_bTxCan2Synchr %QX111.0.1 Transmit CANaux2_OUT
onized_b BOOL binary ˘ ˘ with sync telegram.
CANaux_bTxCan3Synchr %QX111.0.2 Transmit CANaux3_OUT
onized_b with sync telegram.
Note!
If reset node is executed via GDC, communication will be interrupted. You
therefore have to log in again manually or find the devices connected to the
bus once again.
This SB serves to transmit cyclic process data via the CAN bus interface X14.
A sync telegram which must be generated from another node is required for transmission.
ƒ The transmission mode (event or time−controlled) is set via C2456.
ƒ The monitoring time is set via C2457 (Lenze setting: 3000 ms).
CANaux1_IO
Byte Byte
CANaux1_nOutW0_a CANaux1_nInW0_a
WORD 1 1 WORD
CANaux1_bFDO48...63_b 7 7 CANaux1_bInB48...63_b
16 x BOOL 16 x BOOL
CANaux1_dnOutD1_p L 8 8 L CANaux1_dnInD1_p
DINT H H
DINT
X14 X14
Codes
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C2456 CAN time settings for CAN bus 168
interface X14 (CAN−AUX)
1 CANa times 3000 0 {1 ms} 65000 CAN−AUX boot−up time
2 CANa times 0 CANaux2_OUT/CANaux3_OUT
cycle times: Factor for the task
time to send process data
3 CANa times 0 telegram.
0 = Event−controlled
transmission
4 CANa times 20 CAN−AUX delay time:
When the NMT state
"Operational" has been reached
(after "Pre−operational"), the
delay time ˜CANdelay˜ is started.
After the delay time has expired,
the PDOs CANaux2_OUT and
CANaux3_OUT are sent for the
first time.
C2457 Monitoring time for 191
CANaux1...3_IN (CAN bus
interface X14)
1 CE monit time 3000 1 {1 ms} 65000 CE11 monitoring time
2 CE monit time 3000 CE12 monitoring time
3 CE monit time 3000 CE13 monitoring time
C2491 Process data input words
(hexadecimal) for CAN bus
interface X14
Hexadecimal value is bit−coded.
Read only
1 CANa IN bits 0 {1 hex} FFFF CANaux1_IN (bit 0 ... 15)
2 CANa IN bits CANaux1_IN (bit 16 ... 31)
3 CANa IN bits CANaux2_IN (bit 0 ... 15)
4 CANa IN bits CANaux2_IN (bit 16 ... 31)
5 CANa IN bits CANaux3_IN (bit 0 ... 15)
6 CANa IN bits CANaux3_IN (bit 16 ... 31)
13.12.1 Inputs_CANaux1
System variables
Variable Data Signal Address Display Display Comments
type type code format
CANaux1_nInW0_a integer analog %IW34.0 ˘ ˘
CANaux1_bInB0_b %IX34.0.0
... BOOL binary ... C2491/1 hex
CANaux1_bInB15_b %IX34.0.15
CANaux1_nInW1_a integer analog %IW34.1 C2492/1 dec [%]
CANaux1_bInB16_b %IX34.1.0
... BOOL binary ... C2491/2 hex
CANaux1_bInB31_b %IX34.1.15
CANaux1_nInW2_a integer analog %IW34.2 C2492/2 dec [%]
CANaux1_bInB32_b %IX34.2.0
... BOOL binary ... ˘ ˘
CANaux1_bInB47_b %IX34.2.15
CANaux1_nInW3_a integer analog %IW34.3 C2492/3 dec [%]
CANaux1_bInB48_b %IX34.3.0
... BOOL binary ... ˘ ˘
CANaux1_bInB63_b %IX34.3.15
CANaux1_dnInD1_p double position %ID34.1 ˘ ˘
integer
User data
The 8 bytes of received user data are assigned to several variables of different data types.
According to requirements, they can thus be evaluated by the PLC program as:
ƒ binary information (1 bit)
ƒ control word/quasi−analog value (16 bit)
ƒ angle information (32 bit)
Byte Variable (1 bit) Variable (16 bit) Variable (32 bit)
1, 2 CANaux1_bInB0_b
... CANaux1_nInW0_a
CANaux1_bInB15_b
3, 4 CANaux1_bInB16_b
... CANaux1_nInW1_a
CANaux1_bInB31_b
5, 6 CANaux1_bInB32_b
... CANaux1_nInW2_a
CANaux1_bInB47_b
CANaux1_dnInD1_p
7, 8 CANaux1_bInB48_b
... CANaux1_nInW3_a
CANaux1_bInB63_b
13.12.2 Outputs_CANaux1
System variables
Variable Data Signal Address Display Display Comments
type type code format
CANaux1_nOutW0_a integer analog %QW34.0 ˘ ˘
CANaux1_bFDO0_b %QX34.0.0
... BOOL binary ... ˘ ˘
CANaux1_bFDO15_b %QX34.0.15
CANaux1_nOutW1_a integer analog %QW34.1 C2493/1 dec [%]
CANaux1_bFDO16_b %QX34.1.0
... BOOL binary ... ˘ ˘
CANaux1_bFDO31_b %QX34.1.15
CANaux1_nOutW2_a integer analog %QW34.2 C2493/2 dec [%]
CANaux1_bFDO32_b %QX34.2.0
... BOOL binary ... ˘ ˘
CANaux1_bFDO47_b %QX34.2.15
CANaux1_nOutW3_a integer analog %QW34.3 C2493/3 dec [%]
CANaux1_bFDO48_b %QX34.3.0
... BOOL binary ... ˘ ˘
CANaux1_bFDO63_b %QX34.3.15
CANaux1_dnOutD1_p double position %QD34.1 ˘ ˘
integer
User data
The 8 bytes of user data to be sent can be written via several variables of different data
types. According to requirements, data can therefore be transferred from the PLC program
as
ƒ binary information (1 bit)
ƒ status word/quasi−analog value (16 bit)
ƒ angle information (32 bit)
Byte Variable (1 bit) Variable (16 bit) Variable (32 bit)
1, 2 CANaux1_bFDO0_b
... CANaux1_nOutW0_a
CANaux1_bFDO15_b
3, 4 CANaux1_bFDO16_b
... CANaux1_nOutW1_a
CANaux1_bFDO31_b
5, 6 CANaux1_bFDO32_b
... CANaux1_nOutW2_a
CANaux1_bFDO47_b
CANaux1_dnOutD1_p
7, 8 CANaux1_bFDO48_b
... CANaux1_nOutW3_a
CANaux1_bFDO63_b
Note!
Avoid simultaneous overwriting via different variable types to ensure data
consistency.
If you want to describe e.g. the bytes 5 and 6, either use only the variable
CANaux1_dnOutD1_p, only the variable CANaux1_nOutW2_a or only the
variables CANaux1_bFDO32_b ... CANaux1_bFDO47_b!
This SB serves to transmit event or time−controlled process data via the CAN bus interface
X14.
A sync telegram is not required.
ƒ The transmission mode (event or time−controlled) is set via C2456.
ƒ The monitoring time is set via C2457 (Lenze setting: 3000 ms).
CANaux2_IO
Byte Byte
1 1
CANaux2_nOutW1_a WORD WORD CANaux2_nInW1_a
C2493/4 C2492/4
2 2
CANaux2_nOutW2_a WORD WORD CANaux2_nInW2_a
C2493/5 C2492/5
CANaux2_dnOutD1_p L L CANaux2_dnInD1_p
DINT H 5 5 H
DINT
8 8
X14 X14
Codes
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C2456 CAN time settings for CAN bus 168
interface X14 (CAN−AUX)
1 CANa times 3000 0 {1 ms} 65000 CAN−AUX boot−up time
2 CANa times 0 CANaux2_OUT/CANaux3_OUT
cycle times: Factor for the task
time to send process data
3 CANa times 0 telegram.
0 = Event−controlled
transmission
4 CANa times 20 CAN−AUX delay time:
When the NMT state
"Operational" has been reached
(after "Pre−operational"), the
delay time ˜CANdelay˜ is started.
After the delay time has expired,
the PDOs CANaux2_OUT and
CANaux3_OUT are sent for the
first time.
C2457 Monitoring time for 191
CANaux1...3_IN (CAN bus
interface X14)
1 CE monit time 3000 1 {1 ms} 65000 CE11 monitoring time
2 CE monit time 3000 CE12 monitoring time
3 CE monit time 3000 CE13 monitoring time
C2491 Process data input words
(hexadecimal) for CAN bus
interface X14
Hexadecimal value is bit−coded.
Read only
1 CANa IN bits 0 {1 hex} FFFF CANaux1_IN (bit 0 ... 15)
2 CANa IN bits CANaux1_IN (bit 16 ... 31)
3 CANa IN bits CANaux2_IN (bit 0 ... 15)
4 CANa IN bits CANaux2_IN (bit 16 ... 31)
5 CANa IN bits CANaux3_IN (bit 0 ... 15)
6 CANa IN bits CANaux3_IN (bit 16 ... 31)
13.13.1 Inputs_CANaux2
System variables
Variable Data Signal Address Display Display Comments
type type code format
CANaux2_nInW1_a %IW35.0 C2492/4
integer analog dec [%]
CANaux2_nInW2_a %IW35.1 C2492/5
CANaux2_bInB0_b %IX35.0.0
... ... C2491/3
CANaux2_bInB15_b %IX35.0.15
BOOL binary hex
CANaux2_bInB16_b %IX35.1.0
... ... C2491/4
CANaux2_bInB31_b %IX35.1.15
CANaux2_dnInD1_p double position %ID35.0 ˘ ˘
integer
CANaux2_nInW3_a %IW35.2 C2492/6
integer analog dec [%]
CANaux2_nInW4_a %IW35.3 C2492/7
User data
The first 4 bytes from the 8 bytes of received user data are assigned to several variables of
different data types. According to requirements, they thus can be evaluated by the PLC
program as:
ƒ binary information (1 bit)
ƒ quasi−analog value (16 bit)
ƒ angle information (32 bit)
Byte Variable (1 bit) Variable (16 bit) Variable (32 bit)
1, 2 CANaux2_bInB0_b
... CANaux2_nInW1_a
CANaux2_bInB15_b
CANaux2_dnInD1_p
3, 4 CANaux2_bInB16_b
... CANaux2_nInW2_a
CANaux2_bInB31_b
5, 6
CANaux2_nInW3_a
7, 8
CANaux2_nInW4_a
13.13.2 Outputs_CANaux2
System variables
Variable Data Signal Address Display Display Comments
type type code format
CANaux2_nOutW1_a %QW35.0 C2493/4
integer analog dec [%]
CANaux2_nOutW2_a %QW35.1 C2493/5
CANaux2_bFDO0_b %QX35.0.0
... ...
CANaux2_bFDO15_b %QX35.0.15
BOOL Binary ˘ ˘
CANaux2_bFDO16_b %QX35.1.0
... ...
CANaux2_bFDO31_b %QX35.1.15
CANaux2_dnOutD1_p Double Position %QD35.0 ˘ ˘
integer
CANaux2_nOutW3_a %QW35.2 C2493/6
integer analog dec [%]
CANaux2_nOutW4_a %QW35.3 C2493/7
User data
The first 4 bytes of the 8 bytes user data to be sent can be written via several variables of
different data types. According to requirements, data can therefore be transferred from
the PLC program as
ƒ binary information (1 bit)
ƒ status word/quasi−analog value (16 bit)
ƒ angle information (32 bit)
Byte Variable (1 bit) Variable (16 bit) Variable (32 bit)
1, 2 CANaux2_bFDO0_b
... CANaux2_nOutW1_a
CANaux2_bFDO15_b
CANaux2_dnOutD1_p
3, 4 CANaux2_bFDO16_b
... CANaux2_nOutW2_a
CANaux2_bFDO31_b
5, 6
CANaux2_nOutW3_a
7, 8
CANaux2_nOutW4_a
Note!
Avoid simultaneous overwriting via different variable types to ensure data
consistency.
If you want to describe e.g. the bytes 1 and 2, either use only the variable
CANaux2_dnOutD1_p, or the variable CANaux2_nOutW1_a or only the
variables CANaux2_bFDO0_b ... CANaux2_bFDO15_b!
This SB serves to transmit event or time−controlled process data via the CAN bus interface
X14.
A sync telegram is not required.
ƒ The transmission mode (event or time−controlled) is set via C2456.
ƒ The monitoring time is set via C2457 (Lenze setting: 3000 ms).
CANaux3_IO
Byte Byte
1 1
CANaux3_nOutW1_a WORD WORD CANaux3_nInW1_a
C2493/8 C2492/8
2 2
CANaux3_nOutW2_a WORD WORD CANaux3_nInW2_a
C2493/9 C2492/9
CANaux3_dnOutD1_p L L CANaux3_dnInD1_p
DINT H 5 5 H
DINT
8 8
X14 X14
Codes
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C2456 CAN time settings for CAN bus 168
interface X14 (CAN−AUX)
1 CANa times 3000 0 {1 ms} 65000 CAN−AUX boot−up time
2 CANa times 0 CANaux2_OUT/CANaux3_OUT
cycle times: Factor for the task
time to send process data
3 CANa times 0 telegram.
0 = Event−controlled
transmission
4 CANa times 20 CAN−AUX delay time:
When the NMT state
"Operational" has been reached
(after "Pre−operational"), the
delay time ˜CANdelay˜ is started.
After the delay time has expired,
the PDOs CANaux2_OUT and
CANaux3_OUT are sent for the
first time.
C2457 Monitoring time for 191
CANaux1...3_IN (CAN bus
interface X14)
1 CE monit time 3000 1 {1 ms} 65000 CE11 monitoring time
2 CE monit time 3000 CE12 monitoring time
3 CE monit time 3000 CE13 monitoring time
C2491 Process data input words
(hexadecimal) for CAN bus
interface X14
Hexadecimal value is bit−coded.
Read only
1 CANa IN bits 0 {1 hex} FFFF CANaux1_IN (bit 0 ... 15)
2 CANa IN bits CANaux1_IN (bit 16 ... 31)
3 CANa IN bits CANaux2_IN (bit 0 ... 15)
4 CANa IN bits CANaux2_IN (bit 16 ... 31)
5 CANa IN bits CANaux3_IN (bit 0 ... 15)
6 CANa IN bits CANaux3_IN (bit 16 ... 31)
13.14.1 Inputs_CANaux3
System variables
Variable Data Signal Address Display Display Comments
type type code format
CANaux3_nInW1_a %IW36.0 C2492/8
integer analog dec [%]
CANaux3_nInW2_a %IW36.1 C2492/9
CANaux3_bInB0_b %IX36.0.0
... ... C2491/5
CANaux3_bInB15_b %IX36.0.15
BOOL Binary hex
CANaux3_bInB16_b %IX36.1.0
... ... C2491/6
CANaux3_bInB31_b %IX36.1.15
CANaux3_dnInD1_p Double Position %ID36.0 ˘ ˘
integer
CANaux3_nInW3_a %IW36.2 C2492/10
integer analog dec [%]
CANaux3_nInW4_a %IW36.3 C2492/11
User data
The first 4 bytes from the 8 bytes of received user data are assigned to several variables of
different data types. According to requirements, they thus can be evaluated by the PLC
program as:
ƒ binary information (1 bit)
ƒ quasi−analog value (16 bit)
ƒ angle information (32 bit)
Byte Variable (1 bit) Variable (16 bit) Variable (32 bit)
1, 2 CANaux3_bInB0_b
... CANaux3_nInW1_a
CANaux3_bInB15_b
CANaux3_dnInD1_p
3, 4 CANaux3_bInB16_b
... CANaux3_nInW2_a
CANaux3_bInB31_b
5, 6
CANaux3_nInW3_a
7, 8
CANaux3_nInW4_a
13.14.2 Outputs_CANaux3
System variables
Variable Data Signal Address Display Display Comments
type type code format
CANaux3_nOutW1_a %QW36.0 C2493/8
integer analog dec [%]
CANaux3_nOutW2_a %QW36.1 C2493/9
CANaux3_bFDO0_b %QX36.0.0
... ...
CANaux3_bFDO15_b %QX36.0.15
BOOL binary ˘ ˘
CANaux3_bFDO16_b %QX36.1.0
... ...
CANaux3_bFDO31_b %QX36.1.15
CANaux3_dnOutD1_p double position %QD36.0 ˘ ˘
integer
CANaux3_nOutW3_a %QW36.2 C2493/10
integer analog dec [%]
CANaux3_nOutW4_a %QW36.3 C2493/11
User data
The first 4 bytes of the 8 bytes user data to be sent can be written via several variables of
different data types. According to requirements, data can therefore be transferred from
the PLC program as
ƒ binary information (1 bit)
ƒ status word/quasi−analog value (16 bit)
ƒ angle information (32 bit)
Byte Variable (1 bit) Variable (16 bit) Variable (32 bit)
1, 2 CANaux3_bFDO0_b
... CANaux3_nOutW1_a
CANaux3_bFDO15_b
CANaux3_dnOutD1_p
3, 4 CANaux3_bFDO16_b
... CANaux3_nOutW2_a
CANaux3_bFDO31_b
5, 6
CANaux3_nOutW3_a
7, 8
CANaux3_nOutW4_a
Note!
Avoid simultaneous overwriting via different variable types to ensure data
consistency.
If you want to describe e.g. the bytes 1 and 2, either use only the variable
CANaux3_dnOutD1_p, or only the variable CANaux3_nOutW1_a or only the
variables CANaux3_bFDO0_b ... CANaux3_bFDO15_b!
Note!
The SB DCTRL_DriveControl only affects the motor control or the drive control.
Motor control/drive control and application program of the PLC are decoupled
from one another, provided that no query of the signals is effected in the
application program.
ƒ If, for instance, a TRIP is activated by the motor control, the application
program thereby is not stopped!
ƒ If, in contrast, a TRIP is activated as a result of a task overflow, the
application program of the PLC is stopped as well!
C0135 DCTRL_DriveControl
DCTRL_wCAN1Ctrl 16
16 Bit Bit3
Bit3 >1 QSP
DCTRL_wAIF1Ctrl C135.B3 DCTRL_bFail_b
16 Bit >1
Bit8 DCTRL_bImp_b
Bit8 >1 DISABLE
C135.B8 DCTRL_bTrip_b
Bit9 DCTRL_bQspIn_b
Bit9
C135.B9 DCTRL_bRdy_b
DCTRL_bCInh1_b X6/SI1 DCTRL_bCwCCw_b
>1 CINH
DCTRL_bNActEq0_b
C0878/1
DCTRL_bCInh2_b DCTRL_bCInh_b
Bit10 DCTRL_bStat1_b
C0878/2 Bit10
>1 TRIP-SET DCTRL_bStat2_b
DCTRL_bTripSet_b C135.B10
DCTRL_bStat4_b
C0878/3 DCTRL_bStat8_b
Bit11
Bit11 TRIP- DCTRL_bWarn_b
DCTRL_bTripReset_b C135.B11 >1
RESET DCTRL_bMess_b
STAT
DCTRL_bStateB0_b
0
DCTRL_bImp_b
1
DCTRL_bStateB2_b
2
DCTRL_bStateB3_b
3
DCTRL_bStateB4_b
4
DCTRL_bStateB5_b
5
DCTRL_bNActEq0_b
6
DCTRL_bCInh_b DCTRL_wStat
7
DCTRL_bStat1_b
8 C0150
DCTRL_bStat2_b
9
DCTRL_bStat4_b
10
DCTRL_bStat8_b
11
DCTRL_bWarn_b
12
DCTRL_bMess_b
13
DCTRL_bStateB14_b
14
DCTRL_bStateB15_b
15
ECSXA260
13.15.1 Inputs_DCTRL
System variables
Variable Data Signal Address Display Display Notes
type type code format
DCTRL_bFail_b %IX121.0.0 TRUE = active error
TRUE = high−resistance
DCTRL_bImp_b %IX121.0.1
power output stages
DCTRL_bTrip_b %IX121.0.2 TRUE = active error
TRUE = quick stop (QSP)
DCTRL_bQspIn_b %IX121.0.3
( 303)
Bool Binary ˘ ˘ TRUE = ready for
DCTRL_bRdy_b %IX121.0.4
operation
FALSE = CW rotation
DCTRL_bCwCcw_b %IX121.0.5
TRUE = CCW rotation
TRUE = motor
DCTRL_bNActEq0_b %IX121.0.6
speed < C0019
TRUE = controller inhibit
DCTRL_bCInh_b %IX121.0.7
( 304)
DCTRL_bStat1_b %IX121.0.8
DCTRL_bStat2_b %IX121.0.9
Bool Binary ˘ ˘ Status signals ( 305)
DCTRL_bStat4_b %IX121.0.10
DCTRL_bStat8_b %IX121.0.11
DCTRL_bWarn_b %IX121.0.12 TRUE = active warning
DCTRL_bMess_b %IX121.0.13 TRUE = active message
Codes
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0136 Control words
Hexadecimal value is bit−coded.
Read only
1 CTRLWORD 0 {hex} FFFF Control word C0135
2 CTRLWORD CAN control word
3 CTRLWORD AIF control word
13.15.2 Outputs_DCTRL
System variables
Variable Data Signal Address Display Display Notes
type type code format
DCTRL_wCAN1Ctrl %QW121.3 CAN control word
Word ˘ ˘ ˘
DCTRL_wAIF1Ctrl %QW121.2 Control word AIF
DCTRL_bCInh1_b %QX121.0.1 C0878/1 Controller inhibit
DCTRL_bCInh2_b %QX121.0.2 C0878/2 ( 304)
BOOL binary bin
DCTRL_bTripSet_b %QX121.0.3 C0878/3 TRIP SET ( 304)
DCTRL_bTripReset_b %QX121.0.4 C0878/4 TRIP RESET ( 305)
DCTRL_bStatB0_b %QX121.1.0
DCTRL_bStatB2_b %QX121.1.2
DCTRL_bStatB3_b %QX121.1.3
DCTRL_bStatB4_b BOOL binary %QX121.1.4 ˘ ˘ Status signals ( 305)
DCTRL_bStatB5_b %QX121.1.5
DCTRL_bStatB14_b %QX121.1.14
DCTRL_bStatB15_b %QX121.1.15
Codes
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0135 Control word 0 System control word DCTRL
0 {1} 65535 Controller evaluates information
as 16 bits (binary−coded)
Bit 0 Not assigned
Bit 1 Not assigned
Bit 2 Not assigned
Bit 3 Quick stop (QSP)
Bit 4 Not assigned
Bit 5 Not assigned
Bit 6 Not assigned
Bit 7 Not assigned
Bit 8 Operation inhibit (DISABLE)
Bit 9 Controller inhibit (CINH)
Bit 10 TRIP−SET
Bit 11 TRIP−RESET
Bit 12 Not assigned
Bit 13 Not assigned
Bit 14 Not assigned
Bit 15 Not assigned
The QSP function serves to stop the drive ˘ irrespective of the setpoint selection ˘ within
the time adjusted in C0105.
ƒ The function can be controlled via the following inputs (OR’d):
– Control word DCTRL_wAIF1Ctrl (
235)
– Control word DCTRL_wCAN1Ctrl (
263)
– Control word C0135, bit 3
ƒ C0136/1 indicates the control word C0135.
Note!
Quick stop (QSP) only is set if DCTRL_bQspIn_b is connected to
MCTRL_bQspOut_b of the SB MCTRL_MotorControl (
329)!
DCTRL_bQspIn_b MCTRL_bQspOut_b
OR
Any Variable C0907/3
MCTRL_nHiMLim_a
C0906/4
MCTRL_nLoMLim_a
C0906/3
MCTRL_bNMSwt_b
C0907/2
ECSXA267
This function actuates an "operation inhibit" (DISABLE) in the drive. The power output
stages are inhibited, and all speed controllers/current controllers/position controllers are
reset. In the "operation inhibit" state, the drive cannot be started by the command
"controller enable".
ƒ The function can be controlled via the following inputs (OR’d):
– Control word DCTRL_wAIF1Ctrl (
235)
– Control word DCTRL_wCAN1Ctrl (
263)
– Control word C0135, bit 8
ƒ C0136/1 indicates the control word C0135.
This function activates "controller inhibit (CINH)" in the drive. The power output stages are
inhibited, and all speed controllers/current controllers/position controllers are reset.
ƒ The function can be controlled via the following inputs (OR’d):
– Terminal X6/SI1 (FALSE = controller inhibit)
– Control word DCTRL_wAIF1Ctrl (
235)
– Control word DCTRL_wCAN1Ctrl (
263)
– Control word C0135, bit 9
– Variable DCTRL_bCInh1_b (TRUE = inhibit controller)
– Variable DCTRL_bCInh2_b (TRUE = inhibit controller)
ƒ C0136/1 indicates the control word C0135.
This function sets "TRIP" in the drive and reports "external error" (error message "EEr").
ƒ The function can be controlled via the following inputs (OR’d):
– Control word DCTRL_wAIF1Ctrl (
235)
– Control word DCTRL_wCAN1Ctrl (
263)
– Control word C0135, bit 10
– Variable DCTRL_bTripSet_b (TRUE = set TRIP)
ƒ C0136/1 indicates the control word C0135.
ƒ The reaction to TRIP can be set via C0581:
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0581 MONIT EEr 0 Configuration of external fault 304
monitoring "ExternalFault"
(FWM EEr)
0 TRIP
1 Message
2 Warning
3 Off
4 FAIL−QSP
This function resets an upcoming TRIP if the cause of malfunction is eliminated. If the cause
of malfunction is still active, no response will be effected.
ƒ The function can be controlled via the following inputs (OR’d):
– Control word DCTRL_wAIF1Ctrl (
235)
– Control word DCTRL_wCAN1Ctrl (
263)
– Control word C0135, bit 11
– Variable DCTRL_bTripReset_b
– Code C0043
ƒ C0136/1 indicates the control word C0135.
Note!
The function is only carried out by a FALSE−TRUE edge of the signal resulting
from the OR operation.
If one input is assigned to TRUE, a FALSE−TRUE edge cannot occur.
DCTRL_DriveControl
STAT
DCTRL_bStateB0_b
0
DCTRL_bImp_b
1
DCTRL_bStateB2_b
2
DCTRL_bStateB3_b
3
DCTRL_bStateB4_b
4
DCTRL_bStateB5_b
5
DCTRL_bNActEq0_b
6
DCTRL_bCInh_b DCTRL_wStat
7
DCTRL_bStat1_b
8 C0150
DCTRL_bStat2_b
9
DCTRL_bStat4_b
10
DCTRL_bStat5_b
11
DCTRL_bWarn_b
12
DCTRL_bMess_b
13
DCTRL_bStateB14_b
14
DCTRL_bStateB15_b
15
ECSXA266
System variables
The variables DCTRL_bStat1_b ... DCTRL_bStat5_b display the status of the drive in a binary
coded manner:
DCTRL_bStat5_b DCTRL_bStat4_b DCTRL_bStat2_b DCTRL_bStat1_b Status
Initialisation after connection of the
0 0 0 0
supply voltage
Protection against unexpected
0 0 0 1
start−up active (C0142 = 0)
0 0 1 1 Controller is inhibited
0 1 1 0 Controller enabled
A "message" was sent as a
0 1 1 1
monitoring response
TRIP was set as a monitoring
1 0 0 0
response
0 = FALSE 1 = TRUE
If "TRIP" is activated in the drive (e.g. via the variable DCTRL_bTripSet_b, C0135/bit 10 or
keypad), the variable DCTRL_bExternalFault_b is set to TRUE.
DCTRL_bExternalFault_b is reset to FALSE, as soon as the error source is reset.
LD AIF1_wDctrlCtrl
ST DCTRL_wAIF1Ctrl /* Writing the control word*/
Note!
The assignment of the control/status word bits marked as "not assigned"
depend on the AIF module used and the transfer profile set (e.g. DRIVECOM).
13.16.1 Inputs_DFIN
This SB can convert a power pulse current at the master frequency input X8 into a speed
value and scale it. A master frequency can be transferred with high precision without any
offset and gain errors.
ƒ The master frequency input X8 is designed for signals with TTL level.
ƒ The input of a zero track is optional.
ƒ A configuration of the master frequency input X8 as output (
316) is possible via
C0491.
ƒ An encoder can be selected and configured via the codes:
– C0419 (encoder selection)
– C0420 (encoder increments)
– C0421 (encoder bias)
– C0427 (type of master frequency input signal)
Stop!
The connection X8 cannot be used as a master frequency input if incremental
encoders/SinCos encoders are used and X8 is configured as a master frequency
output.
DFIN_IO_DigitalFrequency
C0491
X8
0 DFIN_nIn_v
CTRL
1
C0426
C0421 C0427 C0420
C0419
DFIN_bTPReceived_b
X6 0
0 TP/MP
DFIN_dnIncLastScan_p
DI1 -Ctrl
1
C0428 C0429
C0431
ECSXA231
Note!
The process image is newly created for every task the SB is used in.
ƒ If therefore DFIN_nIn_v is used in several tasks, an individual process image
of the SB is created for each of these tasks.
ƒ This process is different from the previous process image principle!
System variables
Variable Data Signal Address Display Display Notes
type type code format
dec
DFIN_nIn_v Integer Velocity %IW21.0 C0426 Value in inc/ms
[rpm]
Touch probe (TP)
DFIN_bTPReceived_b BOOL Binary %IX21.1.2 ˘ ˘
received
Double Dinc during TP and task
DFIN_dnIncLastScan_p Position %ID21.1 ˘ ˘
integer start
Codes
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
[C0419] Enc. Setup 110 Encoder selection 309
l Selection of encoder type 104
indicated on the nameplate of 110
the Lenze motor.
l The encoder data (C0420,
C0421, C0427) is set
automatically in accordance
with the selection.
0 Common
110 IT512−5V Incremental encoder with TTL
111 IT1024−5V level
112 IT2048−5V
113 IT4096−5V
210 IS512−5V SinCos encoder
211 IS1024−5V
212 IS2048−5V
213 IS4096−5V
307 AS64−8V SinCos absolute value encoder
308 AS128−8V with Hiperface® interface
(single−turn)
309 AS256−8V Selections 307, 308, 309 are only
310 AS512−8V possible with operating system
7.0 or higher.
311 AS1024−8V
407 AM64−8V SinCos absolute value encoder
408 AM128−8V with Hiperface® interface
(multi−turn)
409 AM256−8V Selections 407, 408, 409 are only
410 AM512−8V possible with operating system
7.0 or higher.
411 AM1024−8V
[C0420] Encoder const. 512 Number of increments of the 309
encoder 104
110
1 {1 inc/rev} 8192 Sets C0419 = 0 ("common") if the
value is altered.
Z B ˘ ˘
Z
B
B = FALSE = TRUE
(DFIN_nIn_v = positive (DFIN_nIn_v = negative
Z
value) value)
Z
Transfer function
60 14
DFIN_nIn_v + f[Hz] @ @ 2
Numberofincr. fromC0420 15000
Example:
ƒ Input frequency = 200 kHz
ƒ C0420 = 2048
Signal setting
Finer resolutions can be realised by a downstream function block (e.g. L_CONV from the
LenzeDrive.lib) function library:
DFIN_IO_DigitalFrequency L_CONV
C0491
X8
0 DFIN_nIn_v nIn_v nNumerator nOut_v
CTRL
1 nDenominator
C0426
C0421 C0427 C0420
C0419
DFIN_bTPReceived_b
X6 0
0 TP/MP
DFIN_dnIncLastScan_p
DI1 -Ctrl
1
C0428 C0429
C0431
ECSXA231
60 17
nOut_v + f[Hz] @ @ nNumerator @ 2
Number_of_incr._fromC0420 nDenominator 15000
Process
If an edge change on the input actuating a TP (e. g. X6/DI1) occurs, the instantaneous
phase value (master frequency input value) is stored in the operating system by means of
a very fast interrupt.
TP
DFIN_dnIncLastScan_p
j
Codes
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0428 DFIN TP sel. 0 DFIN touch probe signal source 313
309
0 Zero pulse of position encoder (C0490) X7/X8
1 Touch probe input TP1 X6/DI1
2 Zero pulse of digital frequency input X8
C0429 TP1 delay 0 DFIN dead time compensation 313
TP1 (DI1) 309
−32767 {1 inc} 32767
C0431 DFIN TP Edge 0 DFIN touch probe TP1 edge 313
(for touch probe via digital input
X6/DI1 (C0428 = 1))
Function sequence
1. The TP is activated in an edge−controlled manner via the digital input X6/DI1 or via a
zero pulse (only if encoder is connected).
2. If a TP has occurred, DFIN_bTPReceived_b is set = TRUE.
3. After the start of the task, DFIN_dnIncLastScan_p indicates the number of
increments [inc] counted since the TP.
4. Following, DFIN_bTPReceived_b = FALSE is set.
Note!
ƒ It is necessary that all three outputs (DFIN_nIn_v, DFIN_bTPReceived_b and
DFIN_dnIncLastScan_p) are processed in the task even if just one signal is
required.
ƒ The polarity of the digital input X6/DI1 configured via C0114/1 does not
have an influence on the edge evaluation.
DFIN_nIn_v
ƒ The value DFIN_nIn_v is scaled to increments per millisecond [inc/ms].
– (INT) 16384 corresponds to 15000 rpm. See chapter "Signal types and scaling"
(
24).
ƒ For every task in which DFIN_nIn_v is used, the operating system creates an
individual integrator that is reset after every start of the task (task−internal process
image).
ƒ For reliable TP generation, DFIN_nIn_v must not be used in the PLC_PRG.
Example: DFIN_nIn_v in a 10 ms task:
ƒ When the 10 ms task starts, the value of the integrator is stored in a local area of the
task and the integrator is reset. The value in the local area gives an average value in
increments per 1 ms.
ƒ If a position value is to be calculated from the average value, the average value has
to be multiplied by (SYSTEM_nTaskInterval / 4) in order to obtain increments per
10 ms.
– At a task of 10 ms, the value of SYSTEM_nTaskInterval is ’40’
(40 × 0.25 ms = 10 ms).
– See also chapter "SYSTEM_FLAGS (system flags)" (
348).
ƒ The Lenze function blocks already implement this procedure.
This SB converts internal speed signals into frequency signals and outputs them to X8
(configuration via C0491).
ƒ Transmission is effected with high precision (without offset and amplification
faults) including remainder considered.
ƒ The type of output signals can be set via C0540.
ƒ A configuration of the master frequency output X8 as input (
309) is possible via
C0491.
DFOUT_IO_DigitalFrequency
C0545 C0491
n max C0540 C0540 C0030
0
0 0 DFOUT_nIn_v
DFOUT_nOut_v 1 1 1
2 2
C0547 C0549
X8
X7 0
15000 rpm
1
CTRL
ECSXA232
Note!
The process image is recreated for every task the SB is used in.
ƒ If therefore DFOUT_nIn_v and DFOUT_nOut_v are used in several tasks, an
individual process image of the SB is created for each of these tasks.
ƒ This process is different from the previous process image principle!
System variables
Variable Data Signal Address Display Display Notes
type type code format
dec
C0547
[%]
DFOUT_nOut_v Integer Velocity %QW22.0
dec
C0549
[rpm]
DFOUT_nIn_v Integer Velocity %IW22.0 ˘ ˘
Codes
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0030 DFOUT const 3 Constant for digital frequency 318
output DFOUT_nOut_v on X8 in 104
increments per revolution. 110
0 256 inc/rev
1 512 inc/rev
2 1024 inc/rev
3 2048 inc/rev
4 4096 inc/rev
5 8192 inc/rev
6 16384 inc/rev
[C0491] X8 in/out 0 Function of X8 309
0 X8 is input 104
110
1 X8 is output
[C0540] X8 Signal out 2 Function of the digital frequency 101
output signals on X8 (DFOUT)
0 DFOUT in [%]
1 DFOUT in [rpm]
2 Encoder simulation + zero pulse ®
DFOUT
C0545 PH offset 0 Phase offset 318
0 {1 inc} 65535 1 revolution = 65535 increments
C0547 DIS: AN−IN Analog signal on the input of the 318
DFOUT block
Read only
−199.99 {0.00 %} 199.99
C0549 DIS: DF−IN Speed on the input of the DFOUT 318
block
Only display
−32767 {1 rpm} 32767
DFOUT_nln_v + f[Hz] @ 60 @ 2 14
C0030 15000
Example l DFOUT_nOut_v = 50 %
l C0030 = 3, this corresponds to a number of increments of 2048 increments/revolution
l C0011 = 3000 rpm
Note!
The zero pulse can only be output with C0540 = 2 (encoder simulation of
resolver).
Z B ˘ ˘
Z
CW rotation
Note!
The digital frequency output X8 has a system−dependent delay time:
ƒ Td = task cycle time (process image cycle) − 1 ms
Example:
If DFOUT_nOut_v is described in a "10 ms task", the signal on X8 has a delay
time Td of 9 ms (10 ms − 1 ms)
mP
X6
DIGIN_bCInh_b
SI1
safe torque off DIGIN_b_safe_standstill_b
SI2
C0443 mP + Imp
ECSXA241
System variables
Variable Data Signal Address Display Display Notes
type type code format
Controller inhibit ˘ takes
DIGIN_bCInh_b %IX1.0.0 ˘ ˘ direct effect on the
device control DCTRL.
DIGIN_bIn1_b %IX1.0.1
DIGIN_bIn2_b BOOL binary %IX1.0.2
DIGIN_bIn3_b %IX1.0.3
C0443 bin
DIGIN_bIn4_b %IX1.0.4
DIGIN_b_safe_standstill "Safe torque off"
%IX1.0.5
_b (former "safe standstill")
Codes
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0114 Polarity of the digital inputs 118
1 DIGIN pol 0 HIGH level active X6/DI1 (DIGIN_bIn1_b)
2 DIGIN pol 0 HIGH level active X6/DI2 (DIGIN_bIn2_b)
3 DIGIN pol 0 HIGH level active X6/DI3 (DIGIN_bIn3_b)
4 DIGIN pol 0 HIGH level active X6/DI4 (DIGIN_bIn4_b)
0 HIGH level active
1 LOW level active
Terminal assignment
Terminal Function
X6 Digital inputs
Digital input 1
X6/DI1
(DigIn_bIn1_b)
Digital input 2
X6/DI2
(DigIn_bIn2_b)
freely assignable
Digital input 3
X6/DI3
(DigIn_bIn3_b)
Digital input 4
X6/DI4
(DigIn_bIn4_b)
X6 Connection of "Safe torque off"( 69)
X6/SI1 Input 1 LOW DIGIN_bCInh_b = TRUE
HIGH DIGIN_bCInh_b = FALSE
X6/SI2 Input 2 LOW DIGIN_b_safe_standstill_b = FALSE
HIGH DIGIN_b_safe_standstill_b = TRUE
X6/S24 Low−voltage supply
This SB conditions the digital signal DIGOUT_bOut1_b and outputs it via X6/DO1.
ƒ A motor holding brake supplied with low voltage via X6/B+ and X6/B− can be
connected to X25/B1 and X25/B2:
– The motor holding brake can be switched by the signal DIGOUT_bRelais_b.
– The terminal polarity for the outputs X6/DO1, X25/B1 and X25/B2 can be
configured via C0118.
ƒ X6/SO serves to the feedback of the safety function "safe torque off" (former "safe
standstill").
Outputs_DIGITAL
0 X6
DIGOUT_bOut1_b
1 DO1
C0444/1 1
C0118/1
X6
safe torque off SO
0
DIGOUT_bRelais_b
1
C0444/2 1
X6 C0118/2 X25
B+ B1
B- B2
MONIT-Rel1
C0602
ECSXA242
System variables
Variable Data Signal Address Display Display Notes
type type code format
DIGOUT_bOut1_b %QX1.0.0 C0444/1
Codes
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0118 Polarity of the digital outputs 323
1 DIGOUT pol 0 HIGH level active X6/DO1 (DIGOUT_bOut1_b) 118
2 DIGOUT pol 0 HIGH level active X25 (DIGOUT_bRelais_b, brake
connection)
0 HIGH level active
1 LOW level active
C0444 Status of the digital outputs 323
Only display
1 DIS: DIGOUT 0 1 Status of the digital output
X6/DO1
2 DIS: DIGOUT Relay control status
C0602 MONIT REL1 3 Configuration of the open circuit
monitoring of relay output X25
0 TRIP
3 Off
Terminal assignment
Digital Function Electrical data
inputs
X6 Digital output 24 V DC
X6/DO1 Digital output 1 0.7 A (max. 1.4 A)
short−circuit−proof
X6 Output "safe torque off" (former "safe standstill")
X6/SO Output feedback LOW During operation
At Lenze, drive parameters are called codes. By changing the code values, the controller can
be adapted to the corresponding application without any additional programming effort.
This SB provides different variables. The variables can be directly read out by means of the
assigned "free" codes of the ECSxA... axis module and can be processed in the PLC program.
FCODE_FreeCode
FCODE_nC17_a
C0017 rpm TO INT
FCODE_nC26_a
C0026/1
FCODE_nC26_a
C0026/2
% TO INT FCODE_nC27_a
C0027/1
FCODE_nC27_a
C0027/2
FCODE_nC32_a
C0032 INT
FCODE_nC37_a
C0037 rpm TO INT
FCODE_nC108_1_a
C0108/1
FCODE_nC108_2_a
C0108/2
FCODE_nC109_1_a
C0109/1 % TO INT
FCODE_nC109_2_a
C0109/2
FCODE_nC141_a
C0141
FCODE_bC250_b
C0250 BOOL
FCODE_bC471Bit0_b
C0470 DWORD
...
TO
BIT/BOOL FCODE_bC471Bit31_b
C0471
FCODE_nC472_1_a
C0472/1
...
...
% TO INT
FCODE_nC472_20_a
C0472/20
FCODE_nC473_1_a
C0473/1
...
INT
FCODE_nC473_10_a
C0473/10
FCODE_dnC474_1_p
C0474/1
...
DINT
...
FCODE_dnC474_5_p
C0474/5
FCODE_nC475_1_v
C0475/1
INT FCODE_nC475_2_v
C0475/2
FCODE_bC135Bit0_b
...
C0135 16 Bit
FCODE_bC135Bit15_b
ECSXA261
Note!
ƒ The code C0032 only is available as of software version 7.0.
ƒ The free code C0470 is placed on the same memory address as the code
C0471. C0470 can be read out via the variables assigned to the C0471
FCODE_bC0471Bit0_b ... FCODE_bC0471Bit31_b.
In contrast to code C0471, which can accept a 32−bit value, code C0470 is
divided into four subcodes with 8 bits each.
ƒ The values in the codes ( ) of the SB are assigned to the respective variables.
ƒ The code value is converted into a variable value via a fixed scaling routine.
Example:
It is possible to enter a percentage [%] (e. g. by means of the keypad) to code C0472/1
of the ECSxA... axis module. The value is directly assigned to the variable
FCODE_nC0472_1_a (data type "integer") and can be further processed in the PLC
program.
System variables
Variable Data Signal Address Display Display Notes
type type code format
FCODE_nC17_a %IW141.0 default = 50 rpm
FCODE_nC26_1_a %IW141.2 default = 0.00 %
FCODE_nC26_2_a %IW141.3 default = 0.00 %
FCODE_nC27_1_a %IW141.4 default = 100.00 %
FCODE_nC27_2_a %IW141.5 default = 100.00 %
FCODE_nC32_a %IW141.6 default = 1
Integer analog ˘ ˘
FCODE_nC37_a %IW141.7 default = 0 rpm
FCODE_nC108_1_a %IW141.8 default = 100.00 %
FCODE_nC108_2_a %IW141.9 default = 100.00 %
FCODE_nC109_1_a %IW141.10 default = 0.00 %
FCODE_nC109_2_a %IW141.11 default = 0.00 %
FCODE_nC141_a %IW141.12 default = 0.00 %
FCODE_bC250_b BOOL binary %IX141.13.0 ˘ ˘ default = 0
FCODE_bC471Bit0_b %IX141.14.0
... ...
FCODE_bC471Bit15_b %IX141.14.15
BOOL binary ˘ ˘ default = 0
FCODE_bC471Bit16_b %IX141.15.0
... ...
FCODE_bC471Bit31_b %IX141.15.15
FCODE_nC472_1_a %IW141.16
default = 0.00 %
... Integer analog ... ˘ ˘
C0472/3 = 100.00 %
FCODE_nC472_20_a %IW141.35
FCODE_nC473_1_a %IW141.36
default = 0
... Integer analog ... ˘ ˘
C0473/1,2 = 1
FCODE_nC473_10_a %IW141.45
FCODE_dnC474_1_p %ID141.23
Double
... Position ... ˘ ˘ default = 0
integer
FCODE_dnC474_5_p %ID141.27
FCODE_nC475_1_v %IW141.56
Integer velocity ˘ ˘ default = 0
FCODE_nC475_2_v %IW141.57
FCODE_bC135Bit0_b %IX141.58.0
... BOOL binary ... ˘ ˘ default = 0
FCODE_bC135Bit15_b %IX141.58.15
Codes
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0017 FCODE (QMIN) 50 Used for speed signals 325
−16000 {1 rpm} 16000
C0026 Offset for relative analog signals 251
(AIN) 325
1 FCODE(offset) 0.0 −199.99 {0.01 %} 199.99 FCODE_nC26_1_a
2 FCODE(offset) 0.0 FCODE_nC26_2_a
C0027 Gain for relative analog signals 251
(AIN) 325
1 FCODE(gain) 100.0 −199.99 {0.01 %} 199.99 FCODE_nC27_1_a
2 FCODE(gain) 100.0 FCODE_nC27_2_a
This SB contains the control of the driving machine. It consists of the phase controller,
speed controller, and the motor control.
MCTRL_MotorControl
MCTRL_bQspOut_b MCTRL_bQspIn_b
C0907/3 C0042
MCTRL_nHiMLim_a
C0906/4
MCTRL_nLoMLim_a
MCTRL_nNSetIn_a
C0906/3
MCTRL_bNMSwt_b
C0050
C0907/2
MCTRL_nNAdapt_a
C0070
C0056
MCTRL_bILoad_b MCTRL_bMMax_b
C0907/4 MCTRL_nMSetIn_a
MCTRL_nISet_a
MCTRL_bIMax_b
C0906/8 MCTRL_nIAct_a
C0105 MCTRL_nDCVolt_a
C0909
-+100% 1
MCTRL_nMAct_a
MCTRL_nNSet_a 0 1 MCTRL_wMmaxC57
C0906/1 0
C0254 0
MCTRL_nPAdapt_a 1 VECT_CTRL PWM
1 1 C0072
C0906/9 0
0
C0070
MCTRL_dnPosSet_p 0 C0071
C0908 C0006 C0018 MONIT-LU MCTRL_bUnderVoltage_b
MCTRL_nPosLim_a C0022
C0075
C0906/5 C0076 C0173
MCTRL_bPosOn_b C0077
C0078 UG-VOLTAGE MONIT-OU MCTRL_bOverVoltage_b
C0907/1 C0081
C0053
MCTRL_nNStartmLim_a C0084
C0085 const
C0906/6 C0087 MCTRL_bShortCircuit_b
C0088 Imotor MONIT-OC1
MCTRL_nMAdd_a
C0089 C0022
C0906/2 C0090 const
MCTRL_nFldWeak_a C0091
C0111 MONIT-OC2 MCTRL_bEarthFault_b
C0906/7
C0576
C0579 MONIT-OC5 MCTRL_bIxtOverload_b
>1,50INX
MONIT nErr
const
MCTRL_nPos_a
MCTRL_nNAct_v
Resolver
X7 MCTRL_nNAct_a
C0051 MCTRL_dnPos_p
C0607
C0420
C0490 C0419 C0011 C0497 MCTRL_bNmaxFault_b
MONIT-NMAX
C0495
C0098 MCTRL_nNmaxC11
0
Encoder 1
MCTRL_bActTPReceived_b
X8 2 0
3 TP/MP
1 MCTRL_dnActIncLastScan_p
4 0 -Ctrl
DI2
1
X6 const
C0490 C0912 C0911 C0910
MONIT-Sd2 MCTRL_bResolverFault_b
const
MONIT-Sd6 MCTRL_bSensorFault_b
OR
const
MONIT-Sd7/SD8 MCTRL_bEncoderFault_b
150°C
Mot temp (X7 or X8) MONIT-OH3 MCTRL_bMotorTempGreaterSetValue_b
C0063
C0121
MONIT-OH7 MCTRL_bMotorTempGreaterC0121_b
85°C
Heatsink temp MONIT-OH MCTRL_bKuehlGreaterSetValue_b
C0061
C0122
MONIT-OH4 MCTRL_bKuehlGreaterC0122_b
MONIT-PL MCTRL_bRotorPositionFault_b
MONIT-LP1 MCTRL_bMotorphaseFail_b
ECSXA290
Note!
The process image is established in the course of a fixed system task (interval:
1 ms).
Exception: MCTRL_bActTPReceived_b, MCTRL_dnActIncLastScan_p and
MCTRL_nNAct_v respectively are read in the process input image of the task in
which they are used.
13.20.1 Inputs_MCTRL
System variables
Variable Data Signal Address Display Display Comments
type type code format
TRUE = drive carries out
MCTRL_bQspIn_b BOOL binary %IX131.0.0.0 C0042 bin
quick stop (QSP)
Speed setpoint
MCTRL_nNSetIn_a integer analog %IW131.1 C0050 dec [%] l 16384 º 100 % nmax
(C0011)
TRUE = speed controller
MCTRL_bMMax_b BOOL binary %IX131.0.2 ˘ ˘
operates in limitation
Torque setpoint
MCTRL_nMSetIn_a integer analog %IW131.3 C0056 dec [%] l 16384 º 100 % Mmax
(C0057)
TRUE = drive operates at
MCTRL_bIMax_b BOOL binary %IX131.0.1 ˘ ˘
limit C0022
Actual motor current
MCTRL_nIAct_a %IW131.5 l 16384 º 100 % Imax
(C0022)
DC voltage
MCTRL_nDCVolt_a integer analog %IW131.6 ˘ ˘
l 16384 º 1000 V
Current torque
MCTRL_nMAct_a %IW131.4 l 16384 º 100 % Mmax
(C0057)
Display of maximum
MCTRL_wMmaxC57 Word ˘ %IW131.16 ˘ ˘
torque (C0057) x 10
MCTRL_bUnderVoltage_
%IX131.0.3 Monit: undervoltage
b
MCTRL_bOverVoltage_b %IX131.0.4 Monit: overvoltage
MCTRL_bShortCircuit_b BOOL binary %IX131.0.5 ˘ ˘ Monit: short circuit
MCTRL_bEarthFault_b %IX131.0.6 Monit: earth fault
MCTRL_bIxtOverload_b %IX131.9.2 Monit: I x t − overload
Actual phase value as
MCTRL_nPos_a integer analog %IW131.7 ˘ ˘ analog signal
l 90° º 100%
Actual speed value
MCTRL_nNAct_v integer Velocity %IW131.8 ˘ ˘
[inc/ms]
Actual speed value
MCTRL_nNAct_a integer analog %IW131.2 ˘ ˘ l 16384 º 100 % nmax
(C0011)
double Rotor position of the
MCTRL_dnPos_p position %ID131.5 ˘ ˘
integer motor
Monit: max. system
MCTRL_bNmaxFault_b BOOL binary %IX131.0.7 ˘ ˘
speed exceeded
Display of max. speed
MCTRL_nNmaxC11 integer ˘ %IW131.15 ˘ ˘
(C0011)
MCTRL_bActTPReceived_
BOOL binary %IX131.0.10 ˘ ˘ Receive touch probe (TP)
b
MCTRL_dnActIncLastScan double Dinc during TP and task
position %ID131.6 ˘ ˘
_p integer start
13.20.2 Outputs_MCTRL
System variables
Variable Data Signal Address Display Display Comments
type type code format
TRUE = drive carries out
MCTRL_bQspOut_b BOOL binary %QX131.0.0 C0907/3 bin
quick stop (QSP)
Upper torque limitation
MCTRL_nHiMLim_a %QW131.4 C0906/4
l in % of C0057
integer analog dec [%]
Lower torque limitation
MCTRL_nLoMLim_a %QW131.3 C0906/3
l in % of C0057
FALSE = speed control
MCTRL_bNMSwt_b BOOL binary %QX131.0.1 C0907/2 bin
TRUE = torque control
Adaptive proportional
MCTRL_nNAdapt_a integer analog %QW131.12 ˘ ˘ gain of the speed
controller
TRUE = integral action
component of the speed
MCTRL_bILoad_b BOOL binary %QX131.0.3 C0907/4 bin
controller is accepted by
MCTRL_nISet_a
Integral action
MCTRL_nISet_a %QW131.7 C0906/8 component of the speed
controller
MCTRL_nNSet_a %QW131.1 C0906/1 Speed setpoint
integer analog dec [%]
Impact of C0254 on the
proportional gain (in %),
MCTRL_nPAdapt_a %QW131.8 C0906/9
l The sum (without
sign) is processed.
Setpoint phase differs
double
MCTRL_dnPosSet_p position %QD131.5 C0908 dec [inc] from actual phase for
integer phase controller
Influence of the phase
MCTRL_nPosLim_a integer analog %QW131.9 C0906/5 dec [%] controller
l In % of nmax (C0011)
TRUE = activate phase
MCTRL_bPosOn_b BOOL binary %QX131.0.2 C0907/1 ˘
controller
Lower speed limit at
MCTRL_nNStartMLim_a %QW131.5 C0906/6
speed limitation
Additional torque
MCTRL_nMAdd_a integer analog %QW131.2 C0906/2 dec [%] setpoint or torque
setpoint
MCTRL_nFldWeak_a %QW131.6 C0906/7 Motor control
Torque setpoint
At MCTRL_bNMSwt_b = TRUE, the speed control is active.
ƒ MCTRL_nMAdd_a acts as a torque setpoint.
ƒ The speed controllers carry out a monitoring function.
ƒ The torque setpoint is defined in [%] of the maximum possible torque.
– Negative values cause a torque in CCW rotation of the motor.
– Positive values cause a torque in CW rotation of the motor.
ƒ Set the maximum possible torque via C0057:
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0057 MAX TORQUE Maximum possible torque of the 333
drive configuration
Dependent on C0022, C0081,
C0087, C0088
Read only
0.0 {0.1 Nm} 500.0
You can set an external torque limitation via MCTRL_nLoMLim_a and MCTRL_nHiMLim_a.
Thereby you can define different torques for the quadrants "drive" and "brake".
ƒ MCTRL_nHiMLim_a is the upper torque limit in [%] of the maximum torque possible.
ƒ MCTRL_nLoMLim_a is the lower torque limit in [%] of the maximum torque possible.
ƒ Set the maximum possible torque via C0057.
Stop!
Set positive values in MCTRL_nHiMLim_a only, and negative values in
MCTRL_nLoMLim_a only, because otherwise the speed controller can lose
control. The drive may then run out of control.
Note!
ƒ If MCTRL_nHiMLim_a is not connected (free), the upper torque limit
automatically is 100 % of the maximum torque possible.
ƒ If MCTRL_nLoMLim_a is not connected (free), the lower torque limit
automatically is −100 % of the maximum torque possible.
ƒ With quick stop (QSP), the torque limitation is switched to an inactive state,
i. e. the operation works with ±100 %.
The maximum speed (nmax) which is used as a reference variable for the absolute and
relative setpoint selection with regard to the acceleration and deceleration times as well
as to the upper and lower speed limit, is set via C0011.
ƒ nmax = 100 % º (INT) 16384
Note!
MCTRL_nNmaxC11 displays the maximum speed set via C0011.
ƒ By means of this system variable, you are able to program your own speed
scalings.
ƒ Example: C0011 = 3000 rpm ð MCTRL_nNmaxC11 = 3000
Stop!
Use ...
ƒ the upper speed limit for the clockwise sense of rotation (positive values)
only.
ƒ the lower speed limit for the anticlockwise sense of rotation (negative
values) only.
Otherwise, the drive can run out of control!
Among other things, the phase controller is required for the implementation of a
phase−synchronous operation or of a drift−free standstill.
Parameter setting
1. Assign MCTRL_nPosSet_a to a signal source which provides the phase difference
between setpoint phase and actual phase.
2. Define a value > 0 for MCTRL_nPosLim_a.
3. Set MCTRL_bPosOn_b = TRUE.
4. Set a preferably high proportional gain (Vpn) of the speed controller via C0070.
5. Set the gain of the phase controller > 0 via C0254.
– Increase C0254 during operation until the drive has the required control mode.
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0070 Vp speedCTRL 3.0 Proportional gain of speed 130
controller (Vpn)
0.00 { 0.01} 127.99
C0254 Vp angle CTRL 0.4000 Phase controller gain (Vp) 336
0.0000 { 0.0001} 3.9999
The QSP function serves to stop the drive ˘ irrespective of the setpoint selection ˘ within
the time set in C0105.
ƒ The QSP function is active if MCTRL_bQsp_b is set = TRUE.
ƒ If the SB DCTRL_DriveControl is to actuate QSP (see also 337), program the QSP
function as follows:
DCTRL_bQspIn_b MCTRL_bQspOut_b
OR
Any Variable C0907/3
MCTRL_nHiMLim_a
C0906/4
MCTRL_nLoMLim_a
C0906/3
MCTRL_bNMSwt_b
C0907/2
ECSXA267
Function:
ƒ The torque limitation MCTRL_nLoMLim_a and MCTRL_nHiMLim_a is switched
inactively, i. e. the process is run at ±100 % capacity (
334). The drive is operated by
the speed controller.
ƒ The phase controller is switched actively. If the rotor position is moved actively, the
drive creates a torque to counter the swing if
– C0254 is set unequal to ’0’.
– MCTRL_nPosLim_ais controlled by means of a value > 0 %.
ƒ The speed is reduced to ’0’ within the deceleration time set via C0105:
Stop!
If the field is weakened manually (MCTRL_nFldWeak_a < 100 %), the drive
cannot produce the maximum torque.
For the inverter the following switching frequencies can be set via C0018:
ƒ 4 kHz for power−optimised operation ð maximum power output of the drive
controller, however, with audible pulse operation.
ƒ Automatic switch−over between power−optimised and noise optimised operation
(8 kHz).
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0018 fchop 2 Switching frequency 338
1 4 kHz sinus Power−optimised operation
permanent 4 kHz frequency
2 4 8 kHz sinus Noise optimised operation
automatic change−over to 8 kHz
at higher load
Procedure: In case of an edge change on the input activating a TP (e. g. X6/DI2), the current
angle value (master frequency input value) is saved in the operating system by a very quick
interrupt.
TP
MCTRL_dnActIncLastScan_p
j
ECSXA291
Function sequence
1. The TP is activated in an edge−controlled manner via the digital input X6/DI2 or via a
zero pulse from the master frequency input X8 or the resolver input X7.
2. If a TP has been effected, MCTRL_bActTPReceived_b is set = TRUE.
3. After the start of the task, MCTRL_dnActIncLastScan_p indicates the number of
increments [inc/ms] counted since the TP.
4. Following, MCTRL_bActTPReceived_b is set = FALSE.
Note!
It is necessary that all three outputs (MCTRL_nNAct_v,
MCTRL_bActTPReceived_b and MCTRL_dnActIncLastScan_p) are processed in
the task, even if just one signal is required.
Tip!
The GDC "input assistant for motor data" makes motor parameterisation easy.
For more information, please see the "Global Drive Control (GDC) − Getting
started" Manual.
In "GDC Easy", the "Input assistant for motor data" is not available. In this
case, please contact your Lenze representative for the stator resistance and
leakage inductance data.
For the manual adjustment of the motor data, the following codes are provided to you:
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
[C0006] Op mode 1 Operating mode of the motor
control
1 Servo PM−SM Servo control of synchronous
motors
2 Servo ASM Servo control of asynchronous
motors
C0022 Imax current à Imax limit
0 {0.01 A} à Device−dependent list
Max. current can be gathered
from the technical data.
C0077 Vp fieldCTRL 5.0 Field controller gain (VpF) 133
0.00 {0.01} 63.99
C0078 Tn fieldCTRL 20.0 Field controller reset time (TnF) 133
1.0 {0.5 ms} 6000.0
C0079 DIS:Lh Mutual inductance of the
asynchronous motor
Read only
0.0 {0.1 mH} 3276.7
[C0080] Res pole no. 1 Number of pole pairs of resolver
1 {1} 10
[C0081] Mot power 3.20 Rated motor power according to
nameplate
0.01 {0.01 kW} 500.00
[C0082] DIS:Rr Rotor resistance of the
asynchronous motor
Read only
0.000 {0.001 W} 32.767
C0083 DIS:Tr Rotor time constant of the
asynchronous motor
Read only
0.00 {0.01 ms} 327.67
13.20.14 Monitoring
Interfaces
System bus (CAN) CAN
Fieldbuses
Digital frequency
Analog/digital I/O
3
Memory
(FLASH, EEPROM, RAM)
Rectifier
PLC program
(acc. to IEC 61131-3, alterable)
Technology functions
mController
Operating system
Drive control Inverter
Communication
3
Motor control DSP
Digital Signal Processor
Standard motor
Synchronous motor
3~ Asynchronous motor
with resolver/encoder
ECSXA292
The motor control is provided with different monitoring functions, protecting the drive
against impermissible operating conditions.
If a monitoring function is activated,
ƒ the corresponding response for device protection is initiated.
ƒ the fault indication is entered on the first position in the history buffer (
213).
ƒ a corresponding variable is set to TRUE as long as the trigger condition is fulfilled.
The variables of the monitoring function can be processed in the application program
of the PLC.
The current error number is also displayed in the variable DCTRL_wFaultNumber after the
PLC has been started.
The fault history buffer (C0168/x) saves fault messages with an offset that indicates the
type of response.
Note!
For an overview of the monitoring functions, please see the chapter
"Monitoring" (
184).
The monitoring responses are described in the same chapter (
189).
Tip!
Occurring faults generally do not affect the operating ability of the PLC!
Note!
When the oscilloscope is integrated into the IEC 61131 program (DDS), it
requires a permanent calculating time of 100 ms. Check in the task monitor, if
enough calculating capacity is available.
The following steps must be carried out to activate the oscilloscope in the DDS:
1. Enter the system block OSC_Oscilloscope into the control configuration.
2. Read the system block input OSC_bUsed into the program organisation unit of the
program type.
Thus the oscilloscope is called in the input process of the tasks which also contains the
program wit the entry mentioned. The minimum sampling rate is determined by the task
which includes the oscilloscope.
Examples
ƒ AWL:
LD OSC_bUsed
ST A
ƒ ST:
A := OSC_bUsed
System flags are global variables that are integrated in the run−time system as an inherent
part. They feature functionalities for making programming easier.
The following system flags are part of the ECSxA... axis module:
Variable Data type Address Comments
SYSTEM_bClock01Hz %IX151.0.0 0.1 Hz system clock
SYSTEM_bClock1Hz %IX151.0.8 1.0 Hz system clock
SYSTEM_bClock10Hz %IX151.1.0 10 Hz system clock
SYSTEM_bClock0100Hz %IX151.1.8 100 Hz system clock
SYSTEM_bTogCycleTask %IX151.2.0 Toggle marker − cyclic task
SYSTEM_b1LoopCyclicTask %IX151.2.8 First loop − cyclic task
SYSTEM_b1LoopTask2 %IX151.3.0 First loop − task ID2
BOOL
SYSTEM_b1LoopTask3 %IX151.3.8 First loop − task ID3
SYSTEM_b1LoopTask4 %IX151.4.0 First loop − task ID4
SYSTEM_b1LoopTask5 %IX151.4.8 First loop − task ID5
SYSTEM_b1LoopTask6 %IX151.5.0 First loop − task ID6
SYSTEM_b1LoopTask7 %IX151.5.8 First loop − task ID7
SYSTEM_b1LoopTask8 %IX151.6.0 First loop − task ID8
SYSTEM_b1LoopTask9 %IX151.6.8 First loop − task ID9
SYSTEM_nTaskInterval %IW151.7 Interval of current task
integer
SYSTEM_nTaskID %IW151.8 Identification of current task
Tip!
The system flags are not generated in simulation mode.
SYSTEM_bClockxHz
These system flags output a fixed clock pulse with an equal pulse/pause ratio.
ƒ State alterations of the flag are effected in real time.
ƒ When you use this system flag, observe the sampling frequency used for polling the
flag (aliasing effect). It should at least be twice the change frequency.
Example: You want to use the system flag SYSTEM_bClock100Hz as a clock for a
counter.
ƒ The pulse/pause ratio is 5 ms/5 ms.
ƒ To avoid an aliasing effect, the counter must always be polled with an INTERVAL
TASK < 5 ms.
Note!
The SYSTEM_bClockxHz system variables must not be used to trigger
event−controlled tasks. Use time−controlled tasks for this.
SYSTEM_bTogCycleTask
This system flag alters the state with the cyclic task:
1. cycle: FALSE
2. cycle: TRUE
3. cycle: FALSE
4. cycle: TRUE
etc.
SYSTEM_nTaskInterval
This system flag indicates the interval of the running task with a resolution of 0.25 ms.
ƒ If, for instance, a tasks of 10 ms is processed, the system flag indicates ’40’
(40 × 0.25 ms = 10 ms).
ƒ If a task different from an interval task is processed, the system flag indicates 0".
SYSTEM_nTaskID
This system flag indicates the task ID of the running task.
SYSTEM_b1LoopCyclicTask/SYSTEM_b1Loop Task X
These system flags are TRUE only once during the first cycle of a task.
ƒ After the first cycle, the flags will be set to FALSE.
ƒ The only way to reset the status to TRUE is to reset the program in the drive
controller.
14 Appendix
S T
U V
z
X1 Y Z l
y LECOM A/B
l 2111 INTERBUS
X4 l 2112 INTERBUS loop
X14
l 2133 PROFIBUS−DP
l 2174 CAN addressing module
l 2175 DeviceNet/CANopen
Others in preparation
14.3 Memories
Tip!
Function library LenzeMemDrv.lib includes functions for read/write access to
the additional backup memory (application data memory) of the ECSxA... axis
module.
The values of the retain variables are stored fail−safe in the retain memory, and therefore
are still available to the program after mains switching. Saving with C0003 = 1 is not
necessary.
ƒ Retain variables are declared by using the variable class VAR RETAIN.
ƒ Retain variables are created as a symbolically addressable memory.
ƒ At every program download, the retain variables are reset to their initialisation
value; if no initialisation value is specified, the respective retain variable is initialised
with the value ’0’.
ƒ The retain variables in the ECSxA... axis module can be reset to their initialisation
value in the online mode of the DDS by using the commands OnlineReset (cold) or
OnlineReset (original).
32 bytes of data can be stored fail−safe in the persistent memory, so that they are also still
available to the program after mains switching. In contrast to the retain memory, the data
even remains in the persistent memory after a new program download. Saving with C0003
= 1 is not necessary.
ƒ The persistent memory can only be deleted in the online mode of the DDS by using
the command OnlineReset (original).
Note!
Some projects, program examples, as well as Lenze templates use areas of the
persistent memory. They also are labelled by "LenzeInternalUse" and must not
be altered by the user.
In DDS (as of version 2.0) it is possible to attach a file to your project whose data are
automatically transferred in the drive controller when the program is downloaded.
ƒ This mechanism is, for instance, used in the software package "Cam" to download
motion profiles.
Note!
With regard to the ECSxA... axis module, the additional data is immediately
attached to the PLC program, because the module is not provided with an
application memory (FLASH).
Data will be downloaded if the following conditions are met:
1. The PLC program in the ECSxA... axis module has to be stopped.
2. The header of the file attached to the project must have the following structure:
Name Data type Data length in bytes Content
wSizeHeader WORD 2 Header length in bytes
wDataType WORD 2 Data specification identifier
l This information can be found under C2131 after
data has been downloaded.
0 ... 10000 Lenze−specific data
> 10000 User data
dwVersion DWORD 4 Data version
l This information can be found under C2132 after
data has been downloaded.
dwRealSize DWORD 4 User data length in bytes (without header)
dwTimeStamp DWORD 4 Time stamp of the last data change
l This information can be found under C2133 after
data has been downloaded.
wLicenseInfo WORD 2 Reserved for future extensions
wSizeSymbolicName WORD 2 Length of the symbolic file name
achSymbolicName ACH wSizeSymbolicName Character array including the symbolic file name
l This information can be found under C2130 after
data has been downloaded.
wCopyToRam WORD 2 Specifying whether the data is automatically copied
into the application RAM of the ECSxA... axis module
after download.
l Maximum data length = 128 kbytes (RAM block 1
& 2)
0 Data is not copied into the application
RAM.
1 Data is copied into the application RAM.
2 ... 65535 Reserved
dwReserved DWORD 4
Reserved for future extensions
awSizeAddInfo DWORD 190
E4 00 0A 00 01 00 00 00 1C FF 00 00
The codes C2500 and C2501 are temporary codes, i. e. the data of these codes
ƒ does not assign storage space in the EPROM of the drive.
ƒ cannot be stored with C0003 = 1 in the parameter set of the drive.
ƒ is lost after switch−off of the drive or after mains failure.
ƒ is fixedly interlinked with the flag area of the PLC.
Tip!
ƒ Temporary codes are suited for the reception of parameters which are to be
accessed during a switch−on cycle of the ECSxA... axis module only.
ƒ Furthermore, the codes present the possibility to directly (e.g. via HMI)
access the flag area of the ECSxA... axis module without having to apply a
variable.
Note!
ƒ In the system task, the memory access is processed at the same time as the
PLC program. This is why the processing time depends on the workload of
the system.
ƒ If you want to access the RAM memory from the IEC 61131 program, you
can use the functions of the LenzeMemDrv.lib function library for this
purpose.
If you want to access the RAM memory of the ECSxA... axis module by external controls or
PC tools, e. g. in order to manipulate the data of motion profiles online, you can implement
a RAM memory access by means of the following codes:
65535
RAM
block 1
Write protection
C0504/1
4 bytes
65535
write C0508 4 bytes 2 RAM
block 2
Write protection
C0504/2
4 bytes
Offset
C0505
ECSXA296
Codes
Code Possible settings IMPORTANT
No. Designation Lenze/ Selection
{Appl.}
C0504 Activate/deactivate write 356
protection for RAM memory
l In case of activated write
protection, writing on the
RAM memory via codes or
functions from the function
library LenzeMemDrv.lib not
possible.
1 0 0 Write protection RAM block 1 inactive
1 Write protection RAM block 1 active
2 0 0 Write protection RAM block 2 inactive
1 Write protection RAM block 2 active
1. 2. 3.
RAM 4 bytes
65532
4 bytes
65532
4 bytes
65532
block
0 0 0
ECSXA297
System POUs are program organisation units of the "program" type, which by means of a
specific designation adopt the feature of being started subject to an event occurring in the
ECSxA... axis module.
ƒ The program includes max. 1000 instructions for system POUs.
ƒ Unlike tasks or PLC_PRG, system POUs are not run−time monitored by a "watchdog".
ƒ See the following table for special POU names and the related events for starting
the POU:
POU name Event for starting POU The POU starts if
PLC_TaskOverrun Task overflow ...the task monitoring time is exceeded.
PLC_RealError Floating−point error ...a floating−point error occurs.
PLC_FailTripping TRIP ...a trip is set.
PLC_WarningTripping Warning ...a warning is activated.
PLC_MessageTripping Message ...a message is indicated.
PLC_FailQspTripping FAIL−QSP ...a FAIL−QSP is activated. 1)
PLC_CANError CAN bus error ... a CAN bus error occurs (e.g. BUS−OFF). 3)
PLC_AIFError AIF bus error ... an AIF bus error occurs. 3)
PLC_Restart Start ... the START command is activated after a STOP.
PLC_ColdStart Cold start ... a RESET, RESET (cold), RESET (original) or a program
download has been activated. 2)
Note: System variables must not be used in
PLC_ColdStart since this can lead to an unexpected
maloperation of the control system (e.g. restart of the
motor).
PLC_Stop PLC stop ... the STOP command is activated. 4)
Tip!
If you need a system POU for an event−controlled start, create a "program"
POU and use the name of this POU as POU name related to the corresponding
event listed in the table.
C0302
C0304 Service Codes Only the Lenze service is allowed
... to make changes!
C0310
C0349 Status of the DIP switch for CAN
bus interface X4
Read only
1 CAN DIP−SW 0 {1} 63 Node address set on the DIP
switch
2 CAN DIP−SW 0 4 For setting the DIP switches > 4,
the display is set to 0.
C0350 CAN address 32 Node address for CAN bus 161
interface X4 426
l This code is not active if one
of the switches 2 ... 7 of the
DIP switch is set to "ON".
( 161)
l After the setting, a reset node
is required.
1 {1} 63
C0351 CAN baud rate 0 Baud rate for CAN bus interface 161
X4
0 500 kbit/s l The baud rate must be set
1 250 kbit/s identically for all CAN nodes.
l This code is not active if one
2 125 kbit/s of the switches 2 ... 7 of the
3 50 kbit/s DIP switch is set to "ON".
l After the setting, a reset node
4 1000 kbit/s is required.
C0352 CAN mst 0 Master/slave configuration for 167
CAN bus interface X4
0 Slave CAN boot−up is not active
1 Master CAN boot up is active
2 Master with node guarding
3 Slave and heartbeat producer
4 Slave with node guarding
1 {1} 256
C0368 Sync Tx ID 128 Sync transmission ID for CAN bus 412
interface X4 171
1 {1} 256
112 IT2048−5V
113 IT4096−5V
210 IS512−5V SinCos encoder
211 IS1024−5V
212 IS2048−5V
213 IS4096−5V
307 AS64−8V SinCos absolute value encoder
308 AS128−8V with Hiperface® interface
(single−turn)
309 AS256−8V Selections 307, 308, 309 are only
310 AS512−8V possible with operating system
7.0 or higher.
311 AS1024−8V
407 AM64−8V SinCos absolute value encoder
408 AM128−8V with Hiperface® interface
(multi−turn)
409 AM256−8V Selections 407, 408, 409 are only
410 AM512−8V possible with operating system
7.0 or higher.
411 AM1024−8V
[C0420] Encoder const. 512 Number of increments of the 309
encoder 104
110
1 {1 inc/rev} 8192 Sets C0419 = 0 ("common") if the
value is altered.
[C0421] Encoder volt 0 Encoder voltage 309
0 5.0 V Sets C0419 = 0 ("common") if the 104
value is altered. 110
1 5.6 V
2 6.3 V
3 6.9 V
4 7.5 V
5 8.1 V
C0426 DIS: In Signal at DFIN input 309
Only display
−32767 {1 rpm} 32767
[C0427] Enc. signal 0 Function of the master frequency 309
input signals on X8 (DFIN) 104
0 2−phase 110
1 A: speed
B: direction
2 A or B: speed or direction
1 {1} 256
C2468 Sync Tx ID 128 CAN−AUX Sync−transmission ID 412
for CAN bus interface X14 260
1 {1} 256
C2469 Sync Tx time 0 CAN−AUX sync transmission cycle 257
for CAN bus interface X14
A sync telegram with the
identifier of C2468 is sent with
the set cycle time.
0 {1 ms} 65000 0 = switched off
C2481 MONIT CE11 3 Configuration of monitoring 191
CANaux1_IN error
"CommErrCANauxIN1" (CE11)
0 TRIP
2 Warning
3 Off
C2482 MONIT CE12 3 Configuration of monitoring 191
CANaux2_IN error
"CommErrCANauxIN2" (CE12)
0 TRIP
2 Warning
3 Off
C2483 MONIT CE13 3 Configuration of monitoring 191
CANaux3_IN error
"CommErrCANauxIN3" (CE13)
0 TRIP
2 Warning
3 Off
C2484 MONIT CE14 3 Configuration of "system bus 191
(CAN−AUX) off" monitoring at
CAN bus interface X14
"BusOffState" (CE14)
0 TRIP
2 Warning
3 Off
C2485 MONIT CE15 3 Configuration of the gateway 191
function
0 TRIP
2 Warning
3 Off
If you want to establish separate programs, you need the information from the table of
attributes. It contains all information for the communication to the ECSxA... axis module
via parameters.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
C0027 24548 5FE4h A 2 FIX32 VD 4 2 Ra/Wa
C0030 24545 5FE1h E 1 FIX32 VD 4 0 Ra/Wa
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
C0032
C0034
C0037
24543
24541
24538
5FDFh
5FDDh
5FDAh
E
E
E
1
1
1
FIX32
FIX32
FIX32
VD
VD
VD
4
4
4
0
0
0
Ra/Wa
Ra/Wa
Ra/Wa
C0040 24535 5FD7h E 1 FIX32 VD 4 0 Ra/Wa
C0042 24533 5FD5h E 1 FIX32 VD 4 0 Ra
C0043 24532 5FD4h E 1 FIX32 VD 4 0 Ra/Wa
C0050 24525 5FCDh E 1 FIX32 VD 4 2 Ra
C0051 24524 5FCCh E 1 FIX32 VD 4 0 Ra
C0052 24523 5FCBh E 1 FIX32 VD 4 0 Ra
C0053 24522 5FCAh E 1 FIX32 VD 4 0 Ra
C0054 24521 5FC9h E 1 FIX32 VD 4 1 Ra
C0055 24520 5FC8h A 4 FIX32 VD 4 2 Ra
C0056 24519 5FC7h E 1 FIX32 VD 4 0 Ra
C0057 24518 5FC6h E 1 FIX32 VD 4 1 Ra
C0058 24517 5FC5h E 1 FIX32 VD 4 1 Ra/Wa
C0059 24516 5FC4h E 1 FIX32 VD 4 0 Ra
C0060 24515 5FC3h E 1 FIX32 VD 4 0 Ra
C0061 24514 5FC2h E 1 FIX32 VD 4 0 Ra
C0062 24513 5FC1h E 1 FIX32 VD 4 0 Ra
C0063 24512 5FC0h E 1 FIX32 VD 4 0 Ra
C0064 24511 5FBFh E 1 FIX32 VD 4 0 Ra
C0065 24510 5FBEh E 1 FIX32 VD 4 1 Ra
C0066 24509 5FBDh E 1 FIX32 VD 4 0 Ra
C0067 24508 5FBCh E 1 FIX32 VD 4 0 Ra
C0070 24505 5FB9h E 1 FIX32 VD 4 2 Ra/Wa
C0071 24504 5FB8h E 1 FIX32 VD 4 1 Ra/Wa
C0072 24503 5FB7h E 1 FIX32 VD 4 2 Ra/Wa
C0074 24501 5FB5h E 1 FIX32 VD 4 0 Ra/Wa
C0075 24500 5FB4h E 1 FIX32 VD 4 2 Ra/Wa
C0076 24499 5FB3h E 1 FIX32 VD 4 2 Ra/Wa
C0077 24498 5FB2h E 1 FIX32 VD 4 2 Ra/Wa
C0078 24497 5FB1h E 1 FIX32 VD 4 1 Ra/Wa
C0079 24496 5FB0h E 1 FIX32 VD 4 1 Ra
C0080 24495 5FAFh E 1 FIX32 VD 4 0 Ra/W CINH
C0081 24494 5FAEh E 1 FIX32 VD 4 2 Ra/W CINH
C0082 24493 5FADh E 1 FIX32 VD 4 3 Ra
C0083 24492 5FACh E 1 FIX32 VD 4 2 Ra
C0084 24491 5FABh E 1 FIX32 VD 4 2 Ra/W CINH
C0085 24490 5FAAh E 1 FIX32 VD 4 2 Ra/W CINH
C0087 24488 5FA8h E 1 FIX32 VD 4 0 Ra/W CINH
C0088 24487 5FA7h E 1 FIX32 VD 4 1 Ra/W CINH
Note!
The information on this chapter will be part of the "CAN Communication
Manual" at a later date.
All Lenze drive and automation systems are equipped with an integrated system bus
interface for the networking of control components on field level.
Via the system bus interface, for instance process data and parameter values can be
exchanged between the nodes. In addition, the interface enables the connection of further
modules such as distributed terminals, operator and input devices or external controls and
host systems.
The system bus interface transmits CAN objects following the CANopen communication
profile (CiA DS301, version 4.01) developed by the umbrella organisation of CiA (CAN in
Automation) in conformity with the CAL (CAN Application Layer).
Tip!
For further information visit the homepage of the CAN user organisation CiA
(CAN in Automation): www.can−cia.org.
Identifier
The identifier determines the priority of the message. Moreover, the following is coded:
ƒ The CAN node address (device address in the CAN network) of the node which is to
receive the CAN telegram.
See also chapter "Addressing of the parameter and process data objects" (
426).
ƒ The type of user data to be transferred
User data
The user data area of the CAN telegram either contains network management data,
process data or parameter data:
User data Description
Network management data The information serves to establish communication via the CAN network
(NMT data)
Process data l Process data are transmitted via the process data channel.
(PDO, Process Data Objects) l The process data serve to control the controller.
l Process data can be accessed directly by the higher−level host system.
The data are, for instance, stored directly in the I/O area of the PLC. It is
necessary that the data can be exchanged between the host system
and the controller within the shortest time possible. In this connection,
small amounts of data can be transferred cyclically.
l Process data are transmitted between the higher−level host system and
the controllers to ensure a permanent exchange of current input and
output data.
l Process data are not stored in the controller.
l Process data are, for instance, setpoints and actual values.
Parameter data l Parameter data are transferred via the parameter data channel and
(SDO, Service Data Objects) acknowledged by the receiver, i.e. the receiver gets a feedback whether
the transmission was successful.
l Parameter data of Lenze devices are called codes.
l The parameter data channel enables access to all Lenze codes and all
CANopen indexes.
l Parameters are set, for instance, for the initial commissioning of a
plant or when material of a production machine is exchanged.
l Usually the transfer of parameters is not time−critical.
l Parameter changes are stored in the controller.
l Parameter data are, for instance, operating parameters, diagnostic
information and motor data.
Tip!
The other signals refer to the transfer features of the CAN telegram that are
not described in these instructions.
For further information visit the homepage of the CAN user organisation CiA
(CAN in Automation): www.can−cia.org.
State transitions
(1)
Initialisation
(2)
(14) (11)
Pre-Operational
(7)
(10)
(13) (4) (5)
Stopped
(3) (6)
E82ZAFU004
xx = 00hex With this assignment, all devices connected are addressed by the telegram. The
state can be changed for all devices at the same time.
xx = node ID If a node address is specified, only the state of the addressed device will be
changed.
The communication phases are changed over by a node, the network master, for the entire
network. The change−over can also be done by a controller.
With a certain delay after mains connection, a telegram is sent once which changes the
status of the entire drive system to "Operational". The delay time can be set via the
following codes:
Interface Code
X1 Automation interface (AIF) C2356/4
Note!
Communication via process data only is possible with a state change to
operational"!
Example:
For changing the state of all nodes on the bus from "pre−operational" to
operational" via the CAN master, the following identifier and user data must
be set in the telegram:
ƒ Identifier: 00 (broadcast telegram)
ƒ User data: 0100 (hex)
Definitions
ƒ Process data telegrams between host and drive are distinguished as follows:
– Process data telegrams to the drive
– Process data telegrams from the drive
ƒ The CANopen process data objects are designated as seen from the node’s view:
– RPDOx: process data object received by a node
– TPDOx: process data object sent by a node
X1 XCAN3_IN ˘ ü ˘ ˘ ü
Automation interface (AIF) XCAN1_OUT ˘ ü ˘ ˘ ü
TPDO XCAN2_OUT ˘ ü ˘ ˘ ü
XCAN3_OUT ˘ ü ˘ ˘ ü
CAN1_IN ü ü ü ü ü
RPDO CAN2_IN ˘ ü ü ˘ ü
X4 CAN3_IN ü ü ü ˘ ü
ECSxS/P/M: MotionBus (CAN)
ECSxA/E: System bus (CAN) CAN1_OUT ü ü ü ü ü
TPDO CAN2_OUT ˘ ü ü ˘ ü
CAN3_OUT ü ü ü ˘ ü
CANaux1_IN ˘ ˘ ü ˘ ü
RPDO CANaux2_IN ˘ ˘ ü ˘ ü
X14 CANaux3_IN ˘ ˘ ˘ ˘ ü
System bus (CAN)
Interface is not available for ECSxE. CANaux1_OUT ˘ ˘ ü ˘ ü
TPDO CANaux2_OUT ˘ ˘ ü ˘ ü
CANaux3_OUT ˘ ˘ ˘ ˘ ü
Note!
In case of the ECSxE power supply module, the PDOs CAN1_IN/OUT and
CAN3_IN/OUT cannot be used simultaneously. The PDOs to be used are
selected via C0360.
ƒ The process data objects are integrated into the ECSxA... axis modules in the form of
system blocks ( 230).
ƒ In the system blocks the user data is converted to corresponding signal types for
further use.
– Setting of cycle time > 0: data transmission with fixed cycle time
– Setting of cycle time = 0: event−controlled data transmission
RPDO1: CAN1_IN
ECS module
TPDO1: CAN1_OUT
Host system
Fig. 14−9 Example: Process data transfer via CAN1_IN and CAN1_OUT
For a quick exchange of process data from or to the master, one process data object is
available for input signals (RPDO1) and one process data object for output signals (TPDO1)
with eight bytes of user data each.
TPDOs RPDOs
1. 2. 3.
Cycle time
1. After the sync telegram has been received, the synchronous process data from the
controllers are sent to the master (TPDOs). They are read as process input data in the
master.
2. When the transmission process is completed, the process output data (of the
master) are received by the controllers (RPDOs).
All other telegrams (e.g. parameters or event−controlled process data) are accepted
acyclically by the controllers after transmission is completed. The acyclic data are not
displayed in the above graphics. They must be considered when the cycle time is
dimensioned.
3. The data in the controller is accepted with the next sync telegram.
Tip!
The response to a sync telegram is determined by the transmission type
selected.
Note!
Information on how to set the synchronisation can be found from 257.
0 1 2 3
dcbBA
SHPRG p Menu
Code
Para
0050 00
50.00_Hz
M C T R L- N O U T
S T
U V
z
Y Z
y
MotionBus (CAN)
4 5
ECSXA219
The process data objects serve to transmit simple binary signals (e.g. states of digital input
terminals) or complete values in 16 and 32 bits (e.g. analog signals).
0 1 2 3
dcbBA
SHPRG p Menu
Code
Para
0050 00
50.00_Hz
M C T R L- N O U T
S T
z U V
Y Z
y
MotionBus (CAN)
X1
X4 X4 X4 X4 X4
4 5
ECSXA220
Parameters
ƒ are values which are stored under codes in the Lenze controllers.
ƒ are set e.g. during initial commissioning or while changing materials in a machine.
ƒ are transmitted with low priority.
Parameter data are transmitted as SDOs (Service Data Objects) via the system bus (CAN)
and acknowledged by the receiver. The SDOs enable the writing and reading access to the
object directory.
The CAN bus interfaces X4 and X14 have two separated parameter data channels each
which enable the simultaneous connection of different devices for parameter setting and
diagnostics.
The codes for parameter setting and diagnostics of the automation interface (AIF) X1 as
well as the CAN bus interfaces X4 and X14 are divided into separate ranges:
Interface Code range
X1 Automation interface (AIF) C23xx
X4 ECSxS/P/M: MotionBus (CAN) C03xx
ECSxA/E: System bus (CAN)
X14 System bus (CAN) C24xx
l Interface is not available for ECSxE.
Note!
The user data is shown in motorola format.
Examples for parameter data transfer can be found from 424.
Command
The command contains the services for writing and reading the parameters and
information on the length of the user data:
Bit 7 Bit6 Bit5 Bit4 Bit3 Bit 2 Bit 1 Bit 0
MSB LSB
Command Command specifier (cs) toggle (t) Length e E
Write request 0 0 1 0 1 1
00 = 4 bytes
Write response 0 1 1 0 01 = 3 bytes 0 0
Read request 0 1 0 0 10 = 2 bytes 0 0
11 = 1 byte
Read response 0 1 0 0 1 1
Error response 1 0 0 0 0 0 0 0
Tip!
Further commands are defined in the CANopen specification DS301,V4.02
(e.g. segmented transfer).
Data1...Data4
Parameter value length depending on the data format
Parameter value
00 00 00
(Length: 1 byte)
Parameter value (length: 2 bytes)
00 00
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 (32bit value with
sign, decimally with four decimal positions). To obtain integer values, the
desired parameter value must be multiplied by 10,000dec.
The parameters C0135 and C0150 must be transmitted bit−coded and without
a factor.
Error messages
User data (up to 8 bytes)
1st byte 2nd byte 3rd byte 4th byte 5th byte 6th byte 7th byte 8th byte
Index Index
Command Subindex Display
Low byte High byte
ƒ Byte 1:
In the command byte the code 128dec or 80hex indicates that a fault has occurred.
ƒ Byte 2, 3 and 4:
In these bytes the index (byte 2 and 3) and subindex (byte 4) of the code in which an
error occurred are entered.
ƒ Byte 5 to 8:
In the data bytes 5 to 8 the error code is entered. The structure of the error code is
reversed to the read direction.
Example:
The representation of the error code 06 04 00 41hex in the bytes 5 to 8
Read direction of the error code
41 00 04 06
5. byte 6. byte 7. byte 8. byte
Low word High word
Low byte High byte Low byte High byte
Reading parameters
The heatsink temperature C0061 (value of 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 = 5FC2hex
ƒ 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 40hex C2hex 5Fhex 00 00 00 00 00
– Command:
"Read Response" (response to the read request) = 43hex
– Identifier:
SDO1 from controller (= 1408) + node address (= 5) = 1413
– Index of the read request:
5FC2hex
– Subindex:
0
– Data 1 to data 4:
00 06 8F B0 = 430.000 430.000 : 10.000 = 43 °C
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 SDO 1 (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 = 5FF3hex
ƒ Subindex: 0
ƒ Calculation of the acceleration time
Data 1 ... 4 Calculation
Value for acceleration time 20 s ú 10.000 = 200.000dec
= 00 03 0D 40hex
ƒ Telegram to controller
User data
Command Index Index Subindex Data 1 Data 2 Data 3 Data 4
Identifier Low byte High byte
1537 23hex F3hex 5Fhex 00 40hex 0Dhex 03hex 00
– Command:
"Write Response" (response of the controller (acknowledgement)) = 60hex
– Identifier:
SDO1 from controller (= 1408) + node address (= 1) = 1409
The CAN bus system is based on a message−oriented data exchange between a transmitter
and many receivers. Thus, all nodes can transmit and receive messages at the same time.
The identifier in the CAN telegram ˘ also called COB−ID (Communication Object Identifier)
controls which node is to receive a transmitted message. With the exception of the
network management (NMT) and the sync telegram (Sync) the identifier contains the
node address of the drive besides the basic identifier:
Identifier (COB−ID) = basic identifier + adjustable node address (node ID)
The basic identifier is preset with the following values:
Note!
The "9.2.1 Setting of CAN node address and baud rate" chapter contains
information on
ƒ Setting of the node address (
161).
ƒ Individual addressing (
164).
The accessories are not included in the scope of supply. Lenze’s basic devices and
accessories are carefully matched to each other. With the basic device and the accessories,
all components for a complete drive system are available. The component selection must
be matched to the respective application.
To make purchasing easy, the connector sets are available as separate delivery units for the
ECS power supply, capacitor and axis modules:
ƒ ECSZE000X0B (connector set for ECS power supply modules)
ƒ ECSZK000X0B (connector set for ECS capacitor modules)
ƒ ECSZA000X0B (connector set for ECS axis modules)
The shield mounting kit ECSZS000X0B001 contains components for reliable and quick
fixing of the cable shields. The scope of supply includes:
ƒ Shield sheet for motor cable
ƒ Wire clamp for shield connection of motor cable
ƒ Wire clamp for shield connection of control cables
ƒ Wire clamp for shield connection of motor monitoring cable
Pd Continuous power
ThermalcapacityC B
Max. braking power PBmax [kW] P Bmax +
On * time
ThermalcapacityC B
Max. braking power PBmax [kW] P Bmax +
On * time
ThermalcapacityC B
Max. braking power PBmax [kW] P Bmax +
On * time
It is not mandatory to use a mains choke for operating the ECS modules. The respective
application determines whether a mains choke is required or not.
Advantages when using a mains choke:
ƒ Lower system perturbations
– The waveform of the mains current is approximated to the sinusoidal shape.
– Reduction of the effective mains current by up to 25%.
– Reduction of the mains, cable and fuse load.
ƒ The effective DC−bus current also decreases by up to 25%.
ƒ Increased service life of the connected axis modules
– A mains choke reduces the AC current load of the DC−bus capacitors and thus
increases their service life.
ƒ Low−frequency radio interference voltages are reduced.
Please note:
ƒ With mains choke operation the maximally possible output voltage does not fully
reach the value of the mains voltage.
ƒ For operation of drives for accelerating duty with high peak currents, it is
recommended to use mains chokes with linear L/I characteristic (Lenze types
ELN3...).
ƒ The choke rating is to be checked and adapted to the respective conditions.
According to the application, different measures for reducing the mains current and for
radio interference suppression are required on the supply side for servo systems. As a rule,
these measures are not mandatory, but protect the universal application of a servo system.
Lenze offers a built−on filter for each power supply module for the interference level A. The
RFI filters are designed for the ECS power supply module assigned and up to 10 axes with
a motor cable length of 25 m each (Lenze system cable). The interference level A is
observed as long as the motor cable length per axis module is 25 m at a maximum (Lenze
sytem cables) and the number of the ECS axis modules is maximally 10.
RFI filter type ECS power supply module type
ECSxE012
ECSZZ020X4B
ECSxE020
ECSZZ040X4B ECSxE040
14.8.10 Motors
15 Index
A AIF1_IO_AutomationInterface, 235
− Inputs_AIF1, 235
Absolute value encoder (Hiperface, single−turn/multi−turn),
101 − Outputs_AIF1, 240
− as position and speed encoder, 110 AIF2_IO_AutomationInterface, 243
Access − Inputs_AIF2, 243
− Outputs_AIF2, 245
− absolute addresses, 21
− Outputs_AIF3, 249
− via system variables, 20
AIF3_IO_AutomationInterface, 247
Accessories, 428
− brake resistors, 429 − Inputs_AIF3, 247
− capacitor modules, 428 Analog input, 68 , 251
− communication modules, 429 Analog inputs, Configuration, 68 , 251
− connector set, 428
ANALOG1_IO, Inputs_ANALOG1, 251
− digital frequency cables, 429
Analog1_IO, 251
− digital frequency distributor, 429
− mains chokes, 431 Application, as directed, 17
− mains fuses, 431 Application as directed, 17
− motors, 432
Approvals, 32
− operating modules, 429
− power supply modules, 428 Assignment, external brake resistor, 429
− RFI filters, 432 Assignment of the plug connectors
− shield mounting kit, 428 − control connections, 66
− system bus components, 429 − system bus (CAN), 81
Actual speed value, 340 Atmospheric pressure, 32
Additional torque setpoint, 333 Auto increment access (RAM memory), 357
Address setting, 162 Automation interface
− via DIP switch, 162 − AIF_IO_Management, 231
Inputs_AIF_Management, 231
Addresses, absolute , 21 Outputs_AIF_Management, 234
Addressing − AIF1_IO_AutomationInterface, 235
− Display of the resulting identifiers, 166 Inputs_AIF1, 235
Outputs_AIF1, 240
− individual, 164
− AIF2_IO_AutomationInterface, 243
− Parameter data objects, 160
Inputs_AIF2, 243
− parameter data objects, 426 Outputs_AIF2, 245
− Process data objects, 160 − AIF3_IO_AutomationInterface, 247
− process data objects, 426 Inputs_AIF3, 247
Outputs_AIF3, 249
Adjusting current controller, 125
− communication error CE0, 231
Adjusting the current controller, calculating the electrical − control word, 234
motor values, 125
− status, 231
Adjustment of field controller / field weakening controller, − transfer of the status/control word, 307
Adjustment, 133
Automation interface (AIF), 78
AIF interface configuration, 145
AIF_IO_Management, 231
− Inputs_AIF_Management, 231
− Outputs_AIF_Management, 234
Communication, cyclic node monitoring (Node Guarding), Configuring the AIF interface
169 − baud rate, 145
Communication error CE0, 231 − boot up, 146
Communication modules, 429 − cycle time, 150
− diagnostics, operating status, 157
Communication phases, 412
− identifiers of the process data objects, 148
Configuration − monitoring, 154
− codes, 359 bus off, 155
− monitoring, 189 time monitoring, 154
voltage supply of the control electronics, 204 − reset node, 153
− monitoring functions − synchronisation
bus off, 192 XCAN sync response, 152
current load of controller (I x t monitoring), 198 XCAN Sync Tx transmission cycle, 153
current load of motor (I2 x t monitoring), 201
Configuring the CAN interface
DC−bus voltage, 202
earth fault, 193 − diagnostics, 157
heatsink temperature, 196 − mapping of indices to codes, 175
maximum speed, 211 − monitoring, time−out during activated remote
monitoring times for process data input objects, 191 parameterisation, 192
motor phases, 205
motor temperature, 193 − remote parameterisation (gateway function), 177
motor temperature sensor, 207 − synchronisation, 171
overview, 184 sync identifier, 171
Resolver cable, 206 sync response, 171
rotor position adjustment, 212 Sync Tx transmission cycle, 172
short circuit, 193 XCAN sync identifier, 152
sin/cos encoder, 208 − system bus management, 174
speed, 210
temperature inside the controller, 197 Configuring touch probe (TP), 339
thermal sensors, 198 Conformity, 32
− MotionBus/system bus (CAN)
axis synchronisation, 261 , 262 Connection
Bus load, 180 − Capacitor module ECSxK..., 63
Bus status, 178 − DC bus, 54 , 56
diagnostics codes, 178
Telegram counter, 179 − external brake resistor, 59
− System bus (CAN) − Internal brake resistor, 58
Display of the resulting identifiers, 166 − motor, 54
Individual addressing, 164 − motor holding brake, 54 , 61
− system bus (CAN)
Connection "Safe torque off", terminals, 72
Making a reset node, 173 , 255 , 280
Node Guarding, 169 Connection "safe torque off", 69
setting boot−up time, 168
− functional description, 72
setting delay time, 168
setting the baud rate, 159 − Important notes, 70
setting the cycle time, 168 − minimum wiring, 73
setting the node address, 159 − with safety PLC, 75
− Table of attributes, 403
connection "safe torque off"
Configuration of AIF interface, node address (node ID), 147 − Important notes, 70
Configuration of CAN bus interfaces, 159 − with multiple−contact switches, 73
Configuration of CAN interface, node address (node ID),
161
Quick stop (QSP), 303 , 337 Selection help for cable length / number of repeaters,
Example, 83
− DCTRL_DriveControl (device control), 303
− MCTRL_MotorControl (motor control), 337 Servo motors from other manufacturers, 122
Setting maximum speed, 335
R Setting of mains data, 96
RAM, 351 Setting of the feedback system, 101
Setting the cycle time, 168 Speed control, feedback system, 101
Setting the feedback system − absolute value encoder (Hiperface,
single−turn/multi−turn), 110
− Absolute value encoder (Hiperface,
single−turn/multi−turn), as position and speed encoder, − Absolute value encoder (position encoder), resolver
110 (speed encoder), 114
− absolute value encoder (position encoder), resolver (speed − resolver, 101
encoder), 114 − sin/cos encoder, without serial communication, 104
− Resolver as position and speed encoder, 101 − TTL incremental encoder, 104
− sin/cos encoder, without serial communication, 104 − TTL/sin/cos encoder (position encoder), resolver (speed
− TTL incremental encoder, 104 encoder), 107
− TTL/sin/cos encoder (position encoder), resolver (speed Speed controller, 130
encoder), 107 − Adjustment, 130
Setting the node address, 159 Speed setpoint limitation, 335
− via DIP switch, 162
Standards, 32
Setting the polarity, digital inputs/outputs, 118
States, CAN network, 412
Setting the voltage thresholds, 97
Status messages, 256 , 281
Setting TRIP (TRIP−SET), 304
Status signals, display, 305
− DCTRL_DriveControl (drive control), 304
Status word
Shield connection, control/signal cables, 64
− DCTRL_DriveControl (device control), 305
Shielded cables, 55 − LECOM (C0150/C0155), 215
Shielding − transfer, 307
− cables, 55 Structure of the process data, 415
− EMC, 52
Structure of the system block descriptions, 15
Short−circuit monitoring, 193
Supply voltage, encoder, 87
Signal setting − digital frequency input, 313
Switch−off thresholds, 203
Signal types, 24
Switch−on thresholds, 203
Sin/cos encoder
Switching frequency changeover, 338
− monitoring, 208
− without serial communication, as position and speed Sychronisation, CAN sync identifier, 259
encoder, 104 Sync signal, 257
SinCos encoder, 89 Sync telegram, 419
Site altitude, 32
Specification of the cables, motor cables, 60
Specification of the transmission cable, 81
Speed, monitoring, 210