| 
									
										
										
										
											2018-06-28 17:45:41 +02:00
										 |  |  | ESP-Modbus
 | 
					
						
							|  |  |  | ==========
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 12:55:14 +01:00
										 |  |  | The Espressif ESP-Modbus Library (esp-modbus) supports Modbus communication in the networks based on RS485, Wi-Fi, Ethernet interfaces.
 | 
					
						
							|  |  |  | The ESP-IDF component `freemodbus` has been moved from ESP-IDF since version v5.0 to a separate repository:
 | 
					
						
							| 
									
										
										
										
											2018-06-28 17:45:41 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-04-28 14:34:20 +08:00
										 |  |  | * `ESP-Modbus component on GitHub <https://github.com/espressif/esp-modbus>`__
 | 
					
						
							| 
									
										
										
										
											2018-06-28 17:45:41 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 12:55:14 +01:00
										 |  |  | Hosted Documentation
 | 
					
						
							|  |  |  | --------------------
 | 
					
						
							| 
									
										
										
										
											2018-06-28 17:45:41 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 12:55:14 +01:00
										 |  |  | The documentation can be found on the link below:
 | 
					
						
							| 
									
										
										
										
											2018-06-28 17:45:41 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 12:55:14 +01:00
										 |  |  | * `ESP-Modbus documentation (English) <https://docs.espressif.com/projects/esp-modbus>`__
 | 
					
						
							| 
									
										
										
										
											2020-07-22 00:34:04 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-06-28 17:45:41 +02:00
										 |  |  | Application Example
 | 
					
						
							|  |  |  | -------------------
 | 
					
						
							| 
									
										
										
										
											2018-10-19 15:51:27 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-02-24 12:55:14 +01:00
										 |  |  | The examples below demonstrate the ESP-Modbus library of serial, TCP ports for slave and master implementations accordingly.
 | 
					
						
							| 
									
										
										
										
											2018-06-28 17:45:41 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-08-09 13:31:45 +02:00
										 |  |  | - :example:`protocols/modbus/serial/mb_slave`
 | 
					
						
							|  |  |  | - :example:`protocols/modbus/serial/mb_master`
 | 
					
						
							|  |  |  | - :example:`protocols/modbus/tcp/mb_tcp_slave`
 | 
					
						
							|  |  |  | - :example:`protocols/modbus/tcp/mb_tcp_master`
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Please refer to the specific example README.md for details.
 | 
					
						
							| 
									
										
										
										
											2018-06-28 17:45:41 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-08-09 13:31:45 +02:00
										 |  |  | Protocol References
 | 
					
						
							|  |  |  | -------------------
 | 
					
						
							| 
									
										
										
										
											2018-10-19 15:51:27 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-08-09 13:31:45 +02:00
										 |  |  |     -  ``https://modbus.org/specs.php``: Modbus Organization with protocol specifications.
 | 
					
						
							| 
									
										
										
										
											2020-07-22 00:34:04 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-10-19 15:51:27 +02:00
										 |  |  | 
 |