2 articles
Modbus was designed for serial cables in 1979. MQTT was designed for unreliable networks. Understanding the difference explains half of modern IIoT architecture.
A working example: poll a Siemens S7 register every 500ms from a Python script. The bridge between the shop floor and your software stack.