A function block was created to subscribe to MQTT topics.


The Program Code:

The program code simply initializes the subscriber and copies the Array[0..100] OF BYTEs to the outputted string sSubscribedata.

  • No labels