NXT-MSC - I/O Control Using MR16IN and MR16OUT Modules

NXT-MSC - I/O Control Using MR16IN and MR16OUT Modules

1.0 Introduction

Using Doors.NET v5.2.0, you can connect Mercury MR16IN and MR16OUT modules to the RS-485 port of an NXT-MSC controller after configuring the controller bus to the Mercury Security protocol.

Each MR16IN or MR16OUT module has 16 inputs or 16 outputs and therefore offers a very cost-effective means of adding multiple general purpose inputs and outputs to the system. The MR16IN and MR16OUT modules can also be used for elevator control.

 

Notes:

  • You must have a Doors.NET Professional license to see the options to add the MR16IN or MR16OUT to NXT-MSC.

  • If you are using an MR16IN or an MR16OUT module on a bus, you won't be able to use any other RS-485 device on that bus (such as an NXT reader, a 4x4 module or an NXT-RIM) an NXT reader is added, by default, so that will first need to be deleted.
  • Each bus can support up to 32 panels (either MR16IN or MR16OUT or a combination of both). The first controller added to the bus will be configured as address 0 in the controller properties.  

  • The maximum number of MR modules for an NXT-MSC 2D controller is 64. For an NXT-MSC 4D controller the maximum is 96.


2.0 NXT-MSC Controller to MR16IN/MR16OUT Wiring

2.1 Wiring at the NXT-MSC Controller



Notes:
  • You should not power the MR16IN or MR16OUT module from the controller's bus. The MR16IN or MR16OUT module should have its own dedicated power supply.
  • You should connect the RS-485 shield drain to the earth-ground at the NXT-MSC controller only (to prevent ground loops). The shield drain can connect to the earth at pin 3 of the power connector or the ground lug screw as shown in the above diagram.

2.2 Wiring at the TB10 connector of the MR16IN/MR16OUT Module

Controller to Module Wiring

2.3 RS-485 Wiring Specification

  • The recommended cable type for the RS-485 connection (between the NXT-MSC controller and the downstream MR16 modules) is Belden 9501 (or equivalent) - this is a 1-pair shielded, stranded, twisted cable. AWG 24 wire or larger (note that increasing the wire gauge does not increase the total network length) - The total network length is 4,000 feet/1,000 meters.

  • The RS-485 wiring between MR16 modules is a daisy-chain connection.

3.0 Set the MR16IN/MR16OUT RS-485 Address

The S1 switch on the MR16IN or MR16OUT module is used to set the RS-485 address and the controller's baud rate. When using Doors.NET v5.2.0 and greater, the first MR16 module that you add to the bus, by default, will be configured in the software as address 0 and the default baud rate is set to 38,400bps.


The S1 switch will have #6 and #7 in the ON position and all other switches are in the OFF position. This configures the controller as address 0 and the baud rate will be 38,400.



Use the S1 switch to change the RS-485 address (switches 1-5) or the baud rate (switches 6 and 7).

Because address 0 is a valid address on the 485 network, the second address will be address 1 (#1 in the ON position), the third module will be address 2 (with switch #2 in the ON position) - as highlighted in the following image.

Address 2


The comm address will automatically be set in the software based on the following rules:

  1. The first module to be added to the controller's bus will be configured in the software as address 0.
  2. Each of the controller buses can have up to 32 MR16 modules.
  3. If you add modules to a different bus, again, the first module will be address 0 (because it will be a second, completely separate RS-485 network).

 

This allows you to have MR16 modules on one of the controller buses and other panel types on a different bus.  The address scheme is so the other buses are not affected. However, once a bus has been configured for Mercury hardware (MR16IN and MR16OUT modules), these will be the only hardware type that you can add to that bus.


4.0 Set the MR16IN/MR16OUT RS-485 BAUD Rate

The S1 DIP switch is also used to set the RS-485 BAUD rate to 38,400 (using S6 and S7 in the ON position).


Baud Rate


5.0 Add an MR16IN or MR16OUT Module

Notes:

  1. This section assumes you already have an NXT-MSC controller setup and online.
  2. These instructions assume you are using Doors.NET v5.2.0 or later.

5.1 Remove the default Keri NXT reader from the controller's bus

  1. In the Doors.NET user interface, go to Setup >> Hardware Setup >> All (to display the hardware tree).
  2. All controllers on the system will be displayed on the hardware tree.
  3. Double-click the controller that the MR16 module will be added to.
  4. Expand the specific bus that the MR16 is wired to.
  5. Select the default reader located on that bus (by default an NXT 3R reader is added).
  6. Click the Hardware Browser tab near the top of the screen.
  7. Click the Remove button.



  8. The NXT reader will be removed from the bus.

5.2 Set the correct protocol on the controller's bus

  1. Select the name of the bus on the hardware tree.
  2. The bus properties will now be displayed on the right-side of the screen.
  3. Locate the 'Protocol' setting (by default it is set to Keri Systems).
  4. Use the drop-down menu to change the protocol to Mercury Security.



  5. You will be prompted to perform a memory reset on the control. Click YES to go ahead with the controller memory reset.
  6. Wait for the controller to come back online.

5.3 Add the MR16 Module to the controller's bus

  1. Select the same controller bus again on the hardware tree.
  2. From the hardware select ribbon bar click on either MR16IN or the MR16OUT icon.



  3. You can use the Quantity drop-down menu to select to add multiple MR16IN modules or multiple MR16OUT modules.
  4. You can also change the default description for the new module(s).
  5. Click the ACCEPT button to add the new module to the hardware tree.
  6. Select the new MR16 module on the hardware tree.
  7. You will see the module's properties on the right.
  8. By default, the first module to be added to the bus will be addressed as 0. Also by default, the default baud rate is 38,400. Therefore, if the module's S1 switch is setup with address 0 and baud rate 38,400 the module should come online after a few seconds.




Note: When adding the MR16IN or MR16OUT modules, they can be addressed in any order. The only requirements is that each module has the unique address that is displayed in the module properties when it is added to Doors.NET.


7.0 MR16IN Input Properties

The following steps explain how to view the input properties of the MR16IN module:
  1. Go to Setup >> Hardware >> All.
  2. Expand the MR16IN module which has been added to the hardware tree.
  3. Double-click inputs and you will see a list of all 16 of the module's inputs.
  4. Select any of the individual inputs and the input properties will be displayed on the right.



    Note: An MR16IN module also has 2 x general-purpose outputs as well as its 16 inputs.

  5. Refer to the general Setup Inputs section for further details about input settings.

8.0 MR16OUT Output Properties

  1. Go to Setup >> Hardware >> All.
  2. Expand the MR16OUT module which has been added to the hardware tree.
  3. Double-click outputs and you will see a list of all 16 of the module's outputs.
  4. Select any of the individual outputs and the output properties will be displayed on the right.



    Note: An MR16OUT module only has its 16 outputs. It does not have any general-purpose inputs.

  5. Refer to the general Setup Outputs section for further details.

9.0 Basic I/O Linkage

You can use basic I/O linkage (input/output linkage) to configure an available input to control a single output. For example; the input may be the door contact of a door that does not have access control. You can program an output (that may be an external LED) to be on whenever the door is physically opened and then the external LED goes off when the door is closed.




    • Related Articles

    • NXT-MSC Controller - Advanced and Extended Features

      1. 0 Introduction The NXT-MSC (Mercury-Powered) controller is programmed with the firmware of a Mercury EP1502 controller. It has all the standard and advanced functionality of an EP1502, such as: temporary cards (by use count, number of days or ...
    • NXT-MSC 2D Data Sheet

      NXT-MSC (Mercury-Powered) 2-Door Controller Data Sheet
    • NXT-MSC 4D Data Sheet

      NXT-MSC (Mercury-Powered) 4-Door Controller Data Sheet
    • NXT-MSC 2D Elevator Control Wiring

      NXT-MSC 2D Elevator Control Wiring
    • NXT-MSC Controller - Feature Highlights

      NXT Mercury-Powered (MSC) 2D/4D Controller Feature Highlights Cardholders • Temporary Cards (automatic card expiration) by use count, number of days or date/time • Supervisor Cards, 2 Man Rule, Man Trap/Airlock • Area Control for Local Anti-Passback, ...