Model NCB-EM Network Combiner Module with External Modem Wide Area Router for LONW ORKS® Networks User Guide # S2-60695-310 68-11220-310
CTI Products, Inc. NCB-EM User Guide Standard Limited Hardware Warranty LIMITED WARRANTY. Equipment manufactured by CTI Products, Inc. is warranted to be free from defects in material and workmanship for a period of ONE (1) YEAR from date of shipment to original purchaser. Under this warranty, our obligation is limited to repairing or replacing any equipment proved to be defective by our inspection within one year of sale to the original purchaser.
CTI Products, Inc. NCB-EM User Guide This manual covers NCB units of Revision 300 or higher and NCB/Plug software revision 1.00 or higher. The NCB Unit Revision can be found on the rear of the unit following the letter “U”. The NCB/Plug software revision can be found on the Help/About screen of the program. If the revision of the product in hand is greater than that shown above, there may be additional features supported by the product that are not covered in this manual.
CTI Products, Inc. NCB-EM User Guide Radio Frequency Emissions and Immunity This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instruction manual, may cause harmful interference to radio communications. Operation of this equipment in a residential area is likely to cause harmful interference in which case the user will be required to correct the interference at his own expense.
CTI Products, Inc. NCB-EM User Guide TABLE OF CONTENTS QUICK-START GUIDE .............................................................................................................................................1 1. INTRODUCTION ...................................................................................................................................................3 WHAT IS AN NCB/EM UNIT? .........................................................................................................
CTI Products, Inc.
CTI Products, Inc. NCB-EM User Guide QUICK-START GUIDE This Quick Start Guide provides a concise series of steps to get a pair of the NCB modules “up and running” quickly so that initial operation may be confirmed. It is important that all LONW ORKS devices attached to the “NETWORK” connector of any one NCB module use the same network transceiver . See “LONWORKS NETWORK TRANSCEIVERS” in section “1. INTRODUCTION”. In the following steps, identify the two units as “NCB Unit 1” and “NCB Unit 2”.
CTI Products, Inc.
CTI Products, Inc. NCB-EM User Guide 1. INTRODUCTION WHAT IS AN NCB/EM UNIT? Read this section to learn the general function and capabilities of an NCB Router The Network Combiner NCB/EMTM Module is a wide-area router with one or two external modems used for LONW ORKS networks. The NCB/EM unit is used in pairs to connect LONW ORKS networks real-time, spanning distances from building-wide to worldwide..
CTI Products, Inc. NCB-EM User Guide NCB units are available with an option for LonWorks network transceiver type. The ordering code on the rear of the NCB lists the installed options. This ordering code is of the form: NCB/EM-Txxx-xx, where ‘T’ indicates the transceiver type.
CTI Products, Inc. NCB-EM User Guide Router Function The router contained in each NCB module may be configured as a repeater, bridge, or configured router. The easiest configuration is as a repeater, where all messages which enter the NCB module (via any of the three data sources described above) are simply passed to the other two sources, regardless of the domain, subnet/node, or group destination address. A bridge only passes messages that match one of the two domain IDs configured on the router.
CTI Products, Inc.
CTI Products, Inc. NCB-EM User Guide CMD Button This button can be used to temporarily enable the Auto Answer function in Dial-up mode. This is useful if Auto Answer mode has been inadvertently disabled on a remote NCB. When this occurs, and a connection with this remote unit is broken, it will no longer automatically answer an incoming call. To re-enable Auto Answer mode, proceed as follows: Press and hold the “CMD” button on the remote NCB Press and release the “RESET” button on the remote NCB.
CTI Products, Inc. 1.
CTI Products, Inc. NCB-EM User Guide 2. SETUP AND OPERATION STEP 1. MOUNTING Follow the steps in this section to setup an NCB Router for the first time Non-slip rubber feet are included on all NCB modules to allow them to conveniently rest on any horizontal surface. Four 6-32 threaded holes are also available on the bottom of the module to allow bolting of the module in any convenient orientation. WARNING: Care should be taken to limit protrusion of the screw into the module to no more than 0.
CTI Products, Inc. NCB-EM User Guide If OPTION A Switch 5 is DOWN, dynamic determination of the domain/subnet/node number by a Network Management Tool is allowed. OPTION B Switches OPTION B switches set the Automatic Answer feature of the dial-up type external modem and Serial Port Handshaking options. ON 1 2 3 4 DOWN 1. PORT 1 Auto Answer Mode .............Disabled 2. PORT 1 DSR sense .........................Disabled 3. PORT 2 Auto Answer Mode .............Disabled 4. PORT 2 DSR sense ..........
CTI Products, Inc. NCB-EM User Guide NOTE: When used with the current external dial-up modem (with “MODE” switch set to C), the baud rate is fixed internally to 57600 bps and the “BAUD” switches have no effect other than setting 0 will still disable the port for use. Mode Switches “MODE 1” and “MODE 2” switches allow setting the NCB for compatibility with certain types of external modems (i.e. dial-up or leased-line). A different type of modem can be connected to each port.
CTI Products, Inc. NCB-EM User Guide Dial-Up Modems A dial-up connection uses a 2-wire connection scheme to a standard telephone circuit. A standard telephone cord can be used. Leased-Line Modems A leased-line connection can use either a 2-wire or 4-wire scheme to a dedicated leased-line circuit: 2-Wire Leased-Line In 2-wire Leased-Line mode, the audio circuit must pass audio simultaneously in both directions. For this mode, use pins 3 & 4 (red and green) of the “LEASE/PRIVATE” connector.
CTI Products, Inc. NCB-EM User Guide STEP 4. MODEM CONFIGURATION MultiTech Modem Model MT2834ZDX (Dial-Up) Configuration of this external dial-up modem is performed automatically by the NCB module. No manual user intervention is required. MultiTech Modem Model MT2834L (Leased-Line) This external leased-line/dial-up modem must be configured before use with the NCB module.
CTI Products, Inc. NCB-EM User Guide STEP 5. IMPLEMENTATION IN A NETWORK Will a Network Management Tool Be Used? If NO, and the NCB will be used with its factory default settings (Repeater Mode), skip the rest of this section. The NCB is ready to function in a network. If NO, and the DOS NCBCON program will be used to access and configure the Control Neuron Processor, then see Technical Note TN023.
CTI Products, Inc. NCB-EM User Guide Installing NCB/Plug Configuration Plug-in A) Install the NCB/Plug plug-in on your PC: Insert the NCB/Plug CD into your CD-ROM drive. Click the Windows Start button, choose Run..., click Browse… , select the Setup application on the NCB/Plug CD, and click Open . Follow the instructions displayed by the Setup application. Restart your computer when the Setup application is complete. NOTE: Two External Interface Files (.
CTI Products, Inc. NCB-EM User Guide In the “External Interface Definition” section, choose ‘Existing Template’, click the down arrow and choose the appropriate template as follows: NCBTLC30.XIF should be used for the Control Neuron Processor of an NCB of Version 3, NCBTLC20.XIF should be used for the Control Neuron Processor of an NCB of Version 2. Click NEXT to continue. In the “Channel: Name:” section, choose the custom channel connected to Side A of the router that was created in Step a.
CTI Products, Inc. NCB-EM User Guide STEP 6. CONTROLLING THE WAN CONNECTION At this point, the “local” NCB (the one connected to the LonMaker for Windows NSI) has been configured and fully commissioned for use. This last step involves making a connection to the “remote” NCB via the Telephone (WAN) channel.
CTI Products, Inc.
CTI Products, Inc. NCB-EM User Guide 3. NETWORK VARIABLE (NV) CONTROL TYPICAL NV BINDINGS This Section contains details of Network Variables and Bindings All commands sent to the NCB module are carried on the LonTalk network in the form of Network Variables bound to the Control Neuron processor inside the NCB module (connected to Side A of the internal router). This section details the Functional Blocks (objects) and the network variables of each.
CTI Products, Inc. NCB-EM User Guide The example in Figure 7 uses multiple Directory Objects with multiple Modem Controller Objects.
CTI Products, Inc. NCB-EM User Guide Network Variables Dial String (Input) C Language Syntax network input SNVT_str_asc nviDialStr1; network input SNVT_str_asc nviDialStr2; Usage A non-null string sent to this input network variable while the current modem connection state is TEL_NOTINUSE causes the modem to go off hook, wait for a dial tone, then perform a dialing sequence using the provided character string.
CTI Products, Inc. NCB-EM User Guide Connect Status (Output) C Language Syntax network output SNVT_telcom nvoCnctStat1; network output SNVT_telcom nvoCnctStat2; Usage This output network variable provides the current state of the modem connection process.
CTI Products, Inc. NCB-EM User Guide Request Dial String (Output) C Language Syntax network output SNVT_char_ascii nvoReqDialStr1; network output SNVT_char_ascii nvoReqDialStr2; Usage This output network variable is associated with Perpetual Dial-Up Mode (see Tutorial “Which Modem Mode Should Be Used” in section “2. SETUP AND OPERATION”) and is used when the Directory Object storing the telephone number (to be dialed) belongs to a node other than the call-originating NCB.
CTI Products, Inc. NCB-EM User Guide Phone Book Object Modem Controller Object nvoReqDialStr nviReqDialStr nvoDialStr nviDialStr Figure 8 Perpetual Dial-up Mode using NV Bindings 3.
CTI Products, Inc. NCB-EM User Guide Configuration Properties Will Configuration Properties be modified? If NO, and the NCB objects (functional blocks) will be used with factory default settings (Manual Dial-Up or Leased-Line modes, Auto Answer mode Enabled, Ring Mode disabled), skip to Directory Object, later in this section. If YES, but the NCB/Plug plug-in will be used to modify the Configuration Properties, skip to Directory Object, later in this sections and also section “4. NCB/PLUG”.
CTI Products, Inc. NCB-EM User Guide Dial Mode C Language Syntax Typedef struct UCPT_DialMode { unsigned char Mode; unsigned char Index; } network input config SCPTdialMode UCPT_DialMode1; network input config SCPTdialMode UCPT_DialMode2; Usage This input configuration network variable allows the modem dialing Mode (Manual or Perpetual) to be set, as well as the Directory entry Index number (0 through 15) that should be used when dialing in Perpetual mode.
CTI Products, Inc. Value Off On NCB-EM User Guide Auto Answer Mode Disabled Enabled Default State On (Enabled) TELEPHONE DIRECTORY OBJECT A Directory Object is used to store and retrieve arrays of ASCII strings that are characterized as telephone numbers (including characters used for control) used in dialing a data modem. The ASCII arrays are configured using data file transfer or configuration network variables and are retrieved in real-time using an index value passed via a network variable.
CTI Products, Inc. NCB-EM User Guide Punctuation (space, dash, left and right parentheses) – Valid in string, but ignored. When Transmitted Transmitted upon receipt of a valid nviReqDialStr input, unless requested entry index is not supported or entry is blank (first character of entry is a NULL), in which case this variable is not transmitted.
CTI Products, Inc. NCB-EM User Guide Ring Status (Output) C Language Syntax network output SNVT_switch nvoRingStat; Usage This output network variable provides ring open or closed status. It has no function in the NCBIM.
CTI Products, Inc. NCB-EM User Guide 4. NCB/PLUG CONFIGURATION PLUG-IN LNS plug-ins are applications that can be started from within an LNS application (such as LONMAKER for Windows) to perform a specialized task. The NCB/Plug plug-in implements configuration and query commands for the NCB. The NCB/Plug plug-in and Network Variables can be used simultaneously.
CTI Products, Inc. NCB-EM User Guide ACCESSING NCB/PLUG a) Bring NCB/Plug to the desktop: b) Right click on the Control Neuron Functional Block to be configured (Modem, Directory, Globals). In the drop-down list, click “Configure”. The Plugin will appear as shown here. c) Alternatively, right click on the Control Neuron Processor device shape. In the dropdown list, click “Plug-Ins…”, and select NCB/Plug. Click OK to continue. The Plugin will appear as shown here.
CTI Products, Inc. NCB-EM User Guide Soft Reboot This is equivalent to pressing the “RESET” button on the NCB’s front panel. Ring Mode Parameters NCB’s connected in a Ring topology provide fault tolerance for the Telco channel. If values for Unit ID, Ring Propagation Delay, and Ping Test Interval are edited, click on Apply Settings to save Ring Mode Parameters. Click on the Enable/Disable menu item to display a drop-down list, then choose Enable to activate ring mode for this NCB. See “APPENDIX H.
CTI Products, Inc. 4.
CTI Products, Inc. NCB-EM User Guide APPENDIX APPENDIX A. FACTORY DEFAULT CONFIGURATION Control Neuron Processor Restoring Factory Default Parameters Should the Control Neuron Processor communication parameters be overwritten incorrectly by a network management tool, they can be restored as follows: Press the “RESET” button on the front of the NCB unit After the “ERR” LED goes off, press the “RESET” button a second time. The Control Neuron communication parameters are now restored to factory defaults.
CTI Products, Inc. NCB-EM User Guide Querying, Defaulting, and Unconfiguring Router Configuration using SETRTR.EXE The SETRTR.EXE DOS utility provided with each NCB can be used to query the router for its current configuration, force the router to certain default states, or force the router to unconfigured mode.
CTI Products, Inc. NCB-EM User Guide APPENDIX B. MOUNTING OPTIONS Wall mount and EIA 19” rack mount kits are available as options for the NCB from CTI Products, Inc. The wall mount kit includes brackets to allow a single NCB module to be mounted to any flat surface. The rack mount kit includes an adaptor allowing up to three NCB modules to be mounted in a single rack unit height. Rack Mount Option The rack mount option allows up to three NCB modules to be mounted in a one rack unit height (1.
CTI Products, Inc. NCB-EM User Guide To attach a module to the rack adaptor, and then mount the rack adaptor into the rack, follow the steps below. WARNING Do not allow the PC board to slide out of the housing when the front panel is removed. If it does, DO NOT slide the PC board back into the housing from the front of the module. Doing so may damage the unit, causing the unit to malfunction when powered on. Doing so will void the unit’s warranty.
CTI Products, Inc. NCB-EM User Guide Wall Mount Option The wall mount option allows an NCB module to be mounted to any flat surface. The NCB module has four screw holes on the bottom. Simply attach the two mounting plates to the bottom of the module using the four flat-head screws provided with the wall mount kit. This assembly is then attached to the flat surface with userprovided fasteners. Figure 10 shows a dimensioned view of the wall mount installation.
CTI Products, Inc. NCB-EM User Guide APPENDIX C. CONNECTOR DETAILS DC IN Connector Connector type: 2.5 x 5.5 mm coaxial Mating Connector: Switchcraft 760 or equivalent Connector pinout: CTI Products, Inc. standard power supply wired with center pin positive, NCB module can accept either pin positive, polarity routing is provided internal.
CTI Products, Inc. NCB-EM User Guide 3 Pin Terminal Strip style: Mating Connector: Pin 1 2 3 NETWORK Weidmuller 128186 Function Network Network Shield (RS-485 only) 1 2 3 CA- 80085- 100 NETWORK SMX Transceiver units: SMX network connections are described in the documentation with the SMX transceiver.
CTI Products, Inc. NCB-EM User Guide APPENDIX D. NCB VERSION COMPARISON Feature Using a Network Management Tool (with OPTION A Switch 5 in the DOWN position) CMD Button operation Version 3 Operation When OPTION A Switch 5 is in the DOWN position, the Auto-Answer Enabled/Disabled setting due to NCB/Plug or Network Variables is non-volatile. (The setting of OPTION A Switch 1 will be ignored.
CTI Products, Inc. NCB-EM User Guide APPENDIX E. TROUBLESHOOTING Table E1 If the PWR LED . . . REASON CORRECTIVE ACTION Is always illuminated. Normal operation indicating that NCB unit is receiving proper DC input power. Go to next Table. Flashes for 2 seconds. Normal operation when WINK command is being executed. Go to next Table. Flashes continuously. DC input to unit is below minimum required voltage. Check for proper voltage at “DC IN” connector (10-32VDC). Does not illuminate.
CTI Products, Inc. NCB-EM User Guide Table E3 If the OH LED . . . REASON CORRECTIVE ACTION Is not illuminated when using a Leased-Line. Normal operation. Go to next Table Illuminates immediately when a connection is attempted in Dial-up mode. Normal operation indicating the modem is in the ‘Off-Hook’ condition. Go to next Table. Does not illuminate on originating NCB when using a Dial-Up line and a connection is attempted. 1. DIAL command is not being sent correctly to originating NCB. 2.
CTI Products, Inc. NCB-EM User Guide Table E4 If the CD LED . . . REASON CORRECTIVE ACTION Illuminates within 45 seconds of resetting (“OH” LED is already illuminated) when using a Leased-Line. Normal operation indicating the modem is connected to another NCB’s modem. Go to next Table. Illuminates within 45 seconds of illumination of “OH” LED on originating NCB when using a Dial-Up line. Normal operation indicating the modem is connected to another NCB’s modem. Go to next Table.
CTI Products, Inc. NCB-EM User Guide Table E5 If the ACT LED (on local NCB) . . . REASON CORRECTIVE ACTION Occasionally blinks on, then off. Normal operation indicating a message packet has passed through the router module of the NCB. Go to next Table. Does not illluminate when “RSVC” button on remote NCB is pressed. 1. LonWorks Service Pin message from remote NCB is not reaching the remote modem. 1a. Verify that “ACT” and “ERR” LED’s on remote NCB flash once.
CTI Products, Inc. Does not illuminate when remote LonWorks nodes are transmitting messages. NCB-EM User Guide 1. LonWorks message packets from remote nodes are not passing through the remote router module. 2. LonWorks message packets from remote nodes are not reaching the local NCB. 3. LonWorks message packets from remote nodes are not passing through the local router module. 1a. Verify the connection between the remote LonWorks nodes and the remote NCB. b.
CTI Products, Inc. NCB-EM User Guide APPENDIX F. SPECIFICATIONS NCB Unit DC Power Input: Size: Operating Temperature: Humidity: Mounting: Transceivers supported: Maximum packet size: Serial Ports: Dialing: Configuration: Installation: Appendix F. Specifications 10 to 30 VDC, Negative Ground, Externally Current Limited 5 watts maximum without SMX transceiver 10 watts maximum with SMX power line transceiver 7.5” D x 5.6” W x 1.
CTI Products, Inc. NCB-EM User Guide MultiTech Modem Model MT2834ZDX Modes: Power: Size: Dial-up only 9 VDC 300 mA, Country-specific AC adapter included. 6.0” D x 4.25” W x 1.0” H Temperature: Line Connector: Phone Connector: DTE Interface: 0-50 C RJ11 RJ11 EIA-232, 25-pin D-Subminiature female connector MultiTech Modem Model MT2834L Modes: Power: Size: Leased-Line and Dial-up 14-16 VAC 700 mA, Country-specific AC adapter included. 9.0” D x 6.0” W x 1.
CTI Products, Inc. NCB-EM User Guide APPENDIX G. MODEM NOTES Manual Dial-Up Mode (PSTN) Manual dial-up mode requires command information be sent to the originating NCB unit to cause it to dial the answering NCB unit. This command information is sent in the form of Network Variables bound to function blocks (objects) of the control Neuron processor inside the NCB module.
CTI Products, Inc. NCB-EM User Guide Leased-Line Mode Leased-Line mode is the simplest operational mode of the NCB module. After power-up or reset, an NCB module set to ‘Leased-Line: Originate’ mode will immediately go offhook and emit a cyclic calling tone to the telephone circuit. An NCB module set to ‘Leased-Line: Answer’ mode will go offhook and wait for detection of the calling tone from the distant end. When this calling tone is detected, the modem training sequence begins.
CTI Products, Inc.
CTI Products, Inc. NCB-EM User Guide Telecom Regulations Telecom regulations require that certain operational restrictions be enforced by an external modem that may result in operation (or lack thereof) not in line with user expectations. The most notable of these are blacklisting and delay-before-auto answer. Blacklisting (Forbidden Lists) Blacklisting prevents re-dialing to the same telephone number multiple times in rapid succession if a successful connection has not been made with the distant modem.
CTI Products, Inc. NCB-EM User Guide APPENDIX H. RING MODE The NCB-International module can be configured to allow a group of NCBs to be connected in a ring topology via their RS232 serial ports as shown in Figure 11 (note that the external modems are not shown but are implied): NCB A PORT 1 NCB B PORT 2 PORT 1 PORT 2 NCB C PORT 1 PORT 2 Figure 11 NCB Modules Connected in Ring Mode Up to 64 NCB modules can be connected together in such a ring.
CTI Products, Inc. NCB-EM User Guide Connection and Enabling Procedure The following steps should be followed when installing a series of NCB modules for Ring Mode operation: 1) Connect all NCB modules in default mode (Ring Mode disabled). a) During installation of each NCB, enable both NCB serial ports using the appropriate “BAUD” and “MODE” settings for switches on the rear panel. b) Then press the “RESET” button on the front panel.
CTI Products, Inc. NCB-EM User Guide INDEX A ACT LED ..................................................................6 Addressing ........................................................... 9, 34 Auto Answer Mode ................................. 7, 10, 32, 49 B Back-to-back.......................................... 12, 13, 50, 51 BAUD Switches ...................................................... 10 Bindings ................................................................... 19 Blacklisting ..........
CTI Products, Inc. S Serial port .................................................. 4, 6, 10, 53 Serial Port Handshaking .......................................... 10 SETRTR.EXE ......................................................... 35 SMX ........................................................................ 40 Soft Reboot .............................................................. 32 Specifications .......................................................... 47 Subnet/node .........................