The function library LenzeCanDSxDrv.lib can be used for the following Lenze PLCs:
Typefrom hardware versionfrom software version
9300 Servo PLCEVS93XX−xI6A6.0
9300 Servo PLCEVS93XX−xT6A6.0
Drive PLCEPL102001A6.0
ECSxAECSxAxxx1C7.0
Important note:
The software is supplied to the user as described in this document. Any risks resulting from its quality or use remain the responsibility
of the user. The user must provide all safety measures protecting against possible maloperation.
We do not take any liability for direct or indirect damage, e.g. profit loss, order loss or any loss regarding business.
ã 2006 Lenze Drive Systems GmbH
No part of this documentation may be copied or made available to third parties without the explicit written approval of Lenze Drive
Systems GmbH.
All information given in this documentation has been carefully selected and tested for compliance with the hardware and software
described. Nevertheless, discrepancies cannot be ruled out. We do not accept any responsibility or liability for any damage that may
occur. Required corrections will be included in updates of this documentation.
All product names mentioned in this documentation are trademarks of the corresponding owners.
This Manual contains information about function library LenzeCanDSxDrv.lib for the Drive PLC
Developer Studio.
· With the functions of function library LenzeCanDSxDrv.lib it is possible to "map" CAN indices
received via the system bus interface within the PLC on codes other than the automatically
assigned codes.
· The function library also provides functions/FBs for the implementation of the "Heartbeat" and
"Node Guarding" monitoring mechanisms to ensure the functionality of the system bus
devices.
1.1.1Conventions in this Manual
This Manual uses the following conventions to distinguish between different types of information:
Variable identifiers
are written in italics in the explanation:
· "Use bEnable..."
Tip!
Information about the conventions used for the variables of Lenze system blocks, function blocks
and functions can be obtained from the appendix of the DDS online documentation "Introduction
into IEC 61131−3 programming". The conventions ensure universal and uniform labelling and make
reading the PLC program easier.
Lenze functions/function blocks
can be recognized by their names. They always begin with an "L_":
· "Use the FB L_XYZ..."
Program listings
are written in "Courier", keywords are printed in bold:
· "IF (nValue1 < 0) THEN..."
L
LenzeCanDSxDrv.lib EN 1.2
1−1
Function library LenzeCanDSxDrv.lib
Preface and general information
1.1About this Manual
1.1.2Description layout
All function/function block and system block descriptions contained in this Manual have the same
structure:
FunctionFunction block (FB)/
Heading stating function and function identifier
Declaration of the function:
· Data type of the return value
· Function identifier
· List of transfer parameters
Short description of the most important properties
Function chart including all
associated variables
· Transfer parameters
· Return value
Table giving information about the
transfer parameters:
· Identifiers
· Data type
· Possible settings
· Info
Table giving information about the
return value:
· Data type of the return value
· Possible return values and their
meaning
Additional information
(Notes, tips, application examples, etc.)
system block (SB)
−
FB/SB chart including all
associated variables
· Input variables
· Output variables
Table giving information about the
input and output variables:
· Identifiers
· Data type
· Variable type
· Possible settings
· Info
−
1.1.3Pictographs used in this Manual
Pictographs usedSignal words
Warning of material
damage
Other notesTip!
Stop!Warns of potential damage to material.
Note!
1.1.4Terminology used
TermIn the following text used for
DDSDrive PLC Developer Studio
FBFunction block
GDCGlobal Drive Control (parameterization program from Lenze)
Parameter codesCodes for setting the functionality of a function block
PLC· 9300 Servo PLC
SBSystem block
· Drive PLC
· Axis module ECSxA "Application"
Possible consequences if disregarded:
Damage to the controller/drive system or its environment
Indicates a tip or note.
.
1−2
LenzeCanDSxDrv.lib EN 1.2
L
Function library LenzeCanDSxDrv.lib
Preface and general information
1.2Version identifiers of the function library
1.2Version identifiers of the function library
The version of the function library can be found under the global constant
C_w[Function library name]Version .
Version identifiers as of PLC software version 7.x: