Consume Status Variables for Bindings

To test values for the binding status, create these defined words in the dictionary for a project:
Status Message
Value
Description
SNCP_KVB_ERR_BINDING_READY
0
Normal steady state data exchange. The binding link is healthy.
SNCP_KVB_ERR_BINDING_IN_PROCESS
1
Producer and consumer are in the process of connecting
SNCP_KVB_ERR_UPD_IN_PROCESS
2
Producer and consumer are in the process of reconnecting following an online update
SNCP_KVB_ERR_UPD_TIMEOUT
3
Producer and consumer did not reconnect within
Update Timeout
milliseconds following an online update
SNCP_KVB_ERR_NO_PRODUCER
4
At the beginning of a connection or following
Bind Response Timeout
milliseconds during data exchange
SNCP_KVB_ERR_BAD_CRC
5
Producer and consumer binding table CRC mismatch during connection
SNCP_KVB_ERR_IMPOSSIBLE_TO_BIND
6
Conversion of structures not supported on heterogeneous binding link
SNCP_KVB_ERR_IP_DENIED
7
Producer only error, indicating a consumer with an unknown or unexpected IP address is requesting binding links. The link is denied.
SNCP_KVB_ERR_BAD_PRODUCER_ID
8
Producer only error, indicating the producer has received a binding link request from a consumer containing an unexpected producer identity. The link is denied.
SNCP_KVB_ERR_BAD_GROUP_ID
9
Producer only error, indicating the producer has received a binding link request from a consumer but the request does not contain a known bound variable group identity. The link is denied.
SNCP_KVB_ERR_BAD_BUFF_SIZE
10
Producer only error, indicating that either the producer or consumer has insufficient buffer space to translate the bound variables. Unable to establish the link.
SNCP_ERR_BAD_CONFIG
11
Producer only error, indicating the producer is unable to obtain the IP address of the consumer from the network configuration file. The link is denied.
To monitor the health of the bindings network, use the consume status variable and the following function blocks: KvbConsNetStatus and KvbProdNetStatus.
Define bindings between controllers in the
Bindings
section of the
Communication View
.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal