node-modbus-serial

A pure JavaScript implemetation of MODBUS-RTU (and TCP) for NodeJS

ISC License

Downloads
25.1K
Stars
598
Committers
84

Bot releases are hidden (Show)

node-modbus-serial -

Published by yaacov almost 5 years ago

Bugfixes:

  • Server should always return on get coil
  • Fix build issues with NodeJS 13
node-modbus-serial -

Published by yaacov almost 5 years ago

Bugfixes:

  • fix, when more than one client connect to ServerTCP, the recvBuffer gets mangled
  • fix, var beeing used before assignment
  • fix, allows machines with multiple IP addresses to specify which of their own
    IP addresses is used for the outgoing connection
node-modbus-serial -

Published by yaacov about 5 years ago

Bugfix:

  • function name typo
node-modbus-serial -

Published by yaacov about 5 years ago

Backward compatible changes:

  • Describe Modbus errors and return numeric error code.
  • Update FC6 and FC16 functions to accept buffer as value.

Bugfixes:.

  • Replaced connectRTU with connectRTUBuffered in examples and readme.
  • Don't lose scope binding when using getCoil and getDiscreteInput.
node-modbus-serial -

Published by yaacov over 5 years ago

node-modbus-serial -

Published by yaacov over 5 years ago

New Features:

  • TCP Server emit 'initialized' event when initialized, before 'connected' event.
  • TCP Server can handle multiple read/writes in one call.

Bug fixes:

  • When closing a closed connection call the callback method.
  • Add isOpen to type script definitions.
  • Add examples.
node-modbus-serial -

Published by yaacov over 5 years ago

Backworkd compatible changes:

  • Added support for FC43/14 on TCP server

Bugfixes:

  • force socket close on server close.
  • catch server callbacks.
node-modbus-serial -

Published by yaacov almost 6 years ago

Bugfix:

  • Use proper ES6 import syntax for TypeScript types
node-modbus-serial -

Published by yaacov almost 6 years ago

Backword compatible changes:

Adding Typescript typings for servertcp and fixing ModbusRTU

Bugfixes:

Fix Timeout Error object does not contain code or errno.
Fix Uncaught TypeError: "value" argument is out of bounds.
node-modbus-serial -

Published by yaacov over 6 years ago

Backward compatible changes

  • [Server] Add handlers for get multiple registers.
  • [Server] Dedicated getDiscreteInput() callback for FC2

Bugfix

  • [Server] Fix check buffer size for server requests.
  • Update new Buffer to Buffer.alloc
  • Make sure offset is int
  • Fix and add examples
node-modbus-serial -

Published by yaacov over 6 years ago

Bugfix:

  • Make sure buffer offset is int
  • Use Buffer alloc instead of deprecated new Buffer
node-modbus-serial -

Published by yaacov over 6 years ago

Bugfix:

  • Add missing client destroy callback
node-modbus-serial -

Published by yaacov over 6 years ago

Bugfix:

Add timeouts to tcpbuffered and telnet
node-modbus-serial -

Published by yaacov over 6 years ago

Backward compatible changes:

  • Use serial port v6.1.1
  • Adding timeout to tcp connect

Bug fixes:

  • Fix erros may be longer the 5 bytes
node-modbus-serial - v7.1.5

Published by yaacov over 6 years ago

Bugfix:

  • in server module: FC5 and FC16 works well, but FC6 doesn't, fixed.
  • Moved the isOpen defineProperty outside the .open method.
node-modbus-serial -

Published by yaacov over 6 years ago

Backward compatible changes:

  • add optional async response to tcp server
node-modbus-serial -

Published by yaacov almost 7 years ago

Bugfix

  • avoid double callback when read timeout is hit
node-modbus-serial -

Published by yaacov almost 7 years ago

  • Remove Node.js engine dependency
node-modbus-serial -

Published by yaacov almost 7 years ago

  • Add examples and docs
  • Use new version of seriaport
node-modbus-serial -

Published by yaacov about 7 years ago

Bugfix

  • fix computability with serial-port version ^5.0.0, issue #149
    isOpen is now property instead of funtion