Table of Contents

Pulse Relay

The Pulse Relay node sends 1 to the output when the Set input is set to 1 and sends 0 to the output when the Reset input is set to 1.
When both Set and Reset are equal to 0, the previous state of the output is maintained.

Whenever the Trigger input receives a rising edge, the Set and Reset inputs are ignored and the output state is toggled.

The Behaviour property determines whether Set or Reset must be dominant when both of them are equal to 1.

 Behavior of Pulse Relay

Behavior of node when Set input is dominant

The Pulse Relay is used to transform a pulse input into a toggle switch.
The Set and Reset inputs are optional. If they are not connected to any other nodes, the Trigger input alone controls the output.

Connectors

Connector Type Description
Set Input Sets the output to 1 when activated, unless a Trigger event is being processed.
Reset Input Sets the output to 0 when activated, unless a Trigger event is being processed.
Trigger Input Toggles the current output state whenever a rising edge is received.
Output Output Current stored state of the Pulse Relay.

Main properties

Property Description
Behaviour Defines whether Set or Reset is dominant when both inputs are equal to 1.

Operation

The Pulse Relay combines the behaviour of a latching relay with a toggle command.

The node can therefore be controlled in two different ways:

When no Trigger event occurs, the Set/Reset logic is:

Trigger

The Trigger input reacts to a rising edge:

0 → 1

Whenever a rising edge is detected, the current output state is toggled.

Conceptually:

Output = NOT Output

Therefore:

When a rising edge is received on Trigger, the Set and Reset inputs are ignored and the output is toggled.

Trigger example

Assume the initial state is:

Output = 0

and Set and Reset are not connected.

Each rising edge on Trigger produces the following sequence:

Trigger event Output
First rising edge 1
Second rising edge 0
Third rising edge 1
Fourth rising edge 0

The node therefore converts repeated pulse events into a bistable toggle state.

Set and Reset

The Set and Reset inputs can be used to force a defined output state.

When:

Set = 1

and:

Reset = 0

the output becomes:

1

When:

Set = 0

and:

Reset = 1

the output becomes:

0

When both inputs return to 0, the previous output state is maintained.

Behaviour

The Behaviour property defines what happens when both Set and Reset are equal to 1 at the same time.

The two possible behaviours are conceptually:

Set dominant

When Set is dominant:

Set Reset Output
0 0 Maintains previous state
1 0 1
0 1 0
1 1 1

When both inputs are active, activation has priority.

Reset dominant

When Reset is dominant:

Set Reset Output
0 0 Maintains previous state
1 0 1
0 1 0
1 1 0

When both inputs are active, deactivation has priority.

Trigger priority

The Trigger command has a special role because it toggles the output independently from the Set/Reset logic.

For example, assume:

Output = 0

and:

Set = 1

If a rising edge is received on Trigger, the current state is toggled according to the Trigger command and the Set/Reset inputs are ignored for that event.

This makes Trigger suitable for push-button style control.

Example - Push button toggle

A push button sends a short pulse every time it is pressed.

The pulse is connected to Trigger.

Starting from:

Output = 0

the sequence becomes:

This allows a momentary push button to control a persistent ON/OFF state.

Example - Toggle with forced commands

The Pulse Relay can also combine toggle control with explicit Set and Reset commands.

For example:

The push button can toggle the current state locally, while Set and Reset can force a specific state when required.

Typical applications

The Pulse Relay is useful whenever a pulse command must control a persistent digital state.

Typical applications include:

Verification through simulation

The Pulse Relay can be tested using the Logic Module simulation tools.

A typical test procedure is the following:

Configuration notes