KvbConsNetStatus
From a consumer controller, obtains the status of a network link to a given producer IP address. KvbConsNetStatus monitors incoming connections.

TIP:
This function block should only be used for network
diagnostics.
Arguments | |||
---|---|---|---|
RES | DINT | Consumer controller number | |
IP | STRING | IP address of consumer | |
ERR | BOOL | TRUE = unknown controller, IP address is invalid, or the controller has no configured bindings FALSE = no error observed | |
STAT | BOOL | TRUE = healthy network link to producer IP FALSE = link failure |
Example
In an application which has two controllers with identities 1 and 2, controller 1 is a producer and has a bindings link to controller 2. Controller 1 has two network interfaces with IPs 10.44.200.1 and 192.168.3.1. Controller 2 has two network interfaces with IPs 10.44.200.2 and 192.168.3.2.
This example shows the KvbConsNetStatus functions used in a redundant manner verifying the error status of the network links for both controller 1 instances located at the different IP addresses.

Provide Feedback