5/18/2013 2:30 PM | |
Joined: 3/2/2013 Last visit: 2/24/2024 Posts: 20 Rating: (0) |
Hello, Thanks for the reponse, I wil try. This funstion scales to what? to a integer, value, percent?? Thanks
|
5/18/2013 2:49 PM | |
Joined: 9/27/2006 Last visit: 5/11/2024 Posts: 12257 Rating: (2666)
|
Hello Boanda; An analog signal on a S7-300 module will always bea voltage, current, resistance or temperature value. For example, you can have a sensor from a pressure transmitterthat provides a 4-20 mA signal to your IO module. You would like to see this in percentage or in kPa; this is called an "engineering" value. But the module itself has a analog-to-digital converter that send the CPU a numerical value of 0-27648, proportionnal to the input signal. The PIWxxx address of the signal will be read as such and that is the value that FC105 can convert to a REAL value (floating-point number). See the following explanations: How and for which analog measurements can you use the function FC105 "SCALE" to convert the integer values (INT) into real number values? |
Last edited by: dchartier at: 5/18/2013 3:22 PM |
|
This contribution was helpful to7 thankful Users |
5/18/2013 5:55 PM | |
Joined: 3/2/2013 Last visit: 2/24/2024 Posts: 20 Rating: (0) |
What do I write at bipolar??? I cannot write 1 or 0 or true or false. |
5/18/2013 8:41 PM | |
Joined: 9/27/2006 Last visit: 5/11/2024 Posts: 12257 Rating: (2666)
|
Hello Boanda; You could use the simple network of the following discussion in OB100: Always On or OFF bit This will initiate M0.0 as an Always Off bit and M0.1 as an Always ON bit, for the entire program. You can then write M0,0 as the address for the BIPOLAR parameter of FC105, if you want the value to be boolean False. Hope this helps, Daniel Chartier |
Last edited by: dchartier at: 5/18/2013 8:42 PM |
|
Follow us on