All parameters of IEC methods/functions have to be compatible with IEC.
IEC methods/functions that can have parameters are methods that either:
- have the attribute
[User] - have the attribute
[Execution], are called__Processand are in a class with the attribute[Function] - have the attribute
[Function]and are in a class with the attribute[FunctionContainer]
Explicitly allowed types are
CSharp basic types:
boolsbyteshortintlongbyteushortuintulongfloatdouble
.Net basic types:
BooleanSByteInt16Int32Int64ByteUInt16UInt32UInt64SingleDouble
IEC types:
IecStringExIecString80IecWStringIecWString80Any- Structures attributed with
[Structure],[Array]or[String] enumsattributed with[Enumeration]
Change the parameter type to one of the explicitly allowed types.
