Function library lenzedrive.lib – Lenze DDS Function library Drive User Manual
Page 67
Advertising
![background image](/manuals/566039/67/background.png)
Function library LenzeDrive.lib
Communication
2.6.4
Read codes (L_ParRead)
2−57
L
LenzeDrive.lib EN 1.7
Tip!
General information about the CAN objects and the system bus (CAN) can be found in the Manual
"System bus (CAN) for PLC devices".
Example
Read value of code C0011 of the device with CAN device address 2:
Tip!
For converting the code number into the value required for wIndex you can use the function
L_FUNCodeIndexConv (see example).
If you want to process the read value in DINT format you can use the FB L_DintToByteArray to
convert the 4−byte array abyData into a DINT value (see example).
Advertising