CLIENT_REPLY (STRUCT) ¶ TYPE CLIENT_REPLY : STRUCT InOut: Name Type diBytesReceived __XINT dwIPAddress DWORD stIPAddressTransmitter STRING
NetVarDataItem_Udp (STRUCT) ¶ TYPE NetVarDataItem_Udp : STRUCT InOut: Name Type Initial pAddress POINTER TO BYTE nDataLen INT siType SINT -1
NetVarOD_Service_Udp (ENUM) ¶ TYPE NetVarOD_Service_Udp : InOut: Name Initial ODStateFree 0 ODReadRequest ODReadRequestReply ODWriteRequest ODWriteRequestReply ODAcknowledgement ODBootUpRequest ODErrorReplyUnnown 20 ODErrorReplyItems ODErrorReplyAccess ODErrorReplyIdx ODErrorReplySub ODErrorReplyLen ODErrorWrongService ODErrorTimeOut ODErrorReplyCPUStopped ODErrorDataLength ODStateBusy 100
NetVarTelegramm_Udp (STRUCT) ¶ TYPE NetVarTelegramm_Udp : STRUCT InOut: Name Type Header NetVarTlgHeader_Udp pData ARRAY [0..(Parameters.UdpPacketSize - 1)] OF BYTE
NetVarTlgHeader_Udp (STRUCT) ¶ TYPE NetVarTlgHeader_Udp : STRUCT InOut: Name Type Initial Comment dwIdentity DWORD 16#33532D00 dwIdentity : DWORD := TELEGRAM_IDENT; (* Kennung für Art der UDP Message BYTE 0 = ‘3’, 1 = ‘S’, 2 = ‘-’ , 3 = Nummer der Version * ) dwID DWORD nIndex INT nSubIndex INT nItems INT nLen INT nCounter INT byFlags BYTE Bit 0: Sende Bestätigung erwünscht byChecksum BYTE Bit 1: Checksumme prüfen Bit 2: Ungültige Checksumme Bit 3: Sender stopped
NetVarUDPDiagStruct (STRUCT) ¶ TYPE NetVarUDPDiagStruct : STRUCT InOut: Name Type nSendCount UDINT tLastSend TIME nReceiveCount UDINT tLastReceive TIME nWriteCount UDINT sLastError NetVarUDPError tLastError TIME nErrorCount UINT nAcknowledges UINT bSenderStopped BOOL
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)