If the concrete mapping of a data type does not specify more specific error handling rules, the following shall apply:

  • Return an error when the type conversion fails because of limitations in the destination range. In an OPC UA context, the StatusCode Bad_OutOfRange should be returned (e.g. in the Value of a Variable).
  • Return an error when an incorrect syntax is encountered. In an OPC UA context, the StatusCode Bad_SyntaxError should be returned (e.g. in the Value of a Variable).”