5/13/2012 5:51 PM | |
Posts: 2 Rating: (0) |
hi, i' am wondering how to test an output analogic for example PAW452 of PID 41.In the fact, i must convert the output by usuing FC106 or not?
|
10/6/2012 3:03 PM | |
Posts: 1 Rating: (0) |
FC106've already used and works great! thanks |
10/9/2012 11:56 AM | |
Joined: 9/23/2005 Last visit: 11/11/2024 Posts: 4351 Rating: (1452)
|
Hi cheichaa, Retval is used in this software to indicate that the input value is out of the range (value 8) |
Denilson Pegaia |
|
10/19/2012 12:10 PM | |
Posts: 168 Rating: (5) |
I made a little useful thing that does what you mention above, I realize that I re-invented the wheel This is something I ported from another PLC system software that I use very often. You simply set the min and max levels of the incoming signal. Same with the upper and lower limits for your output. The output is in INT and REAL formats. If I have an input module of the range 0-20mA and the sensor is a 4-20mA, it's simple to insert a value at "MinLimit_In" to discard the values given below a 4mA input signal. The same is if you got a 0-10V input module and a sensor that gives a 0-6V signal, then you just type in the value representing 6V from the analog input module at "MaxLimit_In". Don't know if it will be useful for someone else, but I use it all the time AttachmentCalcRange.zip (1109 Downloads) |
This contribution was helpful to1 thankful Users |
3/3/2013 5:06 PM | |
Joined: 9/23/2005 Last visit: 11/11/2024 Posts: 4351 Rating: (1452)
|
Hi, The S7-1500 / STEP 7 V12 has already a SCALE/UNSCALE Blocks. S7-120, however doesn’t have yet. Attached there is a V12 version of the library. SCALE/UNSCALE and SCALE_4..20/UNSCALE_4..20 was made for S7-1200. New Blocks (that could be used also in S7-1500): SCALE_LREAL / UNSCALE_LREAL (for the case where is necessary an extra - accuracy in the scaling) RESCALE / RESCALE_LREAL (to scaling REAL to REAL or LREAL to LREAL) SCALE_TC_RTD (to convert analogical inputs for Termo coupler or standard RTD) SCALE_ RTD_climatic (to convert analogical inputs for climatic RTD) AttachmentC:\Users\z0008iwv\Documents\Bluetooth Exchange Folder\LibraryV12SP1.zip (1143 Downloads) |
Last edited by: Pegaia at: 11/4/2014 10:52 AMLib revised, now in version V12SP1; bipolar scale corrected from -27647 .. 27648 to from -27648 .. 27648 (thanks to BitPolierer for the tip). Denilson Pegaia |
|
This contribution was helpful to6 thankful Users |
Follow us on