You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ Change settings of your Arduino-based Modbus RTU to Modbus TCP/UDP gateway via w
59
59
60
60
**Reboot**.
61
61
62
-
**EEPROM Health**. Keeps track of EEPROM write cycles (persistent, never cleared during factory resets)
62
+
**EEPROM Health**. Keeps track of EEPROM write cycles (this counter is persistent, never cleared during factory resets). Replace your Arduino once you reach 100 000 write cycles (with 6 hours EEPROM_INTERVAL you have more than 50 years lifespan).
63
63
64
64
**Ethernet Sockets**. Max number of usable sockets. See Limitations bellow. One socket is reserved for Modbus UDP, remaining sockets are shared between Modbus TCP and WebUI.
65
65
@@ -165,11 +165,16 @@ Get the hardware (cheap clones from China are sufficient) and connect together:
Download this repository (all *.ino files) and open arduino-modbus-rtu-tcp-gateway.ino in Arduino IDE. Download all required libraries (they are available in "library manager"). If you want, you can check the default factory settings (can be later changed via web interface) and advanced settings (can only be changed in the sketch). Compile and upload your program to Arduino. Connect your Arduino to ethernet, connect your Modbus RTU slaves to MAX485 module. Use your web browser to access the web interface on default IP http://192.168.1.254 Enjoy :-)
172
+
You can either:
173
+
-** Download and flash my pre-compiled firmware** from "Releases".
174
+
-**Compile your own firmware**. Download this repository (all *.ino files) and open arduino-modbus-rtu-tcp-gateway.ino in Arduino IDE. Download all required libraries (they are available in "library manager"). If you want, you can check the default factory settings (can be later changed via web interface) and advanced settings (can only be changed in the sketch). Compile and upload your program to Arduino.
175
+
176
+
Connect your Arduino to ethernet and use your web browser to access the web interface on default IP: http://192.168.1.254
177
+
Enjoy :-)
173
178
174
179
## Where can I learn more about Modbus protocols?
175
180
@@ -206,7 +211,7 @@ The number of used sockets is determined (by the Ethernet.h library) based on mi
206
211
207
212
#### Memory
208
213
209
-
Not everything could fit into the limited flash memory of Arduino Nano / Uno. If you have a microcontroller with more memory (such as Mega), you can enable extra settings in the main sketch by defining ENABLE_DHCP and/or ENABLE_EXTRA_DIAG in the sketch.
214
+
Not everything could fit into the limited flash memory of Arduino Nano / Uno. If you have a microcontroller with more memory (such as Mega), you can enable extra settings in the main sketch by defining ENABLE_DHCP and/or ENABLE_EXTRA_DIAG in advanced settings.
if (paramValueUint != localConfig.webPort && paramValueUint != localConfig.tcpPort) { // continue only of the value changed and it differs from Modbus TCP port
0 commit comments