background image

 

 
 
 
 
 
 
 
 
 

 

 

NL121 

Ethernet Module 

 

 

 

 
 
 
 

 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Issued: 28.7.15

 

 
 

Copyright © 2006-2015 Campbell Scientific, Inc. 

Printed under licence by Campbell Scientific Ltd. 

 
 

CSL 1066 

USER MANUAL

 

Summary of Contents for NL121

Page 1: ...NL121 Ethernet Module Issued 28 7 15 Copyright 2006 2015 Campbell Scientific Inc Printed under licence by Campbell Scientific Ltd CSL 1066 USER MANUAL ...

Page 2: ......

Page 3: ...her the 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 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...

Page 4: ......

Page 5: ...al 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 some cases alternatives are offered Details of the alternatives will be covered in separate manuals Part numbers prefixed with a symbol are special order parts for use with non EU variants or for speci...

Page 6: ......

Page 7: ...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 ...

Page 8: ......

Page 9: ...ta Callback 9 6 1 2 Datalogger to Datalogger Communication 10 6 2 HTTP Web Server 11 6 3 FTP 12 6 3 1 FTP Server 12 6 3 1 1 Step 1 Configure Datalogger 13 6 3 1 2 Step 2 Access File System 13 6 3 2 FTP Client 14 6 4 Telnet 14 6 5 Ping 14 6 6 Serial Server 14 6 6 1 Serial Input 14 6 6 2 Serial Output 15 6 7 TCP ModBus 15 6 8 DHCP 15 6 9 DNS 15 Figures 4 1 NL121 attached to a CR1000 2 4 2 DevConfig ...

Page 10: ......

Page 11: ...ND UNDERSTAND the Precautions section at the front of this manual The NL121 requires CR1000 or CR3000 operating system version 28 or later The first time an NL121 is attached to a datalogger the datalogger s memory has to be reorganized to allow room in memory for the IP stack To avoid the loss of data collect your data before attaching the NL121 to a datalogger The NL121 is rugged but it should b...

Page 12: ...ug the NL121 into the datalogger peripheral port see Figure 4 1 Attach Ethernet cable to the Ethernet port Restore power to the datalogger Figure 4 1 NL121 attached to a CR1000 4 2 Communicating via Ethernet 4 2 1 Step 1 Configure Datalogger a Connect serial cable from PC COM port to datalogger RS 232 port b Open Campbell Scientific s Device Configuration Utility DevConfig Select the device type o...

Page 13: ... however 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 close DevConfig A temporary IP address may be obtained from a DHCP server For more information see Section 6 8 DHCP p 15 The NL121 must be connected to the datalogger before configuring the datalogger with DevConfig If it is not connected the TCP IP settings will...

Page 14: ...erNet 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 ...

Page 15: ...User Manual 5 b Select IP Port and press Next Figure 4 4 Setup screen EZ View Connection Type ...

Page 16: ...put 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 ...

Page 17: ...ransfer table data display and data collection are now possible 5 Specifications Datalogger Compatibility CR1000 CR3000 both require OS version 28 or later Power Requirements 12 V supplied through datalogger s peripheral port Typical Current Drain 64 mA w Ethernet Active 10 Mb 58 mA w Ethernet Active 100 Mb 3 mA w Ethernet Not Active Note Ethernet can be put into a low power state not connected to...

Page 18: ...ors see note Dimensions 10 2 x 6 4 x 2 8 cm 4 0 x 2 5 x 1 1 in Weight 66 6 g 2 35 oz The NL121 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 NL121 depends on multiple factors including the datalogger processor speed that is CR1000 vs CR3000 how busy the datalogger is performing ...

Page 19: ...ogger to datalogger communications are also possible over TCP IP as well as the creation of simple HTML pages to view datalogger variables using a web browser 6 1 1 Data Callback The following program is an example of doing data callback over TCP IP It first checks to see if a port to the LoggerNet server already exists The LoggerNet server is assumed to be at the default PakBus Address 4094 If no...

Page 20: ...ing datalogger to datalogger communication The example program below gets the battery voltage from a remote datalogger and sends its panel temperature to the remote datalogger The remote datalogger is at IP address 192 168 7 125 and port 6785 is used for communication between the dataloggers The remote datalogger must have its battery voltage stored in a public variable BattVolt It must also have ...

Page 21: ...ovided to the last 24 records in each data table Clicking on a Last 24 Records link will bring 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 the datalogger Figure 6 1 Datalogger home page If there is a default html file on the datalogger this will automatically become...

Page 22: ...automatically run an FTP server This allows Windows Explorer to access the datalogger file system via FTP In the FTP world the drives on the datalogger are mapped into directories or folders The root directory on the datalogger will include CPU and possibly USR and or USB The files will be contained in one of these directories Files can be pasted and copied to from the datalogger drives as if they...

Page 23: ...logger c Under the Net Services tab verify that FTP Enabled is checked Input the FTP User Name and FTP Password d Press the Apply button to save the changes and then close DevConfig Using anonymous as the user name with no password allows FTP access without inputting a user name or password 6 3 1 2 Step 2 Access File System a Datalogger must be set up for Ethernet communications as explained in Se...

Page 24: ...rog 6 4 Telnet Telnetting to the datalogger IP address allows access to the same commands as the Terminal Emulator in the LoggerNet Connect screen Datalogger menu 6 5 Ping Pinging the datalogger IP address may be used to verify communication 6 6 Serial Server With an NL121 attached the datalogger can be programmed to act as a serial server over the Ethernet port A serial server is a device that al...

Page 25: ...he 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 NL121 attached and Ethernet cable plugged in The IP address can be found with the DevConfig Settings t...

Page 26: ...ientific 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 80 Hathern Road Shepshed Loughborough LE12 9GX UNITED KINGDOM www campbellsci co uk sales campbellsci co uk Campbell Scientific Ltd France 3 Avenue de la Division Leclerc 92160 ANTONY FRANCE www campbellsci fr info campbellsci fr...

Reviews: