Skip to main content

Compiler Error C0061

Message: Bitaccess on function call is not allowed

Possible error cause: Bit access is performed on a function.

Error correction: Use bit access only for supported data types.

Example 351. Example of the error:
PROGRAM PLC_PRG
VAR
END_VAR

Test().2;

FUNCTION Test : INT
VAR_INPUT

END_VAR

Message:

C0061: Bitaccess on function call is not allowed