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
selMsg.h
- Committer:
- masterkookus
- Date:
- 2020-01-23
- Revision:
- 19:cae910c9c06a
- Parent:
- 17:a69f6e51b3cb
File content as of revision 19:cae910c9c06a:
#ifndef SELMSG_H #define SELMSG_H const char fmCmd[5][2] = { {0xA5,0xC0}, {0xA5,0xC1}, {0xA5,0xD1}, {0xA5,0xC2}, {0xA5,0xD2} }; 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[2][5] = { {0x02,0x03,0x04,0x04,0x00}, {0x02,0x03,0x04,0x04,0x01} }; const char serCmdlen[2][5] = { {0x05,0x07,0x04,0x04,0x07}, {0x05,0x07,0x04,0x04,0x05} }; #endif