CheckPreferredIODataTypes
Syntax
Definition:
METHOD CheckPreferredIODataTypes : BOOL
VAR_INPUT
fmtInputType : ETcMllDataType;
fmtOutputType : ETcMllDataType;
IsPreferred : Reference To BOOL;
END_VAR
Inputs
Name | Type | Description |
---|---|---|
fmtInputType | Input type to check | |
fmtOutputType | Output type to check | |
IsPreferred | Reference To BOOL | Return true if preferred typo |
Return value
BOOL
A distinction is made between preferred and supported data types. The only difference is that a conversion of the data type takes place at runtime if a non-preferred type is selected. This may lead to slight losses in performance when using non-preferred data types.