回复:如何将变量计算后归档

城外之人

版主

  • 帖子

    8685
  • 精华

    18
  • 被关注

    218

论坛等级:至圣

注册时间:2003-09-23

钻石 钻石 如何晋级?

发布于 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);
}
无论成与败,无论甜与苦,我还是我。
评论
编辑推荐: 关闭

请填写推广理由:

本版热门话题

SIMATIC WinCC / Panel

共有32565条技术帖

相关推荐

热门标签

相关帖子推荐

guzhang

恭喜,你发布的帖子

评为精华帖!

快扫描右侧二维码晒一晒吧!

再发帖或跟帖交流2条,就能晋升VIP啦!开启更多专属权限!

  • 分享

  • 只看
    楼主

top
您收到0封站内信:
×
×
信息提示
很抱歉!您所访问的页面不存在,或网址发生了变化,请稍后再试。