EasyManua.ls Logo

Lenze EPL10200 - Driver state (L_CanGetState)

Lenze EPL10200
112 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
System bus (CAN) with Ser vo PLC & Drive PLC
LenzeCanDrv.lib Functions
8.3 Driver state (L_CanGetState)
8-5
L PLC-Systembus EN 1.1
8.3 Driver state (L_CanGetState)
DWORD L_CanGetState (wDrvNr)
This function is used to ascertain the status of the CAN driver.
L_CanGetState
wDrvNr
Fig. 8-4 Driver state (L_CanGetState)
Transfer parameters
Identifier Data type Possible settings Info
wDrvNr Word 10
11
System bus
FIF CAN (in preparation)
Return value
Data typ e Bit Value Meaning Priority
Double word 0 0 Driver is initialised. -
1 Error
In this case, bits 1 ... 31 are all set to 1 and therefore invalid.
1-15 Reserved for future extensions (bits are set to 0).
16-31 CAN driver version
Format: main version/subversion (e. g. 0103hex = version 1.03)
Example
Calling the function in ST:
g_dwCanDrvState:= L_Can_GetState (10);
Show/Hide Bookmarks

Table of Contents

Related product manuals