MQTT client in IEC

Hi All,

I am fairly new to the PLCNext platform, but I do have experience with other PLCs.
For a customer we want to place multiple edge devices in the field and link them to an upper system using MQTT.

I have no experience in MQTT myself and am now reading up on it. I saw there was a solution from the Phoenix Contact US called the PLCNext Edge Gateway.
I think this is a very nice solution however this requires an SD card and dependency on the developer for future updates.

For that reason I would like to set up an MQTT client myself, preferably within the IEC environment.

On Github I see several libraries that I could use. However, I’m looking for a step-by-step guide on how to create a client myself and really understand how it works.

Does anyone have tips for me?

You can use the IIOT library from the PLCnext Store. It contains a Functionblock which is a MQTT client. PLCnext Store | IIoT_Library. Another option would be to use Node RED, but that would require a SD card.