Chart
Realisation of control logic using a finite automaton.
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:
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 on the model panel or the Esc key:
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 :
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 :
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. |
Examples
-
Modelling of pipeline pressure control using a fuzzy controller
-
Code generation for STM32 (Button and flashing LED on finite automata)
-
Defining diagram behaviour using state actions and transition labels
-
Code generation for Arduino (Traffic lights on finite automata)
-
Code generation for Arduino (Flashing LED on finite automata)