Closed NogginBops closed 6 years ago
Looks can be deceiving :)
Pairs of characters are converted into bytes as they are read from the request stream - ModbusSerialTransport.readAsciiByte
The buffers represent the number if bytes not characters read/written using the ASCII protocol.
Serial modbus with ASCII framing has a larger max message length than RTU. It dosen't look like this is handled in the code.
From the specification: