I want to create a new SCL function with TIA 15.1. I chose Program blocks => Add new block => Function. When I write the keyword FUNCTION in my file I get the following error: tag FUNCTION not defined. This is the same for others keywords like VAR for example.
My Code:
FUNCTION "test" :Void
VAR
V1: Bool;
END_VAR
END_FUNCTION
I searched the web but there is not a lot of documentation on the topic. Any idea to solve the problem?