background image

User Manual 

15 

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. 

7.1.8

 

DHCP 

The IP address of the datalogger may be obtained through DHCP, if a DHCP 
server is available.  The DHCP address will be automatically assigned if there is a 
DHCP server available and no static IP address has been entered.  The IP address 
should be available a few minutes after the datalogger has been powered up with 
the NL115 attached and Ethernet cable plugged in.  The IP address can be found 
with the Device Configuration Utility’s Settings tab under TCP/IP info.  It can 
also be found using a CR1000KD attached to the datalogger.  Go to Configure, 
Settings | Settings, scroll down to IP Status and press the right arrow.   

An IP address obtained through 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 section covers the different types of files stored on the CF card. 

7.2.1

 

Data Files 

The datalogger stores data on the CF card in TOB3 format.  TOB3 is a binary 
format that incorporates features to improve reliability of the CF cards.  TOB3 
allows the accurate determination of each record’s time without the space required 
for individual time stamps.   

TOB3 format is different than the data file formats created when data are collected 
via a communication link.  Data files read directly from the CF card generally 
need to be converted into another format to be used. 

When TOB3 files are converted into another format, the number of records may 
be slightly greater or less than the number requested in the data-table declaration.  
There is always some additional memory allocated.  When the file is converted, 
this will result in additional records if no lapses occurred.  If more lapses occur 
than were anticipated, there may be fewer records in the file than were allocated. 

The CardConvert software included in LoggerNet, PC400, and PC200 will convert 
data files from one format into another.   

7.2.2

 

Program Files 

The CF card can be used to provide extra program-storage space for the 
datalogger.  Program files can be copied to the card while it is attached as a drive 
on the computer.  They can also be sent to the card using LoggerNet’s File 
Control.  They may also be copied from CPU memory to the card (or from the 
card to CPU memory) using the CR1000KD.   

Содержание NL115

Страница 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 USER MANUAL...

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

Страница 3: ...e repair is under guarantee or not Please state the faults as clearly as possible and if the product is out of the guarantee period it should be accompanied by a purchase order Quotations for repairs...

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

Страница 5: ...l cell phones and aerials may also not be applicable according to your locality Some brackets shields and enclosure options including wiring are not sold as standard items in the European market in so...

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

Страница 7: ...r 6 5 3 CF Card Data Retention 6 6 Specifications 7 7 Operation 8 7 1 TCP IP Functionality 8 7 1 1 Communicating Over TCP IP 8 7 1 1 1 Data Callback 8 7 1 1 2 Datalogger to Datalogger Communication 9...

Страница 8: ...22 7 4 2 1 Converting File Formats 22 7 4 2 2 Reinserting the Card 23 7 4 2 3 Card Swapping 23 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...

Страница 9: ...5 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 commun...

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

Страница 11: ...the TCP IP tab input the IP Address Subnet Mask and IP gateway These values should be provided by your network administrator Figure 4 2 DevConfig setup d Press the Apply button to save the changes an...

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

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

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

Страница 15: ...ruction Add 1 mA to current drain if red or green Status LED is continuously on Add 2 mA to current drain if orange Status LED is continuously on Operating Temperature Range 25 to 50 C Standard 40 to...

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

Страница 17: ...nelTemperature 250 Battery BatteryVoltage If not Route 4094 then Socket TCPOpen 192 168 7 231 6785 0 SendVariables Result1 Socket 1 4094 0000 100 Public Callback dummy1 1 CallTable CLBK1 NextScan EndP...

Страница 18: ...50 Public PTemp 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...

Страница 19: ...st writing the file to the datalogger s USR 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 NL115 attached the datalo...

Страница 20: ...and CompactFlash Module 12 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 Configu...

Страница 21: ...ogger If the user name is anonymous with no password enter ftp nnn nnn nnn nnn where nnn nnn nnn nnn is the IP address of the datalogger 7 1 3 2 FTP Client The datalogger can also act as an FTP Client...

Страница 22: ...Instruction An example of this instruction is shown below The first parameter is the string variable into which the incoming serial data will be stored The second parameter is the socket returned by...

Страница 23: ...nstructions 7 2 File Formats This section covers the different types of files stored on the CF card 7 2 1 Data Files The datalogger stores data on the CF card in TOB3 format TOB3 is a binary format th...

Страница 24: ...tes CF data files from the overwritten just previous program Powerup ini takes precedence during power up Though it sets file attributes for the programs it uploads its presence on the CF does not all...

Страница 25: ...s Commands 1 2 6 13 and 14 Run Now and or Run On Power up If a device other than CRD drive is specified the file will be copied to that device Commands 1 2 and 13 Run On Power up If the copy first app...

Страница 26: ...ram on Power up Copy pwrup cr1 to USR will run only when powered up later 2 pwrup cr1 usr EXAMPLE 7 3 Format the USR Drive Format the USR drive 5 usr EXAMPLE 7 4 Send OS on Power up Load this file int...

Страница 27: ...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 the card will m...

Страница 28: ...Datalogger Station Status Table Fill Times Reset Tables or use the CRBasic ResetTable instruction 7 3 2 3 Mixed Modes The following program stores four data tables to the card The first two tables wi...

Страница 29: ...can be different It is important to note that if the CPU memory is set to fill and stop mode once a table is full all data storage to the table will stop No more records will be stored to the CPU mem...

Страница 30: ...ind scenario where LoggerNet never catches up and the datalogger repeatedly overwrites uncollected data The possibility of missing records is greater when collecting data via IP This is due to the hig...

Страница 31: ...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 If the data tables have been deleted new ones will...

Страница 32: ..._tablename dat Once the data is copied use Windows Explorer to delete all data files from the card Windows98 and WindowsME users need to shift delete to completely delete files Using standard delete m...

Страница 33: ...ing 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 i...

Страница 34: ...th either 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 A 1 3 Lo...

Страница 35: ...ess 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 read...

Страница 36: ...Appendix A CF Card Maintenance A 4 5 Navigate to the Tools tab 6 Press Check Now 7 Select both options 8 Press Start...

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

Страница 38: ...Centro Caribe S A CSCC 300N Cementerio Edificio Breller Santo Domingo Heredia 40305 COSTA RICA www campbellsci cc info campbellsci cc Campbell Scientific Ltd CSL Campbell Park 80 Hathern Road Shepshe...

Отзывы: