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”...
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
• Periodically (at least yearly) check electrical ground connections. WHILE EVERY ATTEMPT IS MADE TO EMBODY THE HIGHEST DEGREE OF SAFETY IN ALL CAMPBELL SCIENTIFIC PRODUCTS, THE CUSTOMER ASSUMES ALL RISK FROM ANY INJURY RESULTING FROM IMPROPER INSTALLATION, USE, OR MAINTENANCE OF TRIPODS, TOWERS, OR ATTACHMENTS TO TRIPODS AND TOWERS...
NL121 must be well grounded. The NL121 is grounded through the datalogger’s ground lug via the thumb screw used to attach the NL121 to the datalogger. That connection is only made if the thumb screw on the NL121 is tightened down to the datalogger.
Always power down the datalogger before installing or CAUTION removing the NL121 to or from the datalogger. After powering down the datalogger, plug the NL121 into the datalogger peripheral port (see Figure 4-1). Attach Ethernet cable to the Ethernet port. Restore power to the datalogger.
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 NOTE the datalogger with DevConfig. If it is not connected, the TCP/IP...
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. In the EZ View of the LoggerNet Setup screen, press Add. Press Next to advance to the Datalogger Type and Name screen.
NL121 Ethernet Module Input the datalogger’s IP address and port number and press Next. The IP address and port number 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.
User Manual Input the PakBus Address of the datalogger. Figure 4-6. Setup screen (EZ View) Datalogger Settings Press Next until you reach the Communication Setup Summary screen. Press Finish to complete the setup. 4.2.3 Step 3 – Connect You are now ready to connect to your datalogger using the LoggerNet Connect screen.
Page 18
Below are some example data transfer rates observed over an ideal connection. A laptop computer was connected directly to the NL121 interface, transferring a 1.7 MB file to and from the datalogger USR drive.
Information Services section of the datalogger manual and CRBasic Editor help. Communicating over TCP/IP Once the datalogger, the NL121, and LoggerNet have been set up as described in Sections 4.1, Physical Setup , and 4.2, Communicating via Ethernet (p.
NL121 Ethernet Module BeginProg Scan (5,Sec,6,0) PanelTemp (PanelTemperature,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 EndProg 6.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. This is done using the TCPOpen() instruction or using the PakBus/TPC Client setting.
User Manual GetVariables (Result1,Socket,-1,2,0000,50,"Public","BattVolt",BattVolt_Remote,1) SendVariables (Result2,Socket,-1,2,0000,50,"Public","PTemp",PTemp_Base,1) CallTable(Test) NextScan EndProg HTTP Web Server Typing the datalogger IP address into a web browser will bring up its home page as shown in Figure 6-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.
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 FTP. In the FTP world, the “drives” on the datalogger are mapped into directories (or folders).
6.3.1.1 Step 1 – Configure Datalogger Connect serial cable from PC COM port to datalogger RS-232 port. 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.
Pinging the datalogger IP address may be used to verify communication. 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 allows serial communication over a TCP/IP port.) This function may be useful when...
= SerialOut(socket,sent,"",0,100) TCP ModBus With an NL121 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 26
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)
Need help?
Do you have a question about the NL121 and is the answer not in the manual?
Questions and answers