User Description
In the declaration part of a POU, input variables can be defined. When this POU is called, input values must be specified.
These input values are copied by value (memory copy).
For application execution stability, the input variable should not be of type function block.
Convention Verification Rule
Each input variable of type function block is reported as convention violation.
Example
SR_Main
VAR
fbTest: FB_Test;
fbArg: FB_MyArg;
END_VAR
// call of FB method without calling FB (Body) before
fbTest(i_fbMyArg := fbArg);
FB_MyArg
VAR_INPUT
END_VAR
FB_Test
VAR_INPUT
i_fbMyArg: FB_MyArg;
END_VAR