plc.myforum.ro Forum Index plc.myforum.ro
PLCs users www.plc.myforum.ro!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Library determining statistical distributions S7-1200/1500

 
Post new topic   Reply to topic    plc.myforum.ro Forum Index -> Simatic Automation Systems
View previous topic :: View next topic  
Author Message
gaty
Member
Member
gaty

Joined: 01 Mar 2017
Posts: 188

PostPosted: 19/06/2019 14:35    Post subject: Library determining statistical distributions S7-1200/1500 Reply with quote

Library for determining statistical distributions in a S7-1200/1500 PLC
https://support.industry.siemens.com/cs/document/81662739/library-for-determining-statistical-distributions-in-a-s7-1200-1500-plc
You can use SIMATIC S7 PLCs for preprocessing measured value data. This article provides some standard functions for statistical processing and display of measured values.
As a rule, the raw data of the measured values read in by the periphery must be pre-processed in order to make statements regarding the quality. Standard functions here are statements on statistical distribution, various mean value calculations, smoothing functions, regressions, etc. In this article you will find suitable functions for the S7-1200 and S7-1500 on the PLC as well as visualization components for WinCC RT Professional.
Library "LMeasure"
To be able to process measured values from processes already in the S7-PLC, you receive a library for measured value processing.
The following blocks are contained:
LMeasure_Boxplot
Calculates the statistical information of the minimum, 25% quartile, median, 75% quartile and the maximum value of a series of measured values necessary for the representation of a boxplot. In addition, the block calculates outlier statistics and a measure for the skewness of a distribution. A .NET Control for WinCC Professional is available for this block.
LMeasure_Histogram
Represents the frequency distribution of a series of measured values in the form of a histogram according to parameterizable classes. A .NET Control for WinCC Professional is available for this block.
LMeasure_SimpleSmoothingFC
Performs a smoothing of the measured values by calculating the linear mean value by three points.
LMeasure_SmoothByPolynomFB
Carries out a smoothing of the measured values by a 3rd degree compensating polynomial.
LMeasure_DifferenceQuotientFC
Carries out a numerical differentiation of the equidistantly sampled measured values. This function uses a 3rd degree polynomial to smooth noisy input signals.
LMeasure_RegressionLine
Calculates a linear regression with the slope and the intersection point with the Y-axis as initial parameters from a measured value data set.
WinCC-Controls "Boxplot" and "Histogram"
The two WinCC controls "Boxplot" and "Histogram" are available for visualizing the information from the blocks "LMeasure_Boxplot" and "LMeasure_Histogram".
Library determining statistical distributions S7-1200/1500 Library determining statistical distributions S7-1200/1500

Application example for Boxplot and Histogram Components
In order to be able to make statements about the statistical distribution of measured values from a process, more complex calculations are necessary. Extensive evaluations are usually carried out on PCs with special statistics programs. The required raw data is transferred from the S7-PLC. If you want to display the evaluations with WinCC Runtime Professional, you can confecționate your own .Net Controls with Visual Studio.
This application example shows you how to integrate the WinCC controls "Boxplot" and "Histogram" into your project and how to supply data using the blocks "LMeasure_Boxplot" and "LMeasure_Histogram". In order to draw a Boxplot or a Histogram the data must be prepared. This function is performed by the blocks "LMeasure_Boxplot" and "LMeasure_Histogram".
Library determining statistical distributions S7-1200/1500 Library determining statistical distributions S7-1200/1500
Downloads
Library "LMeasure" v15.1

https://support.industry.siemens.com/cs/attachments/81662739/81662739_Measurement_Library_DOC_V11_en.pdf
https://support.industry.siemens.com/cs/attachments/81662739/81662739_Measurement_Library_CODE_V11.zip
WinCC-Controls Boxplot and Histogram
https://support.industry.siemens.com/cs/attachments/81662739/81662739_WinCCNetControls.zip
Application example for Boxplot and Histogram Components
https://support.industry.siemens.com/cs/attachments/81662739/81662739_Boxplot_Histogram_DOC_V10_en.pdf
https://support.industry.siemens.com/cs/attachments/81662739/81662739_Boxplot_Histogram_CODE_V10.zip

Further information
Library of General Functions (LGF) for STEP 7 (TIA Portal) and S7-1200 / S7-1500
https://support.industry.siemens.com/cs/document/109479728/library-of-general-functions- (lgf)-for-simatic-step-7-(tia-portal)-and-simatic-s7-1200-s7-1500
Creation of .NET controls for WinCC Professional
https://support.industry.siemens.com/cs/ww/en/view/109759944
https://megaupload.nz/Y12fQ9vane/109759944_Prepare.NetControls_Code_zip
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    plc.myforum.ro Forum Index -> Simatic Automation Systems All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro