Update modbus_tcp.md
This commit is contained in:
@@ -5,6 +5,7 @@ This is the documentation of the Modbus-TCP task
|
||||
- [Table of contents](#table-of-contents)
|
||||
- [Initialization](#initialization)
|
||||
- [Usage](#usage)
|
||||
- [Guide](#Guide)
|
||||
|
||||
## Initialization
|
||||
The Modbus task is initialized in the main function.
|
||||
@@ -14,4 +15,17 @@ modbus_init();
|
||||
```
|
||||
## Usage
|
||||
|
||||

|
||||

|
||||
|
||||
## Guide
|
||||
|
||||
- Set qmodmaster to tcp mode
|
||||
- Set IP of device
|
||||
- Set the device in multiple register mode
|
||||
- Connect with the board
|
||||
- Fill in the data as in the example
|
||||
- Send the data
|
||||
|
||||
## Extra
|
||||
|
||||
The start addres is ignored and the timeout warnings arne normal because there is no response from my code back to QModMaster.
|
||||
Reference in New Issue
Block a user