Index: trunk/FACT++/src/fscctrl.cc
===================================================================
--- trunk/FACT++/src/fscctrl.cc	(revision 19923)
+++ trunk/FACT++/src/fscctrl.cc	(revision 19924)
@@ -36,5 +36,6 @@
     uint16_t fTempMax;
 
-    uint16_t fTempExceeded55;
+    uint16_t fTempExceeded;
+    float    fTempLimit;
 
     size_t fNumConsecutiveErrors;   // Number of consecutive messages with errors
@@ -284,11 +285,11 @@
 
         if (tempgt50)
-            fTempExceeded55++;
+            fTempExceeded++;
         else
-            fTempExceeded55 = 0;
-
-        if (fTempExceeded55==3)
-        {
-            Error("EMERGENCY: This is the third time in a row that any of the tempereture sensors exceeds 50 degC.");
+            fTempExceeded = 0;
+
+        if (fTempExceeded==3)
+        {
+            Error("EMERGENCY: This is the third time in a row that any of the tempereture sensors exceeds "+to_string(fTempLimit)+" degC.");
             Dim::SendCommandNB("BIAS_CONTROL/VOLTAGE_OFF");
             Error("Sending 'BIAS_CONTROL/VOLTAGE_OFF'.");
@@ -607,5 +608,5 @@
     ConnectionFSC(ba::io_service& ioservice, MessageImp &imp) : Connection(ioservice, imp()),
         fIsVerbose(false), fIsAutoReconnect(false), 
-        fTempMin(0), fTempMax(65535), fTempExceeded55(0),
+        fTempMin(0), fTempMax(65535), fTempExceeded(0), fTempLimit(60),
         fReconnectTimeout(ioservice)
     {
@@ -636,4 +637,9 @@
     {
         fTempMax = max;
+    }
+
+    void SetTempLimit(const float &lim)
+    {
+        fTempLimit = lim;
     }
 
@@ -925,4 +931,7 @@
         fFSC.SetVerbose(!conf.Get<bool>("quiet"));
 
+        fFSC.SetTempLimit(60);
+        T::Info(Tools::Form("Overheating temperature limit set to "+to_string(60)+" degC"));
+
         fFSC.SetTempMin(conf.Get<uint16_t>("temp-adc-min"));
         fFSC.SetTempMax(conf.Get<uint16_t>("temp-adc-max"));
