IIoT Libraries SL - en
IIoT Libraries SL - en
IIoT Libraries SL
The software package “IIoT Libraries SL” contains libraries for “IIoT communication” and libraries for reading
and writing of data structures.
Product description
Licensing:
The product “IIoT Libraries SL” contains numerous libraries to support different communication protocols (for
example, MQTT and HTTPS) and includes tools for encoding and decoding data structures (for example, JSON
and XML). Moreover, libraries with POUs for direct communication with cloud services of individual providers
(AWS, Azure, etc.) are provided. The components contained in the CODESYS package are ideally suited for
communication in the IIoT environment.
The HTTP header of a request can be extended without any restrictions. In addition, function blocks are
included for HTTP basic authentication and authentication via OAuth (Version 1a and 2).
MQTT Client SL
MQTT (Message Queuing Telemetry Transport) is an open-source IoT protocol that allows for the transmission
of telemetry data as messages between devices. Device communication always takes place by means of an
MQTT broker (e.g. Mosquitto https://mosquitto.org/). Messages are sent and subscribed to based on topics. A
topic corresponds to a path (e.g. device1/temperature). Subscribing to messages is done by specifying a topic
filter. Wildcards are also permitted (+ for one level and # for multiple levels). The message format is not fixed,
which means that a JSON string or any data structure can be transmitted.
With the “MQTT Client SL” library, messages can be sent from a CODESYS controller to an MQTT broker, and
messages can be subscribed to based on topics.
Mail Service SL
This library contains function blocks for sending, receiving, and deleting emails by means of SMTP and POP3
protocols. Communication with the mail server can be established either encrypted (TLS) or unencrypted. A
sample project demonstrates how to use the function blocks.
SMS Service SL
With this library it is possible to send, receive and delete short messages via a GSM modem.
SNMP Service SL
This library makes it possible to read device information of printers, routers etc. via the SNMP protocol. The
library provides function blocks to send and receive SNMP messages. The package contains the SNMP library
and example applications.
SNMP GET_NEXT: Request a value and get the OID from the next value.
SNMP Agent: Enables devices to request values from the control (agent).
SNMP TRAP: Send and receive TRAP/INFORM telegrams.
SNMP SET: Set values via SNMP
The package SNMP Service SL.package contains following components:
SNTP Service SL
The library SNTP Service SL contains function blocks for easy implementation of SNTP client and server
components on a CODESYS control (SNTP V3, SNTP V4). The function block SNTPGetUTCTime can be used to
request the UTC time of a SNTP/NTP server. The function block SNTPServer can be used to build a simple
SNTP server.
Function blocks (FBs) of the SNTP library:
2/4
IIoT Libraries SL
JSON Utilities SL
The ‘JSON Utilities SL’ library provides the following functionalities:
A simple REST client can be implemented easily in connection with the library ‘Web Client SL’.
XML Utility SL
The library “XML Utility SL” contains function blocks to read and write xml files or xml strings on a control. All
elements of the xml file are stored in an array of structures. The library also contains function blocks to find
elements by name and attribute. The usage of the library is demonstrated by two example applications.
The library contains following components:
3/4
IIoT Libraries SL
General information
Supplier:
CODESYS GmbH
Memminger Strasse 151
87439 Kempten
Germany
Support:
https://support.codesys.com
Item:
IIoT Libraries SL
Item number:
Sales:
CODESYS Store
https://store.codesys.com
Included in delivery:
CODESYS package with libraries and sample projects on the subject of IIoT
SL License
Note: Not all CODESYS features are available in all territories. For more information on geographic restrictions,
please contact [email protected].
Note: Technical specifications are subject to change. Errors and omissions excepted. The content of the
current online version of this document applies.
4/4