Академический Документы
Профессиональный Документы
Культура Документы
com)
Industry Online Support
Product Support
Instructions:
The integral is the mathematical calculation of the area under a given function curve. However, there is often no mathematical correlation in practice, but rather an analog value which varies over time. The integral calculation involving
totaling the trapezoidal areas, spread between the last two function values and the time. This trapezoidal area is identical to the product of the average of the two process values and the time interval.
(/cs/images/13406965/step7_integral_01.gif?
inline=1)
Fig. 01
The table below contains some sample programs for calculating integrals. Copy the EXE files into a separate folder and then start the files with a double-click. The STEP 7 projects are then extracted automatically with all the associate
subfolders. You can then use the SIMATIC Manager to open and process the extracted projects.
(/cs/images/13406965/step7_integral_02_e.gif?
inline=1)
Fig. 02
Fig. 03 illustrates the example of a cascade. The flags M0.0 and M0.1 at the inputs of the "Integral" function block serve to start and stop the calculation of the integral for the input value in MD0 on FB1's "IN" parameter. The calcu
integral value is saved in its instance DB under the address DB1.DBD6 (DB1.OUT). The values between DB1.OUT and a specified constant from MD8 (Constant) are compared in the "CMP>R" floating-point number comparator. I
value from DB1.OUT is greater than the value of the constant, the value from DB1.DBD6 is added to MD4 (Output).
(/cs/images/13406965/step7_integral_03.gif?
inline=1)
Fig. 03
3 S7-SCL source: "Integral_SCL_B"
The "I_SCL_B.exe" download also contains the FB1 block described above, whereby this S7 program only contains the "Integral_SCL_B" source, the compiled FB1 function block and the associated "TIME_TCK" system function.
dearchiving, the S7 program is saved in the STEP 7 library.
I_SCL_B.exe (/cs/attachments/13406965/I_SCL_B.exe) ( 95 KB )
Keywords:
Consumption measurement, Flow-rate measurement
Security information
In order to protect technical infrastructures, systems, machines and networks against cyber threats, it is necessary to
implement – and continuously maintain – a holistic, state-of-the-art IT security concept. Siemens’ products and solutions
constitute one element of such a concept. For more information about cyber security, please visit
https://www.siemens.com/cybersecurity#Ouraspiration. (https://www.siemens.com/cybersecurity#Ouraspiration)
© Siemens AG 2009-2020 - Imprint (http://www.siemens.com/corporate_info) Privacy policy (http://www.siemens.com/privacy) Cookie policy (http://www.siemens.com/cookie-policy-en) /
Also available in the followingTerms
languages:
of use (http://www.siemens.com/terms_of_use) Digital ID (http://www.siemens.com/digital_id_en) 0.0.0.0
German
French
Italian
Spanish
Automation Technology Automation Systems Industrial Automation Systems SIMATIC Software for SIMATIC Controller STEP 7 V5.x
STEP7 basic software and editors S7-SCL (products?pnid=14354)
Rate entry
Feedback *)
Personalization saves you typing! If you have already been registered, you can login directly. If you are not registered yet, you can inform and register yourself without obligation her
(our service is free of charge).
Log in
Register
Name
Phone number
*) Important: Please use this form for general feedback only. All technical and specialist topics should be directed to the expert community in the Technical Forum
(https://support.industry.siemens.com/tf/ww/en/).
© Siemens AG 2009-2020 - Imprint (http://www.siemens.com/corporate_info) Privacy policy (http://www.siemens.com/privacy) Cookie policy (http://www.siemens.com/cookie-policy-en) /