Campbell Scientific NL116 NL116 Ethernet and CompactFlash Module
Campbell Scientific NL116 Manual
View all Campbell Scientific NL116 manuals
Add to My Manuals
Save this manual to your list of manuals |
Campbell Scientific NL116 manual content summary:
- Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 1
INSTRUCTION MANUAL NL116 Ethernet and CompactFlash® Module Revision: 3/15 Copyright © 2006-2015 Campbell Scientific, Inc. - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 2
- Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 3
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 - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 4
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 customer at the customer's expense. Campbell Scientific reserves the right to refuse service on products that were exposed - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 5
exceed design limits. Be familiar and comply with all instructions provided in product manuals. Manuals are available at www.campbellsci.com or by telephoning IS MADE TO EMBODY THE HIGHEST DEGREE OF SAFETY IN ALL CAMPBELL SCIENTIFIC PRODUCTS, THE CUSTOMER ASSUMES ALL RISK FROM ANY INJURY RESULTING - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 6
- Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 7
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 - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 8
22 7.2.4 Camera Files 23 7.3 Programming 23 7.3.1 The CardOut() Instruction 23 7.3.2 Program Examples 24 7.3.2.1 Ring Mode 24 7.3.2.2 Fill- ) IP Port Settings 6 Setup screen (EZ View) Datalogger Settings 7 NL116 Ethernet/CompactFlash® Module 9 Datalogger home page 15 FTP root directory 16 - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 9
on a CR1000 or CR3000 datalogger. This manual describes how to use LoggerNet to connect to your datalogger with an NL116 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 CF cards that have - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 10
from the datalogger. After powering down the datalogger, plug the NL116 into the datalogger peripheral port (see FIGURE 4-1). Attach Ethernet cable to the Ethernet port. Restore power to the datalogger. Insert formatted CF card. (For instructions on formatting a CF card, see Appendix A, CF Card - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 11
NL116 Ethernet and CompactFlash® Module 4.2 Communicating via Ethernet 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 (DevConfig). Select the Device Type of the datalogger (CR1000 - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 12
Ethernet and CompactFlash® Module NOTE The NL116 must be connected to the datalogger before configuring the datalogger with DevConfig. If it is not connected, the TCP/IP settings will not be displayed. 4.2.2 - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 13
NL116 Ethernet and CompactFlash® Module b. Select IP Port and press Next. FIGURE 4-4. Setup screen (EZ View) Connection Type 5 - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 14
NL116 Ethernet and CompactFlash® Module c. Input the datalogger's IP address and port number and press Next. The IP address and port number are input on the - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 15
NL116 Ethernet and CompactFlash® Module d. Input the PakBus Address of the datalogger. 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 - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 16
NL116 Ethernet and CompactFlash® Module Size: A constant is entered in the Size the currently-running program. For other methods of saving data to the CF card, see the TableFile() instruction in the CRBasic Editor help. 4.4 CF Card Data Retrieval Data stored on cards can be retrieved through a - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 17
or Type II CompactFlash® (CF) card (3.3 V, 75 mA). The NL116/CF card combination can be used to expand the datalogger memory, transport data/programs from the field site(s) to the office, upload power-up functions, and store JPEG images from a Campbell Scientific camera. Data stored on cards can be - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 18
NL116 Ethernet and CompactFlash® Module 5.1 Buttons and Status LED There is one red-green-orange LED a lowpower state (not connected to the network, essentially off) using the IPNetPower() or EthernetPower() instruction. Operating Temperature Range: -40 to 70 °C Standard -55 to 85 °C Extended 10 - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 19
and duplex mode used for the Ethernet link. However, the speed at which data can be transferred to and from a datalogger over the NL116 depends on multiple factors including: • the datalogger processor speed, that is, CR1000 vs CR3000 • how busy the datalogger is performing measurement, processing - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 20
, refer to the Information Services section of the datalogger manual and CRBasic Editor help. 7.1.1 Communicating Over TCP/IP Once the datalogger, the NL116, and LoggerNet have been to LoggerNet is opened using the TCPOpen() instruction. The SendVariables() instruction is then used to send data. 12 - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 21
NL116 Ethernet and CompactFlash® Module PROGRAM ' CR1000 ' IP_Callback.cr1 ' LoggerNet server Pak Bus In order to do this, a socket must be opened between the two dataloggers using the TCPOpen() instruction or using the PakBus/TCP Client setting. Note that only one datalogger should be set up to - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 22
NL116 Ethernet and CompactFlash® Module PROGRAM 'CR1000 'DL-to-Dl_Comms_1.cr1 'Send this program to CR1000 #1 up the last 24 records for that table. The Last 24 Records display must be manually refreshed. In addition, links are provided to all HTML files, all XML files, and all JPEG files in - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 23
viewed by the browser. For more information on using these instructions, see the datalogger manual or CRBasic Editor help. See Web Server API in it is written to the file. 7.1.3 FTP 7.1.3.1 FTP Server With an NL116 attached, the datalogger will automatically run an FTP server. This allows Windows - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 24
NL116 Ethernet and CompactFlash® Module FIGURE 7-2. FTP root directory FIGURE 7-3. FTP CRD directory 16 - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 25
Campbell Scientific's DevConfig. Select the Device Type of the datalogger (CR1000 or CR3000), the appropriate Communication Port and Baud Rate. Connect to the datalogger. e. Under the Network Services easily. This is done using the FTPClient() instruction. The following program is an example of using - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 26
may be used to verify communications. 7.1.6 Serial Server With an NL116 attached, the datalogger can be programmed to act as a serial instruction, serial data may be received with a SerialIn() instruction. An example of this instruction is shown below. For more information on this instruction - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 27
serial data may be sent out with SerialOut(). An example of this instruction is shown below. For more information on this instruction, see the CRBasic Editor help. result = SerialOut(socket,sent,"",0,100) 7.1.7 TCP ModBus With an NL116 attached, the datalogger can be set up as a TCP ModBus Master - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 28
the card to CPU memory) using the CR1000KD. 7.2.3 Power-up Files (Powerup.ini) Users can insert a properly-configured CF card into the NL116, cycle through the datalogger power, and have power-up functions automatically performed. Power-up functions of CompactFlash® cards can include: a) Sending - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 29
NL116 Ethernet and CompactFlash® Module Comments can be added to the file obj) Run always, erase CF data files now Run now, erase CF data files now By using PreserveVariables() instruction in the datalogger CRBasic program, with options 1 and 6, data and variables can be preserved. The powerup.ini - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 30
NL116 Ethernet and CompactFlash® Module • Command 2 copies the specified program to the designated drive. The program specified in command 2 will be set to Run Always unless - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 31
NL116 Ethernet and CompactFlash® Module EXAMPLE 7-5. Run Program from CRD: Drive. 'Leave program occurs, a line (or row) of data is output with the number of values determined by the output instructions within the table. This data is called a record. Note Enter -1000 and the size of the table on - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 32
NL116 Ethernet and CompactFlash® Module 7.3.2 Program Examples 7.3.2.1 Ring Mode The following program outputs the maximum and minimum of the panel temperature to the card once a second. The first parameter of the CardOut() instruction is 0, which sets the table on the card to ring mode. The second - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 33
NL116 Ethernet and CompactFlash® Module To reset a table after a fill-and-stop table has been filled and stopped, either use the reset button in LoggerNet (Connect | Datalogger | Station Status | Table Fill Times, Reset Tables) or use the CRBasic ResetTable() instruction. 7.3.2.3 Mixed Modes The - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 34
NL116 Ethernet and CompactFlash® Module 7.3.3 Table Size and Mode The size of each data table in CPU memory is set as part of the DataTable() instruction and the size of each data table on the CF card is set with the CardOut() instruction of Campbell Scientific's datalogger support software packages - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 35
NL116 Ethernet and CompactFlash® Module CAUTION The possibility of missing records is power if a card is present and active. To remove a card, press the Initiate Removal button on the NL116. The datalogger will transfer any buffered data to the card and then power off. The Status LED will turn - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 36
7.4.2.2 Reinserting the Card If the same card is inserted again into the NL116, the datalogger will store all data to the card that has been generated following steps. 1. Insert formatted card ("CF-A") in NL116 attached to datalogger. 2. Send Program containing CardOut() instruction(s). 28 - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 37
CompactFlash® Module 3. When ready to retrieve data, press the NL116 Initiate Removal button to remove the card. The LED will be red while the most-current data is stored to the card and then turn - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 38
NL116 Ethernet and CompactFlash® Module 30 - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 39
Appendix A. CF Card Maintenance A.1 Formatting CF Card The CF card can be formatted using 1) Windows Explorer, 2) the CR1000KD, or 3) LoggerNet File Control. A.1.1 Windows Explorer To format card using Windows Explorer: 1) Insert CF card into CF adapter or CF reader. 2) Windows Explorer should - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 40
, and press Start. (The datalogger will work with either FAT or FAT32.) A.1.2 CR1000KD To format card using the CR1000KD: 1) Insert CF card into NL116. 2) From the main menu of CR1000KD, choose PCCard. 3) Choose Format Card. 4) Choose Yes to proceed. A.1.3 LoggerNet File Control To format card using - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 41
Appendix A. CF Card Maintenance 3) Choose FileControl under the Tools menu of the Connect screen. 4) Highlight CRD. 5) Press Format. 6) Press Yes to confirm. A.2 Checking CF Card Integrity The Windows Check Disk tool can be used to check the integrity of a CF card. To access the Check Disk tool: 1) - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 42
Appendix A. CF Card Maintenance 5) Navigate to the Tools tab. 6) Press Check. 7) Select Scan and Repair Drive. A-4 - Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 43
- Campbell Scientific NL116 | NL116 Ethernet and CompactFlash Module - Page 44
Australia Pty. Ltd. (CSA) PO Box 8108 Garbutt Post Shop QLD 4814 AUSTRALIA www.campbellsci.com.au • [email protected] Campbell Scientific (Beijing) Co., Ltd. 8B16, Floor 8 Tower B, Hanwei Plaza 7 Guanghua Road Chaoyang, Beijing 100004 P.R. CHINA www.campbellsci.com • [email protected]
INSTRUCTION MANUAL
NL116 Ethernet and
CompactFlash
®
Module
Revision: 3/15
Copyright © 2006-2015
Campbell Scientific, Inc.