StateMachineOptions Enumeration |
Namespace: StaMa
Member name | Value | Description | |
---|---|---|---|
None | 0 | Defines the default behavior for state machines. The default behavior is optimized for event driven state machines. | |
UseDoActions | 1 | Defines that the execution of do-actions is enabled. Do-actions are executed "while" a state machine stays in a state, in particular whenever the StateMachine.SendTriggerEvent method is called, after every individual state change or once, in case no state change occurred. Do-actions are specified like entry- and exit-actions through the StateMachineTemplate.State method. Do-actions can e.g. be used to run digital open or closed control loop algorithms for binary or continuous values when a state machine is regularly triggered in a cycle. Opposed to this, event driven state machines are only sporadically triggered when events occur or timers elapse, thus they don't benefit from do-actions. |