Releases: grid-x/modbus
Releases · grid-x/modbus
modbus-cli v1.1
v1.1
What's Changed
- fix: flush read buffer before writing request by @guelfey in #36
- chore: bump build image to go 1.15 by @philippfranke in #37
- fix(ci): enable --init for docker run by @jhedev in #38
- feat(cmd/modbus-cli): support coil read by @frzifus in #39
- feat: add property based tests for encoding/decoding by @jhedev in #33
- Add connect delay by @andig in #44
- Use current go idioms by @andig in #43
- fix: print original function code for exceptions by @guelfey in #47
- fix: retry reading query response on transaction id mismatch by @guelfey in #49
- feat(tcpclient): added skipping of transaction mismatches by more than one packet by @Carelo in #51
- Wrap open error with device name for context by @andig in #54
- Use time.Since by @andig in #57
- Fix Modbus-CLI for WriteMultipleRegisters by @tretmar in #61
- feat(cmd/modbus-cli): support writing single coil by @frzifus in #42
- feat(modbus-cli): add option to print out different encoding options by @tretmar in #62
New Contributors
- @guelfey made their first contribution in #36
- @philippfranke made their first contribution in #37
- @Carelo made their first contribution in #51
- @tretmar made their first contribution in #61
Full Changelog: v1.0...v1.1
modbus-cli v1.0
First release version of the Modbus-cli tool. All binaries were built statically.
Usage of ./modbus-cli:
-address string
Example: tcp://127.0.0.1:502, rtu:///dev/ttyUSB0 (default "tcp://127.0.0.1:502")
-filename string
-fn-code int
fn (default 3)
-ignore-crc
ignore crc
-log-frame
prints received and send modbus frame to stdout
-order-exec-bigendian
t: big, f: little (default true)
-order-parse-bigendian
t: big, f: little (default true)
-quantity int
register quantity, length in bytes (default 2)
-register int
(default -1)
-rs485-delayRtsAfterSend duration
Delay rts after send
-rs485-delayRtsBeforeSend duration
Delay rts before send
-rs485-enable
enables rs485 cfg
-rs485-rtsHighAfterSend
Allow rts high after send
-rs485-rtsHighDuringSend
Allow rts high during send
-rs485-rxDuringTx
Allow bidirectional rx during tx
-rtu-baudrate int
Symbol rate, e.g.: 300, 600, 1200, 2400, 4800, 9600, 19200, 38400 (default 2400)
-rtu-databits int
5, 6, 7 or 8 (default 8)
-rtu-parity string
Parity: N - None, E - Even, O - Odd (default "E")
-rtu-stopbits int
1 or 2 (default 1)
-slaveID int
Is used for intra-system routing purpose, typically for serial connections, TCP default 0xFF (default 1)
-tcp-timeout-link-recovery duration
Link timeout (default 20s)
-tcp-timeout-protocol-recovery duration
Proto timeout (default 20s)
-timeout duration
Modbus connection timeout (default 20s)
-type-exec string
(default "uint16")
-type-parse string
(default "raw")
-write-value float
(default 1.7976931348623157e+308)