Index: fact/FADctrl/FAD.cc
===================================================================
--- fact/FADctrl/FAD.cc	(revision 11205)
+++ fact/FADctrl/FAD.cc	(revision 11232)
@@ -28,4 +28,5 @@
    {"sclk", &FAD::cmd_sclk, true, 1, "<on|off>", "Set SCLK"},
    {"trigger", &FAD::cmd_trigger, false, 0, "[n|cont [rate]|stop|enable|disable]", "Issue software triggers"},
+   {"drsreset", &FAD::cmd_drsreset, true, 1, "<low|high>", "set DRS reset line"},
    {"reset", &FAD::cmd_reset, true, 0, "", "Reset internal trigger counter"},
    {"runnumber", &FAD::cmd_runnumber, true, 1, "<n>", "Set runnumber"},
@@ -205,4 +206,21 @@
   for (unsigned int i=0; i<Boards.size(); i++) Boards[i]->Send(CMD_RESET_TRIGGER_ID);
 }
+
+
+//
+// Set DRS reset line
+//
+void FAD::cmd_drsreset() {
+
+  for (unsigned int i=0; i<Boards.size(); i++) {
+	if (Match(Parameter[1],"low")) Boards[i]->Send(CMD_DRS_RST_LOW);
+	else if (Match(Parameter[1],"high")) Boards[i]->Send(CMD_DRS_RST_HIGH);
+	else {
+	  PrintUsage();
+	  return;
+	}
+  }
+}
+
 
 //
Index: fact/FADctrl/FAD.h
===================================================================
--- fact/FADctrl/FAD.h	(revision 11205)
+++ fact/FADctrl/FAD.h	(revision 11232)
@@ -23,5 +23,5 @@
 #include "../drsdaq/RawDataCTX.h"
 
-const unsigned int PORT = 5000;
+const unsigned int PORT = 31919;
 const int DEFAULT_NUM_CALIB_EVENTS = 100;
 const char CALIB_DIRECTORY[] = "~/";
@@ -73,4 +73,5 @@
 	void cmd_trigger();		void cmd_socketmode();
 	void cmd_runnumber();	void cmd_reset();
+	void cmd_drsreset();
 	void cmd_execute();
 	void cmd_srclk();		void cmd_sclk();
Index: fact/FADctrl/FADBoard.cc
===================================================================
--- fact/FADctrl/FADBoard.cc	(revision 11205)
+++ fact/FADctrl/FADBoard.cc	(revision 11232)
@@ -664,5 +664,6 @@
 void FADBoard::threadHandler() {
 
-  int List[] = {5001, 5002, 5003, 5004, 5005, 5006, 5007};
+  //int List[] = {5001, 5002, 5003, 5004, 5005, 5006, 5007};
+  int List[] = {31920, 31921, 31922, 31923, 31924, 31925, 31926};
   int Socket[sizeof(List)/sizeof(int)], MaxSocketNum, Ret;
   fd_set DescriptorList;
Index: fact/FADctrl/FADFormat.h
===================================================================
--- fact/FADctrl/FADFormat.h	(revision 11205)
+++ fact/FADctrl/FADFormat.h	(revision 11232)
@@ -25,5 +25,5 @@
 #define CMD_SRCLK_ON 0x1500
 #define CMD_SRCLK_OFF 0x1600
-#define CMD_Trigger_C 0xB000 	// continous trigger
+#define CMD_Trigger_C 0x1F00 	// continous trigger
 #define CMD_Trigger_S 0x2000 	// stop continous trigger
 
@@ -35,4 +35,8 @@
 #define CMD_TRIGGERS_ON 0x1800	// enables the trigger line
 #define CMD_TRIGGERS_OFF 0x1900 // disables the trigger line
+
+#define CMD_DRS_RST_LOW 0x3200
+#define CMD_DRS_RST_HIGH 0x3300
+
 
 //
