Input DescriptionΒΆ

../_images/36a110ffb8c112660a317f3415ae86e9

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    (IP address of the Server)

At input IP_ADR, the IP address of the host to be pinged is specified.

TIMEOUT WORD    (timeout)

At input TIMEOUT, the time to wait for an ICMP echo reply from the host is specified. After this time has run out, an error will be set as output. The default value is 5000 msec.