10 lenzecandrv.lib function library, 1 overview, 2 version identifiers of the function library – Lenze DDS System bus CAN for PLC User Manual

Page 143: Pter 10, System bus (can) for lenze plc devices, Lenzecandrv.lib function library

Advertising
background image

System bus (CAN) for Lenze PLC devices

LenzeCanDrv.lib function library

10.1

Overview

10−1

L

PLC−Systembus EN 2.0

10

LenzeCanDrv.lib function library

By using the functions/function blocks of the LenzeCanDrv.lib function library, so−called "free CAN
objects" can be added to the fixedly integrated CAN objects.

10.1

Overview

Function/FB

Information

CAN driver

L_CanInit

Initialise CAN driver

^ 10−2

L_CanClose

Deactivate CAN driver

^ 10−5

L_CanGetStatus

Query driver status

^ 10−6

L_CanGetRelocCobId

Query COB−ID range

^ 10−7

Transmitting/receiving CAN objects

L_CanPdoTransmit

Send CAN object

^ 10−8

L_CanPdoReceive

Receive CAN object

^ 10−12

10.2

Version 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:

Constant

Meaning

Example
value

C_w[FunctionLibraryName]VersionER

External Release

01

C_w[FunctionLibraryName]VersionEL

External Level

05

C_w[FunctionLibraryName]VersionIR

Internal Release

00

C_w[FunctionLibraryName]VersionBN

Build No.

00

Version: 01

05

00

00

The value of this constant is a hexadecimal code.

·

In the example, "01050000" stands for version "1.05".

Advertising