This type of problem occurs when the HMI back side cooling fan is not running.
Remedy:
Check the cooling fan of NC controller is it bad or correct if it is bad just replace it.
Note:
The cooling fan will be found on the back side of the HMI.
Cooling fan show in Picture above