MQTT_EventPublisher (FB)ΒΆ
FUNCTION_BLOCK MQTT_EventPublisher
Function Block to publish device Events
- InOut:
- Scope - Name - Type - Comment - Inout - MQTTBridge- Instance of the MQTT Bridge - Input - xExecute- BOOL- Publishes a message - sSub_Topic- STRING(255)- Publisher sub Topic - uiPublisherTimeOut- UINT- Publisher TimeOut in [ms] - pbPayload- POINTER TO BYTE - Pointer to Event Payload - uiPayloadSize- UINT- Size of Event Payload - eQoS- MQTT.MQTT_QOS- Quality of Service of the Event Publisher - Output - eError- Output Error - eMQTTError- MQTT.MQTT_ERROR- Error from MQTT - xBusy- BOOL- xDone- BOOL- xError- BOOL
