Message: '<variable name>' is no structured variable
Possible error cause: A variable that is not a structure variable is treated like a structure variable.
Error correction: Make sure that the variable is a structure variable.
Example of the error:
PROGRAM PLC_PRG VAR pt : PUNKT; i : INT; END_VAR i.x := 1024; TYPE Punkt : STRUCT x : REAL; y : REAL; END_STRUCT END_TYPE --> C0018: 'i.x' is no valid assignment target --> C0062: 'Variable' is no structured variable
Error correction:
Example: pt.x := 1024;