Beckhoff TwinCAT
For Beckhoff TwinCAT, SQL4automation provides two sample projects. One for TwinCAT V2 and one for TwinCAT V3 controllers. SQL4TwinCAT can be directly integrated as a library. Since communication takes place via TCP/IP, the Beckhoff TCP/IP Server license is required. On Beckhoff controllers running Windows or Windows Embedded (not CE), the SQL4automation Connector can be installed directly. No additional hardware is necessary.
Connecting Beckhoff TwinCAT PLC to SQL Databases, MES, ERP
For Beckhoff TwinCAT, SQL4automation provides two sample projects. One for TwinCAT V2 and one for TwinCAT V3 controllers. SQL4TwinCAT can be directly integrated as a library. Since communication takes place via TCP/IP, the Beckhoff TCP/IP Server license is required. On Beckhoff controllers running Windows or Windows Embedded (not CE), the SQL4automation Connector can be installed directly. No additional hardware is necessary.
Integration of the SQL4TwinCAT Library
The SQL4TwinCAT library receives parameters such as the IP address and port of the Connector as well as the SQL string. The return values of the SQL query are written to the two-dimensional string array ptTableValues.

SQL4automation Link Settings
The SQL4automation Connector is operated with the target settings "Standard" for Beckhoff TwinCAT controllers. The configuration is completed in just a few clicks.

Tested Beckhoff Controllers
The SQL4TwinCAT library has been tested on the following Beckhoff PLC controllers:
- Beckhoff CX9000
- Beckhoff CX9010
- Beckhoff CX9020
- Beckhoff CX5020
- Beckhoff C6920
Switch to SQL4automation Now.
Connect industrial controllers directly with SQL databases. Field-proven since 2007 for maximum performance and security, completely without middleware.