Hi,
I’m doing MQTT in PLCnext with IIoT_Library_3 and create a JSON payload to send on my MQTT Broker and in debug it’s shows JSON payload 90 which is correct but Publish payload is not same as I’m creating.
Always receive this payload
{„type“: „Buffer“,„data“: }
I’m following provided example on GitHub.
What is the issue and I’m doing something wrong?
image.pngimage.png
Hi Najab,
Don’t use TRUE as INPUT for the IIOT_JSON_Coder function block. Use „PublishTimer.Q“ instead.
This will update the payload every time you want to publish data.