StateMachine Top_SM_Diagramnew block definitionIdleA state of the state machineStateActivationState Machine activationsActionState activationsInitializeState activationsInitialEventExtractnew block definitionInitialEventExtract2new block definitionactivatedSetSignalSet signal nameactivatedGetSignalGet signal nameGetEventGet Event (Activation signal) when activatedSetEventSet Event (Activation signal)IsEventActiveIs Event activeConstantThis block is a constant value generator.1shotOutput is 1 for one event when input transitions from zero to non-zero, 0 otherwiseonequalSet to 1 when current value == previous valueonfallSet to 1 when current value < previous valueonriseSet to one when current value > previous valuetogglenew block definitionCounterCounter block with counting based on events and resetSM_TimeTimer: time can be reset and checked by eventsTimerExTimer block.TimerTimer blockTimerEx2Timer block.Timer2Counter block with counting based on eventsGetPreviousSignalValueGet signal nameIfThenElseThe IfThenElse block redirects its activation signal to one of its output activation ports, creating synchronism between its outgoing event and activating event. The activation port the block selects depends on the value of the regular input: when the value is larger than zero, the block selects the first output activation port, otherwise the block selects the second port.SwitchCaseThis block directs the incoming event to one of the output activation ports depending on the value of the regular input.IfExpressionsThis block implements the conditional construct if-then-elseif-...-else-end. One and only one of the output activation ports is fired synchronously when the block is activated. InitialEventThis block generates an activation signal at the initial time.StateNumberThis block provides the state number of the active state.AnimatePlaced in a State Machine diagram, it animates the state activationsContinuouslyActive
StateMachine Top_SM_Diagramnew block definitionIdleA state of the state machineStateActivationState Machine activationsActionState activationsInitializeState activationsInitialEventExtractnew block definitionInitialEventExtract2new block definitionactivatedSetSignalSet signal nameactivatedGetSignalGet signal nameGetEventGet Event (Activation signal) when activatedSetEventSet Event (Activation signal)IsEventActiveIs Event activeConstantThis block is a constant value generator.1shotOutput is 1 for one event when input transitions from zero to non-zero, 0 otherwiseonequalSet to 1 when current value == previous valueonfallSet to 1 when current value < previous valueonriseSet to one when current value > previous valuetogglenew block definitionCounterCounter block with counting based on events and resetSM_TimeTimer: time can be reset and checked by eventsTimerExTimer block.TimerTimer blockTimerEx2Timer block.Timer2Counter block with counting based on eventsGetPreviousSignalValueGet signal nameIfThenElseThe IfThenElse block redirects its activation signal to one of its output activation ports, creating synchronism between its outgoing event and activating event. The activation port the block selects depends on the value of the regular input: when the value is larger than zero, the block selects the first output activation port, otherwise the block selects the second port.SwitchCaseThis block directs the incoming event to one of the output activation ports depending on the value of the regular input.IfExpressionsThis block implements the conditional construct if-then-elseif-...-else-end. One and only one of the output activation ports is fired synchronously when the block is activated. InitialEventThis block generates an activation signal at the initial time.StateNumberThis block provides the state number of the active state.AnimatePlaced in a State Machine diagram, it animates the state activationsContinuouslyActive