From 70dae0b5e01537395603395b078bf4638d3070e7 Mon Sep 17 00:00:00 2001
From: Milan Prica <milan.prica@elettra.eu>
Date: Thu, 1 Jul 2021 10:00:19 +0200
Subject: [PATCH] Extra bits added for resolving state, meaning unknown

---
 src/Smaract_mcs2.py | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/Smaract_mcs2.py b/src/Smaract_mcs2.py
index db4a878..1231ce9 100755
--- a/src/Smaract_mcs2.py
+++ b/src/Smaract_mcs2.py
@@ -73,7 +73,13 @@ CONTROLLER_FLAGS = [
     "REFERENCE_MARK",           # 0x00008000
     "IS_PHASED",                # 0x00010000
     "POSITIONER_FAULT",         # 0x00020000
-    "AMPLIFIER_ENABLED"         # 0x00040000
+    "AMPLIFIER_ENABLED",        # 0x00040000
+    "UNDOCUMENTED",             # 0x00080000
+    "UNDOCUMENTED",             # 0x00100000
+    "UNDOCUMENTED",             # 0x00200000
+    "UNDOCUMENTED",             # 0x00400000
+    "UNDOCUMENTED",             # 0x00800000
+    "UNDOCUMENTED"              # 0x01000000
 ]
 END_OF_LINE = '\015\012'
 
-- 
GitLab