IP Conversions ¶ IPARRAY_TO_IPSTRING (Function) IPARRAY_TO_UDINT (Function) IPSTRING_TO_UDINT (Function) UDINT_TO_IPSTRING (Function)
IPARRAY_TO_IPSTRING (FUN) ¶ FUNCTION IPARRAY_TO_IPSTRING : STRING function converts a byte array to a readable ip address string InOut: Scope Name Type Return IPARRAY_TO_IPSTRING STRING Input abyIPAddress ARRAY [0..3] OF BYTE
IPARRAY_TO_UDINT (FUN) ¶ FUNCTION IPARRAY_TO_UDINT : UDINT function converts a byte array to an udint ip address value InOut: Scope Name Type Return IPARRAY_TO_UDINT UDINT Input abyIPAddress ARRAY [0..3] OF BYTE
IPSTRING_TO_UDINT (FUN) ¶ FUNCTION IPSTRING_TO_UDINT : UDINT function converts a readable ip address string to an udint value InOut: Scope Name Type Return IPSTRING_TO_UDINT UDINT Input sIPAddress STRING
UDINT_TO_IPSTRING (FUN) ¶ FUNCTION UDINT_TO_IPSTRING : STRING function converts a udint value to a readable ip address string InOut: Scope Name Type Return UDINT_TO_IPSTRING STRING Input udiIPAddress UDINT
Global Constants ¶ CONSTANTS (GVL)
CONSTANTS (GVL) ¶ Attributes: qualified_only InOut: Scope Name Type Initial Comment Constant gc_udiTransactionID UDINT 16#35C419AD Use this Transaction ID to identify responses on our requests gc_uiDestPort UINT 67 This is the DHCP Server Port gc_uiSourcePort UINT 68 This is the DHCP Client Port gc_udiBroadcastIP UDINT 16#FFFFFFFF
Structs ¶ BootP_Header (Struct) DHCP_Header (Struct)
BootP_Header (STRUCT) ¶ TYPE BootP_Header : STRUCT Attributes: qualified_only InOut: Name Type byOpCode BYTE byHWAddrType BYTE byHWAddrLength BYTE byHops BYTE udiXID UDINT uiSecs UINT uiFlags UINT udiClientIP UDINT udiYourIP UDINT udiServerIP UDINT udiGatewayIP UDINT abyMACAddr ARRAY [0..15] OF BYTE sName STRING(63) sFile STRING(127)
ComponentConstants (GVL) ¶ Attributes: qualified_only InOut: Scope Name Type Initial Constant DataServerDriver_Standard_ComponentName STRING ‘DSDriver_Standard’ ComponentId UDINT 16#100F