Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ XR Studio

Example: Bridge settings for lamps

  • Last UpdatedSep 04, 2024
  • 1 minute read

Lamps are based on ItemStateDisplay items with an integer as the .value.

Code example

This code example shows the typical bridging settings for lamps.

<mapping type="ItemState" name="">

<shares>

</shares>

<dynsim>

<discrete name="{name}" direction="in" mode="router" />

</dynsim>

<mwpl>

<sfloat name="{name}.value" capture="false"/>

</mwpl>

<rules>

<trigger to="mwpl:{name}.value" from="dynsim:{name}" value="[?@dynsim:{name}@,1,0]"/>

</rules>

</mapping>

TitleResults for “How to create a CRG?”Also Available in