11 lenzecandsxdrv.libfunction library, 1 overview, System bus (can) for lenze plc devices – Lenze DDS System bus CAN for PLC User Manual
Page 157: Lenzecandsxdrv.lib function library

System bus (CAN) for Lenze PLC devices
LenzeCanDSxDrv.lib function library
11.1
Overview
11−1
L
PLC−Systembus EN 2.0
11
LenzeCanDSxDrv.libfunction library
The LenzeCanDSxDrv.lib function library contains functions by means of which CAN indexes
received via the system bus interface within the PLC can be "mapped" to other codes than to those
which are automatically allocated.
Furthermore functions/FBs are provided, by means of which the "Heartbeat" and "Node guarding"
monitoring mechanisms for ensuring the function of system bus nodes can be realised.
Tip!
General information
·
on the mapping of indexes to codes can be found in chapter 3.10.
(
·
on the "Heartbeat" and "Node Guarding" monitoring mechanisms can be found in chapter
2.10.
(
11.1
Overview
Function/FB
Information
Mapping indexes to codes
·
The functions are limited to the parameter access via the system bus interface integrated in the PLC.
L_CanDSxInitIndexCode
Configure index mapping
^ 11−3
L_CanDSxOpen
Activate index mapping
^ 11−5
L_CanDSxClose
Deactivate index mapping again
^ 11−6
"Hearbeat" monitoring mechanism
L_CanDSxOpenHeartBeat
Initialise "Heartbeat"
^ 11−7
L_CanDSxHeartBeat
Carry out "Heartbeat"
^ 11−8
L_CanDSxCloseHeartBeat
Deactivate "Heartbeat" again
^ 11−10
"Node guarding" monitoring mechanism
L_CanDSxOpenNodeGuarding
Initialise "Node guarding"
^ 11−11
L_CanDSxNodeGuarding
Carry out "Node guarding"
^ 11−12
L_CanDSxCloseNodeGuarding
Deactivate "Node guarding" again
^ 11−15
Tip!
For mapping codes which are accessed via the AIF interface, the LenzeAifParMapDrv.lib function
library with its corresponding functions is provided to you.