File tree Expand file tree Collapse file tree 2 files changed +37
-46
lines changed Expand file tree Collapse file tree 2 files changed +37
-46
lines changed Original file line number Diff line number Diff line change 33MODBUS
44######
55
6- .. toctree ::
7- :maxdepth: 2
6+ Modbus is an industrial messaging protocol. The protocol is specified
7+ for different types of networks or buses. Zephyr OS implementation
8+ supports communication over serial line and may be used
9+ with different physical interfaces, like RS485 or RS232.
10+ TCP support is not implemented directly, but there are helper functions
11+ to realize TCP support according to the application's needs.
812
9- modbus.rst
13+ Modbus communication is based on client/server model.
14+ Only one client may be present on the bus. Client can communicate with several
15+ server devices. Server devices themselves are passive and must not send
16+ requests or unsolicited responses.
17+ Services requested by the client are specified by function codes (FCxx),
18+ and can be found in the specification or documentation of the API below.
19+
20+ Zephyr RTOS implementation supports both client and server roles.
21+
22+ More information about Modbus and Modbus RTU can be found on the website
23+ `MODBUS Protocol Specifications `_.
24+
25+ Samples
26+ *******
27+
28+ `modbus-rtu-server-sample ` and `modbus-rtu-client-sample ` give
29+ the possibility to try out RTU server and RTU client implementation with
30+ an evaluation board.
31+
32+ `modbus-tcp-server-sample ` is a simple Modbus TCP server.
33+
34+ `modbus-gateway-sample ` is an example how to build a TCP to serial line
35+ gateway with Zephyr OS.
36+
37+ API Reference
38+ *************
39+
40+ .. doxygengroup :: modbus
41+ :project: Zephyr
42+
43+ .. _`MODBUS Protocol Specifications` : https://www.modbus.org/specs.php
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments