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 v4.9.0 and later, you can connect Mercury MR16IN and MR16OUT modules to the RS-485 port of an NXT-MSC controller. Each MR16IN or MR16OUT module has 16 inputs or 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).
  • Each bus can support up to 19 panels (either MR16IN or MR16OUT) with a maximum of 31 panels per controller.  Address 0 is reserved for the onboard controller.

  • If you are using an MR16IN or an MR16OUT on a bus you won't be able to use any other RS-485 device on that bus (such as an NXT reader or an NXT RIM or 4x4 module).

 

2.0 NXT-MSC Controller to MR16IN/MR16OUT Wiring

Wiring at the NXT-MSC Controller

MR16_Wiring

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.

3.0 Wiring at the TB10 connector of the MR16IN/MR16OUT

Controller to Module Wiring

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.

4.0 Set the MR16IN/MR16OUT RS-485 Address

The address is determined by which bus the module is added to and how many modules already exist on that bus. The required address number will be displayed in the module properties when it is added to Doors.NET. Use the S1 DIP switch to configure the controller's RS-485 address. For example: if you add the first module to bus 2, the required address will be #2.

Address 2

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

  1. Bus 1 - Address 1, 5,9,13, then 17-31
  2. Bus 2 - Address 2,6,10,14, then 17-31
  3. Bus 3 - Address 3,7,11,15, then 17-31
  4. Bus 4 - Address 4,8,12,16, then 17-31

 

This allows you to have MR16IN or MR16OUT on a bus and other panel types on a different bus.  The address scheme is so the other buses are not affected. 

5.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

6.0 Add an MR16IN Module

This section assumes you already have an NXT-MSC controller setup and online.

  1. From within Doors.NET go to Setup >> Hardware Setup >> All.
  2. Double-click the controller that the MR16IN will be added to.
  3. Select the bus that the MR16IN is wired to.
  4. Click the MR16IN-S3 icon in the hardware select ribbon bar.

    MR16IN Select

  5. The module will appear on the hardware tree.
  6. Confirm the prompt to reset the controller.

    Note: At this point you will see that the reader has been removed from the bus, that is because you cannot have access control and the MR16IN operating on the same bus as the NXT-MSC controller because they use a different communication protocol.

  7. Select the module and the properties will be displayed on the right.
  8. Verify that the module is showing as online.
  9. In the properties, locate the Comm address field - this is a non-editable field. This is the address that needs to be set to the module using the S1 switch.

    Comm Address

Note: When adding the MR16IN or MR16OUT modules, they can be added 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 Add an MR16OUT Module

  1. From within Doors.NET go to Setup >> Hardware Setup >> All.
  2. Double-click the controller that the MR16OUT will be added to.
  3. Select the bus that the MR16OUT is wired to.
  4. Click the MR16OUT-S3 icon in the hardware select ribbon bar.

    MR16_OUT

  5. The module will appear on the hardware tree.
  6. Confirm the prompt to reset the controller.

    Note: At this point you will see that the reader has been removed from the bus, that is because you cannot have access control and the MR16OUT operating on the same bus as the NXT-MSC controller because they use a different communication protocol.

  7. Select the module and the properties will be displayed on the right.
  8. Verify that the module is showing as online.
  9. In the properties, locate the Comm address field - this is a non-editable field. This is the address that needs to be set to the module using the S1 switch.

8.0 MR16IN Input Properties

  • Refer to the general Setup Inputs section for further details.

 

9.0 MR16OUT Output Properties

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

 

10.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.