Calculating C=A+B Every 10 Seconds - ABB 800xA User Manual

Distributed control system
Hide thumbs Also See for 800xA:
Table of Contents

Advertisement

Appendix B Calculation using C# Calculation File
After this the process of demonstrating the behavior is accelerated by mapping
days to minutes. One day is actually one minute in the examples.

Calculating c=a+b every 10 seconds

This example demonstrates the calculation of sum of two values and writing the
result in a third variable. Variables used are:
Figure 87
this calculation and also clarifies the meaning of each parameter in CalculationTask
declaration.
To produce values for variables MyCalcExCurHist_A and MyCalcExCurHist_B
the Vtrin user interface is used to feed values. Open All Variables list and double
click the variables to continuously monitor the values as shown in .
2PAA107563-600 B
MyCalcExCurHist_A
MyCalcExCurHist_B
MyCalcExCurHist_C
demonstrates the CalculationTask parameters that must be used to create
ScheduleInterval and ScheduleIntervalUnit properties define when the
calculation is executed. These are interpreted against ScheduleBaseTime.
The PeriodLength and PeriodLengthUnit define the sampling period for the
calculations.
PeriodCount defines how many Periods are calculated in one scheduled
calculation.
Offset defines how calculation period is actually aligned respect to wall clock
time or UTC time and respect to the base time defined using the property
BaseTime. Offset as well defines what the time stamps of calculation result
are. Many times the best timestamp for actual result is the start time of the
calculated period.
Variable Sections for Calculations
143

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents