beckhoff TS6420 — 6.2 SQL query editor

Configuration SQL "CREATE TABLE" With the tab "CREATE TABLE" you can create arbitrary tables at the selected database. This operation will be executed internally with the function block FB_DBTableCreate. With the table text field (3) it is possible to indicate the name of the new table. SQL "INSERT" commands With the tab "INSERT", INSERT SQL commands could be created of a fast and easy way. You can configure the individual columns of the table by hand, or you read the whole table schema with the help of the button "Get Tableschema". TS6420 27 Version: 1.2 Description 1 Target TwinCAT Database Server Choose the Target TwinCAT Database Server for communication.

2 Database List of the configurated database connections 3 Table Tablenname for SQL command generating 4 Copy for PLC Copy the created SQL command with correct PLC syntax into the clipboard 5 Export TC2 Create an export file for TwinCAT 2 for the SELECT PLC struct 6 Export TC3 Create an export file for TwinCAT 3 for the SELECT PLC struct 7 Get Tableschema Reads the table structure of the given table 8 Create Cmd Create SQL commands based of the different database syntax 9 Execute Executes the SQL command