Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使用 VBA 更改 ProcessBook 中多级符号的 PI Tag。例如,我可以获得实际的 PI Tag, a = Whitepilotlight2_1.GetTagName(1)但找不到更改它的命令。
a = Whitepilotlight2_1.GetTagName(1)
我找到了。它应该类似于以下内容:
f = symbolname.GetMultiState.SetPtTagName("PiTagName")