Campbell Scientific NL121 NL121 Ethernet Module
Campbell Scientific NL121 Manual
View all Campbell Scientific NL121 manuals
Add to My Manuals
Save this manual to your list of manuals |
Campbell Scientific NL121 manual content summary:
- Campbell Scientific NL121 | NL121 Ethernet Module - Page 1
INSTRUCTION MANUAL NL121 Ethernet Module Revision: 3/15 Copyright © 2006-2015 Campbell Scientific, Inc. - Campbell Scientific NL121 | NL121 Ethernet Module - Page 2
- Campbell Scientific NL121 | NL121 Ethernet Module - Page 3
CSI to be free from defects in materials and workmanship under normal use and service for twelve months from the date of shipment unless otherwise specified in the corresponding product manual. (Product manuals are available for review online at www.campbellsci.com.) Products not manufactured by CSI - Campbell Scientific NL121 | NL121 Ethernet Module - Page 4
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 customer at the customer's expense. Campbell Scientific reserves the right to refuse service on products that were exposed - Campbell Scientific NL121 | NL121 Ethernet Module - Page 5
exceed design limits. Be familiar and comply with all instructions provided in product manuals. Manuals are available at www.campbellsci.com or by telephoning IS MADE TO EMBODY THE HIGHEST DEGREE OF SAFETY IN ALL CAMPBELL SCIENTIFIC PRODUCTS, THE CUSTOMER ASSUMES ALL RISK FROM ANY INJURY RESULTING - Campbell Scientific NL121 | NL121 Ethernet Module - Page 6
- Campbell Scientific NL121 | NL121 Ethernet Module - Page 7
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. 4-2. 4-3. 4-4. 4-5. 4-6. 6-1. 6-2. 6-3. NL121 attached to a CR1000 2 DevConfig setup 3 Setup screen (EZ View) Datalogger Type 4 Setup screen (EZ View) Connection Type 5 Setup screen (EZ - Campbell Scientific NL121 | NL121 Ethernet Module - Page 8
- Campbell Scientific NL121 | NL121 Ethernet Module - Page 9
1. Introduction Campbell Scientific's NL121 Ethernet Module enables Ethernet communications. It allows the datalogger to communicate over a local network or a dedicated Internet connection via Ethernet. This small, rugged communication device connects to the 40-pin peripheral port on a CR1000 or - Campbell Scientific NL121 | NL121 Ethernet Module - Page 10
. 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 - Campbell Scientific NL121 | NL121 Ethernet Module - Page 11
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). NOTE The NL121 must be connected to the datalogger before configuring the datalogger with DevConfig. If it is not connected, the TCP/IP settings will not be - Campbell Scientific NL121 | NL121 Ethernet Module - Page 12
NL121 Ethernet 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. a. In - Campbell Scientific NL121 | NL121 Ethernet Module - Page 13
b. Select IP Port and press Next. NL121 Ethernet Module FIGURE 4-4. Setup screen (EZ View) Connection Type 5 - Campbell Scientific NL121 | NL121 Ethernet Module - Page 14
NL121 Ethernet Module c. Input the datalogger's IP address and port number and press Next. The IP address and port number are input on the same line - Campbell Scientific NL121 | NL121 Ethernet Module - Page 15
NL121 Ethernet Module d. Input the PakBus Address of the and data collection are now possible. 5. Specifications Datalogger Compatibility: CR1000, CR3000 (both require OS version 28 or later) Power Requirements the network, essentially off) using the IPNetPower() or EthernetPower() instruction. 7 - Campbell Scientific NL121 | NL121 Ethernet Module - Page 16
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 measurement, processing, control and other communication tasks - Campbell Scientific NL121 | NL121 Ethernet Module - Page 17
Information Services section of the datalogger manual and CRBasic Editor help. 6.1 Communicating over TCP/IP Once the datalogger, the NL121, is opened using the TCPOpen() instruction. The SendVariables() instruction is then used to send data. PROGRAM 'CR1000 'IP_Callback.cr1 'LoggerNet server Pak - Campbell Scientific NL121 | NL121 Ethernet Module - Page 18
NL121 Ethernet Module be opened between the two dataloggers. This is done using the TCPOpen() instruction or using the PakBus/TPC Client setting. Note that only one datalogger of the base datalogger. PROGRAM 'CR1000 'DL-to-Dl_Comms_1.cr1 'Send this program to CR1000 #1 'Remote CR1000 #2 has PBA = 2, - Campbell Scientific NL121 | NL121 Ethernet Module - Page 19
NL121 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 configurable home page. The WebPageBegin/WebPageEnd declarations and the HTTPOut() instruction can be used in a datalogger program to create HTML or - Campbell Scientific NL121 | NL121 Ethernet Module - Page 20
NL121 Ethernet Module See Web Server API in the contents of the page will be only as current as it is written to the file. 6.3 FTP 6.3.1 FTP Server With an NL121 attached, the datalogger will automatically run an FTP server. This allows Windows Explorer to access the datalogger file system via - Campbell Scientific NL121 | NL121 Ethernet Module - Page 21
PC COM port to datalogger RS-232 port. b. Open Campbell Scientific's DevConfig. Select the Device Type of the datalogger (CR1000 or CR3000), the appropriate Communication Port, and Baud Rate. Connect to the datalogger. c. Under the Net Services tab, verify that FTP Enabled is checked. Input the FTP - Campbell Scientific NL121 | NL121 Ethernet Module - Page 22
. For more information, see the FTPClient() instruction in the CRBasic Editor help. PROGRAM 'CR1000 'FTPClient.cr1 Public Result1, Result2 BeginProg Scan 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 - Campbell Scientific NL121 | NL121 Ethernet Module - Page 23
, serial data may be sent out with a SerialOut() instruction. An example of this instruction is shown below. For more information on this instruction, see the CRBasic Editor help. result = SerialOut(socket,sent,"",0,100) 6.7 TCP ModBus With an NL121 attached, the datalogger can be set up as a TCP - Campbell Scientific NL121 | NL121 Ethernet Module - Page 24
NL121 Ethernet Module 16 - Campbell Scientific NL121 | NL121 Ethernet Module - Page 25
- Campbell Scientific NL121 | NL121 Ethernet Module - Page 26
Australia Pty. Ltd. (CSA) PO Box 8108 Garbutt Post Shop QLD 4814 AUSTRALIA www.campbellsci.com.au • [email protected] Campbell Scientific (Beijing) Co., Ltd. 8B16, Floor 8 Tower B, Hanwei Plaza 7 Guanghua Road Chaoyang, Beijing 100004 P.R. CHINA www.campbellsci.com • [email protected]
INSTRUCTION MANUAL
NL121 Ethernet Module
Revision: 3/15
Copyright © 2006-2015
Campbell Scientific, Inc.