Number of SFC steps

If the function block is implemented in Sequential Function Chart (SFC), this code metric indicates the number of steps in the function block.

Title short form

SFC steps

Categories

Maintainability

Definition

Number of steps in a POU of the implementation language SFC (Sequential Function Chart)

Further information

Only the steps contained in the POU programmed in SFC are counted. Steps in the implementations of actions or transitions called in POUs are not counted.

Sample:

Number of SFC steps 1:

The above code snippet in SFC has 10 steps.