-

Safety Semantic Error: Instance signature diverges from type signature.

The signature of an FB instance in the code differs from the signature of the FB type in the variables table.

Error example: an instance of the FB type MySafeFB is used in a code worksheet. Then, type MySafeFB is modified in the appropriate local variables table of the FB, for example, by adding an input. After this modification, the instance in the code worksheet has not been updated.

Remedy:

  1. Double-click the error in the Error List to jump to the suspected code worksheet (where the FB instance is marked).
  2. Left-click the FB icon to show the in-place toolbar and click the 'Update' command.

    (Alternatively, select the command from the context menu.)

The FB is now replaced by the latest type version. In our example, the input is added.

Further Info
Refer to the topic "Editing/Replacing/Updating Functions/Function Blocks" for information how to update instances of user-defined function blocks.