## Modelica.Blocks.Interfaces.BusAdaptors

Components to send signals to the bus or receive signals from the bus

## Modelica.Blocks.Interfaces.BusAdaptors.SendReal

Send Real signal to bus

### Information

Converts an InPort connector to a signal which can be connected to the signal bus. Connect connector 'toBus' with the signal bus. A pop-up dialog appears which allows to specify the signal from the bus which is set equal to the signal of the InPort connector.

### Modelica definition

    block SendReal "Send Real signal to bus"
      Internal.InputReal toBus;
      InPort inPort(final n=1);
    equation
      toBus = inPort.signal[1];
    end SendReal;

## Modelica.Blocks.Interfaces.BusAdaptors.SendBoolean

Send Boolean signal to bus

### Information

Converts a BooleanInPort connector to a signal which can be connected to the signal bus. Connect connector 'toBus' with the signal bus. A pop-up dialog appears which allows to specify the signal from the bus which is set equal to the signal of the BooleanInPort connector.

### Modelica definition

    block SendBoolean "Send Boolean signal to bus"
      Internal.InputBoolean toBus;
      BooleanInPort inPort(final n=1);
    equation
      toBus = inPort.signal[1];
    end SendBoolean;

## Modelica.Blocks.Interfaces.BusAdaptors.SendInteger

Send Integer signal to bus

### Information

Converts an IntegerInPort connector to a signal which can be connected to the signal bus. Connect connector 'toBus' with the signal bus. A pop-up dialog appears which allows to specify the signal from the bus which is set equal to the signal of the IntegerInPort connector.

### Modelica definition

    block SendInteger "Send Integer signal to bus"
      Internal.InputInteger toBus;
      IntegerInPort inPort(final n=1);
    equation
      toBus = inPort.signal[1];
    end SendInteger;

## Modelica.Blocks.Interfaces.BusAdaptors.ReceiveReal

Receive Real signal from bus

### Information

Converts a signal from the signal bus to an OutPort connector. Use this element by connecting connector 'fromBus' with the signal bus. A pop-up dialog appears which allows to specify the signal from the bus which is set equal to the signal of the OutPort connector.

### Modelica definition

    block ReceiveReal "Receive Real signal from bus"
      Internal.OutputReal fromBus;
      OutPort outPort(final n=1);
    equation
      fromBus = outPort.signal[1];
    end ReceiveReal;

## Modelica.Blocks.Interfaces.BusAdaptors.ReceiveBoolean

Receive Boolean signal from bus

### Information

Converts a signal from the signal bus to a BooleanOutPort connector. Use this element by connecting connector 'fromBus' with the signal bus. A pop-up dialog appears which allows to specify the signal from the bus which is set equal to the signal of the BooleanOutPort connector.

### Modelica definition

    block ReceiveBoolean "Receive Boolean signal from bus"
      Internal.OutputBoolean fromBus;
      BooleanOutPort outPort(final n=1);
    equation
      fromBus = outPort.signal[1];
    end ReceiveBoolean;

## Modelica.Blocks.Interfaces.BusAdaptors.ReceiveInteger

Receive Integer signal from bus

### Information

Converts a signal from the signal bus to an IntegerOutPort connector. Use this element by connecting connector 'fromBus' with the signal bus. A pop-up dialog appears which allows to specify the signal from the bus which is set equal to the signal of the IntegerOutPort connector.

### Modelica definition

    block ReceiveInteger "Receive Integer signal from bus"
      Internal.OutputInteger fromBus;
      IntegerOutPort outPort(final n=1);
    equation
      fromBus = outPort.signal[1];
    end ReceiveInteger;