Ethernet Mirror Module

All Ethernet Mirror Modules work in pairs. Triggering the contact closure input on one board will turn on the relays on the remote board. The local relay status and remote relay status will be indicated on the board through LEDs.  The Ethernet Mirror Modules will work on a local area network as well as across internet. There are redundant communication channels between the two boards, as long as one of them is able to make connection, the boards will work.

Jumper Setting

When the jumper is set to beacon mode, relays will not change status when connection is lost.

When the jumper is set to smart mode, all relays will turn off when connection is lost.

Ethernet Mirror Module contains a pair of boards. The two boards need to be configured so that they are matched to each other's MAC address.

There are two ways Mirror modules connect to each other.

Connect Directly

When two modules are in the same local area network, they can communicate to each other directly without a Mirror Server. No Internet connection is required.

Connection through Mirror Server

When two mirror modules are located in different networks, they can talk to each other through the NCD Mirror Server. Mirror modules can connect to up to four servers at the same time. As long as one of the servers can be connected to, the mirror modules will work.

The server can be setup inside a local area network as long as both modules are able to access it.

Quick Setup

Equipment Required:

  • A Router
  • A computer connected on the router.
  • Two mirror modules connected to the same router.

Steps:

  1. Connect the two Mirror modules that need to be paired to the LAN.
  2. Run ConfigureUtility.exe on computer connected to the same LAN.
  3. Select the two modules which appear in the list and click "Pair"
  4. Once the two modules are paired, there will be a connected symbol in front of the items.

The two modules can communicate with each other directly over a LAN through this quick setup.

Advanced Setup

Environment.

  • A Router
  • A computer connected on the router
  • Two mirror module connected to the same router

Steps.

  1. Connect the two Mirror modules that need to be paired to the Lan.
  2. Run ConfigureUtility.exe on computer connected to the same Lan.
  3. Select one module and click the "Edit" button. Input the server address and port number. The default port is 8005. Both modules need to be edited. Input 0.0.0.0 if there is no server. For example, if only one server is used, input 0.0.0.0 for the rest of the servers.
  4. The remote mac address can be setup in next steps.
  5. Select the two modules in the list and click "Pair"
  6. Once the two modules are paired, there will be a connected symbol showed in front of the items.
  7. The pair setup with servers can work through internet. It is not necessary to be in same local network.

Tips

Set the Remote Mac Address same as Local mac address.  This can be used to test the device connection with the server. When the remote address is the same as the local address, it will loop back when an input is triggered, triggering a relay on the same board.

ConfigureUtility.exe

The "ConfigureUtility" is used to configure the mirror module.

This program can list all available modules in the same local area network. There is a connection symbol for paired devices.

Steps to pair devices.

Select device and click "Edit" button, setup servers. Both devices have to be setup.

Then select both devices in list and click "Pair" button. The connected symbols should show in front of the item once they are paired.

For each pair, one of the devices will be the master device. The other one will be the slave device.

Mirror Server

Mirror Server is a program that forwards messages between matched devices. Setup Mirror Server on Microsoft Windows platform. The Mirror Server can run as a windows console program or run as a windows service.

Run Mirror Server as a console program.

Quick Setup
  1. Double click the MirrorServer.exe. A console window will be opened.
  2. *Firewall setting.
  3. The MirrorServer will listen on port 8005. The port has to be opened in windows Firewall setting. Or add this MirrorServer.exe to exception in Firewall.
  4. Run Mirror Server as a service
  5. Run "ServerManager.exe"
  6. The service needs to be installed first. Click "Install Mirror Server Service" this install the service to the computer. Click "Start" button to start the service.
  7. *The Server Manager needs to be run as Administrator.  Firewall setting is required to run this program.  NCDMirrorServerSvr.exe needs to be added to exception of the Window firewall.

Suggestion:

It is strongly suggested to run console version server first to make sure everything is working before running as a service.

The advantage of running as a service is that the program will run in background and will be started automatically when the windows starts.

It is possible to setup a mirror server in other platforms other than Microsoft Windows. There is a mirror server written in Ruby. This program can run on all platforms that have Ruby installed. The Ruby version is supported in Windows, Linux, and Mac OS. It can be downloaded here.

http://www.ruby-lang.org/en/

The version we are using is 1.8.9.

To start the Mirror Server, type

ruby /pathtomirrorserver/MirrorServer.rb

Mirror Module Article

A0017
Mirror Module Article

Processing...

Mirror Module Article

A0017