Errors while creating the interface

This section quotes the errors that might occur when creating or editing the interface within the interface editor.
However, it is possible that errors/warnings occur for the interface as when entering the ST-code. See "Errors and warnings in ST" for this message and its appropriate solution.

A value field exists for the variable "name" within the interface. The entered literal "literal" does not match the data type "name" of the variable.
Solution 1: Open the interface editor, enter a literal within the value field that is appropriate for the data type and save the changes .
Solution 2: Open the FBD-editor, change the data type of the variable and save the changes.

Enter a value for property "name" or
Property "name" is defined multiple times
or
The property "name" is missing for a correctly defined interface. Change the interface within the editor or insert the missing property within the code.
or
Several values fields exist for the variable "name" within the interface. But only one value field is allowed per variable within the interface. or
Value "number" is not evaluated. Enter an unsigned integer.
or
Value "number" is not evaluated. Enter a STRING literal.
or
"name" is not an input variable..
As additional information: These errors do not occur, if you create/edit the interface by using the interface editor. These errors indicate that the code for the interface has been created/edited e.g. by using a text editor.
Solution 1: Open the interface editor, correct the interface to fix the error and save the changes .
Solution 2, if the error cannot be fixed using solution 1:

  1. Open the →textual FBD-editor.

  2. Search the line with the faulty code.
    The faulty code is positioned within a →pragma included within the characters {} and usually following the line with the declaration.

  3. Delete the faulty code from the pragma. Alternative: Delete the entire pragma.

  4. Save the changes.

  5. Open the interface editor. Edit the interface so that the previously deleted code is correctly created.
    If you have deleted the pragma, you must create the interface completely anew.

  6. Save the changes.