KvbProdNetStatus

From a producer controller, obtains the status of a network link to a given consumer IP address. KvbProdNetStatus monitors outgoing connections.
prt_kp
TIP: This function block should only be used for network diagnostics.
Arguments
RES
DINT
Producer controller number
IP
STRING
IP address of producer
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 consumer 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 KvbProdNetStatus functions used in a redundant manner verifying the error status of the network links for both controller 2 instances located at the different IP addresses:
prt_kpx
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal