Adapting the LenzeCanDrv.lib to the Drive PLC V7.x target system

Which products are affected?
ESP-DDS2-x (Global Drive PLC Developer Studio V2.3)

Function description
Due to the further development of the Drive PLC an adaptation of the LenzeCanDrv.lib library became necessary. The revised library is called:
LenzeCanDrv0221.lib.

Attention!
If Drive PLC V2.x or Drive PLC V6.x is set as PLC target system in the DDS project the LenzeCanDrv.lib library must be used.
If Drive PLC V7.x is set as PLC target system in the DDS project the LenzeCanDrv0221.lib library must be used.

If the Drive PLC V7.x target system has been set in the DDS project and if the LenzeCanDrv.lib library is erroneously used, this may lead to the behaviour that CAN telegrams can neither be sent nor received via the L_CanPdoTransmit and L_CanPdoReceive function block. In this case the error number -11 (= pIOAdress pointer is not positioned over PLC RAM) is indicated via the nState output of the function modules.
This means that the LenzeCanDrv.lib library must be replaced by the LenzeCanDrv0221.lib library in the library manager (menu item Window>Library manager) when changing over an existing DDS project to the Drive PLC V7.x target system.

Drive PLC V7.0 is upwards compatible. This means that DDS projects which have been created for the Drive PLC V2.x or Drive PLC V6.x target system can be loaded into the Drive PLC V7.0 without any changes.

URL for linking this AKB article: https://www.lenze.com/en-de/go/akb/200502578/1/
Contact form