• No : 40054
  • Release Date : 2023/08/25 09:02
  • Print

Regarding the clean session function of MQTT communication function

What is the clean session function of the MQTT communication function?
Category : 

Answer

This function allows you to select the operation to be performed when the FX5-ENET(MQTT client) reconnects to the MQTT broker after communication has been interrupted while it is communicating with the MQTT broker.
If you choose to save the Session, the MQTT broker saves the Topic that FX5-ENET subscribed to before the communication was interrupted, so that FX5-ENET can receive the message received by the MQTT broker when it reconnects during the communication interruption.

*QoS 0 messages may not be received by the server or service.
 
If you choose not to save the Session, the FX5-ENET will not receive messages received by the MQTT broker when reconnecting during a communication break.
Product Name
FX5-ENET
Product Category
Network/Communication
Series
MELSEC iQ-F Series