# GetConnectionStatus

This function is used to get the connection status of the specified communication protocol.

Inputs

Parameter | Description
Event | Specifies an event function that is set to capture the network error event. This parameter needs to be a reference to any event with a timestamp, for example, one of the following: A cell containing an Event function. A cell containing a Button function.
Protocol | Specifies which protocol is polled for a status update. 1 = EtherNet/IP 2 = PROFINET 100 = Default

Outputs

Returns | The connection status of the specified communication protocol, or #ERR if any of the input parameters are invalid.