Storage path for automatic creation

Storage path for automatic creation 1:

Available from TwinCAT 3.1 Build 4026

The storage path for the automatic creation of a core dump concerns the following mechanisms for creation:

Default:

By default, core dumps generated automatically or by a runtime function are stored in the boot folder of the target system. By default, the folder is located at:

Individual adjustment:

If desired, you can customize the storage path of the automatic core dump creation. To do this, you must enter the desired storage path in the Windows registry of the target system.

1. Open the following registry path on the target system:
32-bit system: "HKEY_LOCAL_MACHINE\SOFTWARE\\Beckhoff\TwinCAT3\Plc"
64-bit system: "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Beckhoff\TwinCAT3\Plc"
2. If the "Plc" folder does not yet exist, add it.
3. Add the "CoreDumpDir" key as a string.
4. Enter the desired file path for the automatic core dump creation as the value.
5. Set TwinCAT in Config.
The path is activated the next time the TwinCAT state changes to Run.