FAQ

OOP and UML

Does object-oriented programming (OOP) and UML always have to be used together?

What are the benefits of using OOP and UML together?

UML state diagram methods with deactivated "UseVarInst" option

The following three queries refer to methods with the implementation language UML state diagram, which in addition meet one of the following conditions:

State diagram methods that meet these conditions are referred to as "the methods mentioned" in the questions below.

Further information on the option UseVarInst can be found under UML state diagram > Object properties.

Why can these methods only contain cycle-internal states, and why is there no online view?

Why does the tool list for the methods mentioned not contain composite states, forks and joins?

What should be considered when programming the methods mentioned? What could be the reason for high system load when these methods are executed?

Sample: If a value of 32767 is set for "max. DO-cycle calls" and the transition condition is not met during the task cycle, the DO-action of the corresponding state is executed 32767 times in a cycle! Since this could lead to high system load, depending on the scope of the DO-action, the state machine and in particular the transition condition and the maximum number of DO-cycle calls should be verified for compliance with the required application behavior.