In the manual describing the definition of VAR_EXTERNAL we have the following part.
CODESYS does not require you to declare a global variable as external in order to use it in a POU. The keyword exists only for maintaining compliance with IEC 61131-3.
Since I don't like this behavior (produces bad habits in my opinion) i was wondering if it is possible to turn off this behavior and use VAR_EXTERNAL as intended by IEC 61131-3.
Log in to post a comment.