[英]Request a Subscription in JEasyOpc
Is it possible to request a subscription of a specific item to a OPC Server using the JEasyOpc library? 是否可以使用JEasyOpc库请求将特定项目订阅到OPC服务器? Using async20Read(Group group) will only subscribe the group to the OPC Server in such a way, that after an event happened all items belonging to the group have to be downloaded at the client side. 使用async20Read(Group group)将仅以以下方式将组订阅到OPC服务器:事件发生后,必须在客户端下载属于该组的所有项目。 This costs lots of bandwidth having thousands of items which have to be downloaded if one item drops an event! 如果一项丢失事件,这将花费大量带宽,其中包含数千项必须下载的项!
I haven't used JEasyOPC, but the OPC specification states that AsyncIO::Read and AsyncIO2::Read accepts a list of items that you want to read from the server. 我没有使用过JEasyOPC,但是OPC规范指出AsyncIO :: Read和AsyncIO2 :: Read接受要从服务器读取的项目列表。 This allows you to specify exactly how many and which items' values are to be sent in an update. 这样,您就可以精确指定要在更新中发送多少个和哪些项目的值。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.