SubSystem – Subsystem block
Block SymbolLicensing group: STANDARD
Function Description
The Subsystem block is a cornerstone of hierarchical control (and simulation) algorithm. It
allows embedding a subsystem into another system (or subsystem). The subsystem contains
blocks and their connections. The subsystem is executed as ordered sequence of blocks during
real-time operation of the REX control system. Therefore it is sometimes referred to as
sequence. All blocks from the surroundings of the subsystem are executed strictly before or
after the whole subsystem is executed. This is called atomic subsystem in the Matlab-Simulink
terminology, see [3].
There are two possible ways of creating a subsystem in both the RexDraw program and the Matlab-Simulink editor (only the RexDraw technique is described further):
- Copy the Subsystem block from the INOUT library to the given diagram (.mdl file). Blocks can be inserted into the subsystem upon its opening (including Inport and Outport blocks).
- Select a group of blocks and use the Create subsystem command (Create subsystem in the Edit menu). The selected blocks are then replaced by the subsystem block, which contains all the original blocks and Inport and Outport blocks for signals crossing the subsystem boundary. Ports for all unconnected inputs and outputs are created as well.
Inputs
The number and names of the inputs are given by the number and names of the
Inport blocks contained within the subsystem.
Outputs
The number and names of the outputs are given by the number and names of the
Outport blocks contained within the subsystem.
[Previous] [Back to top] [Up] [Next]