发布于 2010-04-13 09:29:46
4楼
查找资料,找到了相关的函数:
double function name (
double doLmtValue;
double doValue;
int dwCount
dwFlag archiving);
Des cription:
This function converts a tag value before it is archived and can be assigned in the "Parameters" tab in the "Properties of the Process Tag" dialog.
Parameter:
doLmtValue last result
doValue current value
dwCount counter reading since last archiving
Archiving whether a value should be archived (default = TRUE)
Example:
double MyFunction(double doLmtValue, double doValue, int dwCount, int Archivierung)
{
return (doValue/1000.0);
}
无论成与败,无论甜与苦,我还是我。