3782

“Unexpected end”

In the declaration editor: Add keyword END_VAR at the end of the declaration part.

In the text editor of the programming part: Add an instruction which terminates the last instruction sequence (e.g. END_IF).

This error message already might be created together with error 3703, if there are two identical declarations at the end of the declaration part.