NetVarPDO_Rx_Udp (FB)
FUNCTION_BLOCK NetVarPDO_Rx_Udp
- InOut:
Scope
Name
Type
Initial
Input
sNetTelegrammTimeOutTONSTRUCT(PT := TIME#500ms)
bNewMessageBOOLnIndexINT-1
nSubIndexINT-1
diBytesSendDINTbReceivedBOOLFALSE
bActiveBOOLTRUE
Output
nStatusINTbDataNewBOOLInput
pDataItemsPOINTER TO NetVarDataItem_UDP
wDrvNrWORDnDataItemsINT-1
byChecksumBYTEbRequestAtBootupBOOLTRUE
stIPAddressTransmitterSTRING(20)pNetVarManager_UdpPOINTER TO NetVarManager_Udp_FB
pNetVarPDO_Rx_DiagnosisPOINTER TO NetVarUDPDiagStruct
stIPAddressBroadcastSTRING(20)
Methods:
SetError
Structure: