CODESYS® IIoT Communication

CODESYS turns a control system into an "industrial thing with an Internet connection"

IIoT communication in Industry 4.0 environments

CODESYS natively includes all essential technologies and features for applications in the Industry 4.0 / IIoT environment. This makes CODESYS the ideal tool for implementing automation technology using IT and Internet technologies. With CODESYS, a control system becomes an "industrial thing with an Internet connection" (IIoT), enabling you to use the latest technologies with ease.

IIoT protocols

Using a CODESYS library, you can communicate with different systems in the local or global network. Data is exchanged by explicitly calling functions or function blocks as part of the IEC 61131-3 control application.

In the CODESYS Store, you will find the CODESYS IIoT Libraries communication library and associated application examples. Various communication protocols are implemented in it (indicated in brackets):

  • MQTT Client (MQTT)
  • Web Client (http, https)
  • Web Socket Client (TCP)
  • AWS IoT Core Client (MQTT)
  • Azure IoT Hub Client (MQTT, https)
  • Mail service (POP3, SMTP, TLS encrypted if required)
  • SNTP Service (SNTP)
  • SNMP Library (SNMP)

In addition, auxiliary libraries are included to simplify the implementation of communication, e.g.

JSON Utilities

Numerous functions for creating/reading/writing/searching JSON files

JSON Web Token

Create JWT (JSON Web Token) with the algorithms HS256, HS384, HS512 or RS256 on the controller

XML / CSV / INI File Utility

Function modules for reading/writing files in the corresponding formats.

With the help of CODESYS IIoT Libraries, you can easily implement connections to public cloud applications, MQTT brokers, web and mail servers within your controller application. You can request information from network devices such as printers or routers, connect to network time servers or use your controller as a network time server. And all in a single bundle! The package is regularly updated and expanded - you will receive a notification via the CODESYS Installer as soon as an update is available for download.

Secure communication via the CODESYS Automation Server

The Industry 4.0 platform CODESYS Automation Server offers you useful functions for the central management, data recording and analysis of your control systems.

An important additional benefit:

Access your controllers from anywhere in the world via the Internet using encrypted and tested communication mechanisms. For example, to carry out remote maintenance of the controller - including debugging and updating the controller applications. Or to display the CODESYS WebVisu stored on the control system. This allows you to see and operate the user interfaces as if you were directly at the machine/system.

Further information can be found here!

 

Further communication protocols

Are you missing a special communication protocol? Then you have two options:

  • Use the powerful CODESYS Development System as a modern programming tool to implement proprietary or standardized communication protocols yourself. In the free basic library network.library you will find the sub-library NetBaseServices.library, which provides you with the necessary basic services. In the CODESYS Store, you can also make products created in this way available to other users free of charge or for a fee (with full licensing).
  • Contact CODESYS Sales at sales(at)codesys.com and ask about the customer-specific development of your desired communication protocol as a service. This is often even faster and cheaper than implementing it yourself. Further information can be found here!

 

CODESYS Store How to get

How to get

  • Purchase CODESYS IIoT Libraries in the CODESYS Store:
    Licensing is per device used.
     
  • As a user of CODESYS-compatible controllers from device manufacturers:
    Make sure that the manufacturer of your device has implemented the CODESYS licensing mechanism.
     
  • As a user of SoftPLC variants or virtual controllers via the CODESYS Store:
    Licensing takes place via a software container or the CODESYS Key (requires a free USB port).