This demonstrates the process of communicating through ethernet to a SEL-2431 Voltage Regulator Control Panel using SEL Fast Message. Basic device commands and data cna be requested and displayed over a connected serial port. This is a basic version and full testing and documentation has yet to be completed.

Dependencies:   BufferedSerial analogAverager voltageRegulator netStatReg analogMinMax CounterMinMax

Revision:
14:3d437acb92e3
Parent:
13:4d533751f951
Child:
15:9ad261a27883
--- a/netdevices.h	Mon Oct 07 17:32:01 2019 +0000
+++ b/netdevices.h	Mon Oct 07 19:40:36 2019 +0000
@@ -32,7 +32,7 @@
 #define serRespRx           0x00000080
 #define fmRespRx            0x00000040
 #define fmdRespRx           0x00000020
-//#define reserved          0x00000010
+#define recDataFile         0x00000010
 #define serCloseConnection  0x00000008
 #define fmCloseConnection   0x00000004
 #define fmdCloseConnection  0x00000002
@@ -54,23 +54,13 @@
     TCPSocket srv_sock;
     unsigned int cltPort;
     char* srv_addr;
-    /*
-    unsigned int fmTimeoutCount;
-    unsigned int serTimeoutCount;*/
-    
+
     unsigned int sendState;
     
     unsigned int serMsgTimeout;
-    /*
-    char devMsgReq;
-    char devMsgPos;
-    */
-    
+
     unsigned int sendRetryCount;
     unsigned int messageFailCount;
-    /*
-    unsigned int txMessageCount;
-    unsigned int rxMessageCount;*/
     
     char sendString[256];
     char sendLen;