diff --git a/production_apsct.py b/production_apsct.py
index 66b9f32edb50d1d6703411a8434060dac7a91348..2616d171d21cc1457c58dacd6bcae1d58eab6448 100644
--- a/production_apsct.py
+++ b/production_apsct.py
@@ -27,8 +27,8 @@ if len(sys.argv) < 2:
     exit()
 
 apsct = apsct_lib.ApsctClass(CLK_FREQ)
-
-modi = ["200MHz", "160MHz", "OFF"]
+state = True
+modi = ["200MHz"] # , "160MHz", "OFF"]
 for mode in modi:
     print(f"Check APSCT in {mode} mode")
     apsct.frequency = mode
@@ -36,15 +36,14 @@ for mode in modi:
     apsct.pll_200.read_lock()
     apsct.pll_160.read_lock()
     apsct.sensors.apsct_sensors()
-    apsct.check_apsct()
-
+    state = state & apsct.check_apsct()
 
 if READ_ALL:
     apsct.pll_200.read_all_regs_pll()
 #    apsct.pll_160.read_all_regs_pll()
     apsct.read_IO_expanderis()
 
-if apsct.check_apsct():
+if state:
     apsct_id = "APSCT-" + sys.argv[1]
     serial = sys.argv[2]
     rw_ok = apsct.eeprom.wr_rd_eeprom(apsct_id, address=0)