CallbackNetVar (FUN) ¶ FUNCTION CallbackNetVar : BYTE InOut: Scope Name Type Return CallbackNetVar BYTE Input dwEvent DWORD dwFilter DWORD dwOwner DWORD
NetVarManager_Udp_FB (FB) ¶ FUNCTION_BLOCK NetVarManager_Udp_FB IMPLEMENTS ICmpEventCallback InOut: Scope Name Type Initial Comment Input nNetVarPDO_Rx INT pNetVarPDO_Rx POINTER TO NetVarPDO_Rx_Udp nNetVarPDO_Tx INT pNetVarPDO_Tx POINTER TO NetVarPDO_Tx_Udp bByteSwap BOOL dwIdentity DWORD iNewTlgPerCycle INT 0 Maximum number of telegramms processed within one IEC-cycle. uiPacketSize UINT Parameters.UdpPacketSize iPort INT 1202 Port number, to send data Methods: EventCallback FB_Exit NetVarGetConnectStatus_UDP RegisterEvents Send Structure: CloseSockets (Action) EventCallback (Method) FB_Exit (Method) NetVarGetConnectStatus_UDP (Method) RegisterEvents (Method) Send (Method) UnregisterEvents (Action)
NetVarManager_Udp_FB.CloseSockets (ACT) ¶ Commented out with CDS-38968 IF nStatus = 5 AND nNetVarPDO_Tx >= 0 THEN FOR n := 0 TO nNetVarPDO_Tx DO (* Alle Transmit PDO’s noch mal versenden
NetVarManager_Udp_FB.EventCallback (METH) ¶ METHOD EventCallback : UDINT InOut: Scope Name Type Return EventCallback UDINT Input pEventParam POINTER TO EventParam
NetVarManager_Udp_FB.FB_Exit (METH) ¶ METHOD FB_Exit : BOOL InOut: Scope Name Type Return FB_Exit BOOL Input bInCopyCode BOOL
NetVarManager_Udp_FB.NetVarGetConnectStatus_UDP (METH) ¶ METHOD NetVarGetConnectStatus_UDP : BOOL InOut: Scope Name Type Return NetVarGetConnectStatus_UDP BOOL Input nBasisId INT Output bConnectNewData BOOL bConnectError BOOL dwErrorCode DWORD
NetVarManager_Udp_FB.RegisterEvents (METH) ¶ METHOD RegisterEvents : BOOL InOut: Scope Name Type Return RegisterEvents BOOL
ComponentConstants (GVL) ¶ Attributes: qualified_only InOut: Scope Name Type Initial Constant PlcServicesComponentName STRING ‘PlcServices’ ComponentId UDINT 16#100E
AddLogMessage (FUN) ¶ FUNCTION AddLogMessage : UDINT InOut: Scope Name Type Return AddLogMessage UDINT Input udiSeverity UDINT stText STRING(256)
Constants (GVL) ¶ InOut: Scope Name Type Initial Constant MAX_CHANNEL_NUMBER INT 10 HEADER_TAG_SAFETY UINT 16#5AF4 HEADER_TAG_STANDARD UINT 16#CD55 INVALID_BITOFFSET BYTE 255