4 l_scb_getnodedatarxpdo2 - read out data, L_scb_getnodedatarxpdo2 - read out data ( 286), L_scb_getnodedatarxpdo2 - read – Lenze PLC Designer V2.x User Manual

Page 286: Out data ( 286), Plc designer v2.x| lenze application samples

Advertising
background image

PLC Designer V2.x| Lenze Application Samples

The L_SCB_CANBasic.lib library

L_SCB_GetNodeDataRxPDO2 - read out data

286

L

1.3 EN - 07/2012

17.4

L_SCB_GetNodeDataRxPDO2 - read out data

This FB reads the data from PDO 2.

Inputs

Outputs

Note!

To be able to use the L_SCB_GetNodeDataRxPDO1/

L_SCB_GetNodeDataRxPDO2 FBs in a program, the L_SCB_CanStatus FB must

also be inserted.
• Otherwise, communication to the controller is not possible!

Identifier/data type

Information/possible settings

byNodeNumber

BYTE

Node number

byMasterNumber

BYTE

Interface number (0...3)

Identifier/data type

Information/possible settings

awReceiveData

ARRAY[0..3] OF WORD

Received data 8 BYTES

xError

BOOL

"Error" status signal

FALSE No error detected

TRUE Error when reading the data

xCommunicationOK

BOOL



L_SCB_GetNodeDataRxPDO1 - read out data ( 285)



L_SCB_GetNodeDataRxPDO2 - read out data ( 286)

Advertising