DHCP_Release (FB)ΒΆ

FUNCTION_BLOCK DHCP_Release

Releases an IP Address to a DHCP Server

InOut:

Scope

Name

Type

Comment

Input

xEnable

BOOL

TRUE: release ip address

abyMACAddress

ARRAY [0..5] OF BYTE

mac address of the network interface

sIPAddress

STRING

ip address to release

sDHCPServer

STRING

ip address of the dhcp server (use output from dhcp_request)

Output

xReady

BOOL

TRUE: ip address released