IEC methods/functions are only allowed to have one parameter with the [Output]
attribute. It must be the first parameter.
IEC methods/functions that can have parameters are methods that either:
- have the attribute
[User]
- have the attribute
[Execution]
, are called__Process
and are in a class with the attribute[Function]
- have the attribute
[Function]
and are in a class with the attribute[FunctionContainer]
Remove the parameters or their [Output]
attributes from the method.