Message: '<operator>' needs exactly '<number of operands>' operands
Possible error cause: Too many or too few operands are assigned to an operator.
Error correction: Assign the required number of operands to the operator.
Example of the error:
PROGRAM PLC_PRG VAR i : INT; pt: POINTER TO INT; END_VAR pt := ADR(i,1); --> C0022: 'ADR' needs exactly '1' operands
Error correction:
Example: pt := ADR(i);