Signal From

Purpose

Reference signal from Signal Goto block by name

Library

System

Description

../../_images/from.svg

The Signal From block references another signal from a Signal Goto block. All Signal From blocks connect to the Signal Goto block with the same tag within the given scope. If no matching Signal Goto block is found, PLECS can report an error or warning message when a simulation is started.

The parameter dialog of the Signal From block provides a link to the corresponding Signal Goto block. Note that the link is not updated until you click the Apply button after changing the tag name or scope.

To quickly create a Signal Goto block with matching tag name and scope, choose Create “Signal Goto” 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 Goto block. Using the value Global the complete PLECS circuit is searched. When set to Schematic only the schematic containing the Signal From 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 From block that does not have a matching Signal Goto block typically 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.