Semantic Error: The usage of the function block VAR_IN_OUT parameter '...' is not allowed in user methods.
In methods, only local variables and input variables are allowed ('Usage' = 'Local' or 'Input'). 'Usage' = 'InOut' which declares VAR_IN_OUT variables according to the IEC 61131 standard is only allowed in function block POUs.
Further Info
Refer to the topics "Methods" and "Variable Properties and Declaration Keywords" for detailed information. |