Interfaces ¶ IARPCallback (Interface) ARP_RequestCallback (Method) IARPEthernetClient (Interface) ReceiveARP (Method) IEthernet (Interface) SendARP (Method)
IARPCallback (ITF) ¶ INTERFACE IARPCallback Methods: ARP_RequestCallback Structure: ARP_RequestCallback (Method)
IARPCallback.ARP_RequestCallback (METH) ¶ METHOD ARP_RequestCallback : BOOL This Method gets called by the Request FB as soon as the response was received. InOut: Scope Name Type Comment Return ARP_RequestCallback BOOL Input abyReceivedIP ARRAY [0..3] OF BYTE IP from response (abyReceivedIP is at abyReceivedMAC) abyReceivedMAC ARRAY [0..5] OF BYTE MAC from response (abyReceivedIP is at abyReceivedMAC)
IARPEthernetClient (ITF) ¶ INTERFACE IARPEthernetClient Methods: ReceiveARP Structure: ReceiveARP (Method)
IARPEthernetClient.ReceiveARP (METH) ¶ METHOD ReceiveARP : BOOL Returns TRUE, if the ethernet frame was the arp response to the request sent before. InOut: Scope Name Type Comment Return ReceiveARP BOOL Input pstrARPResponse POINTER TO ARP_Packet ethernet II frame diLength DINT length of received data
IEthernet (ITF) ¶ INTERFACE IEthernet Methods: SendARP Structure: SendARP (Method)
IEthernet.SendARP (METH) ¶ METHOD SendARP : UDINT Sends an ARP Request InOut: Scope Name Type Return SendARP UDINT Input pstrARPRequest POINTER TO ARP_Packet
Structs ¶ ARP_Packet (Struct)
ARP_Packet (STRUCT) ¶ TYPE ARP_Packet : STRUCT InOut: Name Type Initial Comment abyDestAddress ARRAY [0..5] OF BYTE CONSTANTS.abyBroadcastMAC Ethernet Header abySrcAddress ARRAY [0..5] OF BYTE wEtherType WORD CONSTANTS.wARPEthType wHardwareType WORD ARP Data wProtocolType WORD byHardwareSize BYTE byProtocolSize BYTE wOpCode WORD abySenderMAC ARRAY [0..5] OF BYTE abySenderIP ARRAY [0..3] OF BYTE abyTargetMAC ARRAY [0..5] OF BYTE abyTargetIP ARRAY [0..3] OF BYTE abyPadding ARRAY [0..17] OF BYTE
File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 20.04.2021, 15:08:48 companyName string 3S-Smart Software Solutions GmbH libraryFile ARP.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile ARP.clean.json version version 2.0.0.0 ProjectInformation IsEndUserLibrary bool False Released True LastModificationDateTime date 20.04.2021, 15:08:48 LibraryCategories library-category-list Intern|Networking Author string 3S - Smart Software Solutions GmbH Company 3S - Smart Software Solutions GmbH CompiledLibraryCompatibilityVersion CODESYS V3.5 SP15 DefaultNamespace ARP Description See: Description LanguageModelAttribute qualified-access-only Placeholder ARP Project ARP Title ARP Version version 3.5.17.0