ResolveHostname (FB)¶
FUNCTION_BLOCK PUBLIC FINAL ResolveHostname EXTENDS ETrigTo
Attempts to resolve the
sHostname to an IIPAddress.If an IP address is already specified as a parameter, its format is checked.
The time out value has no effect for this function block.
- InOut:
Scope
Name
Type
Initial
Comment
Inherited from
Input
xExecuteBOOLRising edge: Starts defined operationFALSE: Resets the defined operation after ready condition was reachedETrigTo
udiTimeOutUDINTMax. operating time for executing [µs], 0: No operating time limit
ETrigTo
Output
xDoneBOOLReady condition reached
ETrigTo
xBusyBOOLTRUE: Operation is runningETrigTo
xErrorBOOLTRUE: Error condition reachedETrigTo
eErrorIDETrigTo
Input Const
itfAsyncPropertyInput
sHostnameREFERENCE TO STRING
udiIndexUDINT0
Select a specific item, if more then one interface per hostname is avaiable
Inout
itfIPAddressOutput
udiCountUDINTThe number of possible IP addresses for the
sHostnamespecified
Methods:
Structure: