Safety Semantic Error: Unknown Function or Function Block '...'.
A function block is called for which no instance name is declared. Possibly, there is a typing error.
Remedy:
Double-click the error in the Error List to jump to the suspected worksheet (where the FB instance is marked) and correct or declare an instance name:- Correct the instance name by assigning an already declared instance name: double-click the function block in the code worksheet and enter the instance name in the appearing input field.
Alternatively, press <F2> or click the 'Edit Instance Name' in-place button: - Declare a new instance name by right-clicking the function block and selecting 'Create New Function Block Instance' from the context menu. Alternatively press <Ctrl>+<Shift>+<B> or click the following in-place button: