-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
enhancementNew feature or requestNew feature or request
Description
A review showed that implementing a very basic "MODBUS Client" based on UARTISR. The use case is application programming oriented and is thus very similar to writing application oriented MODBUS Servers (e.g., as described in the like in the README.md
and sketched in the test folder).
The software architecture shall re-use the hardware layers and add just the minimum necessary for sending FC requests to a MODBUS server and receive and error-check the response. The application is responsible for implementing the required MODBUS Client FC encoders and decoders. An example application implementing reading and writing "Holding Registers" shall be provided.
The Architecture shall be as follows:
Layer | Source file | Description |
---|---|---|
6 | clientapp.fs or {BOARD}/board.fs |
configuration and application layer |
5 | clientfc.fs |
MODBUS Client FC encoders and decoders |
4 | CLPROTO |
MODBUS Client protocol base |
3 | UARTISR |
buffered UART communication |
2 | BUSCTRL |
bus access (i.e. RS485 direction control) |
1 | STM8 eForth | lightweight interactive multi-tasking OS |
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request