Example: Azure Event Grid via CODESYS MQTT Client
Azure Event Grid is a Microsoft cloud service which primarily provides an MQTT broker and HTTPS interfaces for the implementation of serverless applications. The user is not required to have his own servers or server software.
The publish/subscribe protocol (PubSub) implemented by means of MQTT and an event handler system (for HTTPS) makes it possible for corresponding client applications to exchange data with each other. Event Grid allows for simplified forwarding of event data to various Azure services. This supports the structure of complex processing pipelines in the cloud. Typical use cases include data analysis and the further processing of information. The results can be persisted in Azure Storage (cloud storage). Alternatively, the results can also be returned directly to an application.
Below you will learn how to configure a CODESYS MQTT Client from the IEC library MQTT Client SL from the CODESYS IIoT Libraries SL package. The client communicates via an Azure Event Grid MQTT broker. The instructions describe how to set up the CODESYS side as well as how to configure the Azure side.