Goto

Sends a signal to every From block with the same tag on this sheet and inside the subsystems on it, without a wire. A Goto inside a subsystem is not seen outside it.

  • signal
  • Gradara equations
  • 1 port
BlockGotoKindgotoLibraryRouting

Description

Sends the signal wired to it, by tag, to every From block with the same tag, without a wire: a long or crowded connection becomes two small flags. The tag is shown on the block as [tag]; set it under Tag in the block’s properties or its dialog.

A Goto is seen on its own sheet and inside every subsystem on it, at any depth. It is never seen above: a Goto inside a subsystem cannot reach a From outside it. Use a subsystem output for that.

Example

Goto, From, and connection labels A signal and a supply rail carried across the sheet by tag, without wires.

SineGain 2Gain −1DC 10 VGroundLoad 10 ΩGround (load)Rail voltage
In Gradara, select a Goto block and press F1, then choose Open example. It opens as a new model in My models, ready to run.

Also in this example:Sine waveGainGroundResistorDC voltageVoltage sensorFromLabel

Ports

Inputs 1

  • u

    The signal (or Boolean value) to send. The block takes the kind of the first wire you connect.

Equations

Modelica
every From [tag] it reaches: y = u

Assumptions and limitations

  • One Goto per tag on a sheet; a second one is reported by model checks.
  • A tag is a letter, then letters, digits, or _ (up to 32).
  • A bus is not carried by tag yet; use a wire or a subsystem port for a bus.

Tips

  • Hover the Goto and click the faded From past its tip to add a From with its tag.
  • Select it to highlight the From blocks on the sheet that read it; its properties list them, with Show to jump to each.
  • A copied Goto gets the next free tag (ref becomes ref1); From blocks copied with it follow.
  • A Goto inside a subsystem shadows a Goto with the same tag above it, for the From blocks inside.

See also

Select a block in Gradara and press F1 to open its page offline.