From 27e3be4823ce5d8b86e1a9646c3fa22043157e98 Mon Sep 17 00:00:00 2001 From: ShuishengPeng <63339353+ackPeng@users.noreply.github.com> Date: Wed, 7 Aug 2024 14:57:07 +0800 Subject: [PATCH] add modbus tcp for recomputer_r1000_how_to_use_rs485_modbus --- ...ecomputer_r1000_how_to_use_rs485_modbus.md | 24 ++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/docs/Edge/Raspberry_Pi_Devices/reComputer_R1000/recomputer_r1000_how_to_use_rs485_modbus.md b/docs/Edge/Raspberry_Pi_Devices/reComputer_R1000/recomputer_r1000_how_to_use_rs485_modbus.md index 3048a9faf841..8149289442a8 100644 --- a/docs/Edge/Raspberry_Pi_Devices/reComputer_R1000/recomputer_r1000_how_to_use_rs485_modbus.md +++ b/docs/Edge/Raspberry_Pi_Devices/reComputer_R1000/recomputer_r1000_how_to_use_rs485_modbus.md @@ -1,6 +1,6 @@ --- description: This article mainly introduces how to use the 485 communication function of reComputer R1000, and tests the rs485 and Modbus communication functions. -title: How to use rs485 and modbus rtu with reComputer R1000 +title: How to use rs485 and modbus with reComputer R1000 keywords: - Edge - reComputer R1000 @@ -64,6 +64,11 @@ sudo apt-get install minicom This test uses an RS485 to USB module to connect reComputer R1000 and W10 PC.
+For ModbusTCP, we use Ethernet cables to connect the W10 PC and reComputer R1000 to a switch to ensure that they are on the same network segment. + + + + ## Steps to use the RS485 interface normally and perform Modbus RTU testing **Step 1**: First, you need to download the [**C program**](https://github.com/Seeed-Studio/seeed-linux-dtoverlays/tree/master/tools/rs485_control_DE) provided by us, and then refer to the contents of the ReadMe. Compile and run. @@ -117,6 +122,23 @@ echo 590 > /sys/class/gpio/unexport This is because they use different file systems and there will be conflicts when accessing the same resource. ::: +## Steps to use the Modbus TCP testing + +**Step 1**: Open modbusmechanic on Win10 PC and R1000 + +