Only One Finite State Gets Executed At A Time

This example shows how only one Finite State gets executed at a time in a Hierarchical State Machine.

Introduction

Consider the model below with two Finite States:

Figure 1 - State machine with 2 Finite States and 1 transition

In each Finite State there is the following diagram:

Figure 2 - Diagram in the Finite States

And the transition is modeled as in Figure 3.

Figure 3 - Transition in Figure 1

Simulation

The transition in Figure 3 has an Analog Input which receives an unit step at 5s. Therefore, only after 5s de Finite State 2 can execute. This can be seen in the Figure 4 and Figure 5.

Figure 4 - Signal from Finite State 1

Figure 5 - Signal from Finite State 2

Looking at both graphics they seem to be the same. But, paying attention to the time axis, one sees that Finite State 2 only started to execute at 5s. It reproduces the behavior of only one Finite State executing at a time.

About MWF

MWF is a traditional Brazilian company that provides a wide range of electronic and mechatronic products for industry sectors such as automotive, agricultural machinery and aerospace.

Contact Us

Rua Doutor Siqueira, 139 / Sala 804 Campos dos Goytacazes - RJ, Brasil

contact@mwf-technologies.com

© 2018-2026 MWF. All rights reserved.