Relay

Relay

Relay (RELAY) establishes external connections inside a compound element: one side connects to a subcircuit internal port, and the other serves as an external port of the compound element. The port type is Variant and automatically adapts to optical or electrical signals based on the connected object, so the same element can be used for both optical and electrical interfaces.

Ports

Both ports are Variant type and bidirectional, and automatically adapt their data type to the connected object.

Name Type Data
port Variant Bidirectional
external Variant Bidirectional

port connects to a subcircuit port inside the compound element; external is the outward-facing port of the compound element.

Properties

General

Used to identify and manage the element itself, including name, annotation, enabled state, and display. This group of properties only affects schematic presentation and does not change device behavior.

Name Description Default value Default unit Range
name Element name RELAY_1 - -
annotate Whether to show annotation true - [true, false]
enabled Whether the element is enabled true - [true, false]
type Unique type identifier of the element Relay - -
description Brief description of the element Relay port element - -
prefix Prefix for the element name RELAY - -
local path Local path or working folder of the element - - -

Results

None