SubscribeMQTTMethods (FB)ΒΆ
FUNCTION_BLOCK SubscribeMQTTMethods EXTENDS CBML.LCon
Function block to subscribe MQTT methods.
- InOut:
- Scope - Name - Type - Comment - Inherited from - Input - xEnable- BOOL- TRUE: Activates the defined operation- FALSE: Aborts/resets the defined operation- LCon - Output - xDone- BOOL- TRUE: Ready condition reached- LCon - xBusy- BOOL- TRUE: Operation is running- LCon - xError- BOOL- TRUE: Error condition reached- LCon - Input - pbMethodPayload- POINTER TO BYTE - Pointer to method input payload buffer - udiMaxMethodPayloadSize- UDINT- Maximum size of pbMethodPayload - itfMethodInvoker- Method invoker - Inout - azureMQTTClient- Reference to AzureMQTTClient - Output - eError- MQTT.MQTT_ERROR- Error code - udiPayloadSize- UDINT- Length of the device twin 
