Hi Community,
I have been successfully transferring data to and from an ILC using MQTT, where the payload is handled in byte format. This setup has worked well with our SCADA system, and we would prefer not to modify the existing configuration on that end.
However, I’m currently migrating to a PLCnext controller, and based on the documentation available on the official website, it seems that PLCnext MQTT functionality primarily supports JSON-formatted payloads. This raises a concern, as converting our entire system to JSON would require significant changes on the SCADA side, which we’d like to avoid.
My question is: Is there any way to configure or implement MQTT communication on PLCnext so that it can publish and subscribe using raw byte payloads , similar to how it was done with the ILC?
Or alternatively, is there a workaround or custom function block that allows handling raw bytes before/after MQTT transmission within PLCnext?
Any guidance, examples, or suggestions would be greatly appreciated.
Thanks in advance!
Best regards,
Aswin Ramachandran