Signal Goto

Purpose

Make signal available by name

Library

System

Description

../../_images/goto.svg

The Signal Goto block forwards its input signal to a number of Signal From blocks within the same scope. All Signal From blocks connect to the Signal Goto block with the same tag within the given scope. It is not allowed to have multiple Signal Goto blocks with the same tag name within the same scope.

The parameter dialog of the Signal Goto block provides a list of links to the corresponding blocks, i.e. all Signal From blocks with a matching tag name and scope. Note that the list is not updated until you click the Apply button after changing the tag name or scope.

To quickly create a Signal From block with matching tag name and scope, choose Create “Signal From” from the context menu.

To quickly change the tag names of all matching Signal From and Signal Goto blocks, choose Rename all matching tags… from the context menu.

Parameters

Tag name

The tag names of the Signal From and Signal Goto blocks must match to establish a connection.

Scope

The scope specifies the search depth for the matching Signal From blocks. Using the value Global the complete PLECS circuit is searched. When set to Schematic only the schematic containing the Signal Goto block is searched. The setting Masked Subsystem causes a lookup within the hierarchy of the masked subsystem in which the block is contained. If the block is not contained in a masked subsystem, a global lookup is done. The setting Code-Gen Subsystem causes a lookup within the hierarchy of the CodeGen subsystem in which the block is contained. If the block is not contained in a CodeGen subsystem, a global lookup is done.

Action if there is no matching counterpart

A Signal Goto block that does not have a matching Signal From block often indicates a modeling error. This parameter lets you specify whether PLECS should report an error or a warning or ignore this condition when a simulation is started.