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
NetVarPDO_Tx_Udp (FB) ¶ FUNCTION_BLOCK NetVarPDO_Tx_Udp InOut: Scope Name Type Initial Input nDataItems INT -1 pDataItems POINTER TO NetVarDataItem_Udp wDrvNr WORD nIndex INT -1 nSubIndex INT -1 bWithChecksum BOOL byChecksum BYTE bWithAcknowledge BOOL pbExpression POINTER TO BOOL bAnswerBootupRequest BOOL TRUE bBootupRequestReceived BOOL InhibitTimer TON STRUCT(PT := TIME#100ms) RepeatTimer TON STRUCT(PT := TIME#500ms) stIPAddressBootupRequest STRING(20) sNetTelegramm NetVarTelegramm_UDP bActive BOOL TRUE pNetVarManager_Udp POINTER TO NetVarManager_Udp_FB pNetVarPDO_Tx_Diagnosis POINTER TO NetVarUDPDiagStruct bBeforeApplication BOOL FALSE stIPAddressBroadcast STRING(20) Output nStatus INT Methods: Acknowledge SetError Structure: Acknowledge (Method) PDO_TxSendHard (Action) SetError (Method)