node.js implementation of the MC (MELSEC communication) protocol to exchange data with Mitsubishi FX programmable controllers.
98
stars
40
forks
source link
On Write action: [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 1 #14
Open
sandroelmo opened 1 year ago
Solved by changing at line 1358 in MCprotocol.js file: From writeResponse = theData.readUInt8(9); to writeResponse = theData.readUInt8(1);
Please @plcpeople , can you update the package on npm? thank you