When writing a double[] via Plc.Write/WriteAsync the data that is sent is malformed.
I added a test and found the cause in TypeHelper.ToByteArray(): There is a hard coded 4 when writing the single buffer. This may lead to errors for other types too (not checked that).
When writing a double[] via Plc.Write/WriteAsync the data that is sent is malformed.
I added a test and found the cause in TypeHelper.ToByteArray(): There is a hard coded 4 when writing the single buffer. This may lead to errors for other types too (not checked that).