Output Description

../_images/ee584face38a22840a33139000eba54e

DONE

Data_Type Default_Value Range Unit
BOOL - TRUE / FALSE -

Output DONE indicates the state of execution.

It has the value TRUE when the execution is finished and the outputs are valid. When DONE becomes FALSE other outputs are not valid any more.

ERR

Data_Type Default_Value Range Unit
BOOL - TRUE / FALSE -

Output ERR indicates whether an error occurred during Function Block execution.

It is only valid when DONE is TRUE. The kind of occurred error is specified by the error identifier at output ERNO.

ERNO

Data_Type Default_Value Range Unit
WORD - 0 … 65535 -

At output ERNO the identifier of an occurred error is provided. It is only valid when DONE and ERR is TRUE. (see, error messages): Error Messages of the Function Block Libraries

IP_ADR   DWORD \    (IPaddress)

Output IP_ADR displays the own IP address of the Communication Module. Each byte in IP_ADR represents one octet of the address.

Example:

IP address 192.15.24.2,

IP_ADR (hex) 16#C00F1802,

IP_ADR (dec) 3222214658

NETMASK   DWORD \    (Netmask)

Output NETMASK displays the own netmask. Each byte in NETMASK represents one octet of the address.

Example:

Netmask 255.255.255.0,

NETMASK (hex) 16#FFFFFF00,

NETMASK (dec) 4294967040

GATEWAY   DWORD \    (Gateway)

Output GATEWAY displays the IP address of the gateway. Each byte in GATEWAY represents one octet of the address.

Example:

IP address 192.168.0.1,

IP_ADR (hex) 16#C0A80001,

IP_ADR (dec) 3232235521

BOOTP   BOOL \    (BootP)

Output BOOTP indicates whether the BOOTP service is activated for the Communication Module.

DHCP   BOOL \    (DHCP)

Output DHCP indicates whether the DHCP service is activated for the Communication Module.