beckhoff TS6420 — 6.4 Properties and use of the XML-configuration file

Configuration Table 2: FB_DBWrite: RingBuffer_Time RingBuffer_Count 6.4 Properties and use of the XML-configuration file Storage place of the XML-configuration file: The configuration file has a fixed storage place. On CE devices the configuration file is placed at the following folder "\Hard Disk\TwinCAT\Boot" (If you change the XML-configuration file with the XML-configuration file editor, you have to copy this file back to the folder "\Hard Disk\TwinCAT\Boot") On PCs the configuration file is placed at the folder "C:\TwinCAT\Boot" Loading the XML-configuration file: The configuration file will be read once if the TcDatabaseSrv.exe is starting.

With the Function block "FB_DBReloadConfig" you can read the configuration file once again. (This is only possible, if the cyclic read/write isn't started.) After every restart of the TwinCAT System the XML-configuration file will be reloaded. Mode 1 (StartUp = "AutoStart") The XML configuration file loads automatically, when the TcDatabaseSrv.exe starts. Because of the value "AutoStart" at the tag StartUp, the Database Server starts immediately creating the connections to the declared databases und ADS-devices. Also, all variables, which are described in symbol groups, are logged to the specified database resp. written with values of the database.

This process will be executed with the declared cycle time. The process will be continued until the Database Server is stopped by the PLC with the function block "FB_DBCyclicRdWrt" TS6420 34 Version: 1.2