Campbell Scientific NL115 User Manual

INSTRUCTION MANUAL
NL115 Ethernet and
Copyright © 2006- 2014
Campbell Scientific, Inc.
CompactFlash® Module
Revision: 2/14

Warranty

“PRODUCTS MANUFACTURED BY CAMPBELL SCIENTIFIC, INC. are warranted by Campbell Scientific, Inc. (“Campbell”) to be free from defects in materials and workmanship under normal use and service for twelve (12) months from date of shipment unless otherwise specified in the corresponding Campbell pricelist or product manual. Products not manufactured, but that are re-sold by Campbell, are warranted only to the limits extended by the original manufacturer. Batteries, fine-wire thermocouples, desiccant, and other consumables have no warranty. Campbell’s obligation under this warranty is limited to repairing or replacing (at Campbell’s option) defective products, which shall be the sole and exclusive remedy under this warranty. The customer shall assume all costs of removing, reinstalling, and shipping defective products to Campbell. Campbell will return such products by surface carrier prepaid within the continental United States of America. To all other locations, Campbell will return such products best way CIP (Port of Entry) INCOTERM® 2010, prepaid. This warranty shall not apply to any products which have been subjected to modification, misuse, neglect, improper service, accidents of nature, or shipping damage. This warranty is in lieu of all other warranties, expressed or implied. The warranty for installation services performed by Campbell such as programming to customer specifications, electrical connections to products manufactured by Campbell, and product specific training, is part of Campbell’s product warranty. CAMPBELL EXPRESSLY DISCLAIMS AND EXCLUDES ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Campbell is not liable for any special, indirect, incidental, and/or consequential damages.”

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. After an application engineer determines the nature of the problem, an RMA number will be issued. Please write this number clearly on the outside of the shipping container. Campbell Scientific’s shipping address is:
CAMPBELL SCIENTIFIC, INC. RMA#_____ 815 West 1800 North Logan, Utah 84321-1784
For all returns, the customer must fill out a “Statement of Product Cleanliness and Decontamination” form and comply with the requirements specified in it. The form is available from our web site at www.campbellsci.com/repair. A completed form must be either emailed to repair@campbellsci.com or faxed to (435) 227-9106. Campbell Scientific is unable to process any returns until we receive this form. If the form is not received within three days of product receipt or is incomplete, the product will be returned to the customer at the customer’s expense. Campbell Scientific reserves the right to refuse service on products that were exposed to contaminants that may cause health or safety concerns for our employees.

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. Initial Inspection ......................................................... 2
4. Quickstart .................................................................... 2
4.1 Physical Setup ...................................................................................... 2
4.2 Communicating via Ethernet ................................................................ 3
4.2.1 Step 1: Configure Datalogger ........................................................ 3
4.2.2 Step 2: LoggerNet Setup ............................................................... 4
4.2.3 Step 3: Connect ............................................................................. 5
4.3 Programming the Datalogger to Send Data to the NL115 .................... 5
4.4 CF Card Data Retrieval ........................................................................ 6
5. Overview ...................................................................... 6
5.1 Status LEDs .......................................................................................... 6
5.2 Power ................................................................................................... 7
5.3 CF Card Data Retention ....................................................................... 7
6. Specifications ............................................................. 7
7. Operation ..................................................................... 9
7.1 TCP/IP Functionality ........................................................................... 9
7.1.1 Communicating Over TCP/IP ....................................................... 9
7.1.1.1 Data Callback ..................................................................... 9
7.1.1.2 Datalogger-to-Datalogger Communication ...................... 10
7.1.2 HTTP Web Server ....................................................................... 11
7.1.3 FTP .............................................................................................. 12
7.1.3.1 FTP Server ....................................................................... 12
7.1.3.2 FTP Client ........................................................................ 14
7.1.4 Telnet .......................................................................................... 14
7.1.5 Ping ............................................................................................. 14
7.1.6 Serial Server ................................................................................ 14
7.1.6.1 Serial Input ....................................................................... 15
7.1.6.2 Serial Output .................................................................... 15
7.1.7 TCP ModBus .............................................................................. 15
7.1.8 DHCP .......................................................................................... 15
7.1.9 DNS ............................................................................................ 16
7.2 File Formats ....................................................................................... 16
7.2.1 Data Files .................................................................................... 16
7.2.2 Program Files .............................................................................. 16
7.2.3 Power-up Files (Powerup.ini) ..................................................... 16
7.2.3.1 Creating and Editing Powerup.ini .................................... 17
i
Table of Contents
7.2.3.2 Applications ..................................................................... 18
7.2.3.3 Program Execution .......................................................... 19
7.2.3.4 Example Powerup.ini Files .............................................. 19
7.2.4 Camera Files ............................................................................... 20
7.3 Programming ..................................................................................... 20
7.3.1 The CardOut() Instruction .......................................................... 20
7.3.2 Program Examples ..................................................................... 20
7.3.2.1 Ring Mode ....................................................................... 20
7.3.2.2 Fill-and-Stop Mode.......................................................... 21
7.3.2.3 Mixed Modes ................................................................... 21
7.3.3 Table Size and Mode .................................................................. 22
7.4 CF Card Data-Retrieval Details ......................................................... 23
7.4.1 Via a Communication Link ........................................................ 23
7.4.1.1 Fast Storage/Data-Collection Constraints ........................ 23
7.4.2 Transporting CF Card to Computer ............................................ 23
7.4.2.1 Converting File Formats .................................................. 24
7.4.2.2 Reinserting the Card ........................................................ 25
7.4.2.3 Card Swapping ................................................................ 25
Appendix
CF Card Maintenance ............................................. A-1
A.
Figures
Table
A.1 Formatting CF Card ......................................................................... A-1
A.1.1 Windows Explorer .................................................................... A-1
A.1.2 CR1000KD ............................................................................... A-2
A.1.3 LoggerNet File Control ............................................................ A-2
A.2 Checking CF Card Integrity ............................................................ A-3
4-1. NL115 attached to a CR1000 .............................................................. 2
4-2. DevConfig setup .................................................................................. 3
4-3. LoggerNet setup .................................................................................. 4
6-1. NL115 Ethernet/CompactFlash Module .............................................. 8
7-1. Datalogger home page ....................................................................... 11
7-2. FTP root directory ............................................................................. 12
7-3. FTP CRD directory............................................................................ 13
7-4. CardConvert ...................................................................................... 24
7-1. Powerup.ini Commands .................................................................... 18
ii
NL115 Ethernet and CompactFlash® Module

1. Introduction

Campbell Scientific’s NL115 Ethernet/CompactFlash® Module provides two independent capabilities: (1) it enables 10Base-T Ethernet communications and (2) stores data on a removable CompactFlash (CF) card. It allows the datalogger to communicate over a local network or a dedicated Internet connection via TCP/IP. It also expands on-site data storage and provides the user with a convenient method of transporting data from the field back to the office. This small, rugged communication device connects to the 40-pin peripheral port on a CR1000 or CR3000 datalogger.
This manual describes how to use LoggerNet to connect to your datalogger with an NL115 attached. You can also use other software packages such as PC400, RTDAQ, or LoggerLink Mobile Apps for iOS and Android.
Campbell Scientific recommends that only FMJ CF cards be used with the NL115. For more information on CF cards, see Campbell Scientific’s application note CF Card Information (3SM-F). Note that it is not necessary to purchase the FMJ CF cards directly from Campbell Scientific as long as the FMJ model number matches those shown in the application note.
Before using the NL115, please study:
Section 2, Cautionary Statements
Section 3, Initial Inspection
Section 4. Quickstart
The Quickstart section explains how to quickly begin using an NL115 for straightforward Ethernet communications and data-storage operations. The remainder of the manual is a technical reference which describes in detail such operations as: TCP/IP functionality, file formats, datalogger programming, and data retrieval.

2. Cautionary Statements

The NL115 is rugged, but it should be handled as a precision scientific
instrument.
The 28033 surge suppressor and/or a shielded 10Base-T Ethernet cable
should be used for locations susceptible to power surges and for cable lengths longer than 9 ft.
Always power down the datalogger before installing to or removing the
NL115 from the datalogger.
The first time an NL115 is attached to a datalogger, the datalogger’s
memory has to be reorganized to allow room in memory for the IP stack. To avoid the loss of data, collect your data before attaching the NL115 to a datalogger.
1
NL115 Ethernet and CompactFlash® Module
CAUTION
NOTE
An NL115 with a serial number less than 10297 requires a firmware
update to function properly when attached to a CR3000 datalogger with a serial number greater than 6260. This update must be performed by Campbell Scientific. If you require this firmware update, see the
Assistance section at the front of this manual for information on returning
your NL115 to Campbell Scientific.

3. Initial Inspection

Upon receipt of the NL115, inspect the packaging and contents for damage. File damage claims with the shipping company.

4. Quickstart

This section describes the basics of communicating via Ethernet and storing and retrieving datalogger data. These operations are discussed in detail in Section 7, Operation.

4.1 Physical Setup

Always power down the datalogger before installing to or removing the NL115 from the datalogger.
After powering down the datalogger, plug the NL115 into the datalogger peripheral port (see FIGURE 4-1). Attach Ethernet cable to the 10Base-T port. If using the 28033 surge protector, connect the other end of the Ethernet cable to the 28033 and connect another Ethernet cable to the other end of the 28033. Restore power to the datalogger. Insert formatted CF card. (For instructions on formatting a CF card, see Appendix A, CF Card Maintenance.)
A CF card does not need to be present in order to use the NL115’s TCP/IP functionality.
FIGURE 4-1. NL115 attached to a CR1000
2

4.2 Communicating via Ethernet

NOTE
NOTE

4.2.1 Step 1: Configure Datalogger

a. Connect serial cable from PC COM port to the datalogger RS-232 port.
b. Open Campbell Scientific’s Device Configuration Utility. Select the
device type of the datalogger (CR1000 or CR3000), the appropriate serial port, and baud rate. Connect to the datalogger.
c. Under the TCP/IP tab, input the IP Address, Subnet Mask, and IP
gateway. These values should be provided by your network administrator.
NL115 Ethernet and CompactFlash® Module
FIGURE 4-2. DevConfig setup
d. Press the Apply button to save the changes and then close the Device
Configuration Utility.
A temporary IP address may be obtained from a DHCP server. For more information, see Section 7.1.8, DHCP.
The NL115 must be connected to the datalogger before configuring the datalogger with the Device Configuration Utility. If it is not connected, the TCP/IP settings will not be displayed.
3
NL115 Ethernet and CompactFlash® Module

4.2.2 Step 2: LoggerNet Setup

The next step is to run LoggerNet and configure it to connect to the datalogger via the Ethernet port.
a. In LoggerNet’s Setup Screen, press Add Root and choose IPPort. Input
the datalogger’s IP address and port number. The IP address and port number are input on the same line separated by a colon. (The datalogger’s default port number is 6785. It can be changed using Device Configuration Utility or by modifying its value in the Status Table.)
b. Add a PakBus port and set the desired baud rate.
c. Add the datalogger (CR1000 or CR3000). Input the PakBus address of
the datalogger.
4
FIGURE 4-3. LoggerNet setup
NL115 Ethernet and CompactFlash® Module
CAUTION

4.2.3 Step 3: Connect

You are now ready to connect to your datalogger using the LoggerNet Connect Screen.
Datalogger program transfer, table-data display, and data collection are now possible.

4.3 Programming the Datalogger to Send Data to the NL115

The CardOut() instruction is used in the datalogger program to send data to the CF card. CardOut() must be entered within each DataTable declaration that is to store data on the CF card. The file is saved on the card with the name stationname.tablename and a .DAT extension.
The CardOut() instruction has the following parameters:
StopRing: A constant is entered for the StopRing parameter to specify whether the DataTable created should be a ring-mode table (0) or a fill-and-stop table (1).
Size: The Size parameter is the minimum number of records that will be included in the DataTable. If –1000 is entered, the size of the file on the card will be the same as the size of the internal table on the datalogger. If any other negative number is entered, the memory that remains after creating any fixed­size tables on the card will be allocated to this table. If multiple DataTables are set to a negative number, the remaining memory will be divided among them. The datalogger attempts to size the tables so that they will be full at the same time.
In the following example, the minimum batt_voltage and a sample of PTemp are written to the card each time the data table is called. The StopRing parameter is 0 for ring mode. This means that once the data table is full, new data will begin overwriting old data. The size parameter is –1, so all available space on the card will be allocated to the table.
DataTable(Table1,1,-1)
CardOut(0 ,-1)
Minimum(1,batt_volt,FP2,0,False)
Sample(1,PTemp,IEEE4)
EndTable
To prevent losing data, collect data from the CF card before sending the datalogger a new or modified program. When a program is sent to the datalogger using the Send button in the Connect Screen of LoggerNet or PC400, an attribute is sent along with the program that commands the datalogger to erase all data on the CF card from the currently running program.
5
NL115 Ethernet and CompactFlash® Module
CAUTION
CAUTION
CAUTION

4.4 CF Card Data Retrieval

Data stored on cards can be retrieved through a communication link to the datalogger or by removing the card and carrying it to a computer with a CF adapter. With large files, transferring the CF card to a computer may be faster than collecting the data over a communication link. CF card-data retrieval is discussed in detail in Section 7.4, CF Card Data-Retrieval Details.
Removing a card while it is active can cause garbled data and can actually damage the card. Always press the Initiate Removal button and wait for a green light before removing card.
LoggerNet’s File Control should not be used to retrieve data from a CF card. Using File Control to retrieve the data can result in a corrupted data file.

5. Overview

The NL115 Ethernet/CompactFlash Module enables 10Base-T Ethernet communication with the datalogger. It also has a slot for a Type I or Type II CompactFlash (CF) card (3.3 V, 75 mA).
The NL115/CF card combination can be used to expand the datalogger’s memory, transport data/programs from the field site(s) to the office, upload power-up functions, and store JPEG images from the CC640 camera. Data stored on cards can be retrieved through a communications link to the datalogger or by removing the card and carrying it to a computer. The computer can read the CF card either with the CF1 adapter or 17752 reader/writer. The CF1 adapter allows the PC’s PCMCIA card slot to read the CF card; the 17752 reader/writer allows the PC’s USB port to read the CF card. User-supplied CF adapters may also be used.
LoggerNet’s File Control should not be used to retrieve data from a CF card. Using File Control to retrieve the data can result in a corrupted data file.

5.1 Status LEDs

There is one red-green-orange LED (light-emitting diode) and two buttons: Initiate Removal and eject. The LED indicates the status of the module. The LED will flash red when the CF card is being accessed, solid green when it is OK to remove the card, solid orange to indicate an error, and flashing orange if the card has been removed and has been out long enough that CPU memory has wrapped and data is being overwritten without being stored to the card. The Initiate Removal button must be pressed before removing a card to allow the datalogger to store any buffered data to the card and then power off. The eject button is used to eject the CF card. Note that if the eject button cannot be pressed, it may have been disabled by bending it to the right. Straighten and press the eject button to eject the CF card.
6
Loading...
+ 26 hidden pages