Hello,
I’m using a Numeric Input in a mapp View content.
The displayed value is switched via a ListBinding using the SlotID as selector.
Now I want to change the min/max values and the unit dynamically at runtime,
depending on the selected slot.
The problem is:
- The min/max values of the Numeric Input cannot be bound to variables.
- ListBinding does not support NodeBinding, so the OPC UA EU range limits cannot be used either.
My last option would be to clamp the value in the PLC program and display the unit as a separate label.
This works, but it feels more like a workaround than a clean solution.
Does anyone have a hint or a recommended approach for this scenario?
Thanks
Steffen
Hi Steffen,
ListBindings are also available for NodeBindings:
<Binding mode="oneWay">
<Source xsi:type="listElement">
<Selector xsi:type="session" refId="::SYSTEM:clientInfo.currentPageId" attribute="value" />
<be:List xmlns:be="http://www.br-automation.com/iat2015/bindingListEmbedded/engineering/v2" xsi:type="be:opcUa" attribute="node">
<bt:Element index="PageB" refId="::Prg1:HMI.Sts[1].Pcs" />
<bt:Default refId="::Prg1:HMI.Sts[0].Pcs" />
</be:List>
</Source>
<Target xsi:type="brease" contentRefId="Cont1" widgetRefId="noPieces" attribute="node" />
</Binding>
Sincerly Simon 
1 Like
Hi,
I didn’t have this option available in the dropdown initially.
After playing around a bit, it suddenly appeared. I added a new Numeric widget and opened the binding dialog there. From that moment on, the option was visible in the list, and after selecting it once, it also showed up in all other binding dialogs.
Strange behavior…
1 Like