I’m reading and writing two 16-bit holding registers as floats in a Schneider PLC. The problem is that whenever I write to certain values it writes a slightly different value in the register.
6.24 evaluates to 6.22
6.28 evaluates to 6.25
6.29 evaluates to 6.28
A further complication is that this doesn’t occur with every register. For example: HRF620 I can write to perfectly, but not HRF622. I’ve ruled out any interference by the PLC.
Has anyone else had any experience of this?