Configuration 6.5.2 Microsoft SQL Database The values of the variables are saved in a Microsoft SQL database. Compatible versions: Microsoft SQL Database 2000/2005/2008. Declarations see "Declarations different Databases" [ } 35] The variable values are saved in the following table structure. TS6420 38 Version: 1.2 ODBC-InterBase Database [} 46] -DBValueType: If you only log alphanumeric data types and Boolean choose "Double". If you want to log structs and strings too, you must select "Bytes". -DBType: You must choose "ODBC InterBase". →PLC: eDBType ODBC InterBase. _ _ _ -ODBC Driver: Insert the name of the ODBC-driver. ("Firebird/InterBase(r) driver") -Server name:
Contains the name of the Server or the IP-address of the host. -Database name: Contains the name of the database. -ClientDll: Contains the path to the fbclient.dll. -Table name: Contains the name of the table in which you will read or write. -UserId: Contains the name of the user. -Password: Contains the password for the authentication. ODBC-Firebird Database [} 47] -DBValueType: If you only log alphanumeric data types and Boolean choose "Double". If you want to log structs and strings too, you must select "Bytes". -DBType: You must choose "ODBC Firebird". →PLC: eDBType ODBC Firebird. _ _ _ -ODBC Driver: Insert the name of the ODBC-driver. ("Firebird/InterBase(r) driver") -Server name:
Contains the name of the Server or the IP-address of the host. -Database name: Contains the name of the database. -ClientDll: Contains the path to the fbclient.dll. -Table name: Contains the name of the table in which you will read or write. -UserId: Contains the name of the user. -Password: Contains the password for the authentication. XML Database [} 43] -DBValueType: If you only log alphanumeric data types and Boolean choose "Double". If you want to log structs and strings too, you must select "Bytes". -DBType: You must choose "XML"→PLC: eDBType XML. _ -DBServer: Contains the name of the database -DBProvider: This option won't be needed. -DBUrl DBUrl contains the path to the XML-file.
e.g. ("C: \TwinCAT\TcDatabaseSrv\Samples\TestDB.xml") The XSD-file must be in the same directory and must have the same file name. e.g. ("C:\TwinCAT\TcDatabaseSrv\Samples\TestDB.xsd") -DBTable: Contains the name of the table in which you will read or write. Column name Data type Null permitted Characteristic ID bigint no IDENTITY(1,1) Timestamp datetime no Name ntext no ValueType="Double" Value float no ValueType="Bytes" Value varbinary no