
G_Cat (Customer) asked a question.
How can I publish values or payloads (STRING, BOOL, INT and FLOAT) from a Productivity2000 P2-622 using Productivity Suite V4.7.4 simulator to Node-RED through a Mosquitto MQTT broker? The client connects, but no PLC messages arrive.
Hello,
I am testing MQTT communication between a Productivity2000 P2-622 and Node-RED using Productivity Suite V4.7.4 simulator.
Mosquitto and Node-RED are working correctly. I can publish test messages through Mosquitto and receive them in Node-RED.
However, although the P2000 MQTT client shows connected, I cannot receive any messages from the PLC simulator.
I have configured Publisher 1 with a STRING tag (test string) and topic p2000/test/string.
My questions are:
- Does the P2-622 simulator support actual MQTT publishing?
- Can STRING, BOOL, INT and FLOAT tags be published directly?
- Is there an example project demonstrating P2000 MQTT communication with Node-RED?
My aim is to test all four data types before connecting to physical PLC hardware.
Any guidance or sample programs would be greatly appreciated.
Thank you.