cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

Exchange of not displayed variables at different refresh rate

Exchange of not displayed variables at different refresh rate

LudoBene
Member

Is it possible to create groups of variables that exchange data at different speed via OPC UA? (ex. one group at 20ms and another at 100ms).

Also, when a variable is not required to be displayed on the hmi is the value still exchanged constantly via OPC UA even if not displayed? (ex. project with the speed and the position of an axis: the current hmi page displays just the speed, but not the position; is the variable of the position exchanged even if not currently displayed?).

1 REPLY 1

webiq-sk
Frequent Contributor

WebIQ groups items with the same subscription interval into a single subscription to the OPC-UA server. You have to define the subscription interval per item: https://www.smart-hmi.com/user/download/deliver/docs/documentation-manual-webiq-designer-2.15-ee64/i...

Your second question is not quite complete as you have to consider that the same HMI can be open in multiple devices at once.
WebIQ behaves very smart with this:
- an item is only subscribed with the OPC-UA server when it is currently subscribed by at least one widget/LocalScript in the HMI
- an item will be unsubscribed when the widget is no longer used, i.e. on a different view of a screen for example
- this is valid for all HMIs display open at once, i.e. if a single HMI display has a specific item subscribed it will be subscribed with the OPC-UA server
- however, if multiple HMI displays use that item there will only be once single subscription to the OPC-UA server

In general, WebIQ uses the most efficient OPC-UA subscription model: only subscribe items when they are actually used in at least one HMI display currently.

Please note that however - when it comes to the maximum number of item subscriptions - you have to take into the account the maximum number of concurrent displays of the HMI you expect because one HMI display can be on screen 1, another on screen 2 and another on screen 3 - if now all of these screens have 10 different items you have 30 item subscription. If all screens have the same 10 items you only have 10 item subscription.

 

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist