7 l_scb_getversion - transfer of the version, 8 l_scb_parread - read parameter, Plc designer v2.x| lenze application samples – Lenze PLC Designer V2.x User Manual

Page 288

Advertising
background image

PLC Designer V2.x| Lenze Application Samples

The L_SCB_CANBasic.lib library

L_SCB_GetVersion - transfer of the version

288

L

1.3 EN - 07/2012

17.7

L_SCB_GetVersion - transfer of the version

Outputs

17.8

L_SCB_ParRead - read parameter

This FB reads a parameter and provides the value read to the application via outputs

dnData ... bData.

Inputs

Identifier/data type

Value/meaning

dwVersion

DWORD

Output version

Identifier/data type

Information/possible settings

xExecute

BOOL

Trigger read request.

TRUE Start read request once.

FALSE Deactivate reading.

byNodeNumber

BYTE

Node number

xUseSecondSDO

BOOL

TRUE: Use second SDO channel

FALSE: Use first SDO channel (Lenze setting)

byMasterNumber

BYTE

Interface number (0...3)

wIndex

WORD

CANopen index (0x0 ... 0xFFFF)

bySubCode

BYTE

Subcode (0 ... 255)

Advertising