Concept code which launches two threads, one of which implements a Modbus Tunnel protocol to talk with an ISEM, the other which launches a Modbus RTU protocol to talk to a CPUM (most of the Modbus code has been removed prior to publishing.) A canned AC and DC spectra is provided to display wave forms on start-up however the project normally polls for spectra from the ISEM and then plots is (that functionality has been removed prior to publishing.)
Dependencies: LCD_DISCO_F429ZI mbed TS_DISCO_F429ZI mbed-os BSP_DISCO_F429ZI
Plot of the initial start-up canned AC and DC spectra.
NextGen-Exerciser-Modbus.h@0:387684ec9d92, 2019-05-30 (annotated)
- Committer:
- Damotclese
- Date:
- Thu May 30 05:16:27 2019 +0000
- Revision:
- 0:387684ec9d92
Initial check in of working software which plots just the AC component;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Damotclese | 0:387684ec9d92 | 1 | |
Damotclese | 0:387684ec9d92 | 2 | // ---------------------------------------------------------------------- |
Damotclese | 0:387684ec9d92 | 3 | // NextGen-Exerciser-Modbus.h |
Damotclese | 0:387684ec9d92 | 4 | // |
Damotclese | 0:387684ec9d92 | 5 | // Fredric L. Rice, May 2019 |
Damotclese | 0:387684ec9d92 | 6 | // |
Damotclese | 0:387684ec9d92 | 7 | // ---------------------------------------------------------------------- |
Damotclese | 0:387684ec9d92 | 8 | |
Damotclese | 0:387684ec9d92 | 9 | #define MODBUS_STACK_SIZE 1024 |
Damotclese | 0:387684ec9d92 | 10 | |
Damotclese | 0:387684ec9d92 | 11 | // ---------------------------------------------------------------------- |
Damotclese | 0:387684ec9d92 | 12 | // Define external functions which other modules may invoke |
Damotclese | 0:387684ec9d92 | 13 | // |
Damotclese | 0:387684ec9d92 | 14 | // ---------------------------------------------------------------------- |
Damotclese | 0:387684ec9d92 | 15 | extern void ModbusInit(void); |
Damotclese | 0:387684ec9d92 | 16 | |
Damotclese | 0:387684ec9d92 | 17 | // End of file |
Damotclese | 0:387684ec9d92 | 18 |