5/7/2013 10:13 AM | |
Joined: 1/22/2013 Last visit: 11/20/2024 Posts: 3 Rating: (0) |
Dear Sir, Have a good day. I am using Siemens s7-1200 PLC and KPT1000PN HMI screen. I am using it for water treatment industry. My analogue module is 0-20mA and signal coming from sensor is 4-20mA. So I done current scaling, then I normalized and scaled this analogue value to get my results. I am showing this value 'pH' on HMI screen. Problem is value fluctuating very much and secondly there is not same value as I getting on my transmitter screen. On transmitter and HMI screen value should be same. Let say my pH value is 6.8, which transmitter is showing good and stable value, but on HMI screen it is fluctuating form 5-8, which is wrong value also unstable. Attached is the way how I programmed my analogue input. Output of the 'SCALE-X' block is tagged to HMI, which you can see in attachment. I tested both data types ''int' and' Uint (word)' for analogue input, but same result. grounding is done properly, unused inputs/outputs are shortcircuted and tranmitter is sending true/stable value to the PLC. I think i have to design a filter for the analouge input to make it more stable, i do not know how to make a filter...or is there any other solution? AttachmentAnalouge Input.pdf (516 Downloads) |
5/7/2013 10:46 AM | |
Joined: 1/28/2009 Last visit: 1/19/2025 Posts: 6858 Rating: (1366) |
Hello, Normally, smart transmitters have signal processing options such filtering.You can check the manual of transmitter and also checking the following previously discussed topic on TIA Portal: Input a filter on the analog input to reduce instabilityBest regards Hamid Hosseini |
This contribution was helpful to1 thankful Users |
5/7/2013 1:16 PM | |
Posts: 168 Rating: (5) |
Here's a little something I made once for a Mitsubishi PLC system that I also made up for the Siemens project I have. Don't really know how to export functions from the software, but I tried to create a library and made a "save as" to my desktop. I hope you can open it It's a homemade scale function, where you can set the "min" and "max" values of your incoming analog signal. You can also select the range of the sensor by setting the "min" and "max" levels of the output signal. The output is in INT and REAL values. There's no filter function built in, but you should be able to correct your engineering value with this. Best of luck AttachmentOwn_LIbrary.zip (360 Downloads) |
Follow us on