Campbell nl100 - RS232 - Internet Interface
Campbell nl100 - RS232 - Internet Interface
Revision: 10/07
Logan,
Utah
NETW NL10
POWE
R
ORK
LINK
0 SN:
G 12 INTER
V FACE
RS48
5
RS48
5
CS I/O MADE
IN US
A
RS23
2
N
NK
LA
LI
10 BA
CS I/ SE T
O
RS23
2
LAN
LINK
10 B
ASE
T
C o p y r i g h t © 2 0 0 0 - 2 0 0 7
C a m p b e l l S c i e n t i f i c , I n c .
Warranty and Assistance
The NL100/105 NETWORK LINK INTERFACE is warranted by
CAMPBELL SCIENTIFIC, INC. to be free from defects in materials and
workmanship under normal use and service for twelve (12) months from date
of shipment unless specified otherwise. Batteries have no warranty.
CAMPBELL SCIENTIFIC, INC.'s obligation under this warranty is limited to
repairing or replacing (at CAMPBELL SCIENTIFIC, INC.'s option) defective
products. The customer shall assume all costs of removing, reinstalling, and
shipping defective products to CAMPBELL SCIENTIFIC, INC. CAMPBELL
SCIENTIFIC, INC. will return such products by surface carrier prepaid. This
warranty shall not apply to any CAMPBELL SCIENTIFIC, INC. products
which have been subjected to modification, misuse, neglect, accidents of
nature, or shipping damage. This warranty is in lieu of all other warranties,
expressed or implied, including warranties of merchantability or fitness for a
particular purpose. CAMPBELL SCIENTIFIC, INC. is not liable for special,
indirect, incidental, or consequential damages.
1. Introduction..................................................................1
1.1 Physical Description of the NL100/105 ...................................................1
1.2 Specifications............................................................................................2
i
NL100/105 Table of Contents
Glossary
Figures
1. NL100 ........................................................................................................ 2
2. NL100/105 Jumper Placement................................................................... 6
3. Typical NL100/105 Setups in LoggerNet................................................ 20
4. LoggerNet Setup for NL100/105 to MD9 to Datalogger Connection ..... 21
5. LoggerNet Setup for NL100/105 to RF to Datalogger Connection......... 23
6. LoggerNet Setup for NL100/105 to Phone to Datalogger Connection.... 24
7. PC9000 Setup for TCP/IP Communication ............................................. 25
ii
NL100/105 Network Link Interface
1. Introduction
The NL100 and NL105 Network Link Interfaces are devices used to
communicate with Campbell Scientific dataloggers using an Ethernet 10 Base-
T communications link. The NL100 includes a CS I/O port (see Appendix A)
an RS-232 port, and an RS-485 port for communication; the NL105 adds a
TLink interface for communication with a CR9000(C) system.
1
NL100/105 Network Link Interface
Corner Screws
Mounting Tabs
Logan,
Utah
NETW NL10
POWE
R
ORK
LINK
0 SN:
G 12 INTER
V FACE
RS48
5
RS48
5
CS I/O MADE
IN US
A
RS23
2
N
12 V Power
NK
LA
LI
10 BA
Connection CS I/
O
SE T
RS23
2
RS-232
CS I/O Port
10 Base-T Link
Communication
Indicator LEDs
FIGURE 1. NL100
1.2 Specifications
Standards
Ethernet Standard IEEE 802.3 (CSMA/CD Access Method)
TCP/IP Protocol
Case Dimensions
9 ¼” x 4 ¼” x 1”
Environment
Temperature: -25 to +50 °C
Cable Specifications
The Ethernet 10 Base-T cable should be a Category 5 twisted pair cable.
The two active pairs in an Ethernet 10 Base-T network are pins 1 & 2 and
pins 3 & 6. Use only dedicated wire pairs (such as blue/white &
white/blue, orange/white & white/orange) for the active pairs.
RJ-45 Pin-Outs: Pin 1 = TD+, Pin 2 = TD-, Pin 3 = RD+, Pin 6 = RD-
2
NL100/105 Network Link Interface
The CS I/O 9 Pin cable is a straight through cable with all 9 pins
connected. Campbell Scientific’s SC12 cable is recommended.
The cable for the RS-485 connection is a 2 twisted pair, 22 awg cable.
CSI recommends the 9720 cable (with a Santoprene jacket) for use with
the MD485s.
Compliance
The NL100/105 is encased in metal and meets requirements for a Class A
device under European standards:
EUROPEAN REGULATIONS
WARNING: This is a Class A product. In a domestic environment
this product may cause radio interference in which case the user may
be required to correct the interference at the user’s expense.
The NL100/105 requires 12 VDC for operation. This power source can be
supplied by the datalogger's 12 V supply or by a regulated external power
source. When connecting the power leads, the ground lead should be
connected first and then the 12 V lead.
3
NL100/105 Network Link Interface
To use DevConfig to set up the NL100/105, first connect the NL100/105 to the
computer as noted above and follow the steps below:
2. Open DevConfig.
3. Highlight the NL100 in the list of devices which appears in the left-hand
portion of the window. Select the COM port to which the NL100/105 is
connected from the drop down list box at the bottom left of the window.
4. Press the Connect button and reapply power to the NL100/105. The device
may take up to 60 seconds to respond to DevConfig, and for the current
settings to be loaded into the Settings Editor.
The Settings Editor is the active tab when you are first connected. Settings can
be changed in this window by clicking within a field and entering a new value.
If the value being set has a finite list of choices, a second click within the field
will enable a drop down list box from which to select a valid option.
DevConfig has built-in help for each setting, which is displayed at the bottom
of the window. Use this information, along with Section 2.4 of this manual, to
configure the settings for communication in your network. Once the settings
have been defined, press Apply to save the changes to the NL100/105.
You can also use the Terminal tab in DevConfig to set up the NL100/105 using
the menus, as explained in the following section.
4
NL100/105 Network Link Interface
NOTE The NL100/105 is shipped from the factory with its RS-232 port
set in the ConfMon mode (configuration monitor). Refer to
Section 2.2.3 if the RS-232 port has been set to some other
configuration and direct communication is necessary.
To set up the NL100/105 for communication with the network, go into the Edit
menu (Section 2.4.3 Edit) and complete the appropriate information. Note that
the Ethernet 10 Base-T connection must be configured (Section 2.4.3.5) and at
least one of the other port options.
The other option is to connect a boot jumper, which bypasses the boot
sequence of the NL100/105. To access the boot jumper, remove the
NL100/105's cover by removing the four screws at the corners.
The boot jumper is shown in Figure 2 below. The NL100/105 ships with this
jumper connected to only one post. Place the jumper so that it connects the two
posts.
5
NL100/105 Network Link Interface
Jumper
6
NL100/105 Network Link Interface
2.3.1 TCPSer
When the port is set to TCPSer, it will act as a TCP serial server. Any packet
that is transmitted via the port will be sent using the TCP/IP protocol. This is
the simplest way to set up a port and will work in many scenarios, regardless
of whether the datalogger has a mixed-array or PakBus operating system.
2.3.2 PakBus
PakBus is a packet-based communications protocol developed by CSI. It is
used in the CR1000, CR800/850, CR3000, and CR200 dataloggers, as well as
CR10X, CR510, and CR23X dataloggers with a special operating system. One
of the advantages of PakBus communication is that PakBus devices in the
network can communicate directly with and route packets between other
PakBus devices in the network. In addition to the native PakBus packets, other
packet types, such as TCP/IP or ModBus, can be “wrapped” in a PakBus
packet and transferred among the PakBus devices in the network, thus
allowing for various communication protocols within one network.
2.3.3 PakBusSer
This option is used only in a PakBus network. In this mode when a packet is
routed out the port, the PakBus framing is removed from the packet. Typically,
the attached device would be one that does not support PakBus communication
(such as a ModBus device).
The NL100/105 prompt lists all of the available menu options. Only the first
few characters of the main menu options need to be typed – the remaining
characters will be completed automatically. Press <Enter> to execute the
command. Each menu option is explained below.
7
NL100/105 Network Link Interface
2.4.1 Ver
Ver returns version information about the NL100/105. The ROM number, OS
version, Ethernet physical address, and some diagnostic statistics are
displayed. Version information may be requested by a Campbell Scientific
Applications Engineer when troubleshooting a communication problem.
2.4.2 Show
The Show command displays the current settings for the NL100/105.
2.4.3 Edit
The Edit menu option is used to set up the communications link for the
NL100/105. You should work closely with your network administrator to
determine the correct settings for your specific network.
You can progress through the menu options by pressing <Enter>. If you make
a mistake after entering a setting, press the up cursor arrow on your keyboard
to return to the previous setting. All available selections will be listed on the
prompt line enclosed in parentheses, with the current setting displayed in
brackets at the end of the selections (e.g., [disabled]). Help for a setting can be
displayed by entering the ? key and pressing <enter>, or by pressing F1.
Once changes have been made and you have come to the end of the prompts
for the communication options, you can choose "save" to put the new settings
into effect or "cancel" to disregard the changes and keep the current settings.
TcpSer - The NL105 acts as a serial server for the TLink port. A serial server
is a device that allows serial communication over a TCP/IP communications
link. When configured as a serial server, there is one parameter to set:
8
NL100/105 Network Link Interface
TLink Serial Server Port Number - Enter the port number, in the range of
3000 to 65000, that will be used for TLink communication. The default
port number is 6781.
232-Bridge - The NL105 transparently passes data between the TLink port and
its RS-232 ports. The 232-Bridge configuration has only one setting, RS-232
bps. This is the bits per second (bps) at which the NL105 will communicate
with the device connected to the RS-232 port. This is a fixed rate (i.e., it is not
a maximum baud rate or an autobaud rate). The default is 115k bps.
When configured for PakBus the NL100/105's RS485 port has the following
settings:
RS485 Bps - This option is used to set the bits per second (bps) at
which the NL100/105 will communicate using the RF485 port. The
default value is 38K.
If both the beacon interval and verify interval are set to 0, a verify
interval of 5 minutes will be used.
9
NL100/105 Network Link Interface
TCPSer - This option configures the NL100 to act as a TCP/IP based serial
server when communicating with the datalogger over its RS485 port.
RS485 Bps - This is the bits per second (bps) at which the
NL100/105 will communicate using the RS485 port. This is a fixed
rate (i.e., it is not a maximum baud rate or an autobaud rate). The
default rate is 38K bps.
RS485 Serial server port number - Enter the port number, in the
range of 1 to 65000, that will be used for communication. The default
port number is 6782.
RS485 Bps - This is the bits per second (bps) at which the
NL100/105 will communicate using the RS485 port. This is a fixed
rate (i.e., it is not a maximum baud rate or an autobaud rate). The
default rate is 38K bps.
RS485 serial server AppId Number - Enter the application ID, in the
range of 1 to 65000, that will be used identify the device in the
network. The default ID is 6782.
NOTE CR10X, CR510, CR23X, 21X, and CR7 dataloggers ship with a
mixed array operating system. Mixed array dataloggers do not
support the PakBus communications protocol. Therefore, you
cannot communicate with them over a port configured for
PakBus. However, the CR10X, CR510, and CR23X dataloggers
can be special-ordered with a PakBus operating system. Check
with your technical support representative for details.
10
NL100/105 Network Link Interface
When configured for PakBus, the NL100/105's CS I/O port has the following
settings:
If both the beacon interval and verify interval are set to 0, a verify interval
of 5 minutes will be used.
NOTE A neighbor list is not specified because there is only one possible
neighbor.
TcpSer - This option configures the NL100 to act as a TCP/IP based serial
server when communicating with the datalogger over its CS I/O port.
11
NL100/105 Network Link Interface
CS I/O serial server port number - Enter the port number, in the range of
1 to 65000, that will be used for communication. The default port number
is 6783.
CS I/O Serial Server AppId number - Enter the application ID, in the
range of 1 to 65000, that will be used to identify the device in the
network. The default ID is 6783.
NOTE CR10X, CR510, CR23X, 21X, and CR7 dataloggers ship with a
mixed array operating system. Mixed array dataloggers do not
support the PakBus communications protocol. Therefore, you
cannot communicate with them over a port configured for
PakBus. However, the CR10X, CR510, and CR23X dataloggers
can be special-ordered with a PakBus operating system. Check
with your technical support representative for details.
12
NL100/105 Network Link Interface
When configured for PakBus, the NL100/105's RS-232 port has the following
settings:
RS-232 bps - This is the bits per second (bps) at which the NL100/105
will communicate using the RS-232 port. This is a fixed rate (i.e., it is not
a maximum baud rate or an autobaud rate). Note that the CR10XTD-PB
and the CR510TD-PB can communicate at a maximum baud rate of 9600
bps, so to communicate with one of those dataloggers, this setting must be
9600 bps or less. The default rate is 115K bps.
If both the beacon interval and verify interval are set to 0, a verify interval
of 5 minutes will be used.
RS232 Neighbor list - Enter a list of addresses for PakBus devices with
which the NL100/105 can communicate over the RS232 port. The
addresses are specified individually, with a space separating each address,
or a range of addresses can be entered by separating them with a hyphen
(e.g., 1 3 6 10-15, sets PakBus addresses 1, 3, 6, 10, 11, 12, 13, 14, and 15
as neighbors). If a Neighbor list is entered, the NL100/105 will ignore
packets from any device which is not in the list (unless the address of the
device sending the packet is 4000 or greater). If 0 is entered for this
parameter, the NL100/105 will respond to any device that sends a packet
and will automatically add that device to its neighbor list.
TcpSer - This option configures the NL100 to act as a TCP/IP based serial
server when communicating with a datalogger over its RS-232 port.
RS-232 bps - This is the bits per second (bps) at which the NL100/105
will communicate using the RS-232 port. This is a fixed rate (i.e., it is not
a maximum baud rate or an autobaud rate). Note that the CR10(X),
CR510, and CR200 can communicate at a maximum baud rate of 9600
bps, so to communicate with one of those dataloggers, this setting must be
9600 bps or less. The default setting is 115K bps.
RS-232 serial server port number - Enter the port number, in the range of
1 to 65000, that will be used for communication. The default port number
is 6784.
13
NL100/105 Network Link Interface
RS-232 bps - This is the bits per second (bps) at which the NL100/105
will communicate using the RS-232 port. This is a fixed rate (i.e., it is not
a maximum baud rate or an autobaud rate). Note that the CR10(X),
CR510, and CR200 can communicate at a maximum baud rate of 9600
bps, so to communicate with one of those dataloggers, this setting must be
9600 bps or less. The default setting is 115K bps.
RS-232 Serial Server AppId number - Enter the application ID, in the
range of 1 to 65000, that will be used to identify the device in the
network. The default ID is 6784.
14
NL100/105 Network Link Interface
PakBus/TCP server port number - Enter the port number, in the range
of 1 to 65000, that will be used for communication. The default port
number is 6785.
15
NL100/105 Network Link Interface
2.4.4 Defaults
The Defaults option displays the factory default settings for the different
telecommunication options. Following the display is a prompt to Save or
Cancel. If Save is selected, the NL100/105 will be reset to the factory defaults.
16
NL100/105 Network Link Interface
If Cancel is chosen, the current settings will remain in effect and the user will
be returned to the main menu prompt. The default settings are as follows:
This option is different from the Reset menu item. The Default menu item
resets the NL100/105 back to the factory defaults. Reset reboots the device
using the last-saved configuration.
2.4.5 Reset
This option reboots the NL100/105, using the last saved settings that have been
programmed by the user. This option is different from the Defaults menu item.
The Defaults menu item resets the NL100/105 back to the factory defaults.
17
NL100/105 Network Link Interface
2.4.6 Help
The Help option provides tips for navigating within the NL100/105 menu
prompts and gives a brief description of each menu item. Help for a particular
setting can be displayed by pressing F1 or ? at the prompt for that setting.
2.4.7 Bye
The Bye option is used to close the Socket connection at the end of a Telnet or
terminal communication session.
Command Description
o (or old) This command shows historic diagnostic trace information for
the NL100/105. The object handle, name, and state are provided
for all active objects and the object handle, name, and event type
are provided for all recent events.
t (or tables) This command displays the PakBus routing table information for
the NL100/105:
18
NL100/105 Network Link Interface
For mixed array and TD dataloggers, the network map for the LoggerNet
software should depict an IPPort root device with the datalogger attached
directly to the IPPort (see Figure 3) unless otherwise noted. For PakBus
dataloggers, a PakBus Port must first be added to the IP Port in the network
map, and then the PakBus datalogger attached to the PakBus Port. In instances
where the NL100/105 is to be a PakBus router, a pbRouter must be added after
the PakBus Port and before the PakBus datalogger. In some instances, extra
response time (3 to 4 seconds) may need to be added to the IPPort and/or the
datalogger to account for network traffic delays over a TCP/IP connection.
19
NL100/105 Network Link Interface
20
NL100/105 Network Link Interface
The Setup window in LoggerNet should depict an MD9 Base modem attached
to the IPPort, with the datalogger attached to an MD9Remote Modem. Refer to
Figure 4 below.
21
NL100/105 Network Link Interface
22
NL100/105 Network Link Interface
23
NL100/105 Network Link Interface
24
NL100/105 Network Link Interface
3.3.2 Hardware Setup for NL105 Communication with the CR9000 via
TLink
A CR9000 can be connected to a TCP/IP network by connecting the TLink
port of the CR9000 9031 CPU module to the TLink port of the NL105 (note
that the NL100 does not have this communication port). A twisted pair cable is
used to make this connection.
25
NL100/105 Network Link Interface
26
Appendix A. CS I/O Port
The CS I/O port is Campbell Scientific's input/output port. It is not a standard
RS-232 pin-out. The following table provides pin-out information on the port
when connected to a datalogger.
Signal
Pin Name Type Description
A-1
This is a blank page.
Appendix B. Null-Modem Cable
A null-modem cable allows communication between two similar devices. It is
sometimes called a crossover cable, because the transmit and receive lines are
crossed so that the two devices can communicate. An RS-232 null modem
cable usually also crosses other handshaking lines.
B-1
This is a blank page.
Appendix C. 10 Base-T Cabling
The cable that runs from the computer to the NL100/105 should be a Category
5 twisted pair cable. If the NL100/105 will be connected directly to the
computer, a crossover cable should be used. If the NL100/105 will be
connected to the computer through a hub, a straight through cable should be
used. The pin-outs for each of these cables is shown below.
1 ⇔ 1
Twisted Pair 1
2 ⇔ 2
3 ⇔ 3
Twisted Pair 2
6 ⇔ 6
Crossover Cable
1 ⇔ 3
Twisted Pair 1
2 ⇔ 6
3 ⇔ 1
Twisted Pair 2
6 ⇔ 2
C-1
This is a blank page.
Appendix D. RS-485 Connector, 3-Pin
Terminal Block
The RS-485 port is for connecting an MD485 multidrop interface to the
NL100. The MD485 attaches to the NL100 via a twisted pair cable such as the
#9720. The following table shows the pin-out information for the RS-485 port.
D-1
This is a blank page.
Glossary
Beacon Interval - Devices in a PakBus network may broadcast a message to
other devices, in order to determine "neighbor" devices. Neighbor devices are
devices that can be communicated with directly by the current device without
being routed through an intermediate device. A beacon in a PakBus network
helps to ensure that all devices in the network are aware of which other devices
are viable in the network.
PakBus Node - A device in the PakBus network with a unique PakBus ID.
The device can be a datalogger, a computer, or an NL100/105.
Please visit www.campbellsci.com to obtain contact information for your local US or International representative.