You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello sir,
I want to read multiple registers data at a time from energy meter
using modbus rtu protocol. I have tried to get multiple registers data from
modbus rtu protocol by doing some changes in library and it works same as
Modbus-tcp protocal. I want to know if any other way is there for reading
multiple registers data.
On 12-Nov-2017 4:04 pm, "Timofey Yatsenko" ***@***.***> wrote:
Hello, as far as I remember reading multiple registers support exists out
of the box.
You don't need change anything in library files.
Actually I don't clearly understand what you want to do.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#7 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AbR4ykLkxfEV-H-hSMak2jzP_vgsQasEks5s1smmgaJpZM4QV29s>
.
Hello Sir,
Master.prototype.readHoldingRegisters = function(slave, start, length, dataType) {
var packet = this.createFixedPacket(slave, constants.FUNCTION_CODES.READ_HOLDING_REGISTERS, start, length);
return this.request(packet).then(function(buffer) {
};
I want to read 8 registers at a time and the register series as below
2999,3001,3003,3005,3007 and each registers data type is float.
readHoldingRegisters(1, 2999, 8, null).then(function(response) {
console.log(response)
})
I have done register values conversion using nodejs buffer. I am not using any datatype in above function for conversion.
Is any other way to do multiple read in single call?
The text was updated successfully, but these errors were encountered: