Helper ¶ ResolveInterface (FunctionBlock)
ResolveInterface (FB) ¶ FUNCTION_BLOCK ResolveInterface Resolves the label of an interface to its mac address. InOut: Scope Name Type Comment Input xEnable BOOL sInterfaceName STRING Name of interface to be resolved Output xReady BOOL xError BOOL eError ERROR abyMACAddress ARRAY [0..5] OF BYTE MAC Address of the interface diAdapterNumber DINT
Functions ¶ Helper CRC16 (Function) MAC_ADDRESS_COMPARE (Function) IP Conversions IPARRAY_TO_IPSTRING (Function) IPARRAY_TO_UDINT (Function) IPSTRING_TO_UDINT (Function) UDINT_TO_IPSTRING (Function)
Helper ¶ CRC16 (Function) MAC_ADDRESS_COMPARE (Function)
CRC16 (FUN) ¶ FUNCTION CRC16 : WORD InOut: Scope Name Type Return CRC16 WORD Input pipframe POINTER TO BYTE iSize INT
MAC_ADDRESS_COMPARE (FUN) ¶ FUNCTION MAC_ADDRESS_COMPARE : BOOL InOut: Scope Name Type Return MAC_ADDRESS_COMPARE BOOL Input abyMacAddress1 ARRAY [1..6] OF BYTE abyMacAddress2 ARRAY [1..6] OF BYTE
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