-

CIL Generator Error (CILG0055): The function '...' defines ... input parameters which exceeds the limit of 29

The CIL Generator has detected a function that has more inputs than allowed. This is either a user-defined function in the project ('Local' folder) or a library function.

A function (local as well included via a library) must not exceed the maximum number of 31 formal parameters. This includes the return value and the ENO output. As a result, a maximum of 29 user-defined inputs can be defined.

Remedy

Double-click the error message. If the function is a local POU, the variables grid with the input declarations is opened. Reduce the number of inputs and adapt the function code accordingly.

If the function is part of a library, contact the provider of the library.

If the library source code is available and can be edited, correct the function and release the library again.