Semantic Error (SEM1099): The method '...' has no return value.
A method of a function block does not define a return value.
On creation of a new method, you have to select a return data type in the 'Signature' editor of the method. BOOL is set as default value.
The 'Return type' drop-down list allows to select an empty entry thus specifying a method which does not return any value.
Remedy
- Double-click the error message to jump to the code position where the return value of this method is read.
- Either:
- Keep the method without return value but delete the assignment of the method output in the code.
Or - Specify a return data type in the signature of the method (see figure above).
- Keep the method without return value but delete the assignment of the method output in the code.