beckhoff TS6420 — 8.2 Create a Database

Samples With the FB_DBWrite you can write the current values of the variable “iLogVariable” into the database all the time. But there will be stored only 100 values of the variable, if you set the nRingBufferCount to 100. At the end of the program code, you can see the variable which is increasing by1 every PLC cycle. Important: If you test the sample program take care that the database does not exist! 8.2 Create a Database Download "Example generation of a database" https://infosys.beckhoff.com/content/1033/tcdbserver/ Resources/11407901963/.zip In this example the generation of a database out of the PLC will be shown.

In addition a table will be added and the generated database in the XML-configuration data declared. TS6420 104 Version: 1.2