IIoT library v3.0.0

Hello team!

I would like to know if could be possible to share an example or an detailed explanation, beyond the datasheet, about how to use properly The Library IIoT_Library v.3.0 that had been released recently in the store.

Thanks so much!
Best Regards,
Darío

There is an example for that library in this Github repository:

[url="https://github.com/PLCnext/IIoT_Library"]https://github.com/PLCnext/IIoT_Library[/url]
If you have questions about that example, you can open issues on that Github repository.
If you have other questions about that library, you can contact the developers through the PLCnext Store, using the "Contact" button on the product page.

Thanks for the response!

Also, in several function blocks the parameter udtStatus appears in the documentatión as an output, but in the FB looks like an input.
Is that correct?

For instance:

IIoT_MqttClient_4.Publish(
BOOL (* xRequest *), 
STRING (* strTopic *), 
ANY (* anyPayload *), 
UDINT (* udiLength *), 
DINT (* diQos *), 
BOOL (* xRetained *), 
MQTT_UDT_METHOD_STATUS (* udtStatus *));

Thank you

Yes, that’s correct.

You're referring to the [i]Methods[/i] on the function block, which have characterstics more like Functions than Function Blocks. For example, Methods on Function Blocks only allow one return value.
To work around limitations like this, in this case a pointer to the udtStatus variable is passed as an "input", and the contents of that structure are modified by the method.
I hope this makes sense.

Thanks again Martin!