PlcOperationControl.xDisableApplicationStart (PROP) ¶ PROPERTY xDisableApplicationStart : BOOL
Enums ¶ ERROR (Enum) OPTION_CODE (Enum)
ERROR (ENUM) ¶ TYPE ERROR : Attributes: qualified_only InOut: Name Initial SUCCESS 0 CREATE_SOCKET SEND_DHCP_DISCOVER RECV_DHCP_OFFER SEND_DHCP_REQUEST RECV_DHCP_ACK INTERFACE_NOT_FOUND
OPTION_CODE (ENUM) ¶ TYPE OPTION_CODE : InOut: Name Initial SUBNETMASK 1 ROUTER 3 DOMAIN_SERVER 6 DOMAIN_NAME 15 ADDRESS_REQUEST 50 DHCP_MSG_TYPE 53 DHCP_SERVER_ID 54 PARAMETER_LIST 55 END 255
Function Blocks ¶ DHCP DHCP_Release (FunctionBlock) DHCP_Request (FunctionBlock) Helper ResolveInterface (FunctionBlock)
DHCP ¶ DHCP_Release (FunctionBlock) DHCP_Request (FunctionBlock)
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
DHCP_Request (FB) ¶ FUNCTION_BLOCK DHCP_Request Requests an IP Address from a DHCP Server and returns it. InOut: Scope Name Type Comment Input xEnable BOOL TRUE: request ip address from dhcp server abyMACAddress ARRAY [0..5] OF BYTE interface the ip address should be assigned to Output xReady BOOL TRUE: ip address received xError BOOL TRUE: Error occurred during ip request eError ERROR sIPAddress STRING received ip address sSubNetMask STRING sRouter STRING sDNSServer STRING sDomainName STRING sDHCPServer STRING
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