5/28/2008 1:56 PM | |
Posts: 2348 Rating:
|
There would be temperature in 0.1°C. So you just divide code by 10 to get temperature. |
5/29/2008 8:10 AM | |
Joined: 1/17/2007 Last visit: 10/6/2020 Posts: 289 Rating:
|
So when I choose U or I then I will get 0 to 32767 ? Thank you all. |
5/29/2008 8:29 AM | |
Joined: 9/27/2006 Last visit: 9/21/2023 Posts: 12152 Rating:
|
Hello ionut.b; No, it is slightly more complex than that. You should take a few minutes to read the chapter on Analog Value Representation in the following S7-300 module Data manual: http://support.automation.siemens.com/WW/view/en/8859629 Examine especiallythe tables that rre used in that chapter, they shouls answer most of your questions. You can come back to us if something is not quite clear, of course. Siemens has created 2 standard blocks, FC105 (SCALE)and FC 106 (UNSCALE) that you can use to move data from an analog input to a REAL value in your program in engineering values, and from a REAL: value to an analog output. You will find them in the TI-S7 converting blocks library. Hope this helps, Daniel Chartier |
This contribution was helpful to
1 thankful Users |
5/29/2008 10:03 AM | |
Joined: 1/17/2007 Last visit: 10/6/2020 Posts: 289 Rating:
|
Great, thank you very much. |
Follow us on