Assign Static Values to Variables
A static value can be specified for the value of a variable in an OPC UA information model.
- Select the OPC UA variable in the OPC UA information model.
- Open the “Mapping” tab.
- 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. - 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. - Click [Confirm] to apply the changes.
- The entered value is displayed in the “Mapping” area next to the OPC UA variable and identified by the
icon.
