Local Linkage - Program an Output to Follow an Input

A basic Local Linkage example is to program an output on the system to follow an input, so that when the input goes active the output automatically goes active. When the input goes inactive then the output also goes inactive.

 

Prior to beginning the Local Linkage Setup, ensure that you have selected, renamed, and configured the relevant input(s) and output(s) in the system hardware tree.

 

Local Linkage Setup 1a

Procedure Setup

  1. On the main ribbon click the Local Linkage icon.
  2. To add the procedure, first select the controller from the available controllers drop-down list then click the New Procedure button.
    The procedure is what you want to happen; the first thing to be defined is to activate a chosen output.

 

 

  1. Highlight the new procedure and enter a description.

 

 

  1. With the procedure highlighted click Add Action.

 

Local Linkage Step 3

 

  1. Click on the Action, then from the Action Item Type drop down list, select 'Control Point Control'.

 

Local Linkage setup step 4

 

  1. Control Points are outputs and for this example it is using an output on a 4x4 module - wired into an NXT Mercury Powered 4-Door controller. The 4x4 module provides 4 general purpose inputs and 4 general purpose outputs - The first of these outputs has been named Buzzer - this is the output that will be used. Simply select the output from the list and set it to 'On'.

 

Local Linkage Setup - Step 5

 

  1. Before defining how to trigger the procedure you also need to configure a normal state for the output to return to (when the input trigger becomes inactive). Add a second Procedure, add an Action again and then select the same output, but this time set it to 'Off'.

 

Local Linkage Setup Step 6

 

There are now two different procedures (one to activate the output and one to deactivate it).

 

  1. If the hardware is online at this point you can right-click on the first procedure and choose 'Execute' and the chosen output relay will activate.

 

Local Linkage Setup Step 7

 

  1. Right-click and 'Execute' the second procedure to deactivate the same output.

 

Local Linkage Setup Step 8

Trigger Setup

  1. Click on the Triggers tab next. The same controller should already be pre-selected in the controller list, so click the Add Trigger button and then highlight the new trigger.

 

Local Linkage Setup Step 9

 

  1. The trigger will also come from the same 4x4 module - one of the available inputs is named 'Motion trigger'. There are 2 procedures that need to be defined and 2 triggers.
  2. The first trigger will activate the buzzer output when it goes active. The second trigger will deactivate the buzzer when the input goes secure.
  3. Rename the first trigger to something meaningful and make the following selections.

 

Local Linkage Setup Step 10

 

 

  1. Click Add Trigger button again. The second trigger will be the input becoming inactive ('Secure: Input is Inactive), this trigger will automatically execute the procedure to de-activate the buzzer output.

 

Local Linkage Setup Step 11

 

  1. That is the setup complete - Input 1 activates output 1 when in alarm state and de-activates output 1 when in secure state. Live Events are also posted when the Local Linkage action occurs.

 

Local Linkage Setup Step 12

Related Topics