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)
|
- [Table of contents](#table-of-contents)
|
||||||
- [Initialization](#initialization)
|
- [Initialization](#initialization)
|
||||||
- [Usage](#usage)
|
- [Usage](#usage)
|
||||||
|
- [Guide](#Guide)
|
||||||
|
|
||||||
## Initialization
|
## Initialization
|
||||||
The Modbus task is initialized in the main function.
|
The Modbus task is initialized in the main function.
|
||||||
@@ -15,3 +16,16 @@ modbus_init();
|
|||||||
## Usage
|
## 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