Convention: Unused Variables Check
In the declaration of a program, function block, method, or function variables can be defined. Normally, these variables are used inside the code. If a variable is defined but not used (read or written) in the code, it consumes memory.
Each variable without a read or write access is reported as convention violation.
SR_Main
VAR
xMyUnusedVariableResult: BOOL;
fbTest: FB_Test;
END_VAR
// call of FB method but output is not assigned to intended result variable.
fbTest(q_xEnable => );