This "How To' is for RTE applications that crash with a BSOD / RTE exception.
When such a crash happens, please perform the following steps to ensure repeatability and reproducibility of the error and to record it.
1. Save and provide the PLC logfiles.
If it is possible to restart the RTE again after the crash has happened, then the PLC log should contain important information here.
Please provide a full project archive, together with the last status, which is also running online!
2. Increase the RTE stacksize:
The second step (if the first one is not given here more insight), is to increase the stacksize via a new registry entry.
Set StackSizePerTask f.e. to 30000 hex (double the default 10000 value, and test the application again).
HKEY_LOCAL_MACHINE\SOFTWARE\3S-Smart Software Solutions GmbH\CoDeSys SP\3SRTE3 "StackSizePerTask"=dword:00030000
After increase the stacksize, clean up the project and delete the boot project manually before logging in on the RTE again!
3. Provoke the Bluescreen.
To make this more trackable, please set the following in the Windows Registry:
HKEY_LOCAL_MACHINE\SOFTWARE\3S-Smart Software Solutions GmbH\CoDeSys SP\3SRTE3 "CreateBluescreenOnFirstException" DWORD-Value CreateBluescreenOnFirstException = 1
Windows key + Pause -> "Startup and Recovery" -> Settings -> under System Error select "Kernel Memory dump" and confirm.
4. Share the data with the Support.
Provide the Windows 'kernel memory dump', together with the appropriate CODESYS archive for the Codesys Support.
To Report Problems to Codesys, see our Homepage on 'CODESYS Store Customers' and the Codesys Store FAQ for 'How do I get support in the CODESYS Store?'
See also....
- Report problems and error messages to CODESYS
- Our CODESYS Online Help (OLH) Website
- OLH: How to 'Analyzing Errors with Core Dump' and how to 'Create a Core Dump' in the first place
- OLH: the PLC Log and how to Reading the PLC Log