We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
Trying to create a simple Modbus program on a Linux system.
var modbus = require("modbus-stream");
modbus.serial.connect("/dev/ttyUSB0", { baudRate: 19200, parity: "even", dataBits: 8, stopBits: 1, debug: "automaton-123" }, (err, connection) => { if (err) throw err;
connection.readHoldingRegisters({ address: 0x5b00, quantity: 8, extra: { unitId: 1 } }, (err, res) => { if (err) throw err; console.log(res); // response })
});
And get the error in de title. Any ideas?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
Trying to create a simple Modbus program on a Linux system.
var modbus = require("modbus-stream");
modbus.serial.connect("/dev/ttyUSB0", { baudRate: 19200, parity: "even", dataBits: 8, stopBits: 1, debug: "automaton-123" }, (err, connection) => {
if (err) throw err;
});
And get the error in de title. Any ideas?
The text was updated successfully, but these errors were encountered: