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
Diff: selMsg.h
- Revision:
- 9:d6e7981dfc89
- Parent:
- 8:fa2a2c3a16ce
- Child:
- 10:9da863a6da3e
--- a/selMsg.h Thu Sep 26 18:40:53 2019 +0000 +++ b/selMsg.h Tue Oct 01 15:51:59 2019 +0000 @@ -7,6 +7,20 @@ {0xA5,0xD1} }; +const char serCmd[5][7] = { + {'M','E','T',' ','M','\r','\n'}, + {'T','A','P','\r','\n',' ',' '}, + {'A','C','C','\r','\n',' ',' '}, + {'O','T','T','E','R','\r','\n'}, + {'\r','\n',' ',' ',' ',' ',' '} +}; + +const char serCmdSeq[3][5] = { + {0x02,0x03,0x04,0x04,0x00}, + {0x02,0x03,0x04,0x04,0x01}, + {0x05,0x07,0x04,0x04,0x07} +}; + const char vRegDevCfg[23] = { 0xA5,0xC0,0x17,0x02,0x03,0x00,0xA5,0xC1,0xA5,0xD1,0xA5,0xC2,0xA5,0xD2,0xA5,0xC3,0xA5,0xD3,0x01,0x00,0x00,0x05,0x21 };