Detects the outputs of methods and functions that are not specified when calling the method or function.
Justification: Ignored outputs can be a notice about an unhandled error or meaningless function calls because results are not used.
Importance: Medium
Example
FUNCTION Fun1 VAR_INPUT bIn : BOOL; VAR_END VAR_OUTPUT bOut : BOOL; END_VAR PROGRAM PLC_PRG VAR bValue :BOOl; END_VAR Fun1(bIn : TRUE); --//SA0169: The output 'bOut' is ignored when called.
See also