2 introduction, 1 general information, 2 candsx driver – Lenze DDS Global Drive PLC Developer Studio User Manual
Page 9: General information, Candsx driver, Function library lenzecandsxdrv.lib, 2introduction

Function library LenzeCanDSxDrv.lib
Introduction
2.1
General information
2−1
L
LenzeCanDSxDrv.lib EN 1.2
2
Introduction
2.1
General information
The communication behaviour of the CAN bus devices is defined in a variety of communication
profiles for CAN communication, e. g.:
·
DS301 − Standard communication between bus devices
·
DS402 − Communication and control of positioning systems
The above communication profiles deal with the following subjects:
·
Object directory (connection between index numbers and device functions)
·
Network management (start, reset, states of bus devices)
·
Bus boot−up messages
·
Bus monitoring ("Node Guarding" and "Heartbeat")
·
Service data communication (writing/reading of indeces/parameters)
·
Process data communication (event−controlled/cyclic data transfer)
·
Block data transfer
Tip!
With the functions of function libraries LenzeCanDrv.lib and LenzeCanDSxDrv.lib it is possible to
program communication mechanisms according to the IEC 61131 standard which meet the most
important requirements of the above communication profiles.
2.2
CanDSx driver
The operating system (as of V6.0) of Lenze PLCs includes a specific CanDSx driver which can be
activated by means of the functions of function library LenzeCanDSxDrv.lib.
With the driver it is possible to assign indeces within the PLC to codes other than the automatically
assigned codes.
Note!
·
Every Lenze code is assigned to a fixed index using the following formula:
Index = 5FFF
hex
− code
Index = 24575
dec
− code
·
The function of the CanDSx driver is limited to the system bus (CAN).
It cannot be used for the second FIF CAN channel of the Drive PLC!