The Number Of Transitions metric is used to get information about how many transitions are attached to a program or a function block.
Each transition attached to a program or function block is considered. Unused transitions are considered too.
Example
Number Of Transitions calculation example:
FB_MyAlphaModule
- ACT_InitAxis1 (Action)
- ACT_InitAxis2 (Action)
- UpdateStatus (Method)
- Calculate (Method)
- Enabled (Property)
- Get (Property Get)
- Set (Property Set)
- Status (Property)
- Get (Property Get)
- Set (Property Set)
- SwitchNextState (Transition)
Number Of Transitions Result (for variable FB_MyAlphaModule)
Number Of Properties = 2