发布于 2008-05-23 03:13:26
0楼
其实VBS脚本也可以的!
如:
objExcelApp.worksheets("sheet1").Cells(linecount, 2).VAlue =HMIRuntime.Trace"Value:"&HMIRuntime.Tag("WinccTag").Read&vbCrLf
如:
Dim objTag
Set objTag=HMIRuntime.Tags("temprature")
objTag.read
objExcelApp.worksheets("sheet1").Cells(linecount, 2).VAlue =objTag.read
方法不一的!思考是出路!
雄关漫道真如铁,而今迈步从头越!