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: docs/index.md
+76-1Lines changed: 76 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
# Shared Memory Modbus TCP Client
2
2
3
-
This project is a simple command line based Modbus TCP client for POXIX compatible operating systems that stores the contents of its registers in shared memory.
3
+
This project is a simple command line based Modbus TCP client for POSIX compatible operating systems that stores the contents of its registers in shared memory.
4
+
4
5
5
6
## Basic operating principle
6
7
@@ -29,6 +30,12 @@ This option should be used carefully, as it generates large amounts of output de
29
30
30
31
The ```--reconnect``` option can be used to specify that the application is not terminated when the master disconnects, but waits for a new connection.
31
32
33
+
The client creates four shared memories and names them ```modbus_DO```, ```modbus_DI```, ```modbus_AO``` and `````` by default.
34
+
The prefix modbus_ can be changed via the argument ```--name-prefix```. The suffixes for the register type (DO, DI, AO, AI) cannot be changed and will always be appended to the prefix.
35
+
36
+
By default, the client starts with the maximum possible number of modbus registers (65536 per register type).
37
+
The number of registers can be changed using the ```--xx-registers``` (replace xx with the register type) command line arguments.
38
+
32
39
### Use privileged ports
33
40
Ports below 1024 cannot be used by standard users.
34
41
Therefore, the default modbus port (502) cannot be used without further action.
0 commit comments