node-modbus-serial
node-modbus-serial copied to clipboard
A pure JavaScript implemetation of MODBUS-RTU (and TCP) for NodeJS
It would be great to be possible passing "connection/client" to the port instead of creating inside. For example, modbus slave is connecting to the server via modem or etc, and...
I would need to use node.js to listen for Modbus RTU communication between two other devices. Is this possible? I don't know if the modbus-serial library can be used for...
The following security vulnerabilities were found for the serialport library used by modbus-serial: 1. A vulnerability was found in the **serialport_win.cpp** file of serialport module. The dangerous function, strncpy, was...
Hi I got this error occasionally: ` error: modbus.js readRegisters catch an errorData length error, expected 107 got 230 {"stack":"Error: Data length error, expected 107 got 230\n at Modbu sRTU._onReceive...
Current behavior: if the connection is broken (cable unplugged, device powered off, etc), the method .isOpen() still returns true. Desired behavior: if the connection is broken, the .isOpen() method should...
Hi. can i using this driver and create a modbus(on RTU and TCP protocols) slave device? if i can - tell me please how, if i cant - will you...
when i try to readHoldingRegisters I get the data. But when I disconnect the rs485, nothing happens, no a bit of message .. it seems like the promise do not...
server code - ``` var vector = { ... getHoldingRegister: function(addr, unitID) { console.log("arguments = ", Array.from(arguments)) return addr ; }, ... ... new ModbusRTU.ServerTCP(vector,{.....}) ``` server console output -...
How coupled is this Modbus implementation to Node.js and how could it (if it can at all) be employed in Deno? Thanks in advance
We are using the modbus-serial library on several gateways (serialport connection), but for some reason we got stuck on this one gateways and the only thing different is that it's...