Message: Variable of type '<data type>' requires exactly 1 Index
Possible error cause: Multiple indexes are assigned to a variable with one index.
Error correction: Assign only one index.
Example of the error:
PROGRAM PLC_PRG VAR pi : POINTER TO INT; END_VAR pi[0,1] := 0; --> C0126: Variable of type 'POINTER TO INT' requires exactly 1 Index
Error correction:
Example: pi[0] := 0;