-
These rules also apply to retained variables, with the exception that they are only reset by a structural change and not by a power-on of the PLC.
-
In a FUNCTION_BLOCK, the INPUT and OUTPUT variables are also instance variables, just like those from the VAR section. Therefore, changing their initial values also leads to a "structural change" and requires re-initialization.