Project purpose: To receive MQTT payload and write each msg element to a S7 PLC tag.
data - STRING
datetime - STRING
devaddr - STRING
fcnt - REAL
port - REAL
rssi - REAL
I have been able to inject json string and real values in to the S7 PLC (see debug messages 3 & 4). However, I am having trouble writing each of the objects from debug message 1 in to the S7 PLC. I used a json & function node to isolate the data string and that doesn't work either.
Any advice on the correct format which I should be sending this data through the flow so it will be accepted by the s7comm:write node would be greatly appreciated.