Message: No initial value allowed for VAR_EXTERNAL <variable name>
Possible error cause: An attempt is made to initialize a variable in VAR_EXTERNAL
.
Error correction: Do not initialize variables in VAR_EXTERNAL
.
Example of the error:
PROGRAM PLC_PRG VAR_EXTERNAL ig : INT := 2; END_VAR VAR_GLOBAL ig : INT; END_VAR --> C0238: No initial value allowed for VAR_EXTERNAL ig