Campbell NL115 Instruction Manual

Ethernet and compactflash module
Hide thumbs Also See for NL115:

Advertisement

Quick Links

NL115 Ethernet and
®
CompactFlash
Module
Revision: 6/12
C o p y r i g h t
©
2 0 0 6 - 2 0 1 2
C a m p b e l l
S c i e n t i f i c ,
I n c .

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NL115 and is the answer not in the manual?

Questions and answers

Summary of Contents for Campbell NL115

  • Page 1 NL115 Ethernet and ® CompactFlash Module Revision: 6/12 C o p y r i g h t © 2 0 0 6 - 2 0 1 2 C a m p b e l l S c i e n t i f i c ,...
  • Page 3 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.
  • Page 4 SCIENTIFIC, INC., phone (435) 227-9000. After an applications 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.
  • Page 5: Table Of Contents

    4.2.1 Step 1 – Configure Datalogger ............2 4.2.2 Step 2 – LoggerNet Set-up..............3 4.2.3 Step 3 – Connect ................4 4.3 Programming the Datalogger to Send Data to the NL115......4 4.4 CF Card Data Retrieval ................5 5 Overview................6 5.1 Status LEDs ....................6 5.2 Power ......................6...
  • Page 6 List of Tables 7-1. Powerup.ini Commands................ 18 B-1. CRBasic Dataloggers and PC/CF Cards ..........B-1 B-2. SLC and MLC Performance Characteristics........B-1 B-3. Comparison of Industrial and Commercial Grade Cards ....B-2 B-4. Silicon Systems and Campbell Scientific PC/CF Model Numbers..B-2...
  • Page 7: Introduction

    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 10baseT Ethernet cable should be used for locations susceptible to power surges and for cable length longer than 9 ft.
  • Page 8: Physical Set-Up

    CAUTION removing the NL115 to/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 10 Base 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.
  • Page 9: Step 2 - Loggernet Set-Up

    A temporary IP address may be obtained from a DHCP server. For more information see Section 7.1.8, DHCP. NOTE 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.
  • Page 10: Step 3 - Connect

    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. The CardOut() instruction must be entered within each DataTable declaration that is to store data to the CF card.
  • Page 11: Cf Card Data Retrieval

    ® NL115 Ethernet and CompactFlash Module 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).
  • Page 12: Overview

    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.
  • Page 13: Specifications

    EN55022-1; 1995 and EN50082-1: 1992 Cable Requirements: Use a straight-through Ethernet cable when the cable is run from the hub to the NL115. Use a crossover Ethernet cable when the cable is run directly from the computer to the NL115. Use...
  • Page 14: Operation

    CRBasic Editor Help. 7.1.1 Communicating over TCP/IP Once the datalogger, the NL115, and LoggerNet have been setup as described in Sections 4.1 and 4.2, communications are possible over TCP/IP. This includes program send and data collection. These are straightforward operations and are accomplished through LoggerNet’s Connect screen.
  • Page 15: Datalogger-To-Datalogger Communication

    ® NL115 Ethernet and CompactFlash Module PROGRAM ' CR1000 ' IP_Callback.cr1 ' LoggerNet server Pak Bus Address assumed = 4094 ' PC IP address assumed = 192.168.7.231 ' LoggerNet IPPort "IP Port Used for Call-Back" = 6785 ' LoggerNet IPPort "Call-Back Enabled" is checked ' LoggerNet CR1000 "Call-Back Enabled"...
  • Page 16: Http Web Server

    ® NL115 Ethernet and CompactFlash Module PROGRAM 'CR1000 ‘DL-to-Dl_Comms_1.cr1 ‘Send this program to CR1000 #1 ‘Remote CR1000 #2 has PBA = 2, IP addr = 192.168.7.125, and port 6785 Public BattVolt,, BattVolt_Remote Public PTemp Public Result1, Result2 Dim Socket as LONG...
  • Page 17: Ftp

    7.1.3 FTP 7.1.3.1 FTP Server With an NL115 attached, the datalogger will automatically run an FTP server. This allows Windows Explorer to access the datalogger’s file system via FTP. In the FTP world, the “drives” on the datalogger are mapped into directories (or folders).
  • Page 18 ® NL115 Ethernet and CompactFlash Module FIGURE 7-2. FTP Root Directory FIGURE 7-3. FTP CRD Directory...
  • Page 19: Ftp Client

    Step 1 – Configure Datalogger Connect serial cable from PC COM port to datalogger RS-232 port. 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.
  • Page 20: Telnet

    Pinging the datalogger’s IP address may be used to verify communications. 7.1.6 Serial Server With an NL115 attached, the datalogger can be configured to act as a serial server over the 10 Base T port. (A serial server is a device that allows serial communications over a TCP/IP port.) This function may be useful when...
  • Page 21: Serial Output

    = SerialOut(socket,sent,"",0,100) 7.1.7 TCP ModBus With an NL115 attached, the datalogger can be set up as a TCP ModBus Master or Slave device. For information on configuring the datalogger as a TCP ModBus Master or Slave, see the ModBus section of the datalogger manual.
  • Page 22: File Formats

    File Control. They may also be copied from CPU memory to the card (or from 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 NL115, cycle through the datalogger power, and have power up functions automatically performed. ®...
  • Page 23: Creating And Editing Powerup.ini

    ® NL115 Ethernet and CompactFlash Module CAUTION Test the power-up functions in the office before going into the field to ensure the power-up file is configured correctly. The key to the CF power-up function is the powerup.ini file, which contains a list of one or more command lines.
  • Page 24: Applications

    ® NL115 Ethernet and CompactFlash Module TABLE 7-1. Powerup.ini Commands Command Description Run always, preserve CF data files Run on power-up Format Run now, preserve CF data files Load OS (File = .obj) Run always, erase CF data files now...
  • Page 25: Program Execution

    ® NL115 Ethernet and CompactFlash Module 7.2.3.3 Program Execution After File is processed, the following rules determine what datalogger program to run: 1) If the Run Now program is changed then it will be the program that runs. 2) If no change is made to the Run Now program, but the Run on Power-up program is changed, the new Run on Power-up program runs.
  • Page 26: Camera Files

    ® NL115 Ethernet and CompactFlash Module 7.2.4 Camera Files JPEG images taken by a CC640 digital camera (retired) connected to the datalogger can be stored to the CF card rather than CPU memory. This is done by configuring the PakBus setting “Files Manager” for the datalogger. This can be done using the Device Configuration Utility or PakBus Graph.
  • Page 27: Fill And Stop Mode

    ® NL115 Ethernet and CompactFlash Module PROGRAM 'CR1000 Public temp DataTable (Table1,1,-1) CardOut (0, -1) Maximum (1,temp,FP2,False,False) Minimum (1,temp,FP2,False,False) EndTable BeginProg Scan(1,SEC,3,0) PanelTemp(temp,250) CallTable Table1 NextScan EndProg 7.3.2.2 Fill and Stop Mode The following program outputs a sample of the panel temperature to the card once a second.
  • Page 28 ® NL115 Ethernet and CompactFlash Module once a second. The first parameter of the CardOut() instructions is 1, which sets the tables on the card to fill and stop mode. The second parameter is 1000, so 1000 records will be written to each table before stopping.
  • Page 29: Table Size And Mode

    7.4.1 Via a Communication Link Data can be transferred to a computer via a communications link using one of Campbell Scientific’s datalogger support software packages (e.g., PC200, PC400, LoggerNet). There is no need to distinguish whether the data is to be collected from the CPU memory or a CF card.
  • Page 30: Transporting Cf Card To Computer

    Do not switch off the datalogger power if a card is present and active. To remove a card, press the control button on the NL115. The datalogger will transfer any buffered data to the card and then power off. The Status LED will turn green when it is OK to remove the card.
  • Page 31: Reinserting The Card

    Module 7.4.2.2 Reinserting the Card If the same card is inserted again into the NL115, the datalogger will store all data to the card that has been generated since the card was removed that is still in the CPU memory. If the data tables have been left on the card, new data will be appended to the end of the old files.
  • Page 32 NL115 Ethernet and CompactFlash Module 3. When ready to retrieve data, press NL115 button to remove the card. The LED will be red while the most current data is stored to the card and then turn green. Eject the card while the LED is green.
  • Page 33: Windows Explorer

    Appendix A. Formatting CF Card The CF card can be formatted using 1) Windows Explorer, 2) the CR1000KD or 3) LoggerNet File Control. A.1 Windows Explorer To format card using Windows Explorer: 1) Insert CF card into CF adapter or CF reader. 2) Windows Explorer should identify a drive as a removable disk (F:\).
  • Page 34: A.2 Cr1000Kd

    FAT or FAT 32.) A.2 CR1000KD To format card using the CR1000KD: 1) Insert CF card into NL115. 2) From Main Menu of CR1000KD choose PCCard. 3) Choose Format Card. 4) Choose Yes to proceed.
  • Page 35 Appendix A. Formatting CF Card 3) Choose FileControl under the Tools menu of the Connect screen. 4) Highlight CRD. 5) Press Format. 6) Press Yes to confirm.
  • Page 36 Appendix A. Formatting CF Card...
  • Page 37: B-1. Crbasic Dataloggers And Pc/Cf Cards

    CR200 Not Available Not Available Not Available CR800/850 Not Available Not Available Not Available CR1000 CFM100 or NL115 CR3000 CFM100 or NL115 CR5000 Built In Yes, with Adaptor CR9000(X) Built In Yes, with Adaptor PC/CF cards use NAND (Not AND) Flash (non-volatile) memory which has the following characteristics: high density, low cost/bit, sequential access, scalable, and a single standard.
  • Page 38: B-3. Comparison Of Industrial And Commercial Grade Cards

    All Campbell Scientific products are Electrostatic Discharge (ESD) tested to ensure that in the event of a static discharge neither the equipment nor the data is damaged or lost. Campbell Scientific ESD tested several brands of cards, only the Silicon Systems cards passed this testing. Campbell Scientific recommends that only Silicon Systems cards be used with Campbell Scientific CRBasic dataloggers.
  • Page 39 Appendix B. PC/CF Card Information References “Implementing MLC NAND Flash for Cost-Effective, High-Capacity Memory”, written by Raz Dan and Rochelle Singer, September 2003, Rev 1.1, www.data-io.com/pdf/NAND/MSystems/Implementing_MLC_NAND_Flash.pdf. “Advantages of SLC NAND Flash Memory”, www.mymemory.com.my/SLC%20VS%20MLC.html.
  • Page 40 Appendix B. PC/CF Card Information...
  • Page 42 Campbell Scientific Companies Campbell Scientific, Inc. (CSI) 815 West 1800 North Logan, Utah 84321 UNITED STATES www.campbellsci.com • info@campbellsci.com Campbell Scientific Africa Pty. Ltd. (CSAf) PO Box 2450 Somerset West 7129 SOUTH AFRICA www.csafrica.co.za • cleroux@csafrica.co.za Campbell Scientific Australia Pty. Ltd. (CSA)

Table of Contents