Campbell NL115 User Manual

Ethernet interface and compactflash module
Hide thumbs Also See for NL115:

Advertisement

NL115
Ethernet Interface and
®
CompactFlash
Module
Issued: 24.3.14
Copyright © 2006-2014 Campbell Scientific, Inc.
Printed under licence by Campbell Scientific Ltd.
CSL 629

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

Subscribe to Our Youtube Channel

Summary of Contents for Campbell NL115

  • Page 1 NL115 Ethernet Interface and ® CompactFlash Module Issued: 24.3.14 Copyright © 2006-2014 Campbell Scientific, Inc. Printed under licence by Campbell Scientific Ltd. CSL 629...
  • Page 3 Quotations for repairs can be given on request. It is the policy of Campbell Scientific to protect the health of its employees and provide a safe working environment, in support of this policy a “Declaration of Hazardous Material and Decontamination”...
  • Page 5: About This Manual

    PLEASE READ FIRST About this manual Please note that this manual was originally produced by Campbell Scientific Inc. primarily for the North American market. Some spellings, weights and measures may reflect this origin. Some useful conversion factors: Area: 1 in...
  • Page 7: Table Of Contents

    4.2.1 Step 1: Configure Datalogger............3 4.2.2 Step 2: LoggerNet Setup ............... 4 4.2.3 Step 3: Connect ................4 Programming the Datalogger to Send Data to the NL115 ....5 CF Card Data Retrieval ................ 5 5. Overview ..............6 Status LEDs ..................
  • Page 8 A.1.1 Windows Explorer ..............A-1 A.1.2 CR1000KD ................A-2 A.1.3 LoggerNet File Control ............. A-2 Checking CF Card Integrity ............. A-3 Figures 4-1. NL115 attached to a CR1000 ............... 2 4-2. DevConfig setup .................. 3 4-3. LoggerNet setup ................... 4 6-1.
  • Page 9: Introduction

    NL115 to a datalogger.  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.
  • Page 10: Initial Inspection

    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 NOTE TCP/IP functionality.
  • Page 11: Communicating Via Ethernet

    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 NOTE the datalogger with the Device Configuration Utility. If it is not...
  • Page 12: Step 2: Loggernet Setup

    ® 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. In LoggerNet’s Setup Screen, press Add Root and choose IPPort. Input the datalogger’s IP address and port number.
  • Page 13: Programming The Datalogger To Send Data To The Nl115

    User Manual 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.
  • Page 14: 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 15: 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 a shielded cable and/or the #28033 surge suppressor when the cable length is more than 9 ft.
  • Page 16: Operation

    CRBasic Editor Help. 7.1.1 Communicating Over TCP/IP Once the datalogger, the NL115, and LoggerNet have been set up as described in Sections 4.1, Physical Set-up, and 0, Communicating via Ethernet, communication is possible over TCP/IP. This includes program send and data collection. These are straightforward operations and are accomplished through LoggerNet’s...
  • Page 17: Datalogger-To-Datalogger Communication

    User Manual Server is assumed to be at the default PakBus address, 4094.) If not, a socket to LoggerNet is opened using the TCPOpen() instruction. The SendVariables() instruction is then used to send data. 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"...
  • Page 18: 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 19: 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 20: Ftp Root Directory

    ® NL115 Ethernet and CompactFlash Module Figure 7-2. FTP root directory Figure 7-3. FTP CRD directory In order to use FTP, the datalogger’s FTP User Name and FTP Password must be set. This is done using Device Configuration Utility.
  • Page 21: 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 22: 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 10Base-T port. (A serial server is a device that allows serial communication over a TCP/IP port.) This function may be useful when...
  • Page 23: Tcp Modbus

    User Manual 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 24: Power-Up Files (Powerup.ini)

    ® NL115 Ethernet and CompactFlash Module 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. ® Power-up functions of CompactFlash cards can include: a) Sending programs to the CR1000 or CR3000...
  • Page 25: Applications

    User Manual Device = the device to which the associated file will be copied Options are CPU:, USR:, and CRD:. If left blank or with an invalid option, it will default to CPU:. 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...
  • Page 26: Example Powerup.ini Files

    ® NL115 Ethernet and CompactFlash Module 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. 3) If neither the Run on Power-up nor the Run Now programs are changed, the previous Run on Power-up program runs.
  • Page 27: Camera Files

    User Manual 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 Device Configuration Utility or PakBus Graph.
  • Page 28: Fill-And-Stop Mode

    ® NL115 Ethernet and CompactFlash Module 7.3.2.2 Fill-and-Stop Mode The following program outputs a sample of the panel temperature to the card once a second. The first parameter of the CardOut() instruction is 1, which sets the table on the card to fill-and-stop mode. The second parameter (1000) is the number of records which will be written before the table is full and data storage stops.
  • Page 29: Table Size And Mode

    7.4.1 Via a Communication Link Data can be transferred to a computer via a communication link using one of Campbell Scientific’s datalogger support software packages (for example, PC200W, 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: Fast Storage/Data-Collection Constraints

    Do not switch off the datalogger power if a card is present and active. To remove a card, press the Initiate Removal 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

    Figure 7-4. CardConvert 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.
  • Page 32 1. Insert formatted card (“CF-A”) in NL115 attached to datalogger. 2. Send Program containing CardOut() instruction(s). 3. When ready to retrieve data, press the NL115 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 green.
  • Page 33: Appendix A. Cf Card Maintenance

    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 identify a drive as a removable disk (F:\).
  • Page 34: Cr1000Kd

    FAT or FAT32.) A.1.2 CR1000KD To format card using the CR1000KD: 1) Insert CF card into NL115. 2) From the main menu of CR1000KD, choose PCCard. 3) Choose Format Card. 4) Choose Yes to proceed.
  • Page 35: Checking Cf Card Integrity

    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) Insert CF card into CF reader.
  • Page 36 Appendix A. CF Card Maintenance 5) Navigate to the Tools tab. 6) Press Check Now. 7) Select both options. 8) Press Start.
  • Page 38 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 sales@csafrica.co.za Campbell Scientific Australia Pty. Ltd. (CSA)

Table of Contents