beckhoff TS6420 — 6.5.3 Microsoft Access Database

Configuration An AutoID is generated in the "ID" column. The value in this column is, in other words, always increased by 1. This functionality makes the IDENTITY property possible. The "Timestamp" column stores the time at which the data record was saved. The name of the variable is stored in the "Name" column. The "Value" column stores the value of the variable. The table is created with the following SQL command:

/*ValueType="Double"*/ CREATE TABLE myTable( ID bigint IDENTITY(1,1) NOT NULL, Timestamp datetime NOT NULL, Name ntext NOT NULL, Value float NOT NULL ) /*ValueType="Bytes"*/ CREATE TABLE myTable( ID bigint IDENTITY(1,1) NOT NULL, Timestamp datetime NOT NULL, Name ntext NOT NULL, Value varbinary NOT NULL ) 6.5.3 Microsoft Access Database The values of the variables are saved in a Microsoft Access database. Database files of Access 2000 and Access 2003 (*.mdb) are as compatible as database files of Access 2007 (*.accdb). You only must declare different provider in the XML - configuration file for these different filetypes.

More info at "Declaration different databases" [ } 35] The variable values are saved in the following table structure. TS6420 39 Version:

1.2 E DBColumnTypes _ MS SQL PLC Control eDBColumn BigInt _ bigint T ULARGE INTEGER _ _ (TcUtilities.lib) eDBColumn Integer _ integer DINT eDBColumn SmallInt _ smallint INT eDBColumn TinyInt _ tinyint SINT eDBColumn Bit _ bit BYTE eDBColumn Money _ money LREAL eDBColumn Float _ float LREAL eDBColumn Real _ real REAL eDBColumn DateTime _ datetime DT eDBColumn NText _ ntext STRING eDBColumn NChar _ nchar STRING eDBColumn Image _ image ARRAY OF BYTE eDBColumn NVarChar _ nvarchar STRING eDBColumn Binary _ binary ARRAY OF BYTE eDBColumn VarBinary _ varbinary ARRAY OF BYTE Column name Data type Characteristic ID AutoNumber Field Size:= "Long Integer"; New Values:= "Increment" Timestamp Date/Time Format:= "General Date" Name Text ValueType="Double" Value Number Field Size:= "Double"