Engee documentation

Chart

Realisation of control logic using a finite automaton.

chart

Description

Block Chart - is a graphical representation of a finite automaton. *A finite automaton is a mathematical model of a device that describes a system with a finite number of states.

To start working with a block Chart place it on the Engee workspace and double-click on it.

Inside. Chart the block library changes appearance:

stateflow library

Read about states, nodes, transitions and memory nodes in State machines.

The block interface Chart is unified with the interface for working with subsystems, so to exit it back to the Engee workspace, use the hierarchy navigation tab sf hierarchy 2 on the model panel or the Esc key:

sf hierarchy 1 1

Ports

Input

Port_in - an input signal that creates an input port
scalar

Input signal as an internal variable of the block *Chart*corresponding to the input port of the block. Appears after creating the input internal variable in the add signals menu in the finite automaton model settings window stateflow settings icon:

stateflow settings 3 1 1

The input port cannot be assigned an initial value.

Data types: Float16, Float32, Float64, Int8, Int16, Int32, Int64, Int128, UInt8, UInt16, UInt32, UInt64, UInt128, Fixed

Output

Port_out - an output signal that creates an output port
scalar

Output signal as an internal variable of the block *Chart*corresponding to the output port of the block. Appears after creating the output internal variable in the menu of adding signals in the settings window of the finite automaton model stateflow settings icon:

sf 1 2 3

Data types: Float16, Float32, Float64, Int8, Int16, Int32, Int64, Int128, UInt8, UInt16, UInt32, UInt64, UInt128, Fixed

Block Chart is a separate part of Engee, so variables from workspace are not available in it.

Additional options

C code generation: Yes