SA0169: Ignored outputs
Detects the outputs of methods and functions which 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 127. Example
FUNCTION Fun1 VAR_INPUT bIn : BOOL; VAR_END VAR_OUTPUT bOut : BOOL; END_VA
;
PROGRAM PLC_PRG VAR bValue :BOOl; END_VAR
Fun1(bIn : TRUE);
Output in the Messages view:
SA0169: The output 'bOut' is ignored when called