PLC API
Overview
The TcDatabase.lib library contains function blocks for controlling and configuring the TwinCAT database server.
Funktionsblöcke
Name |
Description |
---|---|
Call state information | |
Adds database connections to the XML configuration file | |
Adds authentication information for database connections to the XML configuration file | |
Adds ODBC database connections to the XML configuration file | |
Adds Ads-device connections to the XML configuration file | |
Reloads the XML configuration file | |
Read all databaseconfiguration out of the XML-configuration file. | |
Read all Ads-deviceconfiguration out of the XML-configuration file. | |
Open a connection to a database | |
Close a connection to a database | |
Creates a new database | |
Creates a table with any desired table structure | |
Reads one value out of the database | |
Writes one variable value, with timestamp, into a database | |
Starts or stops the logging/writing of variables | |
Reads a data record out of a table | |
Reads a data record out of a table (commandlength <= 10000 symbols) | |
Reads some data records out of a table | |
Creates a new data record | |
Creates a new data record (commandlength <= 10000 symbols) | |
Deletes a data record from a table | |
Execute Stored Procedures. | |
Execute Stored Procedures and return a data record. | |
Execute Stored Procedures and return a count of data records. |
Datentypen
Name |
---|