我正在评估OpenOPC,以创建一个客户端来与DeltaV OPC服务器对话。我有一个Matrikon服务器模拟器正在运行。当我列出模拟器服务器的属性时,我可以看到以下属性
pranny@Sandbox2 MINGW64 ~
$ opc -p Random.Int4
Random.Int4 0 Item ID (virtual property) Random.Int4
Random.Int4 1 Item Canonical DataType VT_I4
Random.Int4 2 Item Value 14240
Random.Int4 3 Item Quality Good
Random.Int4 4 Item Timestamp 04/05/17 07:48:20
Random.Int4 5 Item Access Rights Read
Random.Int4 6 Server Scan Rate 100.0000
Random.Int4 7 Item EU Type 0
Random.Int4 8 Item EUInfo None
Random.Int4 101 Item Description Random value.但是,当我连接到DeltaV OPC服务器时,我得到的错误如下
pranny@Sandbox2 MINGW64 ~
$ opc -p ANALOG_1/AI1/SIMULATE_IN.CV
properties: The item definition does not conform to the server's syntax. (OLE error 0xc0040008)我做了一些研究,发现了这些常见的原因。然而,我核实了,但没有一个在我的案件中起作用。
此时,我也在考虑使用类似matrikon公司的OPC,但是OpenOPC实际上也在做同样的事情,所以不确定隧道机是否也会有帮助。
发布于 2018-04-10 12:35:11
尝试同时使用文件的名称()和标记名称()(小写)。
https://stackoverflow.com/questions/43225769
复制相似问题