Two Modbus Integers to Real in S7-300?
Posted: Mon May 23, 2016 9:10 am
Hello everyone,
The question is simple but for me the answer is a little cloudy.
1) I have two registers i can read from a flowmeter to form a floating value. One is R2610 and other is R2611.I need to place them such that they need to form a floating value however siemens keeps converting (only the high value to a form of float so i do not have any decimal value for ex;
R2610 : 17457
R2611 : 4090
However my value is converted like; 708.0 in fact it should be; 708.24963 sth.
With which block/blocks can i see the actual value?(Btw i am connected with Modbus over TCP/IP)
(i checked/read the values with a modbus slave program)
Thanks for help
The question is simple but for me the answer is a little cloudy.
1) I have two registers i can read from a flowmeter to form a floating value. One is R2610 and other is R2611.I need to place them such that they need to form a floating value however siemens keeps converting (only the high value to a form of float so i do not have any decimal value for ex;
R2610 : 17457
R2611 : 4090
However my value is converted like; 708.0 in fact it should be; 708.24963 sth.
With which block/blocks can i see the actual value?(Btw i am connected with Modbus over TCP/IP)
(i checked/read the values with a modbus slave program)
Thanks for help