Assign Static Values to Variables

A static value can be specified for the value of a variable in an OPC UA information model.

  1. Select the OPC UA variable in the OPC UA information model.
  2. Open the “Mapping” tab.
  3. In the “Mapping type” selection box, select the “Mapping to static value” option.
    Note: The data type of the OPC UA variable only serves as additional information at this point. If you want to change it, use the “Edit instance” function.
  4. Enter the static value.
    Note: Note that the value entered must match the data type used. The values are not checked for validity. Please note the OPC UA attribute reference under https://reference.opcfoundation.org.
  5. Enter Static Value
  6. Click [Confirm] to apply the changes.
  1. The entered value is displayed in the “Mapping” area next to the OPC UA variable and identified by the icon.
Variable in the “Mapping” Area
Variable in the “Mapping” Area