Activation of an error log file

Activation of an error log file 1:

This documentation article only applies to the TwinCAT FTP Client up to version 3.x.

In order to better localize occurring errors and to obtain a better description in the event of an error, the TwinCAT FTP Client offers the option of logging occurring errors in a text file.

The text file with the name "TcFTPErrorLog.txt" is always generated in the folder in which the "EXE" of the TwinCAT FTP Client is located.

You can activate this functionality by creating the following registry key:


32-bit: "HKEY_LOCAL_MACHINE\Software\Beckhoff\TwinCAT3 Functions\TF6300 FTP\Configuration\ErrorLog"

64-bit: "HKEY_LOCAL_MACHINE\Software\Wow6432Node\Beckhoff\TwinCAT3 Functions\TF6300 FTP\Configuration\ErrorLog"

Activation of an error log file 2:

With the value 0, the functionality is stopped after a restart of the TwinCAT system.

With the value 1, the functionality is started after a restart of the TwinCAT system and a simple error logging is performed.

With the value 2, the functionality is started after a restart of the TwinCAT system and extended error logging is performed.

Notice

Damage to the flash medium

Cyclic writing to the flash medium can damage it. There is also the possibility that the memory of the flash medium is fully written by cyclic writing.

Notice

Damage to the flash medium

Only use the error log when testing!




Requirements

Development Environment

Target Platform

PLC Libraries to include

TwinCAT v3.0 Build 3102

PC or CX (x86)

Tc2_FTP