INSTRUCTION MANUAL NL200/NL201 Network Link Interface Revision: 4/15 C o p y r i g h t © 2 0 1 1 - 2 0 1 5 C a m p b e l l S c i e n t i f i c , I n c .
Limited Warranty “Products manufactured by CSI are warranted by CSI to be free from defects in materials and workmanship under normal use and service for twelve months from the date of shipment unless otherwise specified in the corresponding product manual. (Product manuals are available for review online at www.campbellsci.com.) Products not manufactured by CSI, but that are resold by CSI, are warranted only to the limits extended by the original manufacturer.
Assistance Products may not be returned without prior authorization. The following contact information is for US and international customers residing in countries served by Campbell Scientific, Inc. directly. Affiliate companies handle repairs for customers within their territories. Please visit www.campbellsci.com to determine which Campbell Scientific company serves your country. To obtain a Returned Materials Authorization (RMA), contact CAMPBELL SCIENTIFIC, INC., phone (435) 227-9000.
Precautions DANGER — MANY HAZARDS ARE ASSOCIATED WITH INSTALLING, USING, MAINTAINING, AND WORKING ON OR AROUND TRIPODS, TOWERS, AND ANY ATTACHMENTS TO TRIPODS AND TOWERS SUCH AS SENSORS, CROSSARMS, ENCLOSURES, ANTENNAS, ETC. FAILURE TO PROPERLY AND COMPLETELY ASSEMBLE, INSTALL, OPERATE, USE, AND MAINTAIN TRIPODS, TOWERS, AND ATTACHMENTS, AND FAILURE TO HEED WARNINGS, INCREASES THE RISK OF DEATH, ACCIDENT, SERIOUS INJURY, PROPERTY DAMAGE, AND PRODUCT FAILURE.
Table of Contents PDF viewers: These page numbers refer to the printed version of this document. Use the PDF reader bookmarks tab for links to specific sections. 1. Introduction ................................................................. 1 2. Cautionary Statements ............................................... 1 3. Quickstart .................................................................... 1 3.1 3.2 3.3 3.4 Physical Setup .........................................................................
Table of Contents 8. Applications...............................................................23 8.1 Working Around Firewalls ................................................................ 23 8.1.1 Configuring the NL200/201 ....................................................... 24 8.1.2 Configuring the Datalogger ........................................................ 24 9. Troubleshooting ........................................................24 10. Attribution ...................................
Table of Contents Tables B-1. B-2. B-3. B-4. B-5. B-6. B-7. CS I/O Pinout ................................................................................... B-1 RS-232 Pinout .................................................................................. B-1 Ethernet Pinout................................................................................. B-2 USB Micro-B ................................................................................... B-2 Power In .....................................
Table of Contents iv
NL200/201 Network Link Interface 1. Introduction The NL200/201 Network Link Interface allows Campbell Scientific dataloggers and peripherals to communicate over a local area network or a dedicated Internet connection. This serial to Ethernet interface can be connected to a datalogger’s CS I/O port or other devices via RS-232. This manual describes how to use LoggerNet to connect to your datalogger with an NL200/201.
NL200/201 Network Link Interface 3.1 Physical Setup Using the supplied serial cable, connect the NL201’s CS I/O port to the datalogger’s CS I/O port. Alternatively, power the NL200 or NL201 through the barrel-connector jack located on the edge of the device. Connect the NL200/201 to your network using an Ethernet cable, attaching one end of the cable to the NL200/201’s Ethernet port and the other end to your network. Ensure that the device is powered up by inspecting the Power LED. FIGURE 3-1.
NL200/201 Network Link Interface 3.2 Configuring the NL200/201 NOTE INSTALL THE DEVICE DRIVER BEFORE plugging the NL200/201 into your PC for the first time. You will need the device driver properly installed before you can connect to the NL200/201 via USB. To install the device driver, download the latest version of DevConfig from our website. Under Device Type, select Network Peripheral | NL200 Series. Click the Install the device driver for the device link and follow the prompts. NOTE 3.
NL200/201 Network Link Interface An IPv4 address may look like 192.168.1.100:6785. An IPv6 address may look like [2001:db8::1234:5678]:6785. A fully qualified host name entry may look like yourlogger.com:6785. • Add a PakBus® Port (PakBusPort). • Add a PakBus® Router (pbRouter). Input the PakBus address of the NL200/201. The NL200/201’s default PakBus address is 678. • Add the datalogger and input the PakBus® address of the datalogger. • Press Apply to save the changes.
NL200/201 Network Link Interface 4. Overview The NL200/201 Network Link Interface is a device used to communicate with Campbell Scientific dataloggers and peripherals using an Ethernet 10/100 Mbps communications link. The NL200/201 includes a CS I/O port and an RS-232 port for communication. A USB device port is used for configuring the NL200/201 device. FIGURE 4-1. NL201 Bridge Mode Enabled The NL200/201 can be configured to bridge Ethernet and CS I/O communications (Bridge Mode enabled).
NL200/201 Network Link Interface RS-232 serial server and a CS I/O serial server, an RS-232 serial server and a CS I/O PakBus router, an RS-232 PakBus router and a CS I/O serial server, or an RS-232 PakBus router and a CS I/O PakBus router. In addition, the NL200/201 can act as TLS proxy server. The TLS proxy server is independent of other modes. FIGURE 4-3. Bridge Mode disabled Some reasons you might want to use each of these modes are described below. Refer to Section 6, Configuring the NL200/201 (p.
NL200/201 Network Link Interface Campbell Scientific’s LoggerNet software is used to communicate with the dataloggers once the NL200/201 is configured properly and connected to a network. Bridge Mode • Allows access to datalogger’s internal IP functionality when a peripheral port is not accessible. For example accessing the HTTP/webpage, email, and FTP capabilities of a CR800/850, ET107, RAWS, or CS110.
NL200/201 Network Link Interface 5. Specifications 2.65 General 177 g (6.3 oz) 16 x 6.73 x 2.54 cm (6.3 x 2.65 x 1 in) 1.0 FIGURE 5-1. NL200/201 dimensions in inches Power Input NL201: CS I/O or barrel connector jack; not powered over USB NL200: Barrel connector jack; not powered over CS I/O or USB Power Requirements 7 to 20 Vdc 50 mA active, 2 mA standby @ 13 Vdc NOTE Standby power is when the IPNetPower instruction has been used to turn off power to the Ethernet.
NL200/201 Network Link Interface Ethernet 10Base-T (full and half duplex), 100Base-TX (full and half duplex), Auto-MDIX Auto-IP (APIPA), IPv4, IPv6, ICMP/Ping, ICMPv6/Ping, TCP, DHCP Client, SLAAC, DNS Client, HTTPS Proxy, Telnet Server, TLS, PakBus®, Modbus TCP/IP Miscellaneous Supports 20 simultaneous TCP connections Up to 10 of the 20 TCP connections can be used for TLS PakBus® router supports 50 routes Supports up to 15 concurrent Modbus server transactions Compliance RoHS Compliant The NL200/NL201 is e
NL200/201 Network Link Interface 6.2 • Click Connect. • Configure the NL200/201 as needed for your application. • Click Apply to save your changes. The NL200/201 must have an IP address before connecting via a network connection. If the address cannot be obtained via DHCP, you will need to configure your NL200/201 via USB the first time it is set up. • Ensure the NL200/201 is powered and connected to your network. • Launch DevConfig. • Under Device Type, select NL200.
NL200/201 Network Link Interface 6.4 Type edit and press Enter to edit the settings of the NL200/201. • As each NL200/201 setting is shown, press Enter to accept the current value shown in parenthesis. Type a new value and press Enter to change the value. • After progressing through all of the NL200/201 settings, type save to accept the changes or cancel to discard the changes. • Type bye to exit Telnet. Configuring the NL200/201 via RS-232 NOTE 7.
NL200/201 Network Link Interface routing table. These are devices that the NL200/201 has learned about through beaconing or allowed-neighbor lists. Beacon Interval – Devices in a PakBus® network may broadcast a hellomessage 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.
NL200/201 Network Link Interface However, an allowed neighbors list can be useful in restricting communication paths. • On the Network Services tab: o Make note of the PakBus\TCP Server Port. (The default PakBus/TCP Server Port is 6785. Unless firewall issues exist, it is not necessary to change the port from its default value.) CS I/O PakBus® Router • Connect to the NL200/201 in DevConfig (see Section 6, Configuring the NL200/201 (p. 9)). • On the NL200 tab: o • • Set Bridge Mode to disable.
NL200/201 Network Link Interface FIGURE 7-1. PakBus® router LoggerNet setup 7.1.4 Connect You are now ready to connect to your datalogger using the LoggerNet Connect screen. 7.2 Bridge Mode With Bridge Mode Enabled, the device will act as a bridge from Ethernet to CS I/O. All IP packets that come into the device via Ethernet will be communicated as a complete Ethernet/TCP packet to the datalogger over the CS I/O port.
NL200/201 Network Link Interface the barrel-connector jack located on the edge of the device. (Note that an NL200 cannot be powered over CS I/O. An external power adaptor or power cable is required.) Connect the NL200/201 to your network using an Ethernet cable, attaching one end of the cable to the NL200/201’s Ethernet port and the other end to your network. Ensure that the device is powered up by inspecting the Power LED. 7.2.
NL200/201 Network Link Interface your settings are correct, you should see the current clock of your server and datalogger. FIGURE 7-2. Bridge mode LoggerNet setup 7.2.5 Connect You are now ready to connect to your datalogger using the LoggerNet Connect screen. 7.3 TCP Serial Server The NL200/201 can tunnel RS-232 and CS I/O serial communications over Ethernet.
NL200/201 Network Link Interface 7.3.2 Configuring the NL200/201 RS-232 Serial Server • Connect to the NL200/201 in DevConfig (see Section 6, Configuring the NL200/201 (p. 9)). • On the NL200 tab: o • Set Bridge Mode to disable. On the RS-232 tab: o Set Configuration to TCP Serial Server. o Set Baud Rate to baud rate of attached device. o Make note of the Serial Server Port. (The default RS-232 Serial Server Port is 6784. Typically, it is not necessary to change this entry from its default.
NL200/201 Network Link Interface • You can verify your settings are correct by selecting the datalogger in the Network Map, selecting the Clock tab, and pressing Check Clocks. If your settings are correct, you should see the current clock of your server and datalogger. FIGURE 7-3. Serial server LoggerNet setup 7.3.4 Connect You are now ready to connect to your datalogger using the LoggerNet Connect screen. 7.3.
NL200/201 Network Link Interface connection, and data received on the TCP connection will be forwarded to the RS-232 port. This mode can be particularly useful when an RF base or serial sensor is behind a firewall and needs to be the party responsible for initiating the TCP socket connection to the data collection server. The NL200/201 will attempt to open a connection with the remote server, and, if the connection fails to open, the device will continue to retry at an interval of 60 seconds.
NL200/201 Network Link Interface In order to use TLS, the user must configure the NL200/201 with a usersupplied TLS Private Key and TLS Certificate. The key and certificate are loaded using DevConfig. Using DevConfig, navigate to the Settings Editor tab and then to the TLS tab. • Load the user-supplied, PEM-formatted TLS Private key using the Set TLS Key … button. A file dialog will open. Navigate to the key file and click Open.
NL200/201 Network Link Interface The settings found in the TLS Proxy Server and TLS tab in DevConfig are used to configure the NL200/201 TLS Proxy Server. Two physical configurations are possible and the required settings differ depending on the configuration chosen. The possible configurations are shown in the following figure. FIGURE 7-4.
NL200/201 Network Link Interface datalogger and forward the unencrypted data. In HTTPS communications, web browsers use port 443. The NL200/201 will always listen on port 443 regardless of the value of this setting. Therefore, if HTTPS communications are desired, it is unnecessary to configure this setting. • Set the TLS Proxy Forward Physical Port to CS I/O Port for Configuration A or to Ethernet Port for Configuration B. • For Configuration A, leave the TLS Proxy Forward IP Address set to 0.0.0.0.
NL200/201 Network Link Interface 7.6.2 DevConfig TCP Encrypted Communication to the NL200/201 In order to use DevConfig TCP Encrypted Communication to the NL200/201, you will need to load your TLS Private Key and TLS Certificate into the NL200/201. This is done from the Settings Editor | TLS tab in DevConfig. Once the private key and certificate are loaded successfully, the TLS Status field should read Initialized. To use TCP Encrypted Communication, select the Use IP Connection check box in DevConfig.
NL200/201 Network Link Interface 8.1.1 Configuring the NL200/201 • Connect to the NL200/201 in DevConfig (see Section 6, Configuring the NL200/201 (p. 9)). • On the NL200 tab: • o Set Bridge Mode to disable. o Set Use DHCP to disable. o Input the IP Address, Network Mask, and Default Gateway. These values can be provided by your network administrator. On the Network Services tab: o Make note of the PakBus/TCP Server Port. 8.1.
NL200/201 Network Link Interface 2. 3. Check all your cables. • Verify that your Ethernet cable is securely plugged in between your NL200/201 and your hub, router, or PC. The yellow Link/Act light on the NL200/201 should start blinking when it is connected to the Ethernet. • If an Ethernet cable is connected but the Link/Act light is not blinking, try a new Ethernet cable. You can also try moving the existing Ethernet cable to a functioning system to determine if the cable is working.
NL200/201 Network Link Interface communications is 6783. The default port number for RS-232 serial sever communications is 6784. The correct port number must follow the IP address of the NL200/201 in LoggerNet Setup in order for LoggerNet to communicate through the NL200/201. For example, if the NL200/201 is configured as a CS I/O serial server, in LoggerNet Setup, enter the correct IP address of your NL200/201 followed by :6783 (e.g., 192.168.0.3:6783). 6.
NL200/201 Network Link Interface • If running NL2xx firmware revision v.4 or greater, you can also type “eventloga” at the prompt to obtain an ASCII version of the low-level log. Copy and paste the output into a text file. • Once the eventlogs have been copied, you can type “eventlog erase” at the prompt to clear the log. If you want to add a date to indicate when the logs were last cleared, you can enter “eventlog erase date” where date is a string of up to 8 characters.
NL200/201 Network Link Interface 28
Appendix A. Glossary Beacon Interval Devices in a PakBus® network may broadcast a hello-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.
Appendix A. Glossary Port Number A port number is a way to identify a specific process to which a network message is to be forwarded when it arrives at the NL200/201. SDC (Synchronous Device Communications) A Campbell Scientific, addressable, and synchronous communications protocol. The protocol allows multiple peripherals to be connected to the same device as long as each peripheral has a unique SDC address.
Appendix B. Cables, Pinouts, LED Function, and Jumper B.1 CS I/O The CS I/O cable is a 9-pin, straight-through cable with all 9 pins connected. The supplied SC12 cable (part number 16675) is recommended. TABLE B-1. CS I/O Pinout Pin 1 2 3 4 5 6 7 8 Datalogger (DB9 Female) Function 5 VDC SIGNAL GND RING RXD ME SDE CLK/HS 12 VDC (output) 9 TXD Peripheral (DB9 Male) Function N/C SIGNAL GND RING TXD ME SDE CLK/HS NL200: N/C NL201: 12 VDC (input) RXD B.
Appendix B. Cables, Pinouts, LED Function, and Jumper B.3 Ethernet The Ethernet 10Base-T/100Base-TX cable should be a Category 5 or better twisted pair cable (such as Campbell Scientific part number 13658). The two active pairs are pins 1 and 2 and pins 3 and 6. Use only dedicated wire pairs (such as blue/white and white/blue, orange/white and white/orange) for the active pairs. NOTE The maximum recommended segment length for 10BaseT and 100BaseTx networks using CAT5 cable is 100 meters.
Appendix B. Cables, Pinouts, LED Function, and Jumper B.6 LEDs TABLE B-6. Power LED State Description Off Device powered off On Device powered on and ready Blink OS Download in progress – DO NOT DISCONNECT POWER TABLE B-7. Ethernet LED State Description Yellow On Valid Ethernet link Yellow Off Ethernet link not valid Yellow Blink Activity on Ethernet port Green On 100Mbit/s link Green Off 10Mbit/s link B.
Appendix B.
Appendix C. NL200/201 Settings All of the NL200/201 settings available from the Settings Editor in DevConfig are described below. C.1 Main Tab Model (read only) Model name. Serial Number (read only) Specifies the NL200/201 serial number assigned by the factory. OS Version (read only) Operating system version currently in the NL200/201. Compile Date (read only) Operating system compile date. Bridge Mode This setting is used to configure the device’s mode of operation.
Appendix C. NL200/201 Settings NOTE When the device is configured in bridge mode, it is not possible to open a telnet session with it. CS I/O IP Interface Identifier When the device is configured to operate in Bridge Mode, the datalogger will address the device using this identifier. The datalogger can address up to two “CS I/O IP” devices. The corresponding CS I/O IP Address settings in the datalogger will control the interface. CS I/O IP Interface 1 uses SDC channel 3.
Appendix C. NL200/201 Settings IP Address The IP address uniquely identifies this node on an internet. If DHCP is enabled, this is the IP address obtained from the DHCP server. If DHCP is disabled, a static IP address must be obtained from your network administrator for use with this device. (It is recommended to configure a static IP address.) NOTE In bridge mode, this setting is obtained from the datalogger and cannot be edited here. It must be edited in the datalogger settings.
Appendix C. NL200/201 Settings Ethernet Speed / Duplex Configuration Specifies the Ethernet link speed and duplex settings. Speed: When used as a TCP/IP serial server, the overall data-transfer speed is largely dependent on the speed of the serial port. Setting the Ethernet link speed to 100 Mbps will increase the overall data throughput rate by a relatively small amount, while setting it to 10 Mbps will conserve power.
Appendix C. NL200/201 Settings connection with the remote server and if the connection fails to open, the device will continue to retry at an interval of 60 seconds. If data arrives on the RS-232 port when no TCP connection exists, the device will buffer up the data (up to 1500 bytes) and immediately attempt to open a connection to deliver the data.
Appendix C. NL200/201 Settings connection is functional as the device does not know the frequency or nature of the expected data. Set to 0 for no timeout (not recommended). (range 0..999) (seconds) RS-232 PakBus Beacon Interval This setting, in units of seconds, governs the rate at which the NL200/201 will broadcast PakBus® messages on the associated port in order to discover any new PakBus neighboring nodes.
Appendix C. NL200/201 Settings RS-232 TCP Serial Client Port This setting specifies the TCP port of the outgoing TCP Serial Client connection. (range 1..65535) C.3 CS I/O Tab CS I/O Configuration This setting controls which process will be associated with the CS I/O port. The following values are defined: TCP Serial Server The device will listen for an incoming TCP connection from a remote client. The port number of the listening connection is specified in the “CS I/O Service Port Number” setting.
Appendix C. NL200/201 Settings detected for the timeout period. Set to 0 for no time-out (not recommended). (range 0..999) CS I/O PakBus Beacon Interval This setting, in units of seconds, governs the rate at which the NL200/201 will broadcast PakBus® messages on the associated port in order to discover any new PakBus neighboring nodes. It will also govern the default verification interval if the value of the Verify Interval setting for the associated port is zero.
Appendix C. NL200/201 Settings network. When a device has a neighbor list or neighbor filter setting filled in for a port, any device that has an address greater than or equal to 4000 will be allowed to connect to that device regardless of the neighbor filter. PakBus/TCP Server Port This setting specifies the TCP service port for PakBus® communications with the datalogger. Unless firewall issues exist, this setting probably does not need to be changed from its default value.
Appendix C. NL200/201 Settings PakBus Address Specifies the address that the route will reach. Response Time Specifies the amount of time (in milliseconds) that will be allowed for the route. Central Routers This setting specifies a list of up to eight PakBus® addresses for routers that are able to work as Central Routers.
Appendix C. NL200/201 Settings Secure Proxy Forward Port Number. Also, regardless of this setting, the NL200/201 Secure Proxy Server will always listen on the secure HTTP (HTTPS) port number 443. If a secure connection is established on this port, the NL200/201 will attempt to communicate to the datalogger on the HTTP port 80. (range 1..65535) TLS Proxy Forward Physical Port When doing TLS Proxy communications, the NL200/201 TLS server maintains a secure connection with a remote client.
Appendix C. NL200/201 Settings TLS Proxy Timeout This setting, in units of seconds, will determine how fast the proxy server/client sessions will time out if no activity is detected. Set to 0 for no time-out (not recommended). (range 0..999) C.6 TLS Tab TLS Status (read only) Specifies the current status of the TLS network stack. NOTE If the status of the TLS stack is “Initialized”, the device will automatically negotiate a secure TLS connection with DevConfig if the Use TCP option is selected.
Appendix D. Sending a New OS to the NL200/201 Whenever a new operating system is released for the NL200/201, it will be available from our website, www.campbellsci.com/downloads. D.1 Sending an OS via USB Follow these steps to send the new OS to the NL200/201 via USB: 1. Using the supplied serial cable, connect the NL201’s CS I/O port to the datalogger’s CS I/O port. Alternatively, power the NL200 or NL201 through the barrel-connector jack located on the edge of the device. 2.
Appendix D. Sending a New OS to the NL200/201 3. Open DevConfig. 4. Select the NL200 under Device Type. 5. Ensure that the Use IP Connection box is checked on the left hand panel. 6. If the Admin Password of the device has been set, you will need to enter that password in the TCP Password control on the left panel in order for the connection to succeed. 7. Enter the IP address or domain name address of the device in the Communication Port control on the left panel.
Campbell Scientific Companies Campbell Scientific, Inc. (CSI) 815 West 1800 North Logan, Utah 84321 UNITED STATES www.campbellsci.com • info@campbellsci.com Campbell Scientific Centro Caribe S.A. (CSCC) 300 N Cementerio, Edificio Breller Santo Domingo, Heredia 40305 COSTA RICA www.campbellsci.cc • info@campbellsci.cc Campbell Scientific Africa Pty. Ltd. (CSAf) PO Box 2450 Somerset West 7129 SOUTH AFRICA www.csafrica.co.za • cleroux@csafrica.co.za Campbell Scientific Ltd.