Modelica.Blocks.Interfaces.BusAdaptors

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

Modelica.Blocks.Interfaces.BusAdaptors.SendReal Modelica.Blocks.Interfaces.BusAdaptors.SendBoolean Modelica.Blocks.Interfaces.BusAdaptors.SendInteger Modelica.Blocks.Interfaces.BusAdaptors.ReceiveReal Modelica.Blocks.Interfaces.BusAdaptors.ReceiveBoolean Modelica.Blocks.Interfaces.BusAdaptors.ReceiveInteger Modelica.Blocks.Interfaces.BusAdaptors.Internal

NameDescription
SendReal Send Real signal to bus
SendBoolean Send Boolean signal to bus
SendInteger Send Integer signal to bus
ReceiveReal Receive Real signal from bus
ReceiveBoolean Receive Boolean signal from bus
ReceiveInteger Receive Integer signal from bus
Internal Internal connector definitions only to be used from models of package BusAdaptors


Modelica.Blocks.Interfaces.BusAdaptors.SendReal Modelica.Blocks.Interfaces.BusAdaptors.SendReal

Send Real signal to bus

Modelica.Blocks.Interfaces.BusAdaptors.SendReal

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.OutputReal toBus;
  InPort inPort(
                final n=1);
equation 
  toBus = inPort.signal[1];
end SendReal;

Modelica.Blocks.Interfaces.BusAdaptors.SendBoolean Modelica.Blocks.Interfaces.BusAdaptors.SendBoolean

Send Boolean signal to bus

Modelica.Blocks.Interfaces.BusAdaptors.SendBoolean

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.OutputBoolean toBus;
  BooleanInPort inPort(
                       final n=1);
equation 
  toBus = inPort.signal[1];
end SendBoolean;

Modelica.Blocks.Interfaces.BusAdaptors.SendInteger Modelica.Blocks.Interfaces.BusAdaptors.SendInteger

Send Integer signal to bus

Modelica.Blocks.Interfaces.BusAdaptors.SendInteger

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.OutputInteger toBus;
  IntegerInPort inPort(
                       final n=1);
equation 
  toBus = inPort.signal[1];
end SendInteger;

Modelica.Blocks.Interfaces.BusAdaptors.ReceiveReal Modelica.Blocks.Interfaces.BusAdaptors.ReceiveReal

Receive Real signal from bus

Modelica.Blocks.Interfaces.BusAdaptors.ReceiveReal

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.InputReal fromBus;
  OutPort outPort(
                  final n=1);
equation 
  fromBus = outPort.signal[1];
end ReceiveReal;

Modelica.Blocks.Interfaces.BusAdaptors.ReceiveBoolean Modelica.Blocks.Interfaces.BusAdaptors.ReceiveBoolean

Receive Boolean signal from bus

Modelica.Blocks.Interfaces.BusAdaptors.ReceiveBoolean

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.InputBoolean fromBus;
  BooleanOutPort outPort(
                         final n=1);
equation 
  fromBus = outPort.signal[1];
end ReceiveBoolean;

Modelica.Blocks.Interfaces.BusAdaptors.ReceiveInteger Modelica.Blocks.Interfaces.BusAdaptors.ReceiveInteger

Receive Integer signal from bus

Modelica.Blocks.Interfaces.BusAdaptors.ReceiveInteger

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.InputInteger fromBus;
  IntegerOutPort outPort(
                         final n=1);
equation 
  fromBus = outPort.signal[1];
end ReceiveInteger;

HTML-documentation generated by Dymola Wed Jun 30 17:43:06 2004 .