Inport, Outport – Input and output port
Block SymbolsLicensing group: STANDARD
Function Description
The Inport and Outport blocks are used for connecting signals over individual hierarchical
levels. There are two possible ways to use these blocks in the REX control system:
- To connect inputs and outputs of the subsystem. The blocks create an interface between the symbol of the subsystem and its inner algorithm (sequence of blocks contained in the subsystem). The Inport or Outport blocks are located inside the subsystem, the name of the given port is displayed in the subsystem symbol in the upper hierarchy level.
- To provide connection between various tasks. The port blocks are located in the highest hierarchy level of the given task (.mdl file) in this case. The connection of Inport and Outport blocks in various tasks is checked and created by the RexComp compiler.
The ordering of the blocks to be connected is based on the Port parameter of the given block. The numberings of the input and output ports are independent on each other. The numbering is automatic in both the RexDraw and the Matlab-Simulink system, it starts at 1. The numbers of ports must be unique in the given hierarchy level, in case of manual modification of the port number the other ports are re-numbered automatically. Be aware that after re-numbering in an already connected subsystem the inputs (or outputs) in the upper hierarchy level are re-ordered, which results in probably unintended change in signal mapping!
There are other functionalities of the port blocks in the Matlab-Simulink environment, but these are not used in the REX control system. Detailed description of the blocks for Matlab-Simulink can be found in [3].
Input
value | Value going to the output pin or Inport | unknown |
Output
value | Value coming from the input pin or Outport | unknown |
Parameter
Port | Ordering of the Inport or Outport pins | long |
[Previous] [Back to top] [Up] [Next]