Morgan State X-401 / VNA Overview


date desc
3 Sep 2024 initial

1.0 Introduction

This document describes a prototype Signals installation for a project involving WebRelay X-401 devices and an Alcatel VNA Server for panic buttons to be installed at Morgan State University.

The installation was performed using Signals and VNA Server instances associated with the internal ICON Cloud OTEC-1001 OXE server.

The existing Signals engineering document covering the X-401 was updated as part of this effort. A link to that document is found here.


2.0 Project Summary

This is not a complete project description. The purpose is to capture technical details specific to the handling of ControlByWeb X-401 devices, associated hardware (i.e. buttons) and external system communication within ICON Signals.

The project fundamentally involves handling alert events as follows:

  1. User presses a momentary contact button
  2. X-401 detects button press and sends state data to ICON Signals
  3. ICON Signals sends an HTTPS request to the VNA Server
  4. VNA Server performs notification actions using the request data

ICON Signals can support additional functionality such as reporting missing devices. That topic will be covered later.


3.0 Handling Buttons

Most ICON Signals installations to date involving buttons have dealt with latched buttons as opposed to momentary contact buttons.

(3.1) A latched button is "pushed in" by the user, completing an electrical circuit, and stays pushed-in until the user releases it - either by a pulling-and-twisting mechanical action or by a second push which releases the latched button from its "pushed-in" state.

(3.2) With a momentary contact button, the electrical circuit is closed when the user presses the button and opened as soon as the user releases the button.

(3.3) For both types of buttons, a properly wired and configured X-401 can be triggered when the circuit is closed. The difference is that a latched button provides mechanical feedback, while a momentary button does not.

(3.4) An issue with momentary buttons is that users will often press them repeatedly. ICON Signals addresses this by using register values as described in the X-401 engineering note.

(3.5) The basic configured actions are outlined in the screenshots below. Further details are in the aforementioned engineering note.

x401_control_logic

Figure 3.5-1: Control/Logic

x401_registers

Figure 3.5-2: Registers


x401_register_config

Figure 3.5-3: Register Config


x401_timers

Figure 3.5-4: Timers


4.0 Processing Within ICON Signals

This section will briefly cover three items:

4.1 Receiving Data from Devices

ICON Signals creates database entries for devices when it first receives data for them.

Note: the screen captures below were made several days after the X-401 devices were configured, disconnected and shipped to the customer.

sensor_grid

Figure 4.1-1: Sensor Grid


New devices within Signals must be configured and rules written to perform actions based on data received from the devices.

When a project involves a large number of similar devices, we can define one of them as a "template" and set other devices to be configured the same as the template device.

device_info

Figure 4.1-2: Device Info

device_param

Figure 4.1-3: Device Params

device_config

Figure 4.1-4: Device Config


4.2 Processing Data from Devices

When a device or device IO channel enters or leaves alarm state, ICON Signals raises a named "signal" and searches its rules list for a matching entry.

For example, when a button connected to input 1 on the X-401 device named WR-2x2 0070706 is pressed a signal is raised with the name:

This matches the regular expression for Rule 2 in the Rule List screenshot.

rule_list

Figure 4.2-1: Rule List


When the rule is executed it sends a Rainbow message to a configured Rainbow bubble and executes a special action script. Often these scripts are used to do things like turn relays on or off, but in this case the script sends an HTTPS request to the VNA server.

wr_on_rule

Figure 4.2-2: WR-ON Rule


action_script

Figure 4.2-3: Action Script


data_xfer_conn

Figure 4.2-4: Data Transfer Connection


4.3 Outbound Actions

In our prototype setup, the VNA server sends an email notification and Signals sends a Rainbow message to a bubble. Screenshots below.

email_from_vna_server

Figure 4.3-1: Email Notification from VNA Server


rbw_bubble

Figure 4.3-2: Rainbow Notification from ICON Signals


5.0 Additional Functionality

The main focus of this project involves sending button-press alerts to the VNA Server. ICON Signals can also provide other functions that may be useful.


5.1 Missing / Found Devices

We typically program X-401 devices to send a state data message to the ICON Signals server every 3 or 4 minutes as a heartbeat.

If no state data has been received from a device for a configured amount of time, a "MISSING" signal can be raised. If a matching rule is found in the rule list (see Figure 4.2-1), Signals will execute that rule - which will likely notify IT staff about the missing device.

Conversely, a "FOUND" signal will be raised, when data is received from a previously missing device.

Figure 4.3-2 contains an example "Missing" message to a Rainbow bubble. Email and SMS notifications can also be sent to IT staff members.


5.2 TestMode

Placing ICON Signals into "Test Mode" which can potentially have two effects:

The following screenshots illustrate this functionality. More detailed documentation is available.


status_testmode

Figure 5.2-1: Setting Test Mode

TEST MODE is a temporary setting subject to expiration. A technician can set the test mode time span to various values between 5 minutes and one hour.


mode_specific_rules

Figure 5.2-2: Production and Test Mode Rules


prod_mode_rule

Figure 5.2-3: Production Mode Rule


test_mode_rule

Figure 5.2-4: Test Mode Rule


test_mode_msg

Figure 5.2-5: Test Mode Message


mode_specific_output

Figure 5.2-6: Mode-Specific Output


Note: For this example, we created a TestMode specific rule for the ON signal. The same OFF signal rule was executed for both test and production mode, but the "TESTING" prefix was still prepended in test mode.


(End of Document)


2024 ICON Voice Networks