mqttUnsubN
Allows to unsubscribe from several topics.
Inputs
Inputs |
Data Type |
Description |
IN |
BOOL |
Triggers the subscribe request (see notes). |
CnxID |
STRING |
Identifier of the connection in the fieldbus configuration. |
Topics[] |
STRING |
Message topics – may contain wild chars. |
Outputs
Outputs |
Data Type |
Description |
OK |
BOOL |
TRUE if the request is successfully sent. |
Error |
BOOL |
TRUE if the request failed. |
Remarks
Empty strings in the topics array are ignored. You cannot pass more than 100 topics in the array.
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, unsubscribe or publish) at a time.
mqttUnsubN |
IEC 61131-3 Automation platform > Programming - Reference guide > Driver specific function blocks > MQTT > mqttUnsubN |
Created with the Personal Edition of HelpNDoc: Free EPub and documentation generator