mqttSubcribe
Inputs
Inputs |
Data Type |
Description |
IN |
BOOL |
Triggers the subscribe request. |
CnxID |
STRING |
Identifier of the connection in the fieldbus configuration. |
Topic |
STRING |
Message topic – may contain wild chars. |
QOS |
DINT |
Wished quality of service. |
Outputs
Outputs |
Data Type |
Description |
OK |
BOOL |
TRUE if the request is successfully sent. |
Error |
BOOL |
TRUE if the request failed. |
Remarks
The request is sent on a rising edge of the IN input. After that the outputs, either OK or Error, becomes TRUE.
On the falling edge of inputs both outputs are reset to FALSE .
Important
You can send only one request (subscribe or unsubscribe or publish) at a time.
mqttSubcribe |
IEC 61131-3 Automation platform > Programming - Reference guide > Driver specific function blocks > MQTT > mqttSubcribe |
Created with the Personal Edition of HelpNDoc: Easy Qt Help documentation editor