
perating and Installation
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
...............................
................................
................................
................................
............................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
.........................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
485 Serial Data Converter
................................
................................
................................
................................
................................
...............................
Summary of Serial Data Connection Scenarios
................................
................................
................................
................................
................................
............................
................................
................................
................................
................................
................................
.........................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
............................
................................
................................
................................
.........................
................................
................................
................................
................................
................................
................................
................................
................................
................................
JP3 & JP6 Jumper Settings
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
...............................
................................
................................
................................
...............................
................................
................................
................................
................................
.42RS-232 MULTIPLEXER BOAR
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
..47Pulse Counting Inputs
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
.............................

perating and Installation
................................
................................
................................
................................
................................
...............................
................................
................................
................................
................................
................................
............................
................................
................................
....57CONFIGURING THE PROG
................................
................................
................................
................................
................................
................................
................................
................................
..60Saving and Retrieving Configurations
................................
................................
............................
................................
................................
................................
................................
................................
................................
................................
................................
................................
...............................
Allow Connection Requests
................................
................................
................................
Respond to Voice Calls / Respond to SMS
................................
................................
................................
................................
................................
..........................
................................
................................
................................
...........................
Compare Device Configuration to Template
................................
................................
................................
................................
................................
................................
................................
................................
“Special Purpose” Input Parameters
................................
................................
...............................
Counting Input Parameters
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
...........................
................................
................................
................................
................................
................................
................................
..............................
Metretek SIP via InvisiConnect
................................
................................
................................
...71Metretek InvisiConnect
................................
................................
................................
MAX or Mercury Pulse Accumulator
................................
................................
.....72Metretek SMS Modem
................................
................................
................................
................................
................................
................................
................................
................................
................................
When Answering if No Port Select…….
................................
................................
..........................
................................
................................
................................
.........................
................................
................................
................................
................................
................................
................................
................................
...........................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
....77Max BPS. Data Bits,
................................
................................
.............................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
Delay before Sending Packets
................................
................................
................................
Always Send CONNECT Message
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
.............................
Use Alternate CONNECT Message
................................
................................
................................
................................
................................
................................

perating and Installation
................................
................................
................................
................................
................................
................................
......83CDMA Service (Aeris, Verizon, Sprint)
................................
................................
...........................
CDMA Packet (Internet) Service
................................
................................
................................
.83CDMA Circuit Switched Data (CSD) Service
................................
................................
the-Air-Activation (OTAA)
................................
................................
................................
..84OTAA Programming Number
................................
................................
................................
.....85Packet Service Connection Command
................................
................................
................................
................................
................................
................................
................................
................................
...............................
Source Port Starting / Ending Numbers
................................
................................
PAP User Name and Password
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
.........................
GSM Packet (Internet) Service
................................
................................
................................
...88GSM Circuit Switched Data (CSD) Service
................................
................................
Installation of the SIM Card
................................
................................
................................
................................
................................
................................
Packet Service Connection Command
................................
................................
................................
................................
................................
................................
................................
................................
...............................
Source Port Starting / Ending Numbers
................................
................................
PAP User Name and Password
................................
................................
................................
................................
................................
................................
...............................
................................
................................
................................
................................
................................
................................
iDENService (Nextel, Harmony)
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
.........................
................................
................................
................................
Primary Call Retry Interval
................................
................................
................................
Secondary Call Retry Interval
................................
................................
................................
Try Alternate Destination
................................
................................
................................
Enable Repetitive Call Schedule
................................
................................
................................
................................
................................
................................
................................
................................
................................
Loading a Configuration with the Programming Cable
................................
................................
................................
................................
...........................
................................
................................
...............................
the-Air Configuration Changes
................................
................................
..............................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
..............................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................

perating and Installation
................................
................................
................................
ATV (response type) Command
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
AT+ICLK? (time and date) Command
................................
................................
..........................
Response to AT Commands while in SLEEP Mode
................................
................................
................................
.............................
................................
................................
................................
.............................
...............................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
..............................
................................
................................
................................
................................
............................
-1................................
................................
................................
-2................................
................................
................................
Magnetic or ”CALL” Switch Alar
................................
................................
................................
................................
................................
................................
................................
................................
................................
.............................
................................
................................
................................
...............................
................................
................................
................................
..........................
................................
................................
................................
...........................
................................
................................
................................
.........................
................................
................................
................................
Remote Daily Volume Low Input
................................
................................
134Remote Daily Volume High Input
................................
................................
Remote TTI Consumption Low Input
................................
................................
Remote TTI Consumption High Input
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
..........................
................................
................................
................................
................................
................................
................................
................................
................................
...........................
................................
................................
................................
................................
................................
................................
................................

perating and Installation
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
...........................
................................
................................
................................
...............................
Weight of CNI2 with Wall Mount Option: (w/o batteries)
................................
...............................
Weight of CNI2 with Meter Mount Opt
................................
.............................
Battery Pack Shipping Weight
................................
................................
................................
................................
................................
................................
Battery Voltage: (without load applied)
................................
................................
Approved Battery Pack Assemblies
................................
................................
..............................
................................
................................
................................
................................
Current Requirements during Transmission
................................
................................
Sleep current (data logger mode, no communicationsoption boards)
................................
Sleep current (transparent modem mode, no communications option boards)
.............................
................................
................................
................................
...........................
................................
................................
................................
Power Input #3 (TB1) Connector Type
................................
................................
.........................
Power Input #1 & #2 (J1 and J2) Connector Type
................................
................................
................................
................................
................................
Pulse Count Retention Memory
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
...............................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
.........................
J7, J9, J11, J12 Connector Type
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
.........................
................................
................................
................................
Input rate (sampling mode)
................................
................................
................................
Minimum input pulse width (
................................
................................
Sample rate (sampling mode)
................................
................................
................................
Debounce Count (sampling mode)
................................
................................
...............................
................................
................................
................................
Minimum pulse width (edge
................................
................................
................................
................................
................................
................................
................................
................................
............................
................................
................................
................................
...........................
................................
................................
................................
................................
................................
................................
................................
................................
..............................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
TB2 Connector Type (RXD, TXD, GND)
................................
................................

perating and Installation
TB2 Connector Type (all other signals)
................................
................................
................................
................................
................................
................................
................................
................................
................................
Cellular Network Communications Options (varies with model)
................................
................................
................................
................................
................................
................................
................................
..........................
Firmware and Configuration Programming
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................

perating and Installation
Wall Mounting Tabs and Dimensions
................................
................................
................................
................................
CNI2 with Universal Mounting Bracket (UMB)
................................
................................
Bottom View of the Universal Mounting Bracket (UMB)
................................
.............................
Universal Mounting Bracket (UMB) Hole Pattern
................................
................................
Pipe Mounting using Collar
................................
................................
................................
................................
................................
................................
.....20Enclosure Sealing Options
................................
................................
................................
Lithium Battery Pack Mounting
................................
................................
................................
..21Alkaline Battery Pack Mounting
................................
................................
................................
.22Disposable Alkaline Battery Pack
................................
................................
..............................
................................
................................
................................
CNI2 Board and Multiplexer Board
................................
................................
............................
................................
................................
................................
485 Board and Multiplexer Board
................................
.............................
232 connection to external instrument
................................
h multiplexer board to support two serial data links
................................
CNI2 with conversion board to interface to RS
................................
....28Configuration using both RS
................................
................................
..29Index Base with Magnetic Switches
................................
................................
..........................
................................
................................
................................
Internal View of the Index Base
................................
................................
................................
.31Rotation Gears within the Index Base
................................
................................
................................
................................
................................
Location of the Internal Antenna
................................
................................
...............................
Antenna Connection to Radio Module
................................
................................
Bottom View with External RF Connector
................................
................................
Location of the TAMPER and CALL Switches
................................
................................
................................
................................
................................
J1 and J2 Power Connectors
................................
................................
................................
....38Configuration Jumpers
................................
................................
................................
Jumper Block JP6 Settings
................................
................................
................................
Jumper Block JP3 Settings
................................
................................
................................
Capacitor Connection to TB1 (prewired)
................................
................................
................................
................................
...............................
................................
................................
485 Conversion Board Connectors
................................
................................
Uncorrected Pulse Output Board
................................
................................
...............................
................................
................................
................................
Alarm / Pulse Input Terminal Block TB4
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
................................
......51Typical Solar Power System
................................
................................
................................
................................
................................
................................
................................
................................
................................
Installation of the SIM Card
................................
................................
................................

perating and Installation
Serial and USB Programming Cables
................................
................................
................................
................................
................................
................................
................................
...............................
Programming Port Configuration Screen
................................
................................
CNI2 Main Configuration Screen
................................
................................
...............................
................................
................................
................................
.....63Configuration of an Alarm Input
................................
................................
................................
.64Configuration of a “Special Purpose” Input
................................
................................
Configuration of a Pulse Counting Input
................................
................................
Configuration of a “Special Purpose” Output
................................
................................
................................
................................
................................
.........................
“Route To” Port Selection in Transparent Mode
................................
................................
Serial Port Configuration Screen
................................
................................
...............................
................................
................................
................................
................................
................................
................................
CDMA Cellular Configuration Screen
................................
................................
Installation of the SIM Card
................................
................................
................................
GSM Cellular Configuration Screen
................................
................................
..........................
................................
................................
................................
................................
................................
................................
Attaching the Programming Cable
................................
................................
.............................
OTA Device Selection Screen
................................
................................
................................
Example of Error Code “35” Display
................................
................................
LED Error Codes 11 thru 19
................................
................................
................................
LED Error Codes 21 thru 39
................................
................................
................................
LED Error Codes 41 thru 59
................................
................................
................................
................................
................................
................................
Example of Timed Sampling
................................
................................
................................
................................
................................
................................
Example of Debouncing Process
................................
................................
............................
................................
................................
Example of Detection of a
................................
................................
Accuracy Errors Using the “Output
................................
112Delay Errors Using “Output
................................
................................
Typical CNI2 “AT” Responses
................................
................................
................................
Received Data (RXD) Detection Jumper
................................
................................
2009 System Configuration
................................
................................
Changing the Data Collection Configuration
................................
................................
................................
................................
................................
................................
................................
Configuring a Call Schedule
................................
................................
................................
Defining a Call Profile Name
................................
................................
................................
................................
................................
................................
Starting the CNI2 Configuration Process
................................
................................
Remote Unit Selection Screen
................................
................................
................................
Device Type Selection Screen
................................
................................
................................
................................
................................
................................
Remote Unit Configuration General Information Screen
................................
..........................
Device Configuration Screen
................................
................................
................................
Data Input Configuration Screen
................................
................................
.............................
................................
................................
................................

perating and Installation
................................
................................
Viewing the Cellular and Hardware Status
................................
................................
Cellular and Hardware Status Screen
................................
................................
Starting the Call Diagnostic Dump Utility
................................
................................
Using the Call Diagnostic Dump Utility
................................
................................
Status and Cellular Information on the Call Dump Screen
................................
Cellular Information Fields
................................
................................
................................
Previous Error Codes on th
................................
................................
Power Input Connector Polarities
................................
................................
............................
................................
................................
................................

perating and Installation
The following symbols may be found within the text of this document, or
Denotes an information item
Denotes a user action item
Alerts the operator to special precautionary actions that may be required,
or danger hazards that exis
t or have the potential to exist.
Alerts the operator to an electrical shock hazard condition that exists or could
Symbol that indicates earth ground. A copper rod buried in the ground is a
le of an earth ground connection, although these can take various forms.
Reference your local electrical code regulations for detailed information.
Internationally recognized symbol that represents voltage in the form of direct
common example of a direct current (DC) source is an automotive car battery.
Alerts the operator that the equipment or component thus labeled
is not to be disposed of without special consideration to the hazardous waste that it
Compliance is necessary to ensure that national, state, and local community legal statutes are

perating and Installation
This product contains a radio
mbined cable loss and antenna gain must not exceed +6.8 dBi (850 band),
+1.9 dBi (900 band), +7.7 dBi (1800 band) or +2.2 dBi (1900 band). Total system
output must not exceed 2.0W EIRP in the 1900 band in order to comply with the
product must be installed in a manner that
or more between the antenna and
in conjunction with any other antenna or
This product contains a radio
The combined cable loss and antenna gain must
not exceed +5.3dBi (800 band).
The combined cable loss and
antenna gain must not exceed +4.2dBi and total
t exceed 2.0W EIRP in the
comply with the EIRP limit of 24.232
product must be installed in a manner that
or more between the antenna and
in conjunction with any other antenna or
to satisfy exposure requirements.
This device complies with Part 15 of the FCC Rules. O
peration is subject to the
following two conditions: (1) This device may not cause harmful interference, and
(2) this device must accept any interference received, including interference that
may cause undesired operation.

perating and Installation
Disposal of lithium battery cells is strictly regulated in most areas as hazardous waste
material. Consult your regional waste disposal authority to ensure full compliance
with legal statutes when disposing of cells.
ort of primary cell lithium batteries (even when fully discharged) of this type is
strictly forbidden on passenger aircraft. Cargo shipment of batteries via UPS, FedEx,
etc., requires special shipping containers, packing, and paperwork to be completed.
9 is a general class designation by the DOT and has specific packaging instructions.
Lithium primary cells are ‘Class
9’ if they contain more than 5.0 grams of lithium. This is
Specific requirements are applicable to Class
Product handlers must be tested and certified. Packaging must meet Group II requirements and
boxes must be tested by UN specification. Packaging must be clearly marked to
Lithium batteries, UN3090, PG II, Number of packages, Emergency phone number, Shipper
MSDS information must also be included within the package.
Additional requirements may apply, or come into force in the future. Please co
requirements in advance with your shipper.

perating and Installation
CNI2 is a pulse accumulator (data logger) and serial data communications
product with an integral cellular radio transceiver. Pulse signal inputs (dry contact) and ala
inputs can be supplied from an external electronic corrector
or other measurement device
index base option with both a mechanical index display and pulse switch output is available.
Serial data communications with a cor
are also possible using either
ptions are also available
. These include alkaline battery, lithium battery, or
an external source such as solar or AC mains.
Numerous pulse counting inp
uts and alarm trigger inputs are supported.
Optional meter index base enables direct mounting onto a gas meter.
Several mounting options provide flexibility to mount to a wall, pipe, meter, etc.
Cellular radio service options include conventional GSM and C
options are also available to service special market
.The internal antenna feature conceals the nature of the wireless device. Where signal
strength is a concern, external antenna options are also supported.
ions are available, including alkaline battery, lithium battery, or
connections for external sourced power. External power can be either AC mains or
The enclosure is field proven durable and UV resistant against weather effects.
are update capability allows for new feature enhancements as they
CSA Hazardous area certification, Class I, Div
DPTCRB cellular network approvals

perating and Installation
Assembly sequence for the backside hangers is shown in the illustration below. The lock
washer contacts directly with the enclosure, then the hanger, the f
lat washer, and lastly the
screw to secure. Tighten the screw until snug, but do not over
Wall Mount Hangers Assembly Sequence
Where it is desired to have an index base mounted directly to a meter, the UMB
package are that the entire
instrument can be mounted without any concerns about routing external meter pulse signal
wires. Mounting of the UMB index base is possible on rotary, turbine, and diaphr
meters that have a rotating instrument drive output. This includes American, Rockwell, Romet,
Roots, or Schlumberger meters.
The UMB housing may be rotated about the base plate so that the instrument and index will
all four screws which attach the base plate to the
Replace and tighten the four screws after you have repositioned the UMB

perating and Installation
The cellular radio module
otorola and will be either a
. It is possible to remove and install a new module in the event that the original
. Two small screws must be removed first, the radio pulled straight away from the board,
acers retained for later use. This type of operation is best performed within an
office setting, and even then only when absolutely necessary. The high density electrical
connector on the radio is delicate and can easilybe damaged unless great care is t
cellular radio SIM card for GSM
equipped models of the CNI2.
cards are not required for CDMA radios.
If it is necessary to perform a complete reset operat
ion, use a small blade screwdriver or coin to
short out the two pins of JP4.
pulse data to be lost and theunit’s time
will cause the CNI2 to call the data collection system to report a “Unit R
When possible, first place a call to download accumulated interval data to
prior to performing a reset.
These connectors are intended for connection to power sources. Both connectors are ident
in function, and allow for the hot
swap of batteries without the loss of power to the CNI2 board.
J1 and J2 Power Connectors

perating and Installation
Not used (storage for spare jumper)
Not used (storage for spare jumper)
Not used (storage for spare jumper)
Not used (storage for spare jumper)
*** Enables normal operation
Not used (storage for spare jumper)
Not used (storage for spare jumper)
*** Directs programming cable to Main
Directs programming cable to Aux
lines 1, 2, 3, 4, 5 and 8.
analog input lines 1 thru 6.
*** = Recommended setting
Jumper Block JP6 Settings
Not used (storage for spare jumper)
Not used (storage for spare jumper)
wakes up on change in RXD
inverted RXD input on serial
board 3.6V regulator when not needed
Permanently enables the on
regulator. Normally only used for factory
testing or special applications.
board 3.6V regulator when not needed.
Permanently enables the on
testing or special applications.
*** = Recommended setting
Jumper Block JP3 Settings
This connector provides direct access when performing a firmware download or configuration
change when using the MP32 software and pro

perating and Installation
This terminal block is pre
wired to a high density reserve capacitor as illustrated below.
Normally this connection will not be altered, unless under special circumstances and
or Connection to TB1 (prewired)
efault function of J9 is to serve as a
trigger input. Activation of this inpu
the CNI2 to immediately call the central office.
Circuit connection is intended for a “dry” contact
h, meaning that it is a simple switch (or transistor) with no drive voltage. In most cases this
at the factory to a magnetic
This line can also be configured as
efault function of J11 is to serve as a power failure report input. This is useful for AC
mains applications where the loss of power can be reported to the
connection is intended for a “dry” contac
t switch, meaning that it is a simple switch (or transistor)
This line can also be configured as
efault function of J12 is to serve as
a tamper detect input. If
ordered then this alarm will trigger
time that the enclosure door has been opened.
CNI2 can be configured to place an immediate call to the central office when this occurs, or to
ent on the next scheduled call.
Circuit connection is intended for a “dry”
contact switch, meaning that it is a simple switch (or transistor) with no drive voltage.

perating and Installation
t is necessary to minimize power
r possible. The multiplexer board is based upon opto
consume power when enabled. For this reason the m
ultiplexer board is not powered
when in the process of active data exchange. This presents a problem in that the CNI2 will not
able to detect serial communications activity when the multiplexer board is powered down.
A simple method to resolve this is to wire the RXD signal coming from the external instrument in
parallel with both the RXD line and DTR input line. The multiplexe
r board is able to detect serial
data flow on the DTR line, even when in low power mode. This then enables the CNI2 board to
wake from low power mode, drive the multiplexer board, and subsequently receive serial stream
The illustration below shows
where the jumper wire is to be installed across the terminal block
ddition of a jumper wire as seen above is only required on the multiplexer board itself.
uld not be installed directly on the terminal block of the CNI2 board.

perating and Installation
485 conversion board is shown
External wiring connections are accomplished
terminal block TB1. The number of connections will depend upo
n whether the link is half
duplex or full duplex. Although the full duplex wiring method requires two additional wire
conductors, it is typically simpler to deploy and service in the field.
JP1-When installed this jumper places a 120 ohm termination lo
ad on the RX end. For most
installations this jumper should be installed.
JP2-When installed, this jumper places a 120 ohm termination load on the TX end. For most
installations this jumper will not be installed.
JP3-When installed this jumper re
duces the bandwidth of rise and fall transition edges of the
transmit signal to minimize signal reflections (similar to echo’s) on the cable. For most
installations this jumper is not installed.
JP4-Selects half duplex or full duplex mode. Position A+
B is half duplex, and B+C is full
If you are using half duplex operation you must select the “
has a document available that further details the RS
theory of operation and how
it applies to this particular board. A Product Support Specialist can provide a copy of this
document in PDF format upon request.
RS-485 Conversion Board Connectors

perating and Installation
There are a total of sixdigital sign
board that can be used as alarms, status
counting inputs or control outputs. A later portion of this chapter provides a
technical discussion about how each input is processed.
Each signal has a “Line Number” associated with
it as seen in the next figure. Knowing which
line number correlates with which input signal is necessary when using the MP32 configuration
software. In most applications these lines are preconfigured for the most common data logger
channel pulse recorder with power supply control and
monitoring. However any of the six signals can be reconfigured as necessary for the
Any of the six signals can be used as alarms or status inputs. These can be
Two of these inputs are connected to the TB4 terminal block and the other
four have their own connectors. If any input is configured as an alarm or status input then it
cannot be used to count pulses.
1: The common or ground circuit connection at J11 is on the opposite pin when compared
to the other three connectors.
2: Mating connector type is available from AMP/Tyco Electronics under part number
ations of the CNI2 are pre
wired at the factory with a door
switch at J12 and a magnetic call switch at J9.

perating and Installation
” input is usually connected to a magnetic switch located inside the unit. You can
activate the switch by placing a stro
ng magnet near this spot on the outside of the enclosure.
Alternatively the switch can be a simple pushbutton switch located inside the unit or protruding
from the wall of the enclosure. Or you can just momentarily short the J9 pins witha screwdriver
coin. This switch will cause the CNI2 to immediately call in to the central computer and report
a “Call” or “Mag. Switch’ alarm.
” switch is often a magnetic switch mounted to the side of the enclosure and a
magnet on the door. When the door
is opened the magnet and switch separate and generate
an alarm. This is often used to detect intrusion as well as record service events.
If you wish to use these inputs for any other purpose you can rename them in the data collection
ce you could rename the “Tamper” alarm as “Low Pressure” or “High
You can also combine the “Call” and “Tamper” inputs together as a Form
which case the combination is reported as a “Call” alarm to the data collection syste
C switch consists of one normally
closed switch. If at any time
both are open or closed this is considered a failure and will be reported as a “Tamper” alarm.
The “Power Fail” input is usually used todetect the loss of
ac mains power. When the alarm
goes active this will be reported as an “AC
OFF” alarm. When it returns to an inactive state an
“AC-ON” alarm will be reported. Again if you wish to use this input for any other purpose you
can rename it in the data coll
In many standard configurations the J7 “Alarm” input can also be used as an alarm or pulse
counting input. This input is not reported to the system as any particular alarm but the CNI2 can
still call in immediately if this input goes act
ive or inactive. Usually if this line is programmed as
an input it is used for pulse
counting rather than an alarm.
Alarm / Pulse Input Terminal Block TB4

perating and Installation
The inputs on TB4 will be reported as “Alarm
2” to the data collection system.
A (normally open) or Form
B (normally closed). Or they can be combined
C (“KYZ”) pair, in which case the combination is reported as “Alarm
collection system. A Form
C switch consists of one normally
switch. If at any time both are open or closed this is considered a failure and will be reported as
Any of the six signals can be used as pulse
counting inputs, but no more than four can be
nfigured this way because that’s all the data collection system will accept. If any input is
counting input then it cannot be used as an alarm or status input. Pulse
counting inputs can be either Form
Any of the six signals can be
configured as outputs. These are low
level (+3.3V) logic signals
with very low current (2 mA) capabilities. In many cases these signals will need additional
amplification or conversion by external equipment.
: This configuration can be used to
control external equipment from
the central office, such as a warning light, an audio alarm or a pump. This isonly supported
when using the “Relay Settings” feature in the
changed to the new setting only after a successful call.
In this configuration the output follows any one of the inputs
. This allows other external equipment to have access to the same pulse
information that is being processed by the CNI2.
An output has strict limitations with respect to voltage and current.
See the specifications section to avoid damage to the

perating and Installation
Illustrated below is a port
ion of the CNI2 board. TB1 is prewired at the factory to a high density
capacitor element to support peak load demands when operating the cellular radio. J1 and J2
are the power connectors for the CNI2. Additional details follow.
Connectors J1 & J2 are electrically equivalent, and it does not matter which of the two is used
for attachment to the power source. For a batterypowered application it is recommended that
the fresh pack be plugged into an available connector
before disconnecting the depleted
The CNI2 has been designed to provide long service life when operating from batteries. Total
battery life is influenced by two factors in the CNI2; continuous background current and high
ent draw during cellular calls. The background current can be minimized to a certain extent
by using fewer pulse input connections and using normally
and alarm sensing. High current draw depends on the number and duration
made. This can be minimized by ensuring the CNI2 has strong cellular reception (which
minimizes call retries) and by limiting the number of regular scheduled calls to the extent
battery condition is triggered can be changed using the MP32
Normally the programming template provided by Mercury will have a
default value optimized for the application.

perating and Installation
eadily available, as is the case at some sites, then a power adaptor can be
used to supply the necessary voltage. Requirements for the power adaptor are that it be
capable of sourcing 1 ampere of current at 5.0 volts DC. For Class I, Div. 2 locations, th
require special consideration to ensure that the rules stipulated by NEC and equivalent
Canadian wiring codes for hazardous locations are strictly adhered to.
The output voltage from the power adaptor will be wired into a smal
l terminal block as illustrated
below. It may be necessary to check with a voltmeter which wire is positive and which is
negative coming from the power adaptor.
Polarity of the terminal block connection will be apparent from the opposite end wire colors
that Red is positive and Black is negative. In the event that a reverse connection is made by
accident, no harm will be caused to the electronics aside from the fact that the CNI2 will not
r Alkaline battery pack can be connected to the vacant J1 / J2 power connector to
supply continuous power in the event of AC mains failure. Lithium batteries have a longer
as compared to alkaline batteries
normally regarded as the su
for long term backup applications.

perating and Installation
Solar power is also a possibility, although it will be necessary to also provide a voltage charge
regulator and lead acid battery as seen in the illustration. Wiring to the termin
previously will be the same as was the case for the AC mains application. The lead acid battery
serves as the backup source during the evening and cloudy days. Correct sizing of the solar
panel and lead acid battery are necessary for
a given territorial region. Application notes are
available from solar panel suppliers to assist in the process of sizing the panel and battery.
Typical Solar Power System
In addition to processing alarms and pulse data
, the CNI2 can act as a “transparent” modem.
This allows the central computer to communicate directly with a device connected to the CNI2’s
RS-232 serial port. Most applications for the CNI2 being used as a cellular modem will be with
instrument. Other configurations are certainly possible as well, to support
3rd party instruments such as transducers, odorizers, etc.
The serial port consists of signals with traditional EIA (RS
cable length should not e
xceed 15 feet, and may need to be shorter at higher bit rates. All serial
parameters are configurable using the MP32 configuration program.
There are also several non
level signals that are used to connect directly to other
t have a similar port. In most cases these signals will be prewired at the factory.

perating and Installation
needs to know which COM port to use with the programming cable. Select the
ommunications Configuration”
When the USB programming cable is
the system should detect it and load the
necessary driver software.
If you are having problems with this contact us and we can help.
When the installation is complete the system will assign a new COM port to the cable, such as
apparent what COM number has been assigned
(with the cable plugged in)
You should see your USB cable there and its assigned COM port. Each USB cable has a
unique electronic serial number. The computer will remember this number. If one USB cable is
er one is installed, the system will
reuse the previous COM port
number. Rather it will assign a new COM port number to it. For instance, if the previous cable
was assigned COM5, then the new cable might become COM6.
If using the serial programming c
able then the COM port is the physical COM port
the cable is plugged in to, typically COM1 or COM2.
Port Configuration Screen
Use as default Connection
rt number and then select

perating and Installation
Saving and Retrieving Configurations
A “configuration” is a set of parameters that will be programmed into the
referred to as a “template”. Once you define a conf
iguration it can be saved by using the
pull-down menu in the upper left
hand corner of the screen. A previously saved configuration
can be opened in the same manner. This is useful if many units are to be programmed with
similar information, such as
he same destination IP address
es or cellular information
To start a programming session either
a previously saved template or manually enter all
of the parameters. If you would like to work with the configuration that is already store
with the programming cable installed and
the unit powered up. The status of the operation is displayed on the bottom of the screen. The
button will terminate the session in
is no response or an error.
automatically resets the unit and clears all
This is required by the data
FFFFFF (hexadecimal notation). Sequential numbering is not
required, nor is it necessary to use anyof the hexadecimal digits ‘A, B, C, D, E, or F’.
if you do not specify the ID number prior to shipme
CSD mode is similar to a dial
up connection on a wired phone line. CSD service is no longer
is allowed to originate a
ill need the phone number of that
button and enter up to 32 numeric digits. As with most cellular phones, it is usually
enter the entire phone number, including area code, even if the call is local. For example in the
1212 within area code 987 may have to be entered as 19875551212.
is to communicate via the Internet then it wi
ll need the IP address and port number
administrator usually assigns these
values. Select the “IP Address” button. Then enter the address of the server expressed in
“dotted decimal format”, such as 19
8.32.67.101. The data collection server is usuallyassigned
a default port number of 50466, but the systemadministrator can change this.
The Primary Destination is used for scheduled calls, consumption
backs, low battery alarms, etc.
Any hardware input that has been programmed as an alarm
input can have its own unique destination.
This will be discussed shortly.

perating and Installation
is allowed to originate CSD or I
nternet connections. This allows the
to call in at regularly scheduled times or whenever an alarm condition occurs. When using
the Internet for communications the
It can only originate calls to the
Allow Connection Requests
This setting allows the CNI2 to act as an Internet “server”, allowing it to be contacted via the
Internet. When this box is checked the
specific server features.
Allow Connection Requests
feature requires the cellular radio to be powered up more
frequently. This will have a great impact on battery life. A permanent power source such as
solar or AC is recommended if you wish to use this option.
“Paging” is a mechanism that causes the
to call back to the Primary Destination on
Your cellular account may not offer voice or
is configured for CSD mode the
to answer incoming CSD calls from the central office.
. These options require the cellular radio to be powered up at all times,
which will quickly drain the
A permanent power source suc
AC is recommended if you wish to use these options.
You can configure the CNI2 to count pulses from up to 6 sources
erval and the total for that period is saved as
counting process over for the next time interval and this process continues indefinitely. The
time interval can be 1, 2, 3, 5, 6, 10, 12, 15, 20, 30 or 60 minutes
(anything evenly divisible into
. A shorter time period allows you
to observe small changes with more detail. But it also
more quickly, causing the
to need to communicate with the data
collection system more frequently
so that older data is not lost
. This can have an impact on
fe and the cost of the cellular service.
has the capacity to save a total of 30,000 records before it starts to overwrite the
oldest records. These are divided equally between all active pulse
counting channels. If only
locations will be used for that

perating and Installation
minute interval it would take a little over 200 days to reach the end of the
channels are active then each channel is allocated
If some of the pulse / alarm inputs are not being used for pulse
counting then they should
programmed as alarm inputs
even if they are not going to be used for alarms. This will cause
the memory to be divided between only tho
se channels that will be counting pulses.
The data collection system (
must also be configured with the same
otherwise the calls from the
Although the CNI2 can accept
up to six channels of pulse inf
The firmware version number is reported any time the configuration is read from the
Compare Device Configuration to Temp
This feature is useful when programming many
’s configuration is read it is compared to a configuration file (a “template”) of your
choice. If there are any differences other than the unit’s ID nu
mber, they will be displayed. You
can manually enter the filename of the template or use the browse button to locate it on your

perating and Installation
six(6)digital lines that can serve as alarm sensing or pulse
Four of the lines are available on four 2
pin MTA connectors J7, J9, J11 and J12, as shown
. These are normally used as alarm
sensing inputs and are often prewired for specific
alarm triggers such as a magnetic TAMPER switch.
However any of these can be configured
Two other lines are available on the “TB4” terminal block. These are most often used as pulse
counting inputs but can also be configured as alarm
A), normally closed (Form
B) or combined into a KYZ
C connections there are certain lines that can be
can be used to control external equipment from the central office
light, an audio alarm or a pump (remote control of this output is only available when using the
data collection system). Or it can be configured as a “repeater”, replicating
that is configured as an input
An output has strict limitations with respect to voltage and current.
See the specifications section to avoid damage to the
An “alarm” is an event such as a switch closing or opening.
The CNI2 reports the alarm
ition to the data collection system (
) using standard descriptions as
Alarm Text Reported by DC2009
Standard Alarm Descriptions

perating and Installation
Any description can be changed in the data collection
For instance if Line#10 is used
for something other than the TAMPER switch it will still be reported to the data collection system
as a TAMPER alarm. But you can change the alarm description at the central office to
accurately describe the event.
Lines #3 thru #8 are only available using an optional expansion board which isnot available
iguration of an Alarm Input
You can give this input a
of 15 characters or less. This is for your records only and
is not reported to the data collection system.
. If the input is a normally
. If you are combining lines together to create a KYZ input, then
-C(Y-normally open) or Form
line then the next line will automatically be assigned as the other Form
” setting, in combination with the “
screen determines how long the switch needs to be closed or open before being considered a
“real” alarm event. Debouncing and sample rates are discussed in more detail later in this

perating and Installation
Immediate Call on Input Going Active
the CNI2 to call immediately into the
” will cause the CNI2 to call immediately into the
the alarm event will be reported on the next scheduled call.
” boxes are checked the data collection system (
) has the ability to override them.
Input Going Active Indicates Primary Power Source h
” is usually used in systems
that contain a primary power source (ac or solar) and also an emergency backup battery.
power conservation mode until the alarm event is over. During this
time some features may not be a
vailable. For instance if the CNI2 is configured to respond to
SMS pages, which requires that the radio be powered up and running all the time, this mode will
be temporarily suspended and the radio will be powered down until the primary power has been
Default Alarm to Primary Destination
” box the CNI2 will call into the Primary
destination phone number or IP address. Otherwise you can specify a unique destination for
n be configured to perform a predefined function that does not relate to alarm
counting. At this time there is only one function, and that is to start and / or
end what is called “Server Mode”. Server Mode allows the CNI2 to accept conne
from the central office over the Internet.
In many cases the CNI2 will only enter Server Mode for brief periods throughout the day. One
way to make this happen isto configure one of the inputs as a Server Mode control line.
creen shot illustrates how Line
12 (connector J7) is used for this purpose. The
”. The input is configured as a Form
Enable Server Mode on Input Going Active
selections will appear. One selection will terminate the Server Mode after a user
configuration screen). The other selection will terminate the Server
Mode when the input returns to the inactive (open

perating and Installation
Counting Input Parameters
Configuration of a Pulse Counting Input
is for your records only and
is not reported to the data collection system.
If the input is a normally
. If the input is a normally
. If you are combining Lines
er to create a KYZ input,
one line then the next line will automatically be assigned as the other Form
inherit the partner’s settings. Allowed F
” setting, in combination with the “Sample Rates” setting on the OPTIONS
screen determines how long the switch needs to be closed or open before being considered a
Debouncing and sample rates are discussed in more detail later in this
” is not currently supported.
has the capacity to save a total of 30,000
records before it starts to
overwrite the oldest record
s. These are divided equally between all active pulse
channels. If only one channel is used for pulse
channels are active then each channel is allocated
1/3ofthe memory, or 10,000

perating and Installation
If you do not require pulse
The data collection system (
) must know how many pulse
channels are activated. The minimum is 1
When the data collection system receives the pulse records from the CNI2 it expects them to be
in a specific order starting with the 1
ut and ending with the last. The CNI2 does not have
restrictions regarding the order in which you program the pulse
counting lines. You could
program Line #1 and Line #2 as alarms and #9 and #10 as pulse
counters. To stay compliant
is how the records are sent:
The very 1st line that is programmed for pulse counting is considered “Input
The next line that is programmed for pulse counting is considered “Input
The next line that is programmed for pulse counting is considered “I
The next line that is programmed for pulse counting is considered “Input
C pair is treated as only one input.
Lines #1, 2, 9 and 10are configured as alarm inputs and Lines #11 and #12 for pulse
Line #11 is presented as “Input
2009 because it’s the 1st line programmed for pulse
counting. Line #12 is presented as “Input
2” because it’s the 2nd line programmed for pulse
Here’s another example involving a mixture of Form
Lines #1 and #2 are programmed for pulse
A operation. Lines #11 & #12 are
C pulse counting. Line #1 is presented as “Input
it’s the 1st line programmed for pulse
e #2 is presented as “Input
the 2nd line programmed for pulse
counting. Lines #11/#12 are presented as “Input
they are the 3rd set of lines programmed for pulse

perating and Installation
An output line can be configured
You can give this input a
characters or less. This is for your records only and isnot reported to the data collection
Output Under Host Control
has the ability to control up to 3 output lines. These can
be used to activate external
equipment such as pumps or audible alarms.
These outputs are controlled using the
This is discussed in an upcoming chapter.
trictions on which digital signals can be programmed as outputs. But DC
1, 2 and 3. So here is how the CNI2 handles this:
The very 1st line that is programmed as a host
controlled output is considered “Relay
e that is programmed as a host
controlled is considered “Relay
The next line that is programmed as a host
controlled is considered “Relay
When a line is programmed as an alarm or pulse
counting input its state can be r
any one of the output lines, within the frequency limits of the CNI2. This allows other pulse
sensing equipment to have access to the same information. For instance the
CNI2 may be counting pulses and there may be another p
iece of equipment located nearby that
needs to count these pulses too. The CNI2 can be programmed to transmit a replica of the
input signal to this other piece of equipment.
To use this feature select the desired output line. Then from the selection lis
“Output Follows Input #x”
where “x” is one of the input lines. For instance you may want Input
Line #1 to appear on Output Line #12. You would select Line #12 and then program is as
There are some timing limitati
ons when using this feature.
This will be discussed shortly.
Control” feature, the outputs are not changed until the
call has ended and declared a good call.
Whenever the CNI2 is powered up or reset, all output
s that have been configured
for host control will be in an open
circuit condition until changed by DC

perating and Installation
The CNI2 has several modes of operation. It can serve as a data logger for pulse
ations, a transparent modem to allow the host system to communicate with
an external piece of equipment, or as a short
When the CNI2 calls into the data collection system (
a Metretek “SIP” data logger.
In this mode the CNI2 serves as a data logger for pulse
and alarm sensing applications and uses the legacy Metretek communications protocol.
term “SIP” refers to a Metretek data logger called a Survey I
supports both CSD and IP (internet) communications with the CNI2.
supports CSD connections (see next topic).
does not support internet connections
is necessary to install another software product called “
a modem emulator and a transparent “bridge” to the internet. In this case you should select
The CNI2 contacts the InvisiConnect
server first. Data is then transferred between
system as though the connection was occurring over a wired

perating and Installation
pecialist for additional details and ordering
Server is a software application that acts as a modem emulator and a
transparent “bridge” to the internet.
The CNI2 acts as an alarm
-sensing unit as well as a transparent communications link between
a device attached to its serial port and the host system that is connected to InvisiConnect
Server. The CNI2 does not support pulse
t Specialist for additional details
MAX or Mercury Pulse Accumulator
When the CNI2 calls into the data collection system (
) it will identify itself as
MAX or Mercury Pulse Accumulator.
In this mode the CNI2 serves as a data
counting and alarm sensing applications and uses the legacy
which options were purchased
Mercury Pulse Accumulator
because there is less data to transfer resulting in shorter calls. If “
selected the CNI2 will report values of 0 for any parameters relating to pre
This mode is primarily used by the InvisiConnect
modem setup the central computer can usually contact the
number. On the Internet there are servers and clients. A server is usually a computer
system that is always running and always “listening” for connection requests from clients.
When you use your personal computer to access a website your PC is the clie
A client cannot be contacted
via the Internet. In many cases the CNI2 acts as a client
can be “paged”. The page then causes the CNI2 to call back
immediately to the central office.
ne method of paging is by Short Message Service, or SMS. SMS is often used to send short
text messages between two cellular phones. In some cases a message can be sent from a
computer using a traditional SMTP (email) server.
At the present time the CNI2 does not fully support
Product Support Specialist for additional details

perating and Installation
But there may be obstacles
to sending an SMS. First, the computer running
system may not have access to an SMTP server. Or if the computer is using a cellular modem
to connect to the Internet it may not be able to send SMS messages without first terminating th
Internet connection. Finally, for security reasons,
some cellular providers only allow SMS
messages to be exchanged between two mobile devices, and not between a mobile device and
is a special configuration of a CNI2. Its
sole purpose is to allow the central
mobile SMS messages via the cellular network without interfering
with existing Internet connections or requiring an email server connection.
In this mode the CNI2 serves a
s a communications device only and does not count pulses or
report alarms. It establishes a two
way connection between the central office and any serial
As a transparent modem a call can be triggered by an ala
rm event (CALL switch, TAMPER
switch, etc.). However since it is not calling a known data collection system such as
it has no way to report the actual reason for the call.
only applies when the CNI
2 is configured as a Metretek SIP, a
MAX or Mercury Pulse Accumulator.
At the beginning of a call the CNI2 will attempt to communicate with the data collection system
using the Metretek or Mercury protocol. If after a short period of time
response from the system,
” box is checked, the CNI2 will establish
a transparent communications link between the device attached to its serial port and the host
Here’s an example of how this
might be used. Let’s say the CNI2 is counting pulses from its
UMB index and its serial port is connected to a digital camera. The CNI2 will normally call into
information. The data collection system does not
w that there is a camera at the site and wouldn’t know how to communicate with it anyway.
Now another application program
wants to capture an image of the
site where the CNI2 is located.
After the CNI2 connects and does not receiv
Metretek or Mercury response it will establish a connection to the camera. At this point the
application program can now communicate directly with the camera and will close the
connection when finished.
ation screen (to be discussed shortly) is a setting called
”. During transparent mode if there is no communications between the host
system and the serial device for this period of time, the CNI2 will terminate the connection by
his period of time has a direct impact on battery life and should be kept as short as is
reasonable for the application.

perating and Installation
Also see the next discussion about port selection as this also affects the transparent mode of
When Answering if No Port
when the CNI2 is allowed to enter “transparent”
CNI2 will establish a transparent communications link between the host system and the device
attached to one of its serial ports
. This mode is only possible if (a)
the CNI2 has been configured as a “
” or (b) the CNI2 is configured as a
Metretek or Mercury data logger
This can be expanded to two ports using the
Serial Port Multiplexer discussed earlier in this document. Future options will allow up to 7
additional ports to be added.
Each port is assigned a unique ID number using the
Serial Port Configuration
1 is automatically assigned the RUID that isassigned to the entire
2 and beyond are assigned unique ID numbers by you.
When the CNI2 receives an incoming connection request
needs to know which serial port to select for the call. Once the connection with the host
is established the CNI2 will wait a certain number of seconds
(defined by you) for a special
from the host. This command has the fo
here “xxxxxx” is the ID of one of the serial ports and <cr> is a carriage return character.
“xxxxxx” must contain all six digits of the RUID including leading 0’s.
number in the command is valid
screen), then CNI2 will return the following response:
where “xxxxxx” is the ID of the serial port, <lf> is a line feed character and <cr> is a carriage
If the ID number in the command is not in the list, or if that particular port is not enabled (via the
Serial Port Configuration
” port will be selected and the CNI2 will
return the following response:
UMBER OR PORT IS NOT ENABLED
+PA command is not received within the specified time frame then the CNI2 will select a

perating and Installation
Port Selection in Transparent Mode
the Serial Port Multiplexer board). Port
the Serial Port Multiplexer board.
” will cause the CNI2 to select the next enabled port with each call. For instance if
1 will be selected on the first call, Port
3 on the third call and back to Port
With each call the CNI2 will send thefollowing message to the host system:
where “xxxxxx” is the ID of the serial port, <lf> is a line feed character and <cr> is a carriage
When the batteries get low the
will start logging and reporting low
. The voltage level is preset
at the factory for most applications
Immediate Call on Low Battery Condition
” box the unit will immediately call in
whenever the low battery point is reached. If this box is unchecked then the low battery
condition will be reported on the next call.
” box is checked the data collection system (
has the ability to override it.
will record the time of the day that the alarm event occurred and th
reported to the central office.
up to siz sources although the data collection system
) will only accept up to 4.
and the total for that period is saved as
It then starts the counting process over for
the next time interval and this process continues indefinitely.
The place where this is stored is

perating and Installation
. A shorter time period allows
you to observe small changes with more detail. But it also consumes memory more quickly,
to need to communicate with the data collection system more frequently
. This can have an impact on both battery life and the cost of the
save a total of 30,000 records before it starts to overwrite the oldest records.
These are divided equally between all active pulse
channels. If only one channel is
locations will be used for that channel. If using a
10-minute interval it would take a little over 200 days to reach the end of the memory. If
en each channel is allocated
1/3 of the memory, or 10,000
Each record consumes 2 bytes of memory. For a queue size of 30,000 records select the “60K”
size. For a smaller queue (16,000 records) select the “32K” size.
) has the ability to request the entire contents of the queue, so a smaller
ll result in a shorter call, lower power consumption and lower cellular costs.
To prevent the loss of accumulated data the
CNI2will place an immediate call to the central
” reaches a certain point. You can define this as any percentage
between 1% and 100%. Default is 75%.
does not inspect the state of the inputs 100% of th
e time; otherwise it wouldn’t have
time to perform any other functions. Rather the
of the lines one or more times each second. You can configure the
sample per second or as many a
s 50 samples per second. The
divided into two groups, each with its own sampling rate.
1, 2, 9, 10, 11 and 12 are
3 thru 8 are in the other group.
Lines #3 thru #8 are only available usin
g an optional expansion board which is not available
The sample rate is based on how quickly you expect the inputs to change. Faster sampling
rates are used for quickly
changing inputs but results in higher power consumption. Too slow
f a sampling rate can lead to errors.
Debouncing and sample rates are discussed in more detail later in this document.

perating and Installation
Besides processing alarms and pulse data the
can act as a “transparent” modem. This
central computer to communicate directly with a device connected to the
232 serial port. An option board called the Dual Port Multiplexer allows a second port to be
added. Future expansion boards will offer even more ports.
Each serial port must be assigned a unique
number. The format follows that of
the Primary RUID discussed earlier. Serial Port
1 is the physical port TB2 onthe
Primary RUID. Its Port Select ID is grayed out and cannot be
box to turn on a serial port.
Ports must be enabled in ascending order
1 is enabled, and then you skip
this will automatically enable Ports
2 and 3 as well. Conversely if Ports 1 thru 4 are enabled
2, this will automatically disable Ports
Max BPS. Data Bits, Parity, Stop Bits
ters must match the settings of the device connected to

perating and Installation
There may be situations in which the device connected to the serial port is sending data at a
volume that exceeds the CNI2’s capacity to process it and pass it on t
In packet mode the data from the serial device is assembled into a “packet”, then sent on to the
central computer. A packet cannot be larger than 1100 bytes and each packet’s arrival at the
central computer must be verified bef
ore another can be sent. Due to latency in the cellular
networks and on the Internet each exchange may take several seconds to complete. During
this time it may be necessary to stop the serial device from sending any more information. The
Some devices do not support any kind of handshaking and may have large messages to send.
This is not usually a problem in CSD mode because each byt
e is immediately sent to the central
computer. In packet mode when the user
defined packet size is reached it is sent to the server.
Meanwhile the data that continues to be transmitted by the serial device is stored in memory.
After the previous packet
has been sent another is collected, packaged and sent.
packet is delivered to the server
However, it is possible for the serial device to eventually overrun the memory if the packets are
w to be delivered to the server. This may lead to the loss of data. One possible solution is to
reduce the baud rate between the serial device and the CNI. This may give the
time to deliver packets and keep up with new data.
ral methods commonly used to control the flow of data between serial devices,
generally called “handshaking”.
. Other selections are for other applications and should not be used.
handshaking uses additional signals on the hardware interface to stop and start the
’s terminal block is an output signal called DSR.
This signal would normally be connected to the “C
. Initially the DSR line will be positive. A positive voltage on this line indicates that the
may transmit data. When DSR goes negative, the
en the connection is terminated the DSR line will go negative for a brief
moment and then go positive until the next connection.

perating and Installation
handshaking (also called “software hand
shaking”) uses two ASCII characters to stop
and start the flow. The CNI
will send an “Xoff” (19 decimal or 13 hex) to the
stop the transmission, and an “Xon” (17 decimal or 11 hex) to resume transmission. Once an
should halt its transmission. Also the DSR line will
remain positive throughout the session. When the connection is terminated the DSR line will go
negative for a brief moment and then go positive until the next connection.
is selected the DSR line will remain positive throughout the session. When the
connection is terminated the DSR line will go negative for a brief moment and then go positive
until the next connection.
In CSD mode each byte of data fro
passed on to the central computer, and visa versa. In this case flow control is generally not
” can be selected as the flow control method.
100bytes in one message and must
receive a response before sending another message, then the flow control can be set to
Select this when using the optional RS485 conversion board and only when it is being used in
In packet mode the data from the serial device is assembled into “packets” and sent on to the
central computer. The maximum size of the packet isprogrammable and cannot exceed
bytes. The data from the serial devic
e is sent out whenever it exceeds the maximum packet
However some or all messages from the serial device may never exceed the maximum packet
must have a way to determine when the serial device’s message is
ady to send to the host. Some serial devices may
particular character like a carriage return or line feed. However for other devices these two
characters may be meaningful data. Therefore searching for a particular terminating
may not work in all cases.
determines when a message is complete when there have been no characters
received from the serial device for a certain period of time. This value can range from 1 to
65535 milliseconds and may have to be d
etermined experimentally. A value that is too low may
cause a message to be sent is several packets. Also, each packet contains the device’s
message along with some overhead information used for routing and error checking. Breaking
into several packets means more overhead and could affect the cost of
the cellular service. Remember, the cost of packet service is usually based on the number of
bytes exchanged in a month.

perating and Installation
Choosing a value that is too high may cause the application p
rogram running on the central
computer to abort or retry too often because it did not receive a response within an acceptable
Start with a value of 50 ms and fine
Always Send CONNECT Message
The serial device connecte
d to the CNI2 can request a call or answer an incoming call by
issuing specific “AT” commands such as “ATD” (dial) or “ATA” (answer). When the connection
with the central computer has been established the
will send a “CONNECT” message to
evice to let it know that the connection has been established.
can also place a call on its own in response to an alarm condition or some other
event. In these situations the
would not normally send a “CONNECT” message to the
. However some devices may require a “CONNECT” message before allowing
further communications. By checking the
Always Send Connect Message
always send a “CONNECT” message every time it connects with the central computer,
serial device connected to the CNI2
may have been programmed to
automatically answer incoming calls. After the call is answered and a connection is established
r a “CONNECT” message is usually sent to the
In other applications the serial
device might control when incoming calls will be answered. The
will send a number of “RING” messages to the
serial device and wait for the serial
respond with an answer (“ATA”) command. If this mode is required, check the
will send up to three “RING” messages to the remote device.
If an “ATA” is received the
will respond with a “CONNECT” message. If no
will send a “CONNECT” message only if the
Always Send Connect Message
compatible modems a “verbose” message is usually a readable text string such as
G”. A “terse”, “numeric”, or “non
verbose” message typically consists of
one or two numeric digits, such as “2”. The CNI
defaults to verbose messages, but the remote
device can change this by issuing an “ATV”
command. However some devices may
verbose messages and will not issue any additional commands to make this
happen. In this case check the
applications and is not currently suppo
Alternate CONNECT Message
Usually the serial device requires some sort of notification when a connection has been
established with the central computer. Often this message will be “CONNECT xxxx”, where
“xxxx” indicates the baud rate, such as “
CONNECT 9600”. The CNI2 defaults to this format, but

perating and Installation
the serial device can change this to a simple “CONNECT” message by issuing an “ATX”
command. However some serial devices may simply expect a simple “CONNECT” message
and will not issue any additional c
ommands to make this happen. In this case check the
You must specify the exact message in the
window. This includes non
readable (control) characters. Non
verbose responses are often one to two ASCII numbers
followed by a carriage return character. Verbose messages are normally preceded and
followed by a carriage return and line feed combination. Use the “Enter” key on your keyboard
to insert a carriage return and line feed combination. To insert a single l
and hold the ALT key while on the keyboard’s numeric keypad enter the digits 0 1 0. Then
release the ALT key. To insert a single carriage return character press and hold the ALT key
while on the keyboard’s numeric keypad enter th
e digits 0 1 3. Then release the ALT key. In
either case you will not actually see the characters in the window, but you may see the cursor
Some serial devices may indicate a desire to place a call by
ctivating a control line. On
the CNI2’s TB2 terminal block is an input line called DTR.
If the DTR input line on the
communications terminal block goes positive, the CNI
will wait 10 seconds for an “ATD” (dial)
Otherwise a call will be placed
Always Send Connect Message
ice once the connection with the central computer has been
established. The call will end with a “NO CARRIER” message. If the connection cannot be
established a “NO CARRIER” message is returned.
two remote devices can be wired to t
ortMultiplexer board. Either remote device can raise the DTR line but the CNI
be able to determine which device isactually asserting the line. If the wrong port is selected
when this happens the CNI
may not see the “ATD” command if the remote device issues one.
power “sleep” mode it can only detect that the DTR line has gone
B” position. See the next illustration.

perating and Installation
CDMA Service (Aeris, Verizon, Sprint)
CDMA is an abbreviation for
technology was originally developed for military applications but was eventually commercialized.
This communications standard is widely used in North America and in some parts of Asia and
Rather than dividing calls
into time slots like GSM, CDMA allows all users to transmit at the
same time. Each call is accompanied by a unique digital code that allows it to be differentiated
from the rest. As an analogy suppose you are in a crowded room and many conversations are
taking place at the same time. Your brain is able to distinguish the conversation you are having
with your friend because it is able to focus on your friend’s voice characteristics. As the room
grows more crowded each person must talk louder and the siz
e of the conversation “zone”
grows smaller. You may have to move closer to your friend to keep the conversation going.
Thus the number of conversations is limited by the overall interference and noise in the room.
A cellular account must be activated
with a cellular service provider prior to placing a
The service provider may ask the device type, which must be specified as the “
CDMA Packet (Internet) Service
ingle carrier, radio transmission technology (1X or 1XRT
added to a standard voice plan, or may be a stand
Packet service packages are generally priced by the number of bytes to be transferred rather
than by the minute. Typically the smallest available package
will be 1 megabyte (1 Mb) per
month. The amount of data that the
will produce depends upon what sort of data is
The amount of information exchanged on each call may range from
several hundred bytes to 10’s of thousands of
bytes. It may be necessary to test the system for
several months and then adjust the cellular account for the best cost based on your needs.
requires full Internet access because the data collection software could be running on
ted anywhere in the world.
Full access is usually assigned to customers who will
be connecting a cellular modem to a personal computer.
One parameter that will be needed is the packet service connection command. In most cases
but you may want to check with your service provider.
CDMA Circuit Switched Data (CSD) Service
The service provider must support asynchronous circuit
switched data (CSD) exchange at the
baud rate of the central computer’s modem.
ty may be included as part
of a standard voice package or it may be an add
on feature at extra cost.
One consideration when ordering service is the frequency of calls to and from the
service provider offers different packages that may includ
e a fixed number of minutes per month
for a fixed price. However, when this number is exceeded, the cost per each additional minute

perating and Installation
can be very high. There are also variations in the way “minutes” are measured. For example, a
call lasting 1 minute 10 se
conds may be considered to be a 2
minute call by some providers. It
might be possible to purchase less expensive packages that have additional “weekend” or
“evening” minutes, and then schedule the
to call in at those times. Some plans may offer
1stminute free. This might be advantageous for short calls.
Another consideration when ordering service is the location of the
service provider’s network. It is best to describe where the units will be located and where they
will be calling, otherwise you could be charged “roaming” or long
distance fees. Some providers
offer free long distance or no roaming charges aspart of their basic plans.
The final consideration is the direction of the calls. If the
service must support “mobile
originate” service. If the unit is to receive calls, then “mobile
terminate” service is required.
need the following information:
Type of cellular service desired, which is
The device type, which must be specified as the “
Data rate. This rate must match the speed of central computer’s modem.
Number of minutes per month.
and the location of central computer (to determine if “roaming” or
long distance charges apply).
The service provider will need to know the “MEID” number printed on the radio.
printed on a label on the radio.
the-Air-Activation (OTAA)
Unlike GSM, CDMA technology does not support the use of a SIM memory card (Subscriber
Identity Module) to hold and transport account information. Therefore the account information
must be downloaded into the cellular radio’s own memory. For some carriers
accomplished by dialing a special phone number to request “over
the-air-activation” (OTAA).
The activation phone number is specific to the service provider and must be programmed into
The OTAA process does two things. After the first
successful OTAA call a new phone number
is programmed into the phone. This is the number that can be used to page the unit via a
phone or data call, or via an SMS message. It also starts the account billing process. Second,
a “preferred roaming list” (
PRL) is downloaded into the phone. This instructs the radio which
service provider(s) to search for and connect to.
the-air activation is attempted whenever the unit is reset. Another call will be attempted if
the first one fails. After two unsucc
will go into an idle mode and will
attempt another OTAA call every hour until one issuccessful. Until then the unit will not be able
to call in to the data collection system.
After the first successful call an OTAA call is th
en performed every 7 days. The reason for this
is that cellular service providers often make arrangements with other providers to carry calls in
areas where their own equipment and towers do not exist. These agreements allow the call to

perating and Installation
o additional charge. The preferred roaming list says that it is acceptable to
connect with these carriers. However at some point your service provider may install new
equipment in these areas and the contract with the partner may be terminated. In this
situation roaming fees will be added to each call if the radio is allowed to connect to the other
carriers. This is why it is important to periodically update the PRL.
For service providers that do not support “o
Go to the Cellular Settings screen and s
Cellular Configuration Screen
In some cases after purchasing CDMA service the radio must
dial a special phone number to be
activated and to have account information downloaded into the phone’s memory. This phone
number is specific to the carrier and must be entered into the “
s usually *228,,,,,1; (*228 followed by five (5) commas,
then a “1” followed by a semicolon)
If your CDMA service provider does not support OTAA programming then leave this

perating and Installation
Packet Service Connection Command
This command is issued to
the cellular radio to request a packet (Internet) connection. For most
CDMA service providers the phrase “
” will work, and this is the default setting for the
If you are having problems connecting, this could be the problem.
Contact your service provider
If there is no communications between the
will terminate the connection. Recommended value is 30 seconds.
Not used in this application.
Source Port Starting / Ending Numbers
This only applies to packet (Internet) connections.
on your computer and thus must be
allowed access to the outside worl
d. Most corporate computer systems use firewall technology
to prevent unauthorized and potentially damaging access from outside sources. To minimize
exchange private information using
. If this exchange fails, the
calls in it assigns itself what is known as a “
can be assigned only one or a
specific range of source port numbers
that the firewall will allow through.
Valid source port numbers are 40000
will use a new number with each call.
For example for a range of 50000
50010, the first call will use 50000, the 2
so on. When 50010 has been used the next port number will roll back to 50000.
PAP User Name and Password
As an added security measure some cellular service providers require Password Authentication
Protocol, or PAP, to gain access to their
Internet service. The radio must present a user name
and a password that was assigned when the cellular service was purchased. The user name or
password can be any combination of printable characters, including spaces, such as “Bob
total number of characters for
the user name and password cannot
exceed 48 characters. Often the cellular provider has a specific format for the username and
password, so you will need to obtain that information from them.
The password is hidden on
this screen for added security. You must enter the password twice
to verify that it was entered correctly.

perating and Installation
If PAP is not required then
the user name and password fields
be blank, otherwise the connection may be refused.
The setting has no affect in CSD mode. In packet (IP) mode the data from the
assembled into “packets” and sent on to the central computer. The maximum packet size is
1100 bytes. Depending upon cellular network congestion and the
connection, it may help to reduce the packet size. The larger the packet, the more chance there
is for errors. Several smaller packets may have a better chance of arriving intact than a single
large one. As each packet arrives at t
he central computer, it is checked for errors. If a packet
arrives with errors, the computer will request retransmissions until it arrives intact or until a
maximum number of retries have occurred. This can introduce significant delays and may
he cost of the cellular service. Remember, the cost of packet service is based on the
number of bytes exchanged in a month. Excessive retries may cause your maximum plan limit
If you notice excessive retries, or if the connection betwe
terminates early or often, this may be the cause.

perating and Installation
GSM is an abbreviation for
obile communications. This commun
standard is widely used throughout Europe, Africa, Asia and parts of North and South America.
Messages are digitized into packets and sent in brief bursts during allocated time slots using a
variation of TDMA (Time Division Multiple Access) techni
ques. Up to 8 cellular phones can thus
share the same frequency band, which in turn permits the system to support more users with
existing equipment. Efficient utilization of spectrum is an important consideration for service
providers since there is only
a limited bandwidth space that has been allocated to cellular phone
Most GSM systems throughout the world operate on either the 900 MHz or 1800 MHz
communications bands. In North America most GSM systems operate on the 850 and 1900
GSM Packet (Internet) Service
Some GSM service providers may not offer all forms of data transfer. General packet radio
service (GPRS) may have to be added to a standard voice plan, or may be a stand
GPRS packages are generally priced
by the number of bytes to be transferred rather than by
the minute. Typically the smallest available package will be 1 megabyte (1 Mb) per month.
The amount of data that the
will produce depends upon what sort of data is requested
ount of information exchanged on each call may range from several hundred
bytes to 10’s of thousands of bytes. It may be necessary to test the system for several months
and then adjust the cellular account for the best cost based on your needs.
to connect to the Internet, the cellular service provider has its own computer equipment
called a “gateway” server, aptly named, as it is their gateway to the Internet. The server will
have an “APN” (access point name), usually in the form of a domain na
“internetaccess.providername.com” or something as simply as “proxy”. Contact your service
provider for this information. This APN will be needed when configuring the
Service providers may have several different gateways to choose from, d
type of service required. “Web phones” (cellular phones that support Internet access) are
generally assigned to a gateway that only connects to WAP services (wireless application
requires full Internet access because
the data collection software could be
running on any server located anywhere in the world.
Full access gateways are usually
assigned to customers who will be connecting a cellular modem to a personal computer.
Another parameter that will be needed is th
e packet service connection command. In most
cases the command will be
but you may want to check with your service provider.
A cellular account must be activated with a cellular service provider prior to placing a
provider may ask the device type, which must be specified as the “

perating and Installation
GSM Circuit Switched Data (CSD) Service
For CSD service the GSM service provider must support asynchronous circuit
(CSD) exchange at 4800 or 9600 baud. The b
aud rate must match the baud rate of the central
Sometimes this capability may be included as part of a standard voice
package or it may be an add
on feature at extra cost.
One consideration when ordering service is the frequency of c
service provider offers different packages that may include a fixed number of minutes per month
for a fixed price. However, when this number is exceeded, the cost per each additional minute
can be very high. There are als
o variations in the way “minutes” are measured. For example, a
call lasting 1 minute 10 seconds may be considered to be a 2
minute call by some providers. It
might be possible to purchase less expensive packages that have additional “weekend” or
g” minutes, and then schedule the
to call in at those times. Some plans may offer
minute free. This might be advantageous for short calls.
Another consideration when ordering service is the location of the
rovider’s network. It is best to describe where the units will be located and where they
will be calling, otherwise you could be charged “roaming” or long
distance fees. Some providers
offer free long distance or no roaming charges aspart of their basi
The final consideration is the direction of the calls. If the
is to originate calls, then the
service must support “mobile
originate” service. If the unit is to receive calls, then “mobile
terminate” service is required.
vider will need the following information:
Type of cellular service desired, which is
.The device type, which must be specified as the “
Data mode is to support 4800 or 9600
baud operation. This rate must match
of central computer’s modem.
Number of minutes per month.
and the location of central computer (to determine if “roaming” or
long distance charges apply).
r may need to know the “IMEI” number printed on the radio.

perating and Installation
will be making an Internet connection the cellular service provider will need to
provide an Internet APN (access point name). In order to connect to the Internet, the provider
has its own computer equip
ment called a “gateway” server. The server will usually have an
APN in the form of a domain name, such as “myserviceprovider.com” or a generic name such
as “proxy”. Contact your service provider for this information.
Packet Service Connection Command
This command is issued to the cellular radio to request a packet (Internet) connection. For most
GSM cellular service providers the phrase “
will work, and this is the default setting for
If you are having problems connect
ing, this could be the problem. Contact your service provider
If there is no communications between the
a collection system for this many
will terminate the connection. Recomm
ended value is 30 seconds.
Not used in this application.
Source Port Starting / Ending Numbers
This only applies to packet (Internet) connections.
on your computer and thus must be
llowed access to the outside world. Most corporate computer systems use firewall technology
to prevent unauthorized and potentially damaging access from outside sources. To minimize
bit data encryption standard. If this exchange fails, the
connection is terminated by both
calls in it assigns itself what is known as a “
e assigned only one or a specific range of source port numbers
that the firewall will allow through.
Valid source port numbers are 40000
will use a new number with each call.
For example for a range of 50000
50010, the first call wil
so on. When 50010 has been used the next port number will roll back to 50000.
PAP User Name and Password
As an added security measure some cellular service providers require Password Authentication
to gain access to their Internet service. The radio must present a user name
and a password that was assigned when the cellular service was purchased. The user name or

perating and Installation
password can be any combination of printable characters, including spaces, such as “B
Smith” or “1234”. The total number of characters for
the user name and password cannot
exceed 48 characters. Often the cellular provider has a specific format for the username and
password, so you will need to obtain that information from them.
The password is hidden on this screen for added security. You must enter the password twice
to verify that it was entered correctly.
If PAP is not required then
the user name and password fields
be blank, otherwise the connection may be re
GSM cellular radios require a memory card called a SIMcard (Su
This is issued when the cellular service is purchased. A SIM holds information about the
account so that certain services are made available t
o the customer such as Internet access. A
SIM card can be moved to a different phone or radio, and the account information moves with it.
Though convenient, this may encourage someone to steal the SIM card, insert it into his or her
d make hundreds of hours of calls that will be billed to you or your
tification number (PIN) is an extra security measure to prevent unauthorized use
of a SIM card. The PIN number can range from 1 to 8 numeric digits long and can
by the cellular service provider when the card is activated.
The setting has no affect in CSD mode. In packet (IP) mode the data from the
assembled into “packets” and sent on to the central computer. The maximum packet size is
1100 bytes. Depending upon cellular network congestion and the quality of the radio
connection, it may help to reduce the packet size. The larger
the packet, the more chance there
is for errors. Several smaller packets may have a better chance of arriving intact than a single
large one. As each packet arrives at the central computer, it is checked for errors. If a packet
computer will request retransmissions until it arrives intact or until a
maximum number of retries have occurred. This can introduce significant delays and may
increase the cost of the cellular service. Remember, the cost of packet service is based on th
number of bytes exchanged in a month. Excessive retries may cause your maximum plan limit
If you notice excessive retries, or if the connection between the
terminates early or often, this may be the cause

perating and Installation
iDEN is an abbreviation for
standard was developed by Motorola and provides
its users the benefits of a trunked
a cellular telephone. Up to six communication channels share a 25 kHz space.
on either the 800 MHz or 900MHz bands and is based on time division multiple access (TDMA)
communications, as well as voice and two
an iDEN radio requires a memory card called a SIMcard (Subscriber Identity
GSM. Refer to the previous section for information.
One parameter that is not required is the
ernet APN (access point name), so this field is
Packet Service Connection Command field blank.
Due to the availability of iDEN radios support for iDEN service will not be offered
after 2010 and may be discontinued earlier.
HSPA (High Speed Packet Access) is not yet supported by the CNI2. If this selection is made
lay an error code of “15” until another selection is made.

perating and Installation
attempts a call and the call is unsuccessful for any reason, it can try the call again at
an also be told to retry the call to a different computer
or not retry the call at all
s are installed and programmed to call the same system around the same time
then it is likely that afew of the calls may fail due to network congestion
system may not be configured to accept that many calls at once. To reduce the chance of
retries it is best to spread the call schedule out among all of the units.
This is the number of times that the
will try to repeat a call at the
rate, which is a value between 1 and 255 minutes. Once a call is successful the retry
strategy is cancelled. But if the
is exhausted then subsequent calls will be
Secondary Call Retry Interval
value is specified as 0 then
primary retry attempts are made and
will go immediately to the
aggressive retry strategy will reduce battery life.

perating and Installation
Primary Call Retry Interval
This is the number of min
utes to wait between each Primary retry attempt. The range is from 1
Secondary Call Retry Interval
has expired, or if it was set to 0 to begin with, the
of hours between each additional attempt, up to 255
maximum. There is no limit to the number of times the
will attempt a call at this rate.
Once a call is successful the retry strategy is cancelled.
If the secondary interval is specified as 0 t
hen no further attempts will be made to retry the call.
Try Alternate Destination
and the call is unsuccessful for any reason,
the call to a different destination. If this 2nd call also
retry strategy described earlier. Each new retry will start with a call to the primary destination
followed by a call to the alternate destination if the call to the primary destination fails.
eful when there are several data collection systems sharing the same
database and the primary system is overwhelmed with other calls or is downfor maintenance or
Even if the retry strategy is disabled, if the
Try Alternate Destination
still try one call to the alternate destination if the call to the primary destination fails.
Enable Repetitive Call Schedule
In some applications you might want the
to call in at regular intervals. Check the box and
. This schedule will be followed as soon as the unit is reset or
For instance if the unit is to call in every 24 hours enter a value of 1440
le the retry strategy, set
recommended for most applications. Each time the CNI2
it is given a new time to call back
. If a call fails and the unit
is not allowed to retry the call, it will never receive a new call
back time and therefore will
not have a reason to call back again unless an alarm situation forces a new call.
If you do disable the retry strategy you may
want to consider using the
feature. With this enabled the unit will have another reason to call in at a later

perating and Installation
’s configuration and/or its operating program (called “firmware”) can be changed once
s installed in the field. This is called over
the-air (OTA) programming. At the present
time this feature is only supported when using the
only in Internet (IP) mode
does not support OTA changes
The remote unit ID (RUID) and Service Type (GSM or CDMA) cannot be changed
These can only be changed using a programming cable.
In some case and in some countries (Canada for example) a
metering device is not allowed
to have its program or configuration changed over
must be running on the same system at the same time.
on the bottom of the main MP32 screen will be enabled
when both programs are running.
Set up all configuration items as you would for any
on the bottom of the main MP32 screen. The following scr
It is extremely important that all configuration parameters be correct, especially those
related to the cellular network.
Otherwise the CNI2 may not be able to conta
ct the central office again.
site visit to correct the problem.