File and Project Information ¶ Scope Name Type Content FileHeader creationDateTime date 24.05.2022, 17:16:33 companyName string 3S-Smart Software Solutions GmbH libraryFile AC_Trend.library primaryProject True productName CODESYS productProfile CODESYS V3.5 SP16 Patch 3 contentFile AC_Trend.clean.json version version 2.0.0.0 ProjectInformation Released bool True LastModificationDateTime date 24.05.2022, 17:16:33 LibraryCategories library-category-list Application|Composer Author string 3S - Smart Software Solutions GmbH Company 3S - Smart Software Solutions GmbH CompiledLibraryCompatibilityVersion CODESYS V3.5 SP16 DefaultNamespace AC_Trend Description See: Description DocFormat reStructuredText LanguageModelAttribute qualified-access-only Placeholder AC_Trend Project AC_Trend Title AC_Trend Version version 4.1.0.0
Library Reference ¶ This is a dictionary of all referenced libraries and their name spaces. VisuElem3DPath ¶ Library Identification ¶ Placeholder: System_VisuElem3DPath Default Resolution: VisuElem3DPath, 3.5.16.0 (System) Namespace: VisuElem3DPath Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: True Key: System_VisuElem3DPath Library Parameter ¶ Parameter: GC_POINTS_PER_POLYGON = 100 VisuElemCamDisplayer ¶ Library Identification ¶ Placeholder: System_VisuElemCamDisplayer Default Resolution: VisuElemCamDisplayer, 3.5.16.0 (System) Namespace: VisuElemCamDisplayer Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: True Key: System_VisuElemCamDisplayer Library Parameter ¶ Parameter: GC_POINTS_PER_CAM = 100 VisuElemMeter ¶ Library Identification ¶ Placeholder: System_VisuElemMeter Default Resolution: VisuElemMeter, 3.5.16.0 (System) Namespace: VisuElemMeter Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: True Key: System_VisuElemMeter VisuElemTextEditor ¶ Library Identification ¶ Placeholder: System_VisuElemTextEditor Default Resolution: VisuElemTextEditor, 3.5.16.0 (System) Namespace: VisuElemTextEditor Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: True Key: System_VisuElemTextEditor VisuElemTrace ¶ Library Identification ¶ Placeholder: System_VisuElemTrace Default Resolution: VisuElemTrace, 3.5.16.0 (System) Namespace: VisuElemTrace Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: True Key: System_VisuElemTrace VisuElemXYChart ¶ Library Identification ¶ Placeholder: System_VisuElemXYChart Default Resolution: VisuElemXYChart, 3.5.16.0 (System) Namespace: VisuElemXYChart Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: True Key: System_VisuElemXYChart VisuElems ¶ Library Identification ¶ Placeholder: System_VisuElems Default Resolution: VisuElems, 3.5.16.0 (System) Namespace: VisuElems Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: True Key: System_VisuElems VisuElemsAlarm ¶ Library Identification ¶ Placeholder: System_VisuElemsAlarm Default Resolution: VisuElemsAlarm, 3.5.16.0 (System) Namespace: VisuElemsAlarm Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: True Key: System_VisuElemsAlarm VisuElemsDateTime ¶ Library Identification ¶ Placeholder: System_VisuElemsDateTime Default Resolution: VisuElemsDateTime, 3.5.16.0 (System) Namespace: VisuElemsDateTime Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: True Key: System_VisuElemsDateTime VisuElemsSpecialControls ¶ Library Identification ¶ Placeholder: System_VisuElemsSpecialControls Default Resolution: VisuElemsSpecialControls, 3.5.16.0 (System) Namespace: VisuElemsSpecialControls Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: True Key: System_VisuElemsSpecialControls VisuElemsWinControls ¶ Library Identification ¶ Placeholder: System_VisuElemsWinControls Default Resolution: VisuElemsWinControls, 3.5.16.0 (System) Namespace: VisuElemsWinControls Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: True Key: System_VisuElemsWinControls VisuInputs ¶ Library Identification ¶ Placeholder: system_visuinputs Default Resolution: VisuInputs, 3.5.16.0 (System) Namespace: visuinputs Library Properties ¶ LinkAllContent: False Optional: False PublishSymbolsInContainer: True QualifiedOnly: False SystemLibrary: True Key: system_visuinputs VisuNativeControl ¶ Library Identification ¶ Placeholder: System_VisuNativeControl Default Resolution: VisuNativeControl, 3.5.16.0 (System) Namespace: VisuNativeControl Library Properties ¶ LinkAllContent: False Optional: False QualifiedOnly: False SystemLibrary: True Key: System_VisuNativeControl
ARP Library Documentation ¶ Company 3S - Smart Software Solutions GmbH Title ARP Version 3.5.17.0 Categories Intern|Networking Namespace ARP Author 3S - Smart Software Solutions GmbH Placeholder ARP Description 1 ¶ Library implements the Address Resolution Protocol. The following Interfaces have to be implemented: 1. IEthernet: Interface to the Ethernet Adapter. SendARP() shall send the given Ethernet II Frame (CmpSysEthernet.sendethframe()). 2. IARPCallback: The Interface Method RequestCallback() is called as soon as the Request has received the response to its ARP request (requested MAC and IP). Program Sequence: 1. Call Request.Send() one time (each call generates an ARP Request on the network). 2. Call IEthernetClient.Receive() (= Request.Receive()) until RequestCallback() gets called by the Request FB. If more than one response is expected on a single request, IEthernetClient.Receive() can be called continuously. Contents: ¶ Constants CONSTANTS (GVL) Function Blocks Request (FunctionBlock) Functions MAC_ADDRESS_COMPARE (Function) Interfaces IARPCallback (Interface) IARPEthernetClient (Interface) IEthernet (Interface) Structs ARP_Packet (Struct) Indices and tables ¶ 1 Based on ARP.library, last modified 20.04.2021, 15:08:48. LibDoc 4.4.0.0-b.27 The content file ARP.clean.json was generated with CODESYS V3.5 SP16 Patch 3 on 20.04.2021, 15:08:48.
CONSTANTS (GVL) ¶ InOut: Name Type Initial Comment abyBroadcastMAC ARRAY [0..5] OF BYTE [16#FF, 16#FF, 16#FF, 16#FF, 16#FF, 16#FF] wHardwareType WORD 16#1 wProtocolType WORD 16#800 wOpcodeRequest WORD 16#1 wOpcodeResponse WORD 16#2 wARPEthType WORD 16#806 Ether types wVLANEthType WORD 16#8100
Constants ¶ CONSTANTS (GVL)
Function Blocks ¶ Request (FunctionBlock) ReceiveARP (Method) Send (Method)
Request (FB) ¶ FUNCTION_BLOCK Request IMPLEMENTS IARPEthernetClient Methods: ReceiveARP Send Structure: ReceiveARP (Method) Send (Method)
Request.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
Request.Send (METH) ¶ METHOD Send : UDINT Creates and sends an arp request InOut: Scope Name Type Comment Return Send UDINT Input abySenderMAC ARRAY [0..5] OF BYTE MAC Address of the sender (…? Tell abySenderIP, abySenderMAC) abySenderIP ARRAY [0..3] OF BYTE IP Address of the sender (…? Tell abySenderIP, abySenderMAC) abyTargetIP ARRAY [0..3] OF BYTE IP Address of the requested host (Who has abyTargetIP?) itfARPCallback IARPCallback Interface to the instance which shall receive the response (abyTargetIP is at abyTargetMAC ) itfEthernet IEthernet Interface to the Ethernet adapter which shall send the request
Functions ¶ MAC_ADDRESS_COMPARE (Function)