Transitions Priorities

This text addresses the ordered functioning of multiple transitions in a Hierarchical State Machine using

QFIRE Studio

.

Introduction

In a Hierarchical State Machine, it is possible to have multiple state working in different arrangements, therefore, it is necessary to use several transitions as shown by Figure 1

Figure 1 - Hierarchical State Machine with 2 transitions

There is de same diagram shown by Figure 2 in the Finite State 2 and 3 of Figure 1.

Figure 2 - Generical Diagram

Both transitions have the following diagram shown in Figure 3.

Figure 3 - Transition Diagram

Due to the diagram, both transitions can be triggered as soon as the simulation starts. Because of this, the priority of the transitions is validated; that is, since there is Transition 1 and Transition 2, Transition 1 will always be evaluated before Transition 2. The result of this can be observed in Figures 4 and 5.

Figure 4 - Finite State 2 Scope

Figure 5 - Finite State 3 Scope

As can be seen, only Finite State 2 is executed because Transition 1 is the prioritized transition.

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.