发布于 2015-05-14 08:48:04
1楼
没有这样的功能,只有在wincc运行画面上用按钮来做,建立三个io域分别是io1,io2,io3。io1链接wincc内部文本变量tag1,io2和io3为输入输出类型。
查询按钮的vbs脚本:
dim tag(3)
tag(0)=thmiruntime.ags("tag1").read
hmiruntime.screen("io2,io3所在画面的名称").screenitems("io2").tagname=tag(0)&"1"
hmiruntime.screen("io2,io3所在画面的名称").screenitems("io3").tagname=tag(0)&"2"
活到老,学到老!为了生活学习吧!