ERROR_ID (ENUM)

TYPE ERROR_ID :

Attributes:
qualified_only
InOut:

Name

Initial

Comment

MQTT_ERR_NO_ERROR

0

No error.

MQTT_ERR_CONN_SERVICE_UNAVAIL

16#3001

The Network Connection has been made but the MQTT service is unavailable on the specified port.

MQTT_ERR_COMMUNICATION_TIMEOUT

16#3013

The timeout value for the communication has been exceeded.

MQTT_ERR_REC_PACKET_TOO_LONG

16#3017

Received topic or payload is too long.

MQTT_ERR_PING_NO_ANSWER

16#301A

MQTT broker did not answer the ping. MQTT client has passed the KeepAlive or MQTT broker is unreachable.

MQTT_ERR_CONN_CLIENT_ID_NOT_ALLOWED

16#301F

The Client identifier is correct UTF-8 but not allowed by the Server.

MQTT_ERR_CONN_REFUSED_PROTOCOL

16#3020

The Server does not support the level of the MQTT protocol requested by the Client.

MQTT_ERR_CONN_REFUSED_CONNECTION

16#3025

Connection refused, maybe the IP address is malformed or an unallowed port is given.

MQTT_ERR_UNSPECIFIED_ERROR

16#302B

Internal library returned an unspecified error.

MQTT_ERR_NETWORK_ERROR

16#302D

No connection to an MQTT Broker.

MQTT_ERR_CONN_AUTH_FAILED

16#3217

Authentication failed: Bad username, password OR client id.

MQTT_ERR_CONN_TLS_HANDSHAKE_FAILED

16#3230

Error on TLS handshake.

MQTT_ERR_CONN_SERVER_CERT_NOT_VALID

16#3231

Server certificate not valid. Check if PLC date has been set correctly.

MQTT_ERR_CONN_SERVER_CERT_NOT_PEM

16#3232

Server certificate format is not formatted as PEM.

MQTT_ERR_CONN_SERVER_CERT_EXPIRED

16#3233

Server certificate has expired.

MQTT_ERR_CONN_CLIENT_CERT_NOT_VALID

16#3234

Client certificate not valid. Check if PLC date has been set correctly.

MQTT_ERR_CONN_CLIENT_CERT_NOT_PEM

16#3235

Client certificate or client key format is not formatted as PEM.

MQTT_ERR_CONN_CLIENT_CERT_EXPIRED

16#3236

Client certificate has expired.

MQTT_ERR_INPUT_01_0

16#4010

Function Block Input 01 error, Parameter Conn of Function Block was not set.

MQTT_ERR_INPUT_03_0

16#4030

Function Block Input 03 error,

MqttGetReceivedPacket (FB): Pointer payload not initialized.
MqttPublish (FB): Publish topic name must not contain wildcard characters (+ or #).
MqttSubscribe (FB): Topic is missing.
MqttUnsubscribe (FB): Topic is missing.

MQTT_ERR_INPUT_03_1

16#4031

Function Block Input 03 error, Payload is not set in MqttMessage.

MQTT_ERR_INPUT_04_0

16#4040

Function Block Input 04 error, Check if Port number has been set correctly (0 is not accepted).

MQTT_ERR_INPUT_06_0

16#4060

Function Block Input 06 error, Server certificate file was not found.

MQTT_ERR_INPUT_07_0

16#4070

Function Block Input 07 error, Client certificate file was not found.

MQTT_ERR_INPUT_08_0

16#4080

Function Block Input 08 error, Client key file was not found.

MQTT_ERR_INPUT_12_0

16#4120

Function Block Input 12 error, Couldn’t initialize Last Will message because the topic is not set.

MQTT_ERR_INPUT_12_1

16#4121

Function Block Input 12 error, Couldn’t initialize Last Will message because the payload is not set.

MQTT_ERR_FATAL_ERROR

16#5FFF

Fatal Error State Machine.