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
mydevices.h
- Committer:
- masterkookus
- Date:
- 2019-09-17
- Revision:
- 4:98cdccfb17d6
- Child:
- 7:be13a9037d41
File content as of revision 4:98cdccfb17d6:
#define numservers 1 #define numclients 1 #define numserial 1 /*Comment out to disable http*/ #define httpserver /*Server 1 Information*/ #define s1tcpport 23 #define s1timeout 30 #define s1sport true /*Server 2 Information*/ #define s2tcpport 0 #define s2timeout 0 #define s2sport false /*Server 3 Information*/ #define s3tcpport 0 #define s3timeout 0 #define s3sport false /*Server 4 Information*/ #define s4tcpport 0 #define s4timeout 0 #define s4sport false /*Client 1 Information*/ #define c1tcpport 23000 #define claddress "10.150.1.245" #define c1polltimeout 200 #define c1pollinterval 500 /*Client 2 Information*/ #define c2tcpport 0 #define c2address "0.0.0.0" #define c2polltimeout 0 #define c2pollinterval 0 /*Client 3 Information*/ #define c3tcpport 0 #define c3address "0.0.0.0" #define c3polltimeout 0 #define c3pollinterval 0 /*Client 4 Information*/ #define c4tcpport 0 #define c4address "0.0.0.0" #define c4polltimeout 0 #define c4pollinterval 0 /*Serial Port Information*/ #define sport0rx PD_6 #define sport0tx PD_5 #define sport0buff 256 #define sport0baud 9600 #define sport1rx #define sport1tx #define sport0buff 256 #define sport0baud 9600 #define sport2rx #define sport2tx #define sport0buff 256 #define sport0baud 9600 #define sport3rx #define sport3tx #define sport0buff 256 #define sport0baud 9600