Reading value from OPC UA Server

Reading value from OPC UA Server

sakamoto_ryosuke
Collaborator Collaborator
859 Views
4 Replies
Message 1 of 5

Reading value from OPC UA Server

sakamoto_ryosuke
Collaborator
Collaborator

[ FlexSim 23.0.9 ]

Hello, one of our customer is trying to connect between FlexSim and PLC using OPC UA. Customer succeeded in sending value from FlexSim to OPCUA. However, unable to read value from OPCUA. In version 2022, I think we needed to make check on "Subscribe to Changes" in order to read value from OPC UA. However, it has been grayed out in 2023.

Do you need not make check on this? What have changed in 2023 from 2022?
There is no error message from FlexSim or OPC Server.


1693903712208.png

0 Likes
Accepted solutions (1)
860 Views
4 Replies
Replies (4)
Message 2 of 5

lcavallero
Advocate
Advocate
Accepted solution

Hi,

In 2023 OPC UA connection are create with the "Poll for changes" activate, by default:

1693920173349.png

This option disable the "Subscribe for changes".
The "Poll for changes" has been introduced to by-bass the minimum publishing time of OPC UA servers that some time can be also >200ms.


0 Likes
Message 3 of 5

sakamoto_ryosuke
Collaborator
Collaborator

@Luciano Cavallero Thank you for your reply. To clarify, my understanding is that subscribe for change and poll for changes are functionally same. Poll for changes give you better performance?


0 Likes
Message 4 of 5

lcavallero
Advocate
Advocate
Yes.

We introduced the "poll for changes" to overcome minimum publishing time imposed by some OPC UA Server.

0 Likes
Message 5 of 5

Jeanette_Fullmer
Community Manager
Community Manager

Hi @Ryosuke S, was Luciano Cavallero's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes