MotoHawk Ethernet SNTP Status
Outputs the status of the most recent SNTP request.
Block ID
Ethernet SNTP Status
Library
motohawk_ethernet_lib
Description
This block outputs the status of the most recent SNTP request. The m-script motohawk_ethernet_sntp_connection_status_enum returns a cell array of mode names which can be used as an enumeration string in a MotoHawk probe block.
Block Parameters
Parameter Field | Values | Comments/Description |
---|---|---|
SNTP Client Reference | Alpha-numeric text | Reference to the Name of the Ethernet SNTP Client Definition block that this status refers to. |
Signals
Output port reports an enumeration for the connection status:
Connection Status | Output value | Comments/Description |
---|---|---|
Idle | 0 | SNTP client is in the idle state. |
Time received | 1 | The time has been received from the network time server. |
Unable to send request | 2 | Cannot send a request to the time server |
Request timed out | 3 | A reply has not been recieved since the last request was sent to the network time server. |
Kiss of Death | 4 | The network server issued an SNTP "Kiss of Death" message. The connection was interrupted. |