@@ -16,21 +16,35 @@ As an alternative to the ```git submodule``` commands, the ```--recursive``` opt
16
16
17
17
## Use
18
18
```
19
- stdin_to_modbus_shm [OPTION...]
19
+ stdin-to-modbus-shm [OPTION...]
20
20
21
21
-n, --name-prefix arg name prefix of the shared memory objects (default: modbus_)
22
22
--address-base arg Numerical base (radix) that is used for the addresses (see
23
23
https://en.cppreference.com/w/cpp/string/basic_string/stoul) (default: 0)
24
24
--value-base arg Numerical base (radix) that is used for the values (see
25
25
https://en.cppreference.com/w/cpp/string/basic_string/stoul) (default: 0)
26
+ -p, --passthrough write passthrough all executed commands to stdout
27
+ --bash passthrough as bash script. No effect i '--passthrough' is not set
28
+ --valid-hist add only valid commands to command history
26
29
-h, --help print usage
27
-
28
-
29
- Data input format: reg_type:address:value
30
- reg_type: modbus register type: [do|di|ao|ai]
31
- address : address of the target register: [0-65535]
32
- value : value that is written to the target register: [0-65535]
33
- For the registers do and di all numerical values different from 0 are interpreted as 1.
30
+ -v, --verbose print what is written to the registers
31
+ --version print version information
32
+ --license show licenses
33
+ --data-types show list of supported data type identifiers
34
+ --constants list string constants that can be used as value
35
+
36
+
37
+ Data input format: reg_type:address:value[:data_type]
38
+ reg_type : modbus register type: [do|di|ao|ai]
39
+ address : address of the target register: [0-65535]
40
+ The actual maximum register depends on the size of the modbus shared memory.
41
+ value : value that is written to the target register
42
+ Some string constants are available. The input format depends on the type of register and data type.
43
+ Type 'help constants' for more details
44
+ For the registers do and di all numerical values different from 0 are interpreted as 1.
45
+ data_type: an optional data type specifier
46
+ If no data type is specified, exactly one register is written in host byte order.
47
+ Type 'help types' to get a list of supported data type identifiers.
34
48
```
35
49
36
50
## Libraries
0 commit comments