For the complete documentation index, see llms.txt. This page is also available as Markdown.

Pulse an output using Logic Blocks

Configure two Logic Blocks to pulse an output at a defined interval.

There are many ways to create a pulsing output in Command Centre. This is a simple method using 2 Logic Blocks that gives a 1-second pulse on and off time, triggered by a single output (it could also be an input or another logic block).

Keep it on one controller. Ideally the input or output should be on the same controller that hosts the 2 logic blocks, to avoid cross-controller configuration.

Procedure

  1. First create two logic blocks with no configuration.

Two empty logic blocks
  1. Open the first Logic Block and add the trigger item (here an input called "Pulse Trigger"), with the rule set to On.

Logic Block 1 trigger set to On
  1. Add the second logic block as a rule and set it to Off (this stops the logic block from triggering if the second logic block is already on). Then go to the Timing tab and select "Logic Block is Pulsed when the rules are met". Set the pulse time required (here, 1 second).

Logic Block 1 timing set to pulse for 1 second
  1. Open the second Logic Block, go to the Rules tab, select the 1st logic block and set the rule to Off.

Logic Block 2 rules: LB1 set to Off
  1. Go to the Timing tab and select "Logic Block is Pulsed when the rules are met". Set the pulse time required (here, 1 second).

Logic Block 2 timing set to pulse for 1 second
  1. Go to Reflected Outputs and add the output you wish to pulse.

Logic Block 2 reflected output

Result: the output pulses on and off at the configured interval.

Pulse result animation

The pulsed output does not trigger until the Pulse Trigger has been turned on.

Pulsed output state once the trigger is on

Last updated

Was this helpful?