Zugriff auf SPS-Daten in der Steuerungsapplikation
Der PLCHandler ist eine komfortable Softwareschnittstelle (API) zur Kommunikation zwischen einer CODESYS-konformen Steuerung und Clientsystemen. Mit dem API kann der Client, z. B. eine Visualisierung oder ein Bedien- oder Servicegerät, auf die IEC-61131-3-Variablen und die Onlinedienste der Steuerung zugreifen.
Funktionsumfang des CODESYS PLCHandlers (Auszug)
- Verbindungsauf- und -abbau zu einer Steuerung
- Lesen der verfügbaren Variablenliste in der Steuerung
- Zyklisches Lesen von Variablenwerten aus der Steuerung
- Synchroner Austausch von Variablenwerten (Lesen / Schreiben) mit der Steuerung
- Instanziierbarkeit für die gleichzeitige Kommunikation mit mehreren Steuerungen
- Automatischer Verbindungsaufbau zur Steuerung nach Verbindungsabbruch
- Automatisches Wiederaufsetzen nach einem Programm-Download von CODESYS auf die Steuerung
- Übertragung von Dateien zu und von der Steuerung
- Callback-Funktionen für verschiedene Ereignisse
Realisiert ist der CODESYS PLCHandler als C++ -Klasse, die in einem Software Development Kit (SDK) ausgeliefert wird. Darüber hinaus bietet der PLCHandler auch eine reine C-Schnittstelle und ist für Microsoft Windows auch als ActiveX-Komponente verfügbar. Im Lieferumfang des SDK befinden sich neben plattformspezifischen Dateien, z.B. für Windows, Linux® oder VxWorks® unter anderem auch Demo-Clients in Quellcode für unterschiedliche Plattformen.
Howtoget
The PLCHandler is purchased by companies who want to establish a connection between an external system and CODESYS.
- Manufacturers of programmable devices or vendors of third-party systems such as visualizations, operating panels etc.:
Company license to access CODESYS controllers with the “CODESYS PLCHandler for device manufacturers” from a certain platform - System integrators and users for example from the machine or plant building industry: If you want to establish a connection to a third-party system, please contact your system/device supplier or us.
- For more information or an offer please contact our sales department under info@emea.com.tr
Products
CODESYS offers seamlessly integrated communication protocols for a wide variety of interfaces and requirements.

OPC Server
Standard Interface to access the IEC 61131-3 process data of a controller via Open Platform Communications.

OPC UA
Standard Interface for Communication in Smart Factory and Industry 4.0 Systems

BACnet
Configurator and protocol stack fully integrated in the IEC 61131-3 Development System

Serial interfaces
Although today almost every industrial controller has an Ethernet connection, serial interfaces are still installed in many industrial devices. This allows, for example, for the connection of appropriately equipped sensors and actuators or extensions.

Standard Ethernet
How does CODESYS communicate via Ethernet? How can I send and receive data from a CODESYS-compatible PLC via TCP or UDP? How can I realize data exchange from the PLC application?

Fieldbus systems and Industrial Ethernet
Sensors and actuators/actuators for processing control tasks can be separated from the controller via fieldbus and Ethernet systems with industrial communication protocols.

IIoT libraries
All IoT communication protocols can be implemented and used on different transmission media via software.

Other communication options
If a physical port is available on a controller, communication protocols can usually be implemented simply via software, either as part of the IEC 61131-3 control application or as separate library modules. Data exchange is performed by explicitly calling functions or function blocks as part of the logic control.

Proprietary communication protocols
CODESYS supports the most common standard communication protocols for data exchange between controllers, such as OPC UA. In addition, Ethernet-based fieldbus systems such as PROFINET or EtherNet/IP™ make it easy to exchange data between controllers by implementing master and slave functions.