IoT Masterclass, Part3: Programming a Siemens PLC to Publish/Subscribe to MQTT Topics

Published by blociot on

In the this new vide (part 3 of IoT Masterclass) we delve into using a Siemens PLC (featuring the 1200 CPU) to publish/subscribe to an MQTT broker on our Raspberry Pi5 test server. This comprehensive guide is tailored to supercharge your IIoT journey with Siemens PLCs!

🔍 Discover key insights on:

  • Downloading essential MQTT library.
  • Integrating the library into your TIA Portal project.
  • Mastering the function block and conducting foolproof tests.
  • Applying the function block to publish analog input values to the MQTT broker.
  • Storing PLC analog values in our InfluxDB database and visualizing historical data on the Grafana dashboard!

Stay tuned for Part 4, where we’ll elevate our IIoT project by adding a Siemens HMI panel to enrich our MQTT broker data.

🙌 Your feedback fuels our journey! Share your thoughts and suggestions for future videos. Let’s learn and grow together!


0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *