17 the l_scb_canbasic.lib library, 1 l_scb_actuator, The l_scb_canbasic.lib library 17.1 l_scb_actuator – Lenze PLC Designer V2.x User Manual

Page 283: Plc designer v2.x| lenze application samples

Advertising
background image

1.3 EN - 07/2012

L

283

PLC Designer V2.x| Lenze Application Samples

The L_SCB_CANBasic.lib library

L_SCB_Actuator

17

The L_SCB_CANBasic.lib library

17.1

L_SCB_Actuator

This FB serves to control any Lenze controller.

The FB transmits and receives four variables (data type WORD) which can be

interconnected individually.

Inputs

Outputs

Identifier/data type

Information/possible settings

awTxData

ARRAY[0..3] OF WORD

Writing PDO to controller

xOptional

BOOL

Optional setting for the CAN node

FALSE Normal operation (transmission and reception via PDO)

TRUE The CAN node is set to the "Optional" mode to be able to receive

PDOs.

byNodeNumber

BYTE

Node number

byMasterNumber

BYTE

Interface number (0...3)

Identifier/data type

Information/possible settings

awTxData

ARRAY[0..3] OF WORD

Reading PDO from controller

xCommunicationOK

BOOL



L_SCB_GetNodeDataRxPDO1 - read out data ( 285)



L_SCB_GetNodeDataRxPDO2 - read out data ( 286)

CanNodeState

SCB_StateCanNode

Status of the CAN node

Advertising