Module Chart Checks : (C5071) Tasks/Procedures that are used incorrectly

(C5071) Tasks/Procedures that are used incorrectly

Error In:
Correctness
Description:
Tasks can be bound only to activities; any other usage, such as expressions, is erroneous. Procedures and functions cannot be bound to activities.
Format:
<subroutine name> (defined as <task/procedure/function>)
used as <procedure/function/task> in definition of <element name>
 
 
Example:
TASK PRINTER is used as procedure/function in definition of SCH:AN1
 
 
Erroneous Elements:
Subroutines