恭喜,你发布的帖子
发布于 2015-10-09 14:43:45
1楼
wincc中定义8个byte变量(myyear,mymonth,myday,myhour,myminute,mysecond),分别对应年月日时分秒,然后wincc全局脚本(周期为1s):
hmiruntime.tags("myyear").write year(now)
hmiruntime.tags("mymonth").write month(now)
hmiruntime.tags("myday").write day(now)
hmiruntime.tags("myhour").write hour(now)
hmiruntime.tags("myminute").write minute(now)
hmiruntime.tags("mysecond").write second(now)
请填写推广理由:
分享
只看
楼主