1 scb_statecanmaster, 2 structure of scb_cannodediagnose, L_scb_sdo_transfertable - transfer parameter list – Lenze PLC Designer V2.x User Manual
Page 299: Plc designer v2.x| lenze application samples
![background image](/manuals/566332/299/background.png)
1.3 EN - 07/2012
L
299
PLC Designer V2.x| Lenze Application Samples
The L_SCB_CANBasic.lib library
L_SCB_SDO_TransferTable - transfer parameter list
17.18.1
SCB_StateCanMaster
CanMaster_NotInHardWareCatalogus:=-1,
CanMaster_Init0 := 0,
CanMaster_Init1 := 1,
CanMaster_Init2 := 2,
CanMaster_SDO_Config := 3,
CanMaster_Init4 := 4,
CanMaster_Operational := 5
17.18.2
Structure of SCB_CanNodeDiagnose -
17.19
L_SCB_SDO_TransferTable - transfer parameter list
This FB serves to write or read a parameter list.
Inputs
Identifier/data type
Information/possible settings
iState
SCB_StateCanNode
Status enquiry of CAN node
byNodeID
BYTE
Node number (0...3)
byMasterID
BYTE
Interface number (ID)
xCommunicationOK
BOOL
L_SCB_GetNodeDataRxPDO1 - read out data ( 285)
L_SCB_GetNodeDataRxPDO2 - read out data ( 286)
Identifier/data type
Information/possible settings
xExecute
BOOL
Trigger read request.
TRUE Cycle time (dwCycleTime) = "0 ms" or input dwCycleTime
Not assigned:
Read parameter value once, which was addressed via the inputs
dwCode,
dwSubcode, dwComChannel, and dwTargetAddress.
FALSE Deactivate cyclic reading.