Join us today!
[Solved] TwinCAT - Windows Blue Screen Issue
If you ever got a windows blue screen issue after activating the configuration on TwinCAT and clicking OK to "Restart TwinCAT System in Run Mode", you can follow the steps to fix this problem:
- Go to your TwinCAT boot folder: "C:\TwinCAT\3.1\Boot" and delete the content
- Restart your IPC
- While in config mode + free run toggled on, Once you have all the adapters correctly selected, hit Reload Devices button.
- Check the EtherCAT Master’s -> Online tab to verify all of the IO is in OP mode.
- Assuming no error pops up from hitting the Reload Devices button, move onto disabling the Autostart boot project setting for the PLC project.
- Activate configuration and click OK to "Restart TwinCAT System in Run Mode".
- If you do not see the blue screen, it is fixed!
- Upon logging into the PLC, if you see the blue screen or things lock up on you and you need to reboot, then the issue is coming from the PLC code. Something in the code is triggering an exception (divide by zero, null pointer, array out of bounds).
- You can alter or isolate breakpoints around to figure out where exactly the code is hitting an exception.
- When you fix the issue in your PLC logic and the program is free of errors, you can try activating again.
It is a good practice unchecking the Autostart Boot Project setting for the PLC project until you are sure that your program is free of errors.
In case you want to say thank you !)
We'd be very grateful if you could share this community with your colleagues and friends. You can also buy us a coffee to keep us fueled 😊 This is the best way to say thank you to this project and support your community.
twinControls - https://twincontrols.com/
Related: Enable Memory Dump on IPC
In case you want to say thank you !)
We'd be very grateful if you could share this community with your colleagues and friends. You can also buy us a coffee to keep us fueled 😊 This is the best way to say thank you to this project and support your community.
twinControls - https://twincontrols.com/
-
I cannot add a variable to the TwinCat scope project.
2 months ago
-
Twincat 3 HMI Server Graph display problem
10 months ago
-
Detecting low voltage on PLC bus
2 years ago
-
Passing a structure between PLCs via ADS using symbolic addressing
2 years ago
-
TwinCAT - using a single input link to read 18 individual bytes from an EtherCAT slave
2 years ago
- 17 Forums
- 265 Topics
- 932 Posts
- 1 Online
- 688 Members