I’m having an issue reading real values form a Modicon M340 through Modbus. I read some of the existing posts, but the solutions did not work for me.
I set my modbus connection to zero-based. With this setting, I can read and write to an integer variable from the PLC at %MW1003 by using [Modus]HR1003.
When I try to read a real integer at %MW2628 by using [Modbus]HR2628, I get zero. I tried changing the data type from float to double, but still get 0.