Inport, Outport – Input and output port

Block SymbolsLicensing group: STANDARD
PIC PIC

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 REXYGEN system:

  1. 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.
  2. 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 REXYGEN Compiler 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 REXYGEN Studio and 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!

Input

value

Value going to the output pin or Inport

Unknown

Output

value

Value coming from the input pin or Outport

Unknown

Parameters

Port

Ordering of the Inport or Outport pins

Long (I32)

OutDataTypeStr

Data type of item

String

Inherit: auto

double

single

uint8

int16

uint16

int32

uint32

boolean

float

int64

string

array

2022 © REX Controls s.r.o., www.rexygen.com