NetVarUDPError (ENUM) ¶ TYPE NetVarUDPError : InOut: Name Initial NetVarUDPError_NOERROR 0 NetVarUDPError_UDPSENDDATA NetVarUDPError_UDPSENDACKN NetVarUDPError_NOACKNOWLEDGEMENT NetVarUDPError_NOTACKNOWLEDGED NetVarUDPError_UDPSENDBOOTUPREQUEST NetVarUDPError_UDPANSWERBOOTUPREQUEST NetVarUDPError_CHECKSUM NetVarUDPError_LAYOUT NetVarUDPError_PACKETSIZEMISMATCH NetVarUDPError_UDPNETWORKMANAGER_NOT_READY 20 NetVarUDPError_UNKNOWN 100
Global Variables ¶ Globale_Variablen (GVL)
Globale_Variablen (GVL) ¶ InOut: Name Type Initial g_bCPUStopNetVar BOOL TELEGRAM_IDENT DWORD 16#33532D00
POUs ¶ NetVar POUs CallbackNetVar (Function) CallbackTaskCodeNC (Function) NetVarManager_Udp_FB (FunctionBlock) CloseSockets (Action) EventCallback (Method) FB_Exit (Method) NetVarGetConnectStatus_UDP (Method) RegisterEvents (Method) Send (Method) UnregisterEvents (Action) NetVarPDO_Rx_Udp (FunctionBlock) NewDataRec (Action) SetError (Method) NetVarPDO_Tx_Udp (FunctionBlock) Acknowledge (Method) PDO_TxSendHard (Action) SetError (Method) Swap (Function) Udp specific GetIPAddress (Function) UdpGetReceiveDataSize (Function) UdpOpenReceiveSocket (Function) UdpOpenSendSocket (Function) UdpReceiveData (Function) UdpSendData (Function) UdpSendTlg (Program)
NetVar POUs ¶ CallbackNetVar (Function) CallbackTaskCodeNC (Function) NetVarManager_Udp_FB (FunctionBlock) CloseSockets (Action) EventCallback (Method) FB_Exit (Method) NetVarGetConnectStatus_UDP (Method) RegisterEvents (Method) Send (Method) UnregisterEvents (Action) NetVarPDO_Rx_Udp (FunctionBlock) NewDataRec (Action) SetError (Method) NetVarPDO_Tx_Udp (FunctionBlock) Acknowledge (Method) PDO_TxSendHard (Action) SetError (Method)
NetVarManager_Udp_FB.Send (METH) ¶ METHOD Send : BOOL InOut: Scope Name Type Return Send BOOL
NetVarManager_Udp_FB.UnregisterEvents (ACT) ¶
NetVarPDO_Rx_Udp (FB) ¶ FUNCTION_BLOCK NetVarPDO_Rx_Udp InOut: Scope Name Type Initial Input sNetTelegramm NetVarTelegramm_UDP TimeOut TON STRUCT(PT := TIME#500ms) bNewMessage BOOL nIndex INT -1 nSubIndex INT -1 diBytesSend DINT bReceived BOOL FALSE bActive BOOL TRUE Output nStatus INT bDataNew BOOL Input pDataItems POINTER TO NetVarDataItem_UDP wDrvNr WORD nDataItems INT -1 byChecksum BYTE bRequestAtBootup BOOL TRUE stIPAddressTransmitter STRING(20) pNetVarManager_Udp POINTER TO NetVarManager_Udp_FB pNetVarPDO_Rx_Diagnosis POINTER TO NetVarUDPDiagStruct stIPAddressBroadcast STRING(20) Methods: SetError Structure: NewDataRec (Action) SetError (Method)
NetVarPDO_Rx_Udp.NewDataRec (ACT) ¶
NetVarPDO_Rx_Udp.SetError (METH) ¶ METHOD SetError : BOOL InOut: Scope Name Type Return SetError BOOL Input error NetVarUDPError