Hi Pavel,
PLC specification state an external temperature for PLC as a device, not temperature inside PLC.
You have to control temperature inside enclosure, where PLC is installed, either by cooling or heating.
In case you need some advise for your project, you can ask forum community about projects experience and recommendations.
Internal sensor is for limited use.
There is no thermal protection inside PLC, either against overheat or undercool.
B.R.