background image

INSTRUCTION

 MANUAL

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

NL116 Ethernet and 

CompactFlash

®

 Module 

Revision: 3/15 

C o p y r i g h t   ©   2 0 0 6 - 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 .  

Содержание NL116

Страница 1: ...INSTRUCTION MANUAL NL116 Ethernet and CompactFlash Module Revision 3 15 C o p y r i g h t 2 0 0 6 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 ...

Страница 2: ......

Страница 3: ...ducts to CSI CSI will return such Products by surface carrier prepaid within the continental United States of America To all other locations CSI will return such Products best way CIP port of entry per Incoterms 2010 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...

Страница 4: ...ng 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 repa...

Страница 5: ...fore beginning work Wear a hardhat and eye protection and take other appropriate safety precautions while working on or around tripods and towers Do not climb tripods or towers at any time and prohibit climbing by other persons Take reasonable precautions to secure tripod and tower sites from trespassers Use only manufacturer recommended parts materials and tools Utility and Electrical You can be ...

Страница 6: ......

Страница 7: ...ompactFlash Card 7 4 4 CF Card Data Retrieval 8 5 Overview 9 5 1 Buttons and Status LED 10 5 2 Power 10 5 3 CF Card Data Retention 10 6 Specifications 10 7 Operation 12 7 1 TCP IP Functionality 12 7 1 1 Communicating Over TCP IP 12 7 1 1 1 Data Callback 12 7 1 1 2 Datalogger to Datalogger Communication 13 7 1 2 HTTP Web Server 14 7 1 3 FTP 15 7 1 3 1 FTP Server 15 7 1 3 2 FTP Client 17 7 1 4 Telne...

Страница 8: ...Card to Computer 27 7 4 2 1 Converting File Formats 27 7 4 2 2 Reinserting the Card 28 7 4 2 3 Card Swapping 28 Appendix A CF Card Maintenance A 1 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 Figures 4 1 NL116 attached to a CR1000 2 4 2 DevConfig setup 3 4 3 Setup screen EZ View Datalogger Type 4 4 4 Se...

Страница 9: ... Scientific s application note CF Card Information 3SM F Note that it is not necessary to purchase the CF cards directly from Campbell Scientific as long as the manufacturer and model number match those shown in the application note Before using the NL116 please study Section 2 Cautionary Statements p 1 Section 3 Initial Inspection p 2 Section 4 Quickstart p 2 The Quickstart section explains how t...

Страница 10: ...ta These operations are discussed in detail in Section 7 Operation p 12 4 1 Physical Setup Always collect your data before attaching the NL116 Always power down the datalogger before installing to or removing the NL116 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 ...

Страница 11: ...tion 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 Alternatively note the Eth IP address assigned to the datalogger via DHCP However note that this address is not static and may change FIGURE 4 2 DevConfig setup d Press the Apply button to save the changes and then cl...

Страница 12: ...ings will not be displayed 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 the EZ View of the LoggerNet Setup screen press Add Press Next to advance to the Datalogger Type and Name screen Select your datalogger type and press Next FIGURE 4 3 Setup screen EZ View Datalogger Type NOTE 4 ...

Страница 13: ...NL116 Ethernet and CompactFlash Module b Select IP Port and press Next FIGURE 4 4 Setup screen EZ View Connection Type 5 ...

Страница 14: ... are input on the same line separated by a colon IPv6 addresses will need to be enclosed in square brackets An IPv4 address may look like 192 168 1 100 6785 An IPv6 address may look like 2001 db8 1234 5678 6785 The datalogger default port number is 6785 It can be changed using DevConfig FIGURE 4 5 Setup screen EZ View IP Port Settings 6 ...

Страница 15: ...lay and data collection are now possible 4 3 Programming the Datalogger to Save Data to the CompactFlash Card 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...

Страница 16: ... 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 attr...

Страница 17: ... 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 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 slo...

Страница 18: ...ctFlash module is powered by 12 Vdc received from the datalogger through the peripheral port Additional power consumption occurs if the Status LED is continuously lit At 12 Vdc an additional 1 mA is drawn by the red or green LED an additional 2 mA is drawn by the orange LED 5 3 CF Card Data Retention The module accepts CF cards which do not require power to retain data Typically a CF card can be e...

Страница 19: ...Bytes sec to 200 KBytes sec depending on multiple factors see note Memory Configuration User selectable for either ring style default or fill and stop Dimensions 10 2 x 8 9 x 6 4 cm 4 0 x 3 5 x 2 5 in Weight 154 g 5 4 oz The NL116 will automatically negotiate the speed and duplex mode used for the Ethernet link However the speed at which data can be transferred to and from a datalogger over the NL...

Страница 20: ... NL116 and LoggerNet have been set up as described in Sections 4 1 Physical Setup p 2 and 4 2 Communicating via Ethernet p 3 communication is possible over TCP IP This includes program send and data collection These are straightforward operations and are accomplished through the LoggerNet Connect screen For more information see the LoggerNet manual Data callback and datalogger to datalogger commun...

Страница 21: ...llback dummy1 1 CallTable CLBK1 NextScan EndProg 7 1 1 2 Datalogger to Datalogger Communication Communication between dataloggers is possible over TCP IP 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 open the connection The socket opened by the TCPOpen in...

Страница 22: ...p PTemp_Base 1 CallTable Test NextScan EndProg 7 1 2 HTTP Web Server Typing the datalogger s IP address into a web browser will bring up its home page as shown in FIGURE 7 1 This default home page provides links to the current record in all tables including data tables the Status table the DataTableInfo table and the Public table Clicking on a Newest Record link will bring up the latest record for...

Страница 23: ...d FileWrite can be used to create HTML pages but this requires first writing the file to the datalogger USR CRD or USB drive It is less convenient and the page will be only as current as 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 Explorer to access the datalogger s file system via FTP In the ...

Страница 24: ...NL116 Ethernet and CompactFlash Module FIGURE 7 2 FTP root directory FIGURE 7 3 FTP CRD directory 16 ...

Страница 25: ...ssword Step 2 Access File System a The datalogger must be set up for Ethernet communications as explained in Sections 4 1 Physical Setup p 2 and 4 2 Communicating via Ethernet p 3 Step 1 only b Open a Windows Explorer window Enter ftp username password nnn nnn nnn nnn where nnn nnn nnn nnn is the IP address of the datalogger If the user name is anonymous with no password enter ftp nnn nnn nnn nnn ...

Страница 26: ... device that allows serial communication over a TCP IP port This function may be useful when communicating with a serial sensor over an Ethernet 7 1 6 1 Serial Input The TCPOpen instruction must be used first to open a TCP socket An example of this instruction is shown below For more information on this instruction see the CRBasic Editor help socket TCPOpen 6784 100 Once a socket has been opened w...

Страница 27: ...gh DHCP is not static but is leased for a period of time set by the network administrator The address may change if the datalogger is powered down 7 1 9 DNS The datalogger provides a DNS client that can query a DNS server to resolve a fully qualified domain name When a DNS server is available domain names can be used in place of the IP address in the datalogger instructions 7 2 File Formats This s...

Страница 28: ...er 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 At power up the powerup ini command line is executed prior to compiling the program Powerup ini performs three operations 1 Copies the specified program file to a specified memory...

Страница 29: ... default to CPU TABLE 7 1 Powerup ini Commands Command Description 1 Run always preserve CF data files 2 Run on power up 5 Format 6 Run now preserve CF data files 9 Load OS File obj 13 Run always erase CF data files now 14 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...

Страница 30: ... 14 copies the specified program to the designated drive and sets the run attribute to Run Now Data on a CF card from the previously running program will be erased 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 it will be the program that runs 2 If no change is made to the Run Now program but the Ru...

Страница 31: ...eclaration that is to store data to the CF card Data is stored to the card when a call is made to the data table CardOut StopRing Size Parameter Data Type Enter StopRing Constant A code to specify if the data table on the CF card is fill and stop or ring newest data overwrites oldest Value Result 0 Ring 1 Fill and stop Size Constant The size to make the data table The number of data sets records f...

Страница 32: ...e 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 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 ful...

Страница 33: ...a second The DataInterval instruction causes data to only be stored every five seconds The first parameter of the CardOut instruction is 0 which sets the tables on the card to ring mode The second parameter is negative so all available memory on the card will be allocated to these tables once space for the fixed size tables has been allocated The datalogger will attempt to size the tables so that ...

Страница 34: ...lity in datalogger support software Before collecting data this way stop the datalogger program to ensure data is not written to the CF card while data is retrieved Otherwise data corruption and confusion will result 7 4 1 1 Fast Storage Data Collection Constraints When LoggerNet collects data from ring tables that have filled there is the possibility of missing records due to the collection proce...

Страница 35: ...les can be copied to another drive or used directly from the CF card just as one would from any other disk In most cases however it will be necessary to convert the file format before using the data When dealing with large data files it may be faster to use an external card reader such as pn 17752 rather than a PC card slot 7 4 2 1 Converting File Formats Files can be converted using LoggerNet Car...

Страница 36: ...re leaving the datalogger If a CF card was not properly accepted the Status LED will flash orange In that case the user needs to reformat and erase all data contained on the CF card Formatting or erasing a CF card might be done on a PC or datalogger The procedure for formatting a CF card is explained in Appendix A CF Card Maintenance p A 1 7 4 2 3 Card Swapping When transporting a CF card to a com...

Страница 37: ...ll be TOA5_stationname_tablename dat Once the data is copied use Windows Explorer to delete all data files from the card 6 At the next card swap eject CF B and insert the clean CF A 7 Running CardConvert on CF B will result in separate data files containing records since CF A was ejected CardConvert can increment the filename to TOA5_stationname_tablename_0 dat 8 The data files can be joined using...

Страница 38: ...NL116 Ethernet and CompactFlash Module 30 ...

Страница 39: ...g 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 3 Select that drive and right click 4 Choose Format A 1 ...

Страница 40: ...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 LoggerNet File Control 1 Insert CF card into NL116 2 Use LoggerNet to connect to datalogger A 2 ...

Страница 41: ... 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 2 Windows Explorer should identify a drive as removable disk 3 Select that drive and right click 4 Choose Properties A 3 ...

Страница 42: ...Appendix A CF Card Maintenance 5 Navigate to the Tools tab 6 Press Check 7 Select Scan and Repair Drive A 4 ...

Страница 43: ......

Страница 44: ...om br Campbell Scientific Canada Corp CSC 14532 131 Avenue NW Edmonton AB T5L 4X4 CANADA www campbellsci ca dataloggers campbellsci ca 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 Ltd CSL Campbell Park 80 Hathern Road Shepshed Loughborough LE12 9GX UNITED KINGDOM www ca...

Отзывы: