Input DescriptionΒΆ

../_images/9ee2c15de38a1e4f0a33139000eba54e

EN

Data_Type Default_Value Range Unit
BOOL FALSE TRUE/FALSE -

The input EN has to be driven in edge triggered mode.

The execution of the Function Block is started with a positive edge on the input EN.

In the first call it evaluates its inputs and creates a local copy of them. Afterwards it starts its internal algorithm. It may take several PLC task cycles until it is executed.

Once the execution is completed DONE and its other outputs are set. To start the Function Block again a new positive edge on the input EN has to be applied.

ETH   BYTE \    (ETHERNET index number)

At input ETH, the ETHERNET index number is specified. The assignment is as follows:

1 ETHERNET interface at Onboard ETHERNET 1
2 ETHERNET interface at Onboard ETHERNET 2
11 ETHERNET interface at Communication Module slot 1 *)
21 ETHERNET interface at Communication Module slot 2 *)
31 ETHERNET interface at Communication Module slot 3 *)
41 ETHERNET interface at Communication Module slot 4 *)
51 ETHERNET interface at Communication Module slot 5 *)
61 ETHERNET interface at Communication Module slot 6 *)

*) The Communication Modules are serially numbered from right to left, starting with module number 1.

IP_ADR   DWORD \    (IPaddress)

At input IP_ADR, the IP address which should be set at the ETHERNET interface is specified. 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)

At input NETMASK, the subnet mask which should be set at the ETHERNET interface is specified. 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)

At input GATEWAY, the default gateway which should be set at the ETHERNET interface is specified. 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)

A TRUE signal at input BOOTP activates the BOOTP service for the ETHERNET interface.

DHCP   BOOL \    (DHCP)

A TRUE signal at input DHCP activates the DHCP service for the ETHERNET interface.

REBOOT   BOOL \    (reboot)

A TRUE signal at input REBOOT restarts the CPU / Communication Module after changing the IP settings.