node-modbus-serial
node-modbus-serial copied to clipboard
A pure JavaScript implemetation of MODBUS-RTU (and TCP) for NodeJS
The previous PR was undone because of a bug, happy to submit patches to work rather than undoing next time. I've reproduced the issues, tested and issued a patch on...
Hello, I tried to convert the data result to swapped float point but it did not work .  This is the result using modscan32. My code ``` const {...
Hi, I'm quite new to Modbus RTU protocol and I'm bit confused about the register addresses. This is the data I read from Easton SDM72DM power meter with readInputRegisters(1,100) :...
I am using modbus-serial package to connect to EthernetPLC using TCPConnect() method. My program continuously reads and writes registers from PLC. I have 3 Clients in parallel which will connect...
Is this lib can as a serial server? I can see a unit test but not found the usage.
It is usually stopped after some failed requests either `2023-06-29T06:41:29.365Z startGettingData Timed out ETIMEDOUT ` or `2023-06-29T06:33:26.760Z startGettingData Port Not Open ECONNREFUSED` or 2023-07-06T05:27:19.498Z connect ETIMEDOUT {IP}:{PORT} -110 **HMI continues...
hi, I get this error: /usr/local/bin/node ./proto/modbus_connection.js Uncaught PortNotOpenError PortNotOpenError at processPromiseRejections (undefined:279:13) at processTicksAndRejections (undefined:97:32) ``` while running this code: const ModbusRTU = require("modbus-serial"); const client = new ModbusRTU();...
Hi! I have an energy meter with Modbus support, and I need help reading its data using modbus-serial. In the manual there is following example: Request code "01 04 00...
G'day! I am experiencing, as the title suggests, some weird behaviour when accessing registers from a PLC. As a disclaimer, there might be something extremely easy that I am missing,...
Friends, help me connect to the seplos bms protocol, I attach the file below. I am not an expert in RS485 communication, so it may not have been easy to...