Subscribe OPC/UA Node #2253
Unanswered
helloworld121
asked this question in
Q&A
Replies: 2 comments
-
probably related to #2251 |
Beta Was this translation helpful? Give feedback.
0 replies
-
From OPC UA point (as far I know) there is no difference what you wish to do with subscribed values. My memory is bit blurry but there are two modes of subscriptions - cyclic and event. In your case, I believe it would be better to model (on device end) whole thing as an event, cause then your subscriber will receive a complete picture in trigger fashion. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I’m working on an OPC UA subscription to a specific node. I already implemented this using Eclipse Milo, but now I want to switch to Apache Camel and use PLC4X. I’m struggling with the migration :(
The OPC UA server namespace is: ns=1;s=server1
Nodes:
Trigger node: server1.Trigger
Value node 1: server1.Value1
Value node 2: server1.Value2
The goal is: Subscribe to the trigger node and, whenever it changes, read the values of server1.Value1 and server1.Value2.
Using Apache Camel, I created a route like this:
However, I’m not receiving any data from the endpoint even tho the trigger changed. Now I am a little bit lost.
Could someone help me identify what I’m missing or doing wrong? Many thanks!
Beta Was this translation helpful? Give feedback.
All reactions