node-modbus-serial
node-modbus-serial copied to clipboard
A pure JavaScript implemetation of MODBUS-RTU (and TCP) for NodeJS
Hi. I think there's a problem with the size of the returning array on readCoils function. I want to read just one coil. To do that, I'm doing this code:...
It'd be nice to have retries logic built in. retriesCount could be included into options param for modbus functions (default is 1).
Hello @yaacov i find a problem to read Modbus ASCII. actually all of of FC1 - FC2 - FC3 and FC4 have problem reading received data (not sending request). my...
Hi, I'm having a lot a Timeouts when using Modbus RTU calls. The only wait I found to prevent it is using "sleeps" but I don't think it is nice...
Hi, I'm polling holding registers in blocks of 100 registers from several Nodes. Everything works fine, but sometimes, I'm receiving a Modbus exception 2. I'm pretty sure I'm sending the...
Hi, When I read from holding registers with start address 2050 and higher with registers length 1, I receive an error: "Modbus exception 2: Illegal data address (register not supported...
When you execute ModbusRTU.open/ModbusRTU.close multiple times, it will work only for the first open call. The second open call will fail with "Error Resource temporarily unavailable Cannot lock port". You...
If you implement getMultipleHoldingRegisters for ServerTCP with promise, it'll throw an exception(Modbus exception 4: Slave device failure), when used. **Workaround:** Use callback implementation ``` const vector: IServiceVector = { ......
PLC: Schneider m172 String length: 32 (31 + null term) Looking through some of the other issues here, I was able to use your help to pull the string successfully...