Hi,
I have purchased UaGateway to connect an OPC DA Server and serve the items through the OPC UA Server.
We have an OPC UA Client connected that has some items configured with Sampling as MonitoringMode, with this mode configured the OPC UA Server is not changing the values.
Is there any configuration parameter to allow the clients to use Sampling as Monitoring Mode?
Regards
UaGateway does not change the value of items when are subscribed by Sampling
Moderator: uagateway
-
- Jr. Member
- Posts: 1
- Joined: 13 Aug 2020, 14:18
- Support Team
- Hero Member
- Posts: 3078
- Joined: 18 Mar 2011, 15:09
Re: UaGateway does not change the value of items when are subscribed by Sampling
Hi,
the MonitoringMode "Sampling" does not allow any notifications being reported, hence behavior of UaGateway is exactly as expected. Please carefully read the OPC UA Specification-Part 4 (Table 7.18):
MonitoringMode:
DISABLED=The item being monitored is not sampled or evaluated, and Notifications are not generated or queued. Notification reporting is disabled.
SAMPLING=The item being monitored is sampled and evaluated, and Notifications are generated and queued. Notification reporting is disabled.
REPORTING=The item being monitored is sampled and evaluated, and Notifications are generated and queued. Notification reporting is enabled.
To make a long story short, you must use "Reporting" to see something moving with your data.
the MonitoringMode "Sampling" does not allow any notifications being reported, hence behavior of UaGateway is exactly as expected. Please carefully read the OPC UA Specification-Part 4 (Table 7.18):
MonitoringMode:
DISABLED=The item being monitored is not sampled or evaluated, and Notifications are not generated or queued. Notification reporting is disabled.
SAMPLING=The item being monitored is sampled and evaluated, and Notifications are generated and queued. Notification reporting is disabled.
REPORTING=The item being monitored is sampled and evaluated, and Notifications are generated and queued. Notification reporting is enabled.
To make a long story short, you must use "Reporting" to see something moving with your data.
Best regards
Unified Automation Support Team
Unified Automation Support Team