mirror of
https://github.com/eddyem/eddys_snippets.git
synced 2026-03-20 08:41:02 +03:00
some fixes with dictionary; add aliases
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
|
||||
modbus_par: reading/writing/dumping modbus registers using `dictionary`
|
||||
|
||||
|
||||
-D, --dictionary=arg file with dictionary (format: code register value writeable)
|
||||
-N, --node=arg node "IP", or path (could be "\0path" for anonymous UNIX-socket)
|
||||
-O, --outdic=arg output dictionary for full device dump by input dictionary registers
|
||||
-R, --readc registers (by keycodes, checked by dictionary) to read; multiply parameter
|
||||
-U, --unixsock UNIX socket instead of INET
|
||||
-W, --writec write new value to register by keycode (format: keycode=val); multiply parameter
|
||||
-a, --alias=arg file with aliases in format 'name : command to run'
|
||||
-b, --baudrate=arg modbus baudrate (default: 9600)
|
||||
-d, --device=arg modbus device (default: /dev/ttyUSB0)
|
||||
-h, --help show this help
|
||||
@@ -15,4 +19,3 @@ modbus_par: reading/writing/dumping modbus registers using `dictionary`
|
||||
-t, --dumptime=arg dumping time interval (seconds, default: 0.1)
|
||||
-v, --verbose verbose level (each -v adds 1)
|
||||
-w, --writer write new value to register (format: reg=val); multiply parameter
|
||||
|
||||
|
||||
Reference in New Issue
Block a user