Skip to content

(Event Binding) Operands

Stephan Stricker edited this page Mar 24, 2020 · 3 revisions

Operand

Operands can be used to load additional variables into an event binding.

Data type of the operand can be BOOL, ANY_REAL, ANY_INT, ANY_STRING, BOOL_ARRAY, ANY_REAL_ARRAY, ANY_INT_ARRAY, ANY_STRING_ARRAY, DATE_AND_TIME


OPC UA operands

<!-- Read value from PLC />-->	
<Operand name="ContentIsVisible1" datatype="BOOL">
  <ReadTarget xsi:type="opcUa.NodeAction.Read" refId="::AsGlobalPV:Motor[1].IsVisible" >
    <Method xsi:type="opcUa.NodeAction.GetValue" />
  </ReadTarget>
</Operand>

Session operands

<!-- Read session variable />-->	
<Operand name="InputValue2" datatype="ANY_INT">
  <ReadTarget xsi:type="session.VariableAction.Read" refId="InputValue2" > 
    <Method xsi:type="session.VariableAction.GetValue" /> 
  </ReadTarget>
</Operand>	

Client system operands

 <!-- Read session id />-->
  <Operand name="slotId" datatype="ANY_INT">
   <ReadTarget xsi:type="session.VariableAction.Read" refId="::SYSTEM:clientInfo.slotId" >
    <Method xsi:type="session.VariableAction.GetValue" />
   </ReadTarget>
 </Operand>

Widget operands

<!-- Read widget property />-->	
<Operand name="contentid" datatype="ANY_STRING">
  <ReadTarget xsi:type="widgets.brease.ContentControl.ReadAction" contentRefId="Content1" widgetRefId="ContentControl1" > 
    <Method xsi:type="widgets.brease.ContentControl.Action.GetContentId" />
  </ReadTarget>
</Operand>
Clone this wiki locally