mqttStatus
Get status and statistics about a MQTT connection.
Inputs
Parameter |
Data type |
Description |
CnxID |
STRING |
Identifier of the connection in the fieldbus configuration. |
Reset |
BOOL |
If TRUE, statistic counters are reset to 0. |
Outputs
Parameter |
Data type |
Description |
CnxStat |
DINT |
Connection status:
|
NLinkOK |
DINT |
Number of correct MQTT telegrams received. |
NLinkErr |
DINT |
Number of incorrect MQTT telegrams received. |
NTimeout |
DINT |
Number of requests failed on timeout. |
NRecOK |
DINT |
Number of received message correctly read by the logic. |
NRecLost |
DINT |
Number of received message lost (unread by the logic). |
NPubOK |
DINT |
Number of successful publish requests. |
NPubErr |
DINT |
Number of failed publish requests. |
mqttStatus |
IEC 61131-3 Automation platform > Programming - Reference guide > Driver specific function blocks > MQTT > mqttStatus |
Created with the Personal Edition of HelpNDoc: Keep Your Sensitive PDFs Safe with These Easy Security Measures