Table of Contents 1. Introduction 2. Precautions 3. Initial inspection 4. CR350 data acquisition system components 4.1 The CR350 data logger 4.1.1 CR350 product line 4.1.2 Overview 4.1.3 Operations 4.1.4 Programs 4.2 Sensors 5. Wiring panel and terminal functions 5.1 Power input 5.1.1 Power LED indicator 5.2 Power output 5.3 Grounds...
Page 3
10.3.6 Disable 10.4 Wi-Fi LED indicator 11. Cellular communications option 11.1 Pre-installation 11.1.1 Establish cellular service 11.1.1.1 Campbell Scientific cellular data service 11.1.1.2 Other service providers 11.1.2 Install the SIM card 11.1.3 Konect PakBus Router setup 11.1.3.1 Get started 11.1.3.2 Set up Konect PakBus Router 11.2 Installation...
Page 4
11.2.2.1 Configure data logger 11.2.2.2 Set up LoggerNet 11.2.2.3 Test the connection 11.2.3 Modules using a public static IP 11.2.3.1 Configure data logger 11.2.3.2 Set up LoggerNet 11.2.3.3 Test the connection 11.3 Cellular (TX/RX) LED Indicator 11.4 Signal strength and quality 11.4.1 Signal strength 11.4.2 Signal quality 12.
Page 5
15.4 Data types and formats 15.4.1 Variables 15.4.2 Constants 15.4.3 Data storage 15.5 About data tables 15.5.1 Table definitions 15.5.1.1 Header rows 15.5.1.2 Data records 15.6 Creating data tables in a program 16. Data memory 16.1 Data tables 16.2 Flash memory 16.2.1 CPU drive 16.3 USB host (USB: drive) 16.3.1 USB host precautions...
Page 6
17.5.3.2 C terminals 17.5.4 Quadrature measurements 17.5.5 Pulse measurement tips 17.5.5.1 Input filters and signal attenuation 17.5.5.2 Pulse count resolution 17.6 Vibrating wire measurements 17.6.1 VSPECT® 18. Communications protocols 18.1 General serial communications 18.1.1 RS-232 18.1.2 RS-485/RS-422 18.1.3 TTL 18.1.4 TTL-Inverted 18.2 Modbus communications 18.2.1 About Modbus 18.2.2 Modbus protocols...
Page 7
18.3 Internet communications 18.3.1 IP address 18.3.2 FTP server 18.4 MQTT 18.4.1 Sending data to CAMPBELL CLOUD 18.4.1.1 Configure the data logger 18.4.1.2 Program the data logger 18.4.1.3 Set up the CLOUD 18.4.2 Sending data to another MQTT broker 18.4.2.1 Configure the data logger 18.4.2.2 Program the data logger...
Page 8
20.2.1 Replacing the internal battery 20.3 Updating the operating system 20.3.1 Sending an operating system to a local data logger 20.3.2 Sending an operating system to a remote data logger 20.4 gzip 21. Tips and troubleshooting 21.1 Checking station status 21.1.1 Viewing station status 21.1.2 Watchdog errors 21.1.3 Results for last program compiled...
Page 9
21.9 Ground loops 21.9.1 Common causes 21.9.2 Detrimental effects 21.9.3 Severing a ground loop 21.9.4 Soil moisture example 21.10 Improving voltage measurement quality 21.10.1 Deciding between single-ended or differential measurements 21.10.2 Minimizing ground potential differences 21.10.2.1 Ground potential differences 21.10.3 Minimizing power-related artifacts 21.10.3.1 Minimizing electronic noise 21.10.4 Filtering to reduce measurement noise 21.10.5 Minimizing settling errors...
Page 15
23.6.2 High-frequency input 23.6.3 Low-level AC input 23.6.4 Quadrature input 23.7 Digital input/output specifications 23.7.1 Pulse-width modulation 23.8 Communications specifications 23.8.1 Wi-Fi specifications 23.8.2 RF radio option specifications 23.8.3 Cellular option specifications 23.9 Standards compliance specifications Appendix A. Configure cellular settings and retrieve status information with SetSetting() Appendix B.
Page 16
D.3.8 Settings D.3.8.1 set D.3.8.2 download from CLOUD download D.3.8.3 Delete a file D.3.8.4 Stop D.3.8.5 Run D.3.8.6 Upload to CLOUD D.3.8.7 publish D.3.8.8 apply D.3.9 Historic Data Collection D.3.10 Set Public Variable D.3.10.1 setVar D.3.11 Get Public variable D.3.11.1 getVar D.3.12 Serial talkThru D.3.12.1 Talk through to sensor D.3.12.2 TalkThru from sensor...
You may not find it necessary to progress beyond this. However, should you want to dig deeper into the complexity of the data logger functions or quickly look for details, extensive information is available in this and other Campbell Scientific manuals.
Although the CR350 is rugged, it should be handled as a precision scientific instrument. Maintain a level of calibration appropriate to the application. Campbell Scientific recommends factory recalibration every three years. Table 2-1: Symbols used on the CR350...
Check model numbers, part numbers, and product descriptions against the shipping documents. Model or part numbers are found on each product. Report any discrepancies to Campbell Scientific. Check the CR350 operating system version as outlined in Updating the operating system (p.
4. CR350 data acquisition system components A basic data acquisition system consists of sensors, measurement hardware, and a computer with programmable software. The objective of a data acquisition system should be high accuracy, high precision, and resolution as high as appropriate for a given application. The components of a basic data acquisition system are shown in the following figure.
Data Retrieval and Communications - Data is copied (not moved) from the data logger, usually to a computer, by one or more methods using data logger support software. Most communications options are bi-directional, which allows programs and settings to be sent to the data logger.
(firmware) coordinates the functions of these parts in conjunction with the onboard clock and the CRBasic application program. The CR350 can simultaneously provide measurement and communications functions. Low power consumption allows the data logger to operate for extended time on a battery recharged with a solar panel, eliminating the need for ac power.
Page 23
specialized input modules. The data logger, sometimes with the assistance of various peripheral devices, can measure or read nearly all electronic sensor output types. The following list may not be comprehensive. A library of sensor manuals and application notes is available at www.campbellsci.com/support to assist in measuring many sensor types.
5. Wiring panel and terminal functions The CR350 wiring panel provides ports and removable terminals for connecting sensors, power, and communications devices. It is protected against surge, over-voltage, over-current, and reverse power. The wiring panel is the interface to most data logger functions so studying it is a good way to get acquainted with the data logger.
Page 25
Table 5-1: Analog input terminal functions 1 2 3 4 ┌ ┐ ┌ ┐ DIFF H L H L Single-Ended Voltage ✓ ✓ ✓ ✓ Differential Voltage Ratiometric/Bridge ✓ ✓ ✓ ✓ Thermocouple ✓ ✓ ✓ ✓ Current Loop ✓ ✓ 5. Wiring panel and terminal functions...
Page 26
Table 5-2: Pulse counting terminal functions P_SW P_LL Switch-Closure ✓ ✓ ✓ ✓ ✓ ✓ ✓ High Frequency ✓ ✓ ✓ ✓ ✓ ✓ ✓ ✓ Low-level AC ✓ Quadrature ✓ ✓ ✓ ✓ ✓ ✓ Period Average ✓ ✓ ✓...
Ensure that power supply components match the specifications of the device to which they are connected. When connecting power, switch off the power supply, insert the connector, then turn the power supply on. See Troubleshooting power supplies (p. 177) for more information. Following is a list of CR350 power input terminals and the respective power types supported.
5.2 Power output The data logger can be used as a power source for communications devices, sensors and peripherals. Take precautions to prevent damage to these external devices due to over- or under-voltage conditions, and to minimize errors. Additionally, exceeding current limits causes voltage output to become unstable.
Page 30
A good earth (chassis) ground will minimize damage to the data logger and sensors by providing a low-resistance path around the system to a point of low potential. Campbell Scientific recommends that all data loggers be earth grounded. All components of the system (data loggers, sensors, external power supplies, mounts, housings) should be referenced to one common earth ground.
Computers Smart sensors Modbus and DNP3 networks Modems Campbell Scientific PakBus® networks Other Campbell Scientific data loggers Campbell Scientific data logger communications ports include: RS-232 USB Device USB Host C terminals COM ports (TX and RX) 5.4.1 USB device port...
instruction. Files on USB: can be collected by inserting the thumb drive into a computer and copying the files. USB: can be used in all CRBasic file-access-related instructions. Because of data reliability concerns in non-industrial rated drives, this drive is not intended for long-term unattended data Tablefile() storage.
NOTE: RS-232 ports are not isolated. See also Communications specifications (p. 251). 5.4.4 RS-232 Port RS-232 represents a loose standard defining how two computing devices can communicate with each other. For instruction on setting up RS-232 communications with a computer, see USB or RS-232 communications (p.
5.5 Programmable logic control The data logger can control instruments and devices such as: Controlling cellular modem or GPS receiver to conserve power. Triggering a water sampler to collect a sample. Triggering a camera to take a picture. Activating an audio or visual alarm. Moving a head gate to regulate water flows in a canal system.
Page 35
The following image illustrates a simple application wherein a C terminal configured for digital input, and another configured for control output are used to control a device (turn it on or off) and monitor the state of the device (whether the device is on or off). In the case of a cell modem, control is based on time.
6. Setting up the CR350 The basic steps for setting up your data logger to take measurements and store data are included in the following sections: Setting up communications with the data logger (p. 21) Virtual Ethernet over USB (RNDIS) (p.
7. Setting up communications with the data logger The first step in setting up and communicating with your data logger is to configure your connection. Communications peripherals, data loggers, and software must all be configured for communications. Additional information is found in your specific peripheral manual, and the data logger support software manual and help.
8. USB or RS-232 communications Setting up a USB or RS-232 connection is a good way to begin communicating with your data logger. Because these connections do not require configuration (like an IP address), you need only set up the communications between your computer and the data logger. Use the following instructions or watch the Quickstart videos at https://www.campbellsci.com/videos TIP:...
Page 39
115200 baud. The default PakBus address is 1. NOTE: Unlike the RS-232 port on some other Campbell Scientific data loggers that autobaud, the CR350 RS-232 port does not. The hardware and software settings for baud rate and PakBus address must match in order to connect.
Page 40
15. Click Next. 16. Review the Setup Summary. If you need to make changes, click Previous to return to a previous window and change the settings. 17. Setup is now complete. The EZSetup Wizard allows you to Finish, or you may click Next to test communications, set the data logger clock, and send a program to the data logger.
9. Virtual Ethernet over USB (RNDIS) CR350 data loggers support RNDIS (virtual Ethernet over USB). This allows the data logger to communicate via TCP/IP over USB. Watch a video at https://www.campbellsci.com/videos/ethernet-over-usb or use the following instructions. 1. Supply power to the data logger. If connecting via USB for the first time, you must first install USB drivers by using Device Configuration Utility (select your data logger, then on the main page, click Install USB Driver).
Page 42
NOTE: Ethernet over USB (RNDIS) is considered a direct communications connection. Therefore, it is a trusted connection and Administrator privileges are automatically granted for all functionality. 9. Virtual Ethernet over USB (RNDIS)
10. Wi-Fi communications option The CR350-WIFI default Wi-Fi configuration is Normally Off, Create Network on Button Press. With a button press it can create and host its own Wi-Fi network. This allows for easy on-site communications during routine maintenance. Once Wi-Fi communications are complete the data logger returns to a low-power state.
five minutes. See: Normally Off, Join Network on Button Press (default) (p. 34) for more information. Use data logger support software or the LoggerLink mobile app for iOS and Android to connect to the CR350-WIFI network. also: CR350 QuickStart Part 5 - Wi-Fi Communications 10.1.1 Configure the data logger to host a Wi-Fi network Follow these instructions to check the data logger settings or reconfigure it.
3. If you set a password, enter it. The resulting setting will look similar to this image. 4. Close the phone settings. 10.1.3 Set up LoggerLink 1. Open the LoggerLink phone app. 2. Read through the Getting Started information if this is your first time using LoggerLink. 3.
5. Save. 6. All LoggerLink features are now available until the Wi-Fi connection times out with inactivity or theCR350-WIFI button is pressed. See the in-app help for more information about LoggerLink. 10.1.4 Connect your computer to the data logger over Wi- 1.
10.1.5 Set up LoggerNet or PC400W 1. Using data logger support software, launch the EZSetup Wizard. NOTE: New software installations automatically open the EZSetup Wizard the first time they run. LoggerNet users, click Setup , select the View menu and ensure you are in the EZ (Simplified) view, then click Add Datalogger PC400 users, click Add Datalogger 2.
test communications, set the data logger clock, and send a program to the data logger. See Testing communications with EZSetup (p. 71) for more information. 10.2 Joining a Wi-Fi network By default, the CR350-WIFI is configured to host a Wi-Fi network. Alternatively it can be set up to join an existing Wi-Fi network.
Page 49
1. Using data logger support software, launch the EZSetup Wizard. NOTE: New software installations automatically open the EZSetup Wizard the first time they run. LoggerNet users, click Setup , select the View menu and ensure you are in the EZ (Simplified) view, then click Add Datalogger PC400 users, click Add Datalogger 2.
10.3 Wi-Fi configurations and mode button Configure the Wi-Fi mode and button using Device Configuration Utility software. 10.3.1 Join a Network The CR350 will scan for available Wi-Fi networks and attempt to join the network specified by the SSID field. If the data logger cannot join the desired SSID (for example, the network is out of range or there are incorrect parameters), it will go to a low power state and retry about every one minute.
When the button is pressed, the WIFI LED (labeled TX/RX) will turn solid green while attempting to join the specified network and will flash green with network activity. The LED will turn off when the WIFI is no longer powered following a time-out or another button press. 10.3.4 Normally Off, Create Network on Button Press The Wi-Fi will be normally turned off until the Wi-Fi button is pressed.
NOTE: When the Wi-Fi configuration is set to Join a Network or Create a Network the Wi-Fi button is disabled. 10.4 Wi-Fi LED indicator When the data logger is powered, the Wi-Fi LED (labeled TX/RX) will turn on according to Wi-Fi communication states: Off: Insufficient power, Wi-Fi disabled, or data logger failed to join or create a network (periodic retries will occur).
Japan ✓ More than 600 other providers are available worldwide through Campbell Scientific. AT&T ended support of their 3G network service on February 22, 2022. To continue operation the CR350-CELL series requires operating system 2.030 or newer. Use the web interface to find the CR350-CELL series OS version on the OS Date field of the Status Tab.
T-Mobile, Vodafone, Telstra, and over 600 other providers worldwide. When this cellular service is purchased with the module, the module will come pre-provisioned with the required SIM card and APN. If you have already purchased the CR350-CELL series, call Campbell Scientific to set up service.
11.1.2 Install the SIM card NOTE: If you purchased cellular service from Campbell Scientific with the module, it will come with the SIM (Subscriber Identity Module) card already installed. CAUTION: Observe precautions for handling electrostatic sensitive devices. 1. Remove the screws from the bottom panel.
FIGURE 11-1. SIM card installation 11.1.3 Konect PakBus Router setup 11.1.3.1 Get started You will need the Konect PakBus Router redemption code that came on a card with the CR350- CELL series. Open a web browser and go to www.konectgds.com 11.
First-time users need to create a free account. After you submit your information, you will receive two emails up to five minutes apart. One email will contain a Passport ID and the other your Password. If emails are not received, check your email junk folder. 11.1.3.2 Set up Konect PakBus Router 1.
The Provisioning Report received with your Cellular Data Service shows whether the module was configured with a private dynamic or public static IP address. See FIGURE 11-2 (p. 43) for an example of a Campbell Scientific Provisioning Report. Other cellular providers should provide similar information. 11. Cellular communications option...
The second sticker will show the static IP address. Campbell Scientific cellular modules configured with a private dynamic IP address will have one sticker on the module. It will show the module phone number and data plan.
11.2.2.1 Configure data logger 1. Connect the cellular antenna, if it is not already connected. When using a MIMO antenna with multiple cellular connections, connect the primary cable to Cellular and the secondary to Diversity. If the cables are not marked in this way, they can be connected to either antennna port.
12. On the Cellular tab, enter the APN provided by your cellular provider. 13. Click Apply. 14. Click Disconnect and close Device Configuration Utility. 11.2.2.2 Set up LoggerNet The LoggerNet Network Map is configured from the LoggerNet Setup screen. NOTE: Setup has two options, EZ (simplified) and Standard.
Page 62
4. From the Entire Network, on the left side, select the IPPort. Enter the Konect PakBus Router DNS address and port number as noted in the Konect PakBus Router setup (Set up Konect PakBus Router (p. 41)). Enter them into the Internet IP Address field in the format DNS:Port with a colon separating DNS and Port.
6. Select the pbRouter in the Network Map and set the PakBus Address to 4070. 7. Select the data logger in the Network Map and set the PakBus Address to match that of the data logger (default address in the data logger is 1). If a PakBus Encryption Key was entered during data logger setup, also enter it here.
If the connection is successful, the connectors icon at the bottom of the screen will come together and clock information from the data logger will be displayed in the Station Date/Time field. If the connection fails, a Communications Failure message will be displayed. 11.2.3 Modules using a public static IP 11.2.3.1 Configure data logger 11.2.3.2 Set up LoggerNet...
166.22. Both IPv4 and IPv6 addresses are supported. CAUTION: Only set a Trusted IP address if you are familiar with their use. Consult your IT department or Campbell Scientific for assistance. NOTE: This setting does not affect outbound connections, only incoming connections.
Page 66
NOTE: Setup has two options, EZ (simplified) and Standard. Click on the View menu at the top of the Setup screen, and select Standard view. From the LoggerNet toolbar, click Main > Setup and configure the Network Map as described in the following steps: 1.
6. For PakBus data loggers, select the data logger in the Network Map and set the PakBus Address to match that of the data logger (default address in the data logger is 1). If a PakBus Encryption Key was entered during data logger setup, also enter it here. Click Apply to save the changes.
11.3 Cellular (TX/RX) LED Indicator When the data logger is powered, the cellular LED will turn on according to cellular modem communications states: Off: Cellular modem off, insufficient power, or failure to establish a connection with the provider (periodic retries will occur). Solid: Cellular modem is powering up and attempting to establish a connection with a provider.
Table 11-1: Signal strength RSSI (3G) RSRP (4G) Strength estimate Excellent -70 or greater -90 or greater Good -71 to -85 -91 to -105 Fair -86 to -100 -106 to -115 Poor less than -100 less than -115 11.4.2 Signal quality Signal quality shows how much interference there is between the cellular tower and CR350-CELL series, or how noisy a band is.
12. Radio communications option CR350-RF data loggers include radio options. The RF407-series frequency-hopping spread- spectrum (FHSS) radio options include the RF407, RF412, RF422, and RF427. RF407-series are designed for license-free use in several countries: The RF407 option has a 902 to 928 MHz operating-frequency range appropriate for use in the United States and Canada (FCC / IC compliant).
The following sections provide instructions for setting up basic networks. For more complicated networks, see the full radio manuals. https://www.campbellsci.com/rf407 https://www.campbellsci.com/rf452 12.1 Configuration options The following images show the most frequently used configurations with the RF-series data logger and RF-series radio: 12.
12.2 Basic RF407 networks NOTE: This procedure assumes the RF407-series devices are using factory default settings. 12.2.1 Configure the base RF407-series radio Configure the RF407-series radio that is connected to the computer. This is sometimes referred to as the base radio. 12.
Page 73
1. Ensure that an antenna is connected to the RF407-series radio. 2. If connecting via USB for the first time, you must first install USB drivers using Device Configuration Utility (select your radio, then on the main page, click Install USB Driver). 3.
5. On the Main tab, set the Active Interface to USB or RS-232 (depending on how your computer will be connected to the RF407-series radio). 6. Apply to save your changes. 7. Close Device Configuration Utility. 8. The TX/PWR and RX LEDs flash once, after which the TX/PWR LED returns to blinking at the Power Mode interval (0.5 sec, by default).
Page 75
NOTE: Most Campbell Scientific devices come from the factory with a default PakBus address of 1. For this reason, it is best not to assign PakBus address 1 to any device in the network. Then, if a new device with default settings is added to the system, it will not create a conflict.
Page 76
4. Using data logger support software, launch the EZSetup Wizard. LoggerNet users, from the Main category click Setup and select the View menu to ensure you are in the EZ (Simplified) view, then click Add PC400 users, click Add Datalogger 5. Click Next. 6.
10. In Configure the base RF407-series radio (p. 56) you selected an active interface option of USB or RS-232. If you selected USB as the active interface for the radio, you do not need to select a baud rate. If you selected RS-232, set the baud rate to the one chosen during that step.
NOTE: Most Campbell Scientific devices come from the factory with a default PakBus address of 1. For this reason, it is best not to assign PakBus address 1 to any device in the network. Then, if a new device with default settings is added to the system, it will not create a conflict.
Page 79
3. Connect the USB port on your RF407-series radio to your computer. 4. Using Device Configuration Utility, select the Communication Port used for your radio and connect to the RF407-series radio. 5. On the Main tab, set the Active Interface to USB or RS-232 (depending on how your computer will be connected to the RF407-series radio).
12.3.2 Configure the data logger acting as a router 1. Ensure the antenna is connected. 2. For data loggers with an external radio, connect the radio and data logger CS I/O ports using an SC12 cable. 3. Supply 12 VDC power to the data logger. connect 12 VDC at the green BAT terminals or connect 16 to 32 VDC at the CHG terminals 12.
Page 81
4. If connecting via USB for the first time, you must first install USB drivers using Device Configuration Utility (select your radio, then on the main page, click Install USB Driver). 5. Using Device Configuration Utility, connect to the data logger that will serve as a router. 6.
Page 82
10. Set the Verify Interval to something slightly greater than the expected communications interval between the router and the other (leaf) data loggers in the network (for example, 90 seconds). 11. Click the Advanced sub-tab and set Is Router to True. 12.
12.3.2.1 Add routing data logger to LoggerNet network 1. Using LoggerNet, click Setup and click the View menu to ensure you are in the Standard view. 2. Click Add Root 3. Click ComPort, then PakBusPort (PakBus Loggers), then CR300Series. 4. Click Close. 5.
Page 84
9. In the Entire Network pane on the left side of the window, select the router data logger (CR300Series) from the list. 10. On the Hardware tab on the right, type the PakBus Address you assigned to the router data logger in Device Configuration Utility.
11. Click Rename to provide the data logger a descriptive name. 12. Apply to save your changes. 12.3.3 Configure remote (leaf) data loggers Follow steps 1 – 6 in Configure the data logger acting as a router (p. 64) to assign a unique PakBus address to each leaf data logger.
12.3.4 Using additional communications methods Using similar instructions, a RF407-series data logger can be used in a system with additional communications methods. For example, in the following image, the router RF407-series data logger communicates with LoggerNet through Konect PakBus Router. The router RF407-series data logger communicates with the leaf RF407-series data loggers over RF.
13. Testing communications with EZSetup 1. Advance to, or select, the Communication Test step in EZ Setup. See USB or RS-232 communications (p. 22) for more information. 2. Ensure the data logger is physically connected to the computer, select Yes to test communications, then click Next to initiate the test.
6. The data logger ships with a default QuickStart program. If the data logger does not have a program, you can choose to send one by clicking Select and Send Program. Click Next. 7. LoggerNet only - Use the following instructions or watch the Scheduled/Automatic Data Collection video The Datalogger Table Output Files window displays the data tables available to be...
14. Creating a Short Cut data logger program You must provide a program for the data logger in order for it to make measurements, store data, or control external devices. There are several ways to write a program. The simplest is to use the program generator called Short Cut.
Page 90
A second prompt lists sensor support options. Campbell Scientific, Inc. (US) is usually the best fit outside of Europe. To change the noise rejection or sensor support option for future programs, use the Program menu. 4. Lists of Available Sensors and Devices and Selected Measurements Available for Output are displayed.
Page 91
14. Click Next. 15. Select a measurement from the Selected Measurements Available for Output list, then click an output processing option to add the measurement to the Selected Measurements for Output list. For the example program, select BattV and click the Minimum button to add it to the Selected Measurements for Output list.
NOTE: Once a Short Cut generated program has been edited with CRBasic Editor, it can no longer be modified with Short Cut. 14.1 Sending a program to the data logger TIP: It is good practice to always retrieve data from the data logger before sending a program; otherwise, data may be lost.
Page 93
7. Review the Compile Results window for errors, messages and warnings. 8. LoggerNet users, click Details, select the Table Fill Times tab. PC400 user click OK then click Station Status , select the Table Fill Times tab. Ensure that the times shown are expected for your application. Click OK. After sending a program, it is a good idea to monitor the Public table to make sure sensors are taking good measurements.
15. Working with data 15.1 Default data tables By default, the data logger includes three tables: Public, Status, and DataTableInfo. Each of these tables only contains the most recent measurements and information. The Public table is configured by the data logger program, and updated at the scan interval set within the data logger program.
15.2 Collecting data The data logger writes to data tables based on intervals and conditions set in the CRBasic program (see Creating data tables in a program (p. 87) for more information). After the program has been running for enough time to generate data records, data may be collected by using data logger support software.
3. By default, all output tables set up in the data logger program are selected for collection. Typically, the default tables (DataTableInfo, Public, and Status) are not collected. 4. Select an option for What to Collect. Either option creates a new file if one does not already exist.
performed internally in IEEE 4 byte floating point with some operations calculated in double precision. A good rule of thumb is that resolution will be better than 1 in the seventh digit. As Long specifies the variable as a 32 bit integer. There are two possible reasons a user would do this: (1) speed, since the CR350 Operating System can do math on integers faster than with Floats, and (2) resolution, since the Long...
While (IEEE 4 byte floating point) is used for variables and internal calculations, adequate for most stored data. Campbell Scientific 2 byte floating point (FP2) provides 3 or 4 significant digits of resolution, and requires half the memory space as...
Table 15-3: FP2 decimal location Absolute value Decimal location 0 – 7.999 X.XXX 8 – 79.99 XX.XX 80 – 799.9 XXX.X 800 – 7999. XXXX. NOTE: String Boolean Sample() variables can be output with the instruction. Results of Sampling a Boolean variable will be either -1 or 0 in the collected Data Table.
Table 15-4: Example data TOA5, MyStation, CR350, 1142, CR350.Std.01, CPU:MyTemperature.CRB, 1958, OneMin TIMESTAMP RECORD BattV_Avg PTemp_C_Avg Temp_C_Avg Volts Deg C Deg C 2019-03-08 14:28:00 13.64 21.85 20.52 2019-03-08 14:29:00 13.65 21.85 20.64 15.5.1 Table definitions Each data table is associated with descriptive information, referred to as a“table definition,” that becomes part of the file header (first few lines of the file) when data is downloaded to a computer.
Page 102
If a field is an element of an array, the field name will be followed by a indices within parentheses that identify the element in the array. For example, a variable named Values, which is declared as a two-by-two array in the data logger program, will be represented by four field names: Values(1,1), Values(1,2), Values(2,1), and Values(2,2).
Table 15-5: Data processing abbreviations Data processing name Abbreviation Median ETsz Solar Radiation (from ET) Time of Max Time of Min 15.5.1.2 Data records Subsequent rows are called data records. They include observed data and associated record keeping. The first field is a time stamp (TS), and the second field is the record number (RN). The time stamp shown represents the time at the beginning of the scan in which the data is written.
Page 104
An example of the Table Fill Times tab follows. For information on data table storage see Data memory (p. 89). For additional information on data logger memory, visit the Campbell Scientific blog article, How to Know when Your Datalogger Memory is Getting Full 15. Working with data...
Data concerning the data logger memory are posted in the Status and DataTableInfo tables. For additional information on these tables, see Information tables and settings (advanced) (p. 201). For additional information on data logger memory, visit the Campbell Scientific blog article, How to Know when Your Datalogger Memory is Getting Full 16. Data memory...
When writing to files under program control, take care to write infrequently to prevent premature failure of serial flash memory. Internal chip manufacturers specify the flash technology used in Campbell Scientific CPU: drives at about 100,000 write/erase cycles. While Campbell Scientific's in-house testing has found the manufacturers' specifications to be very conservative, it is prudent to note the risk associated with repeated file writes via program control.
16.3.1 USB host precautions Observe the following precautions when using an optional USB thumb drive: When the data logger is powered and a USB thumb drive is connected for plug and pull data-collection mode, the Power LED will flash red during read/write activity. Do not remove a USB drive while the drive is active, or data corruption and damage to the USB drive may result.
16.3.5 Formatting drives 32 GB or larger Windows does not support creating a FAT32 partition on a 32 GB or greater drive. The work- around is to use a Windows computer to format the drive as NTFS (NT file system). Then use the data logger to format the drive as FAT32.
17. Measurements 17.1 Voltage measurements 17.2 Current-loop measurements 17.3 Resistance measurements 17.4 Period-averaging measurements 17.5 Pulse measurements 17.6 Vibrating wire measurements 17.1 Voltage measurements Voltage measurements are made using an Analog-to-Digital Converter (ADC). A high- impedance Programmable-Gain Amplifier (PGA) amplifies the signal. Internal multiplexers route individual terminals within the amplifier.
measurement measures the high signal with reference to ground; the low signal is tied to ground. A differential measurement measures the high signal with reference to the low signal. Each configuration has a purpose, but the differential configuration is usually preferred. In general, use the smallest input range that accommodates the full-scale output of the sensor.
17.1.2 Differential measurements A differential measurement measures the difference in voltage between two input terminals. For example, DIFF channel 1 is comprised of terminals 1H and 1L, with 1H as high and 1L as low. For more information, see Wiring panel and terminal functions (p.
input range that accommodates the full-scale output of the transmitter. This results in the best measurement accuracy and resolution. To select the appropriate voltage range, the expected current output range must be known. Using Ohm’s Law, multiply the maximum expected current by 100 Ω to find the maximum voltage to be measured.
Sensor type Connection example 3-wire transmitter using external power 4-wire transmitter using data logger power 4-wire transmitter using external power 17.3 Resistance measurements Bridge resistance is determined by measuring the difference between a known voltage applied to the excitation (input) of a resistor bridge and the voltage measured on the output arm. The data logger supplies a precise voltage excitation via VX terminals.
analog input terminals configured for single-ended (SE) or differential (DIFF) input. The result of the measurement is a ratio of measured voltages. See also Resistance measurement specifications (p. 247). 17.3.1 Resistance measurements with voltage excitation CRBasic instructions for measuring resistance with voltage excitation include: BrHalf() - half bridge BrHalf3W()
Page 115
CRBasic Instruction: BrFull6W() Fundamental Relationship: Key: V = excitation voltage; V = sensor return voltages; R = fixed, bridge or completion resistor; R = variable or sensing resistor. Campbell Scientific offers terminal input modules to facilitate this measurement. 17. Measurements...
Offset voltage compensation applies to bridge measurements. RevDiff and MeasOff parameters are discussed in Minimizing offset voltages (p. 198). Much of the offset error inherent in bridge measurements is canceled out by setting RevDiff and MeasOff to True. CRBasic Example 1: Four-wire full-bridge measurement and processing 'This program example demonstrates the measurement and 'processing of a four-wire resistive full bridge.
Page 117
Table 17-1: StrainCalc() configuration codes BrConfig code Configuration Quarter-bridge strain gage: Half-bridge strain gage. One gage parallel to strain, the other at 90° to strain: Half-bridge strain gage. One gage parallel to +ɛ, the other parallel to -ɛ: Full-bridge strain gage. Two gages parallel to +ɛ, the other two parallel to -ɛ: 17.
Table 17-1: StrainCalc() configuration codes BrConfig code Configuration Full-bridge strain gage. Half the bridge has two gages parallel to +ɛ and -ɛ, and the other half to +νɛ and -νɛ Full-bridge strain gage. Half the bridge has two gages parallel to +ɛ and -νɛ...
Assumptions that support the ratiometric-accuracy specification include: Data logger is within factory calibration specification. Effects due to the following are not included in the specification: Bridge-resistor errors Sensor noise Measurement noise 17.4 Period-averaging measurements PeriodAvg() to measure the period (in microseconds) or the frequency (in Hz) of a signal on a single-ended channel.
Page 120
pulse count and period-average measurements are used to measure frequency-output sensors. For more information, see Period-averaging measurements (p. 103). The data logger includes terminals that are configurable for pulse input as shown in the following image. Table 17-2: Pulse input terminals and the input types they can measure Input type Pulse input terminal C (all)
Low-level AC signals cannot be measured directly by C terminals. Peripheral terminal expansion modules, such as the Campbell Scientific LLAC4, are available for converting low-level AC signals to square-wave signals measurable by C terminals. For more information, see Pulse measurement specifications (p.
17.5.3 Switch-closure and open-collector measurements Switch-closure and open-collector (also called current-sinking) signals can be measured on terminals: P_SW or C Mechanical switch-closures have a tendency to bounce before solidly closing. Unless filtered, bounces can cause multiple counts per event. The data logger automatically filters bounce. Because of the filtering, the maximum switch-closure frequency is less than the maximum high- frequency measurement frequency.
CRBasic instruction: PulseCount(). See also Power output specifications (p. 244). 17.5.4 Quadrature measurements Quadrature() instruction is used to measure shaft or rotary encoders. A shaft encoder outputs a signal to represent the angular position or motion of the shaft. Each encoder will have two output signals, an A line and a B line.
Counting the increase at each rising and falling edge of both channels when channel A leads channel B. Counting the decrease at each rising and falling edge of both channels when channel B leads channel A. For more information, see Digital input/output specifications (p.
17.6.1 VSPECT® Measuring the resonant frequency by means of period averaging is the classic technique, but Campbell Scientific has developed static and dynamic spectral-analysis techniques (VSPECT) that produce superior noise rejection, higher resolution, diagnostic data, and, in the case of dynamic VSPECT, measurements up to 333.3 Hz.
18. Communications protocols Data loggers communicate with data logger support software, other Campbell Scientific data loggers, and other hardware and software using a number of protocols including PakBus, Modbus, DNP3, and TCP/IP. Several industry-specific protocols are also supported. See also Communications specifications (p.
Refer to the manual of the sensor or device to find its protocol and then select the appropriate options for each CRBasic parameter. See the application note Interfacing Serial Sensors with Campbell Scientific Dataloggers for more programming details and examples.
Page 128
Configure COM terminals as serial ports using Device Configuration Utility or by using the SerialOpen() CRBasic instruction. Terminals are configured in pairs for TTL, RS-232, and half- duplex RS-422 and RS-485 communications. For full-duplex RS-422 and RS-485, four terminals are required. FIGURE 18-1.
NOTE: Most RS-232 devices are also compatible with the data logger using TTL-inverted communications. NOTE: The data logger uses about -7 V to represent logic 1, and about 5.8 V to represent logic 0. FIGURE 18-4. RS-232 Tx voltage with respect to GND 18.1.2 RS-485/RS-422 RS-485 and RS-422 support communications between 32 base and 32 external devices.
FIGURE 18-5. RS-485 Voltage B with respect to A 18.1.3 TTL TTL supports point-to-point communications between one base and one external device. See FIGURE 18-1 (p. 112). Data bits are sent from base to external device with a voltage between transmit (Tx) and ground.
Why Modbus Matters: An Introduction How to Access Live Measurement Data Using Modbus Using Campbell Scientific Dataloggers as Modbus Slave Devices in a SCADA Network Because Modbus has a set command structure, programming the data logger to get data from field instruments can be much simpler than from some other serial sensors.
Not only can intelligent devices such as microcontrollers and programmable logic controllers (PLCs) communicate using Modbus, but many intelligent sensors have a Modbus interface that enables them to send their data to host systems. Examples of using Modbus with Campbell Scientific data loggers include: Interfacing data loggers and Modbus-enabled sensors.
18.2.2 Modbus protocols There are three standard variants of Modbus protocols: Modbus RTU — Modbus RTU is the most common implementation available for Modbus. Used in serial communications, data is transmitted in a binary format. The RTU format follows the commands/data with a cyclic redundancy check checksum. NOTE: The Modbus RTU protocol standard does not allow a delay between characters of 1.5 times or more the length of time normally required to receive a character.
Campbell Scientific data loggers support Modbus RTU, Modbus ASCII, and Modbus TCP protocols. If the connection is over IP, Campbell Scientific data loggers always use Modbus TCP. Modbus server functionality over other comports use RTU. When acting as a client, the data...
Campbell Scientific data loggers can be programmed to be a Modbus client or Modbus server - or even both at the same time! This proves particularly helpful when your data logger is a part of two wider area networks.
Different devices support different functions (consult the device documentation for support information). The most commonly used functions (codes 01, 02, 03, 04, 05, 15, and 16 ) are supported by Campbell Scientific data loggers. Most users only require the read- register functions. Holding registers are read with function code 03.
In a 16-bit memory location, a 4-byte value takes up two registers. The Modbus protocol always refers to data registers with a starting address number, and a length to indicate how many registers to transfer. Campbell Scientific uses 1-based numbering (a common convention for numbering registers in ModbusClient() equipment) in the instruction.
Signed 32-bit integers require two registers per value. This data type corresponds to the native Long variable type in Campbell data loggers. Declare your variables as type Long before using them as the Variable parameter in ModbusClient(). Select the appropriate ModbusOption to avoid post-processing.
32-Bit floating point 32-bit floating point values use 2 registers each. This is the default FLOAT data type in Campbell Scientific data loggers. Select the appropriate ModbusOption to avoid post-processing. 18.2.8 Modbus tips and troubleshooting Most of the difficulties with Modbus communications arise from deviations from the standards, which are not enforced within Modbus.
uses length as the number of values to poll. With 32-bit data types, it requests twice as many registers as the length. An uncommon cause for the -02 result is a device with an incomplete implementation of Modbus. Some devices do not fully implement parsing Modbus commands. Instead, they are hard coded to respond to certain Modbus messages.
Collecting data Displaying the current record in a data table Data logger callback to LoggerNet and data logger-to-data logger communications are also possible over TCP/IP. For details and example programs see the CRBasic help. FTPClient() HTTPPut See the FTP streaming technical paper for information on using to stream data.
One advantage of MQTT is that communications are initiated by the CR350 so firewalls do not cause problems. For full MQTT specifications see: https://mqtt.org/ . 18.4.1 Sending data to CAMPBELL CLOUD CAMPBELL CLOUD (CLOUD), www.campbellsci.com/campbellcloud , is a group of applications, one of which is an MQTT broker.
Page 144
4. On the Settings Editor tab, click the MQTT sub-tab. 5. Enable MQTT and set Campbell Cloud Enabled to Enabled. Keep all other MQTT settings as their defaults. The CLOUD will automatically change some of these when it connects to the CR350.
7. Wait while the data logger reboots two times. This may take up to two minutes. If your computer has speakers turned on you may hear two distinct Windows chimes. 8. Confirm that the CR350 has connected to the MQTT broker by reconnecting in the Device Configuration Utility and checking the MQTT settings.
DataTable(Five_Min,True,-1) DataInterval(0,5,Min,10) Average(1,Temp_C,FP2,False) Minimum(1,BattV,FP2,False,False) 'Publish every 5 min in GeoJSON format. The last three 'parameters are optional to specify longitude, latitude, 'and altitude. Here we use NaN as placeholders for these 'values. MQTTPublishTable(0,0,5,Min,2,NaN,NaN,NaN) EndTable Five minutes is the fastest recommended publishing interval in order to ensure that ingestion and processing of data sent to the CLOUD are completed before new data is received.
Page 147
5. Click + and I don't have a claim code. 6. Select your data logger type. 18. Communications protocols...
Page 148
7. Expand the dialog, enter the CR350 information. Click ... then Save. 18. Communications protocols...
Page 149
TIP: The timing of the next step depends on the MQTTPublishTable() interval in your CRBasic program. Allow at least one interval to elapse before proceeding. In our example, this is five minutes. See Program the data logger (p. 129). 8. Click the Station Name on the Station tile and edit focused measurements. 18.
Page 150
9. Select measurements to appear on the Station tile. Click If a list of measurements is not available and the MQTT State in the Device Configuration Utility read MQTT session established please contact support@campbellcloud.io. 18. Communications protocols...
Page 151
NOTE: It may take 30 minutes or more, depending on the CRBasic program, for data to become available. 10. Go to User settings > edit my settings >Timezone to change the timezone that data is displayed, from UTC to your preferred timezone. 18.
18.4.2 Sending data to another MQTT broker If you are not using the CAMPBELL CLOUD and its MQTT broker you will need to provide and configure one. There are many available; it is recommended that you consult with an IT professional.
Page 153
4. On the Settings Editor tab, click the MQTT sub-tab. 18. Communications protocols...
Page 154
a. Enable MQTT. b. Enter the Broker URL. Enter test.mosquitto.org for this example. c. Select Persistent for MQTT Connection type. d. Enter 1883 for the Port Number. e. Write down the MQTT Base Topic; it is case sensitive. By default it is cs/v1/. f.
18.4.2.2 Program the data logger MQTTPublishTable() DataTable/EndTable within a declaration to publish stored data via MQTT. See the CRBasic Editor help for detailed instruction information and program examples: https://help.campbellsci.com/crbasic/cr350/ DataTable(Five_Min,True,-1) DataInterval(0,5,Min,10) Average(1,Temp_C,FP2,False) Minimum(1,BattV,FP2,False,False) Publish every 5 min in CSJSON format. The last three parameters are optional to specify longitude, latitude, and altitude.
Page 156
2. Configure the client. a. Give the MQTT client a name. b. Select mqtt/tcp for the Protocol. c. Enter test.mosquitto.org for the Host. d. Keep all other settings as their defaults. e. Click Save. 3. Type cs/v1/# in the Topic to subscribe field to subscribe to all topics. This is the Base MQTT Topic noted from the Device Configuration Utility >...
5. Confirm data is being received. 6. For more information on MQTT topic structure see MQTT commands (p. 262). 18.5 DNP3 communications DNP3 is designed to optimize transmission of data and control commands from a master computer to one or more remote devices or outstations. The data logger allows DNP3 communications on all available communications ports.
How to Access Your Measurement Data Using DNP3 18.6 PakBus communications PakBus is a Campbell Scientific communications protocol. By using signed data packets, PakBus increases the number of communications and networking options available to the data logger. The data logger allows PakBus communications on all available communications ports. For...
18.7 SDI-12 communications SDI-12 is a 1200 baud communications protocol that supports many smart sensors, probes and devices. The data logger supports SDI-12 communications through two modes — transparent mode and programmed mode (see SDI-12 ports (p. 16) for wiring terminal information). Transparent mode facilitates sensor setup and troubleshooting.
execute. Data logger security may need to be unlocked before transparent mode can be activated. Transparent mode is entered while the computer is communicating with the data logger through a terminal emulator program such as through Device Configuration Utility or other data logger support software.
5. In answer to Enter timeout (secs): type 100 and press Enter. 6. In response to the query ASCII (Y)?, type Y and press Enter. 7. SDI-12 communications are then opened for viewing. 18.7.1.2 SDI-12 transparent mode commands SDI-12 commands and responses are defined by the SDI-12 Support Group (www.sdi-12.org and are available in the SDI-12 Specification...
Page 162
a. Select File Control > CPU: drive > Send and navigate to the file on the computer. b. Click Open. c. Click OK. 4. Enter the transparent mode as described in SDI-12 transparent mode (p. 181). 5. An Entering SDI12 Terminal response indicates that SDI-12 transparent mode is active and ready to transmit SDI-12 commands and display responses.
SDI-12 sensor. A common use of this feature is to copy data from the data logger to other Campbell Scientific data loggers over a single data-wire interface (terminal configured for SDI-12 to terminal configured for SDI-12), or to copy data to a third-party SDI-12 recorder.
When acting as a sensor, the data logger can be assigned only one SDI-12 address per SDI-12 port. For example, a data logger will not respond to both 0M! and 1M! on SDI-12 port C1. However, different SDI-12 ports can have unique SDI-12 addresses. 18.7.4 SDI-12 power considerations When a command is sent by the data logger to an SDI-12 probe, all probes on the same SDI-12 port will wake up.
Page 165
Table 18-3: Example power use for a network of SDI-12 probes Time into Time out Probe Probe Probe Probe Total measurement Command probes expires 1 (mA) 2 (mA) 3 (mA) 4 (mA) (mA) processes awake Sleep 0.25 0.25 0.25 0.25 18.
19. Installation Campbell Scientific data loggers support research and operations all over the world in a variety of applications. The limits of the CR350 are defined by your application needs. Therefore, every installation will be unique. See www.campbellsci.com/solutions TIP: Time spent in the office, setting up and testing hardware and software, will make time in the field more efficient.
Level Sledgehammer Pliers Flat-bladed screwdrivers Phillips screwdrivers For more information, watch a video at: http://www.campbellsci.com/videos/toolbox-for- installation-and-maintenance 19.1 Default program Many data logger settings can be changed remotely over a communications link. This convenience comes with the risk of inadvertently changing settings and disabling communications.
The default.CRB program generally contains instructions to preserve critical datalogger settings such as communications settings, but should not be more than a few lines of code. CRBasic Example 2: default.CRB example 'This program turns ON the SW12 (SW1, SW2) switched 'power terminal, for 30 seconds every 60 seconds.
Setting security codes (see following information under "Security Codes"). Setting a PakBus/TCP password. The PakBus TCP password controls access to PakBus communications over a TCP/IP link. PakBusTCP passwords can be set in Device Configuration Utility. Disabling FTP or setting an FTP username and password in Device Configuration Utility. Setting a PakBus encryption (AES-128) key in Device Configuration Utility.
Use the Device Configuration Utility to enable and set up TLS. See Deployment > Datalogger > TLS tab. 19.2.2 Security codes The data logger employs a security scheme that includes three levels of security. Security codes can effectively lock out innocent tinkering and discourage wannabe hackers on all communications links.
4 Ways to Make your Data More Secure Available Security Measures for Internet-Connected Dataloggers How to Use Datalogger Security Codes How Can Data be Made More Secure on a CRBasic PakBus Datalogger 19.2.3 Creating a .csipasswd file The data logger employs a security code scheme that includes three levels of security (see Data logger security (p.
Create an encrypted password file or modify an existing password file using Device Configuration Utility: 1. Connect to your device in Device Configuration Utility. 2. Click the Network Services tab, then the Edit .csipasswd File button. 3. Define user accounts and access levels. 4.
None: Disable a user account. Read Only: Data collection is unrestricted. Clock and writable variables cannot be changed. Programs cannot be viewed, stopped, deleted, or retrieved. Read/Write: Data collection is unrestricted. Clock and writable variables can be changed. Programs cannot be viewed, stopped, deleted, or retrieved. All (Administrator): Data collection is unrestricted.
Do not completely seal the enclosure if lead-acid batteries are present; hydrogen gas generated by the batteries may build to an explosive concentration. The following details a typical installation using a Campbell Scientific enclosure. The data logger has mounting holes through which small screws are inserted into nylon anchors in the backplate.
While elaborate, expensive, and nearly infallible lightning protection systems are on the market, Campbell Scientific, for many years, has employed a simple and inexpensive design that protects most systems in most circumstances. The system consists of a lightning rod, metal mast, heavy-gauge ground wire, and ground rod to direct damaging current away from the data logger.
Page 176
All critical inputs and outputs on the data logger are ESD protected. To be effective, the earth ground lug must be properly connected to earth (chassis) ground. Communications ports are another path for transients. You should provide communications paths, such as telephone or short-haul modem lines, with spark-gap protection. Spark-gap protection is usually an option with these products;...
Desiccant should be changed periodically. If sending the data logger to Campbell Scientific for calibration or repair, consult first with Campbell Scientific. If the data logger is malfunctioning, be prepared to perform some troubleshooting procedures.
Routing and communications logs (relearned without user intervention). Time. Clock will need resetting when the battery is replaced. A replacement lithium battery can be purchased from Campbell Scientific or another supplier. 3 V coin cell CR2025 for battery-backed clock. 6-year life with no external power source.
The Status field Battery value and the destination variable from the instruction (often called batt_volt) in the Public table reference the external battery voltage. For additional information on the internal battery, visit the Campbell Scientific blog article, Get to Know Your Data Logger’s Spare Tire: The Lithium Battery 20.2.1 Replacing the internal battery...
WARNING: Because sending an OS resets data logger memory and resets all settings on the data logger to factory defaults, data loss will certainly occur. Depending on several factors, the data logger may also become incapacitated until the new OS is programmed into memory. TIP: It is recommended that you retrieve data from the data logger and back up your programs and settings before updating your OS.
Watch a video: Sending an OS to a Local Datalogger 20.3.2 Sending an operating system to a remote data logger CAUTION: Sending an OS remotely to a data logger with Operating System 4 or earlier is not recommended. These dataloggers should be updated using the previous instruction (Sending an operating system to a local data logger (p.
7. Ensure Datalogger Operating System Files (*.obj) is selected in the files of type list, select the new OS .obj file, and click Open to update the OS on the data logger. Note the following precautions when sending as a program: Any peripherals being powered through the SW12 terminal will be turned off until the program logic turns them on again.
Page 183
Send the zipped file to the CPU:, CRD: or USB: drive using data logger support software. Files sent using Connect > Send Program will be unzipped automatically. However, the data logger will not automatically unzip files that are sent using File Control > Send File. To unzip files sent with File Control, mark them as Run Now.
21. Tips and troubleshooting Start with these basic procedures if a system is not operating properly. 1. Ensure your system is well grounded. See Grounds (p. 13). The symptoms of a poorly grounded system range from bad measurements, to intermittent communications, to damaged hardware.
21.8 Using terminal mode 21.9 Ground loops 21.10 Improving voltage measurement quality 21.11 Field calibration 21.12 File name and resource errors Also, consider checking, or posting your question to, the Campbell Scientific user forum https://www.campbellsci.com/forum . Our web site www.campbellsci.com has additional manuals (with example programs), FAQs, specifications and compatibility information for all of our products.
Check your data logger operating system version; recent operating system versions have improved stability of IP communications. If any of these are not the apparent cause, contact Campbell Scientific for assistance (see https://www.campbellsci.com/support ). Causes that may require assistance include:...
21.1.4 Skipped scans Skipped scans are caused when a program takes longer to process than the scan interval allows. An occasional skipped scan can be caused by memory formatting as discussed in Data memory (p. 89). If any scan skips repeatedly, the data logger program may need to be optimized or reduced.
NAN is a constant that can be used in expressions. This is shown in the following example code that sets a CRBasic variable to False when the wind direction is NAN: WindDir = NAN Then WDFlag = False Else WDFlag = True EndIf If an output processing instruction encounters a NAN in the values being processed, NAN will be stored.
days (not hours). Set an allowed clock deviation that is appropriate for the expected jitter in the network, and use the initial time setting to offset the clock check away from storage and measurement intervals. The amount of time required for a Clock Check command to reach the data logger, be processed, and for it to send its response is called round-trip time, or time-of-flight.
Data processed into averages, maxima, minima, and so forth are composites of several measurements. Associated time stamps only reflect the time of the scan when processing calculations were completed; so, the significance of the exact time a specific sample was measured diminishes.
The program has large memory requirements for data tables or variables and the data logger does not have adequate memory. This normally is flagged at compile time in the compile results. If this type of error occurs: Check the CPU drive for copies of old programs. The data logger keeps copies of all program files unless they are deleted, the drive is formatted, or a new operating system is loaded with Device Configuration Utility.
21.6 Resetting the data logger A data logger reset is sometimes referred to as a "memory reset." Backing up the current data logger configuration before a reset makes it easy to revert to the old settings. To back up the data logger configuration, connect to the data logger using Device Configuration Utility, and click Backup >...
NOTE: User settings are stored in flash memory. To avoid corrupting the flash memory, edit these settings infrequently. 21.6.3 Manual data table reset Data table memory is selectively reset from: Datalogger support software: Station Status > Table Fill Times tab, Reset Tables. Device Configuration Utility: Data Monitor tab, Reset Table button.
ESC or a 40 second timeout will terminate on-going commands. Concurrent terminal sessions are not allowed and will result in dropped communications. Terminal commands are subject to change. Please consult Campbell Scientific for assistance if you are not familiar with the effects of a command.
Page 195
Edit constants defined with ConstTable / Modify constant table EndConstTable. Only active when ConstTable / EndConstTable in the active program. MTdbg() task monitor Campbell Scientific engineering tool Lists compile errors for the current program Compile errors download attempt. Settings names...
Comms Watch (Sniff) traffic. No timeout when connected via PakBus. PCAP Wireshark PCAP file capture Campbell Scientific engineering tool 21.8.1 Serial talk through and comms watch The P: Serial Talk Through and W: Comms Watch ("sniff") modes do not have a timeout when connected in terminal mode via PakBus. Otherwise, the timeout can be changed from the default of 40 seconds to any value ranging from 1 to 86400 seconds (86400 seconds = 1 day).
21.8.2 SDI-12 transparent mode All SDI-12 probes have just three wires—a signal, ground, and 12 V power line. They are connected to the data logger according to the following table. Table 21-2: SDI-12 probe connections Wire function Data logger connection Shield ⏚...
3. In response, the query Select SDI12 Port is presented with a list of available ports. Enter the port number assigned to the terminal to which the SDI-12 sensor is connected, and press Enter. For example, 1 is entered for terminal C1. 4.
21.8.3 Terminal master Use the Terminal master command from a terminal mode to manually interrogate and enter settings in smart-sensors connected to a remote CR350. The Terminal master is useful for remotely accessing data logger terminal features such as SDI-12 and serial talk through modes for configuration and trouble shooting.
A long cable connects the grounds of two electrical devices, and the mounting structure or grounding rod also directly connects the grounds of each device to the local earth ground. The two paths, in this case, are the connecting cable and earth itself. When electrical devices are connected to a common metal chassis such as an instrument tower, the structure can create a ground path in parallel to the ground wires in sensor cables running over the structure.
Another way ground loops affect a system is by allowing ground current to flow between devices. This can be either a DC or AC effect. For various reasons, the voltage potential between two different points on the surface of the earth is not always 0 V. Therefore, when two electrical devices are both connected to a local earth ground, there may exist a voltage difference between the two devices.
Use the mechanical support structure only as a connection for the safety ground (usually the ground lug). Do not intentionally return power ground through the structure. Do not use shielded Cat5e cables for Ethernet communications. For long distance communications protocols such as RS-485, RS-422, and CAN, use a Resistive Ground (RG) terminal for the ground connection.
Note that the geometry of the electrodes has a great effect on the magnitude of this error. The Delmhorst gypsum block used in the Campbell Scientific 227 probe has two concentric cylindrical electrodes. The center electrode is used for excitation; because it is encircled by the ground electrode, the path for a ground loop through the soil is greatly reduced.
Rapid sampling is required. Single-ended measurement time is about half that of differential measurement time. Sensor is not designed for differential measurements. Some Campbell Scientific sensors are not designed for differential measurement, but the drawbacks of a single-ended measurement are usually mitigated by large programmed excitation and/or sensor output voltages.
Because a single-ended measurement is referenced to data logger ground, any difference in ground potential between the sensor and the data logger will result in an error in the measurement. For more information on grounds, see Grounds (p. 13) and Minimizing ground potential differences (p.
External Signal Conditioner: External instruments with integrated signal conditioners, such as an infrared gas analyzer (IRGA), are frequently used to make measurements and send analog information to the data logger. These instruments are often powered by the same VAC-line source as the data logger. Despite being tied to the same ground, differences in current drain and wire resistance result in different ground potentials at the two instruments.
21.10.3.1 Minimizing electronic noise Electronic noise can cause significant error in a voltage measurement, especially when measuring voltages less than 200 mV. So long as input limitations are observed, the PGA ignores voltages, including noise, that are common to each side of a differential-input pair. This is the common- mode voltage.
21.10.4 Filtering to reduce measurement noise The data logger applies an adjustable filter to analog measurements, reducing signal components at selected frequencies. The following figures show the frequency response of the filters applied when the first notch frequency (fN1) is set to 4000, 400, or 50/60 Hz, respectively. Note that the same filter is applied when fN1 is set to either 50 or 60 Hz, simultaneously filtering both 50 and 60 Hz signal components.
Page 209
fN1 set to 400 Hz: 21. Tips and troubleshooting...
fN1 set to 50 or 60 Hz: 21.10.5 Minimizing settling errors Settling time allows an analog voltage signal to rise or fall closer to its true magnitude prior to measurement. Default settling times, those resulting when the SettlingTime parameter is set to 0, provide sufficient settling in most cases.
When measurement speed is not a prime consideration, additional time can be used to ensure ample settling time. In difficult cases where measurement speed is a consideration, an appropriate settling time can be determined through testing. 21.10.5.1 Measuring settling time Settling time for a particular sensor and cable can be measured with the CR350.
Page 212
CRBasic Example 3: Measuring settling time 'This program example demonstrates the measurement of settling time 'using a single measurement instruction multiple times in succession. Public PT(20) 'Variable to hold the measurements DataTable(Settle,True,100) Sample(20,PT(),IEEE4) EndTable BeginProg Scan(1,Sec,3,0) BrFull(PT(1),1,mV2500,1,Vx1,1,2500,False,True, 100,60,1.0,0) BrFull(PT(2),1,mV2500,1,Vx1,1,2500,False,True, 200,60,1.0,0) BrFull(PT(3),1,mV2500,1,Vx1,1,2500,False,True, 300,60,1.0,0) BrFull(PT(4),1,mV2500,1,Vx1,1,2500,False,True, 400,60,1.0,0) BrFull(PT(5),1,mV2500,1,Vx1,1,2500,False,True, 500,60,1.0,0)
Each trace in the following image contains all twenty PT() mV/V values (left axis) for a given record number and an average value showing the measurements as percent of final reading (right axis). The reading has settled to 99.5% of the final value by the fourteenth measurement, which is contained in variable PT(14).
21.10.6.1 Measurement accuracy example The following example illustrates the effect percent-of-reading and offset have on measurement accuracy. The effect of offset is usually negligible on large signals. Example: Sensor-signal voltage: approximately 2500 mV VoltDiff() CRBasic measurement instruction: Programmed input-voltage range (Range) : mV 2 500 (±-100 to 2500 mV) Input measurement reversal (RevDiff): True Data logger circuitry temperature: 10°...
Page 215
Using MeasOff = True for better offset compensation. Programming longer settling times. Single-ended measurements are susceptible to voltage drop at the ground terminal caused by return currents from another device that is powered from the data logger wiring panel, such as another manufacturer's communications modem, or a sensor that requires a lot of power.
21.11 Field calibration Calibration increases accuracy of a measurement device by adjusting its output, or the measurement of its output, to match independently verified quantities. Adjusting sensor output FieldCal() directly is preferred, but not always possible or practical. By adding the FieldCalStrain() instruction to a CRBasic program, measurements of a linear sensor can be adjusted by modifying the programmed multiplier and offset applied to the measurement,...
22. Information tables and settings (advanced) Information tables and settings consist of fields, settings, and system information essential to setup, programming, and debugging of many advanced CR350 systems. In many cases, the info tables and settings keyword can be used to pull that field into a running CRBasic program. There are several locations where this system information and settings are stored or changed: Status table: The Status table is an automatically created data table.
IP address PakBus encryption key IP default gateway PakBus/TCP server port Subnet mask HTTP service port PPP interface FTP service port PPP dial string PakBus/TCP service port PPP dial response PakBus/TCP client connections Baud rate change on control ports Communications allocation Maximum number of TLS server connections 22.1 DataTableInfo table system information The DataTableInfo table is automatically created when a program produces other data tables.
22.1.6 SkippedRecord Reports how many times records have been skipped in a data table. Array elements are in the order that data tables are declared in the CRBasic program. Enter 0 to reset. 22.1.7 TimeStamp Scan time that a record was generated. NSEC data type 22.2 Status table system information The Status table is an automatically created data table.
22.2.5 CompileResults Contains messages generated at compilation or during runtime. Updated after compile and for runtime errors such as variable out of bounds. String data type 22.2.6 CPUDriveFree Provides information on the available bytes for the CPU drive. 22.2.7 DataStorageFree Serial flash storage bytes free.
22.2.14 MeasureTime Reports the time (μs) needed to make measurements in the current scan. Calculated at compile time. Includes integration and settling time. Assumes all measurement instructions will run each scan. Updated when a main scan begins. 22.2.15 MemoryFree Unallocated final-data memory on the CPU (bytes). All free memory may not be available for data tables.
22.2.22 PortConfig Provides information on the configuration settings (input, output, SDI-12, COM port) for C terminals in numeric order of terminals. Default = Input. Updates when the port configuration changes. String data type 22.2.23 PortStatus States of C terminals configured for control. On/high (true) or off/low (false). Array elements in numeric order of C terminals.
22.2.29 RunSignature Signature of the running binary (compiled) program. Value is independent of comments or non- functional changes. Often changes with operating-system changes. Updates after compiling and before running the program. 22.2.30 SerialNumber CR350 serial number assigned by the factory when the data logger was calibrated. Stored in flash memory.
22.2.36 StationName Station name stored in flash memory. This is not the same name as that is entered into your data logger support software. This station name can be sampled into a data table, but it is not the name that appears in data file headers. Updated at startup or when the name is changed. String data type 22.2.37 SW12Volts Status of switched, 12 VDC terminal(s).
22.3 Settings Settings can be accessed from the LoggerNet Connect Screen Datalogger > Setting Editor, or using Device Configuration Utility Settings Editor tab. Settings are organized in tabs and can be searched for. Most Settings are read/write and of a numeric data type unless noted. SetSetting() or Tablename.Fieldname Settings may be accessed programatically using...
22.3.3 Cell Settings For data loggers with integrated CELL modules, see Cellular settings (p. 218). 22.3.4 CentralRouters This setting specifies a list of PakBus addresses for routers that are able to work as Central Routers. By specifying a non-empty list for this setting, the data logger will be configured as a Branch Router meaning that it will not be required to keep track of neighbors of any routers except those in its own branch.
22.3.9 FTPPassword Specifies the password that is used to log in to the FTP server. String data type 22.3.10 FTPPort Configures the TCP port on which the FTP service is offered. The default value is usually sufficient unless a different value needs to be specified to accommodate port mapping rules in a network address translation firewall.
22.3.15 IPAddressEth Specifies the IP address used by the Ethernet interface. If this value is specified as "0.0.0.0" (the default), the data logger will use DHCP to configure the effective value for this setting as well as the Ethernet Default Gateway and Ethernet Subnet Mask settings. This setting is the equivalent to the IPAddressEth status table variable.
22.3.21 IPTraceComport Specifies the port (if any) on which TCP/IP trace information is sent. Information type is controlled by IPTraceCode. 22.3.22 IsRouter This setting controls whether the data logger is configured as a router or as a leaf node. If the value of this setting is true, the data logger will be configured to act as a PakBus router.
as a neighbor. This setting will not affect the acceptance of a neighbor if that neighbor's address is greater than 3999. String data type 22.3.27 PakBusAddress This setting specifies the PakBus address for this device. Valid values are in the range 1 to 4094. The value for this setting must be chosen such that the address of the device will be unique in the scope of the data logger network.
22.3.32 PakBusTCPEnabled By default, PakBus TCP communications are enabled. To disable PakBus TCP communications, set the PakBusPort setting to 65535. 22.3.33 PakBusTCPPassword This setting specifies a password that, if not empty, will make the data logger authenticate any incoming or outgoing PakBus/TCP connection. This type of authentication is similar to that used by CRAM-MD5.
String data type Read only 22.3.38 pppInterface This setting controls which data logger port PPP service will be configured to use. 22.3.39 pppIPAddr Specifies the IP address that will be used for the PPP interface if that interface is active (the PPP Interface setting needs to be set to something other than Inactive).
22.3.43 RS232Power Controls whether the RS-232 port will remain active even when communications are not taking place. Boolean data type 22.3.44 Security(1), Security(2), Security(3) An array of three security codes. A value of zero for a given level will grant access to that level's privileges for any given security code.
22.3.51 TLSStatus Reports the current status of the data logger TLS network stack. String data type Read only 22.3.52 UDPBroadcastFilter Set to one if all broadcast IP packets should be filtered from IP interfaces. Do not set this if you use the IP discovery feature of the device configuration utility or of LoggerLink.
NOTE: A list of Settings fieldnames is also available from the data logger terminal mode using command F. 22.3.56.1 CellAPN Specifies the APN, and is required. The APN is the gateway between the cell network and the internet. APN must be obtained from your cellular network provider. String data type Where to find: Settings Editor tab in Device Configuration Utility: Cellular >...
Where to find: Settings Editor tab in Device Configuration Utility: Cellular > Ping Keep Alive URL 22.3.56.5 CellKeepAliveTime Ping keep alive timeout (in seconds). Long data type Where to find: Settings Editor tab in Device Configuration Utility: Cellular > Ping Keep Alive Timeout Value 22.3.56.6 CellPDPAuth Specifies the PDP authentication type (if used).
String data type Where to find: Settings Editor tab in Device Configuration Utility: Cellular > PDP Cell Authentication Username 22.3.56.9 CellPwrDuration Specifies the interval, in minutes, over which the data logger will power its cellular interface. This can be done to save on battery life or cellular charges. This is adjusted using three components: Start (Power-On) Time: Specifies the time of day in terms of hours and minutes in which the data logger will first enable the cellular interface.
22.3.56.11 CellPwrStartTime Specifies time of day in minutes when the data logger will first enable the cellular interface. Examples: 15 = 00:15 ’15 minutes after midnight 180 = 03:00 ‘3:00 am 1380 = 23:00 ’11:00 pm 1440 = Always On For example usage, see CellPwrDuration.
Fair: -86dBm to -100dBm (3G), -106dBm to -115dBm (4G) Poor: >-100dBm (3G), >-115dBm (4G) Long data type Read only Where to find: Settings Editor tab in Device Configuration Utility: Cellular > Signal Strength 22.3.56.14 CellState Specifies the current communications state with the cell modem and the network. The following states are available: Power off Powering up...
Where to find: Settings Editor tab in Device Configuration Utility: Cellular > Cellular State 22.3.56.15 CellStatus Cellular diagnostic information. Reports the PPP state, IMEI, IMSI, and ICCID for the data logger. String data type Read only Where to find: Settings Editor tab in Device Configuration Utility: Cellular > Cell Diagnostic Info 22.3.57 Wi-Fi settings Access Wi-Fi settings, using Device Configuration Utility.
22.3.57.3 IPMaskWiFi Specifies the subnet mask for the WiFi interface. String data type 22.3.57.4 WiFiChannel This setting is only applicable when the device is configured to create a network (Configuration). It then specifies in which channel the network should be created. If Auto is selected, the device will use only channels 1, 6, and 11 to minimize interference from other networks detected in the area.
22.3.57.8 WiFiEAPUser If joining an Enterprise Security-enabled network enter user name here. String data type 22.3.57.9 Networks Lists the networks available in the area. Information listed for each network is shown as {SSID, RSSI / Signal Strength, Channel, Security}. Sometimes areas are covered by multiple access points configured with the same network name (SSID).
22.3.57.13 WiFiSSID (Network Name) The Network Name (SSID) is the name that identifies a wireless network (31 character maximum). The SSID differentiates one wireless network from another, so all devices attempting to connect to the same network must use the same SSID. If the device is configured to 'Join a Network', then enter the SSID of the network, including hidden networks, to join here.
This setting is located: Settings Editor tab in Device Configuration Utility: Advanced tab. Specifies the URL the data logger will use when it cannot connect to CAMPBELL CLOUD. This URL is used to retrieve CLOUD configuration settings, it is ignored unless CLOUD is enabled.
Long data type, allowed values: 0 = Clean 1 = Persistent (default) 22.3.58.5 MQTTClientID (MQTT client identifier) Unique identifier the data logger uses to connect to MQTT broker. The default is the hardware type_serial number. Example: CR350_123. String data type, maximum number of characters is 64 22.3.58.6 MQTTEnable (Enable or disable MQTT) By default, MQTT is disabled.
Long data type, maximum number of characters is 256 22.3.58.11 MQTTStatusInterval (Status information publish interval) Time (in minutes) between publishing MQTT status information. This interval determines how often the data logger publishes to the topic: {System Base Topic/}statuslnfo. Valid values are in the range 0 to 1440.
201 = Configuring SSL 202 = Configuring MQTT 203 = Opening network 204 = Connecting to MQTT broker 22.3.58.13 MQTTStateInterval (State publish interval) Time (in minutes) between publishing MQTT state information. This interval determines how often the data logger publishes to the topic: {System Base Topic/}State. Valid values are in the range 0 to 1440.
Long data type, allowed values: 0 = Do not retain (default) 1 = Retain 22.3.58.18 MQTTWillTopic (MQTT last will topic) Broker will publish the MQTTWillMessage to this topic if disconnected without a disconnect command. String data type, maximum number of characters is 64 22.3.59 RF407-series radio settings Access RF407-series radio settings, using Device Configuration Utility.
Where to find: Settings Editor tab in Device Configuration Utility: Radio > Radio Enable 22.3.59.4 RadioHopSeq Specifies the radio channel hop sequence. This setting must match in all radios in the same RF network. This setting can also be used to prevent radios in one RF network from listening to transmissions of another.
22.3.59.8 RadioNetID The RadioNetID specifies the identifier for the RF network. The radio will ignore any packets received that do not use this network identifier - therefore, all radios in the network must use the same value. Valid entries are between 0 and 32767. Long data type Where to find: Settings Editor tab in Device Configuration Utility: Radio >...
22.3.59.10 RadioPwrMode This setting governs the duty cycle that the radio will use for powering its receiver circuit. As such, it governs the amortized current drain for the radio. This setting should be set the same for all radios in the same network. Power Modes include: Always On: The radio is always on and does not transmit a wakeup header.
Where to find: Settings Editor tab in Device Configuration Utility: Radio > Retry Level 22.3.59.12 RadioRSSI Indicates the signal strength of the last packet received by this radio. The units of the RSSI are dBm; –40 is a stronger signal than –70. Because the received signal strength can vary due to multipath signals, interference, or other environmental effects;...
Sent Packets: Reports the number of radio packets that have been transmitted to the PakBus neighbor using the integrated radio link. Received Packets: Reports the number of radio packets that have been received from the PakBus neighbor using the integrated radio link. Packet Retries: Reports the number of radio packet transmissions to the PakBus neighbor using the integrated radio link that had to be retransmitted by the radio module.
22.3.60.1 GOESComPort Port used to communicate with the GOES transmitter. Long data type; allowed values: 1 = RS-232 4 = CS I/O SDC7 5 = CS I/O SDC8 7 = CS I/O SDC10 8 = CS I/O SDC11 9 = COMC1 10 = COMC3 22.3.60.2 GOESEnabled Controls whether the data loggers polls the GOESComPort to see if a GOES radio is attached.
String data type 22.3.60.6 GOESRepeatCount Number of times within the random transmit interval that the GOES transmitter will transmit the message data. Valid entries are 1 to 3. Long data type 22.3.60.7 GOESRTBaudRate Baud rate for the random transmissions. Valid settings are 100, 300, or 1200. The baud rate must match the NESDIS (TX325) or EUMETSAT (TX326) channel assignment.
22.3.60.12 GOESSTInterval Time between self-timed transmissions. Maximum interval is 14 days; minimum interval is 1 minute. String data type entered in the format of “Hours:Minutes:Seconds”. 22.3.60.13 GOESSTOffset Time after midnight for the first self-timed transmission as assigned by NESDIS (TX325) or EUMETSAT (TX326).
Electrical specifications are valid over a -40 to +70 °C, non-condensing environment, unless otherwise specified. Recalibration is recommended every three years. Critical specifications and system configuration should be confirmed with Campbell Scientific before purchase. 23.1 System specifications 23.2 Physical specifications 23.3 Power requirements...
NOTE: PanelTemp() The measurement from the instruction does not accurately reflect the temperature of the wiring panel, since it measures the temperature of the main processing board. Therefore, if the data logger processor, or charge (CHG) input are active, the PanelTemp() measurement will be warmer than ambient.
Page 259
Internal Lithium Battery (see Internal battery (p. 162) for more information): 3 V coin cell CR2025 for battery-backed clock. 6-year life with no external power source. Average Current Drain: Assumes 12 VDC on BAT terminals — add 2 mA if using CHG terminals. Idle: 0.5 mA Active 1 Hz scan w/ one analog measurement: 1.5 mA Active (Processor always on): 8 mA...
-RF407, -RF412, -RF427 -RF422 Transmit < 80 mA 20 mA Idle On 12 mA 9.5 mA Idle 0.5 s Power Mode 4 mA 3.5 mA Idle 1 s Power Mode 3 mA 2 mA Idle 4 s Power Mode 1.5 mA 1.5 mA See also Power output...
Range: 150 to 5000 mV Resolution: 1.6 mV Maximum Source Current: 50 mA total, concurrently or independently. See also Voltage measurements (p. 93). See also Power output (p. 13). 23.5 Analog measurement specifications 4 single-ended (SE) or 2 differential (DIFF) terminals individually configurable for voltage, thermocouple, current loop, ratiometric, and period average measurements, using a 24-bit ADC.
Page 262
Filter First Notch Frequency (f ) Range: 50/60, 400, 4000 Hz (user specified) Analog Range and Resolution: Single-ended and Differential with input differential without input reversal reversal Notch Range frequency Bits Bits (mV) (µV) (µV) ) (Hz) –100 to +2500 16.8 16.3 4000...
Measurement time = (multiplexed measurement time + settling time) • reps +0.8 ms Differential Single-ended or differential with input reversal without input reversal Example fN1 (Hz) Time (ms) Time (ms) 4000 14.6 50/60 51.5 Notch frequency (1/integration time). Default settling time of 500 µs used. See also Voltage measurements (p.
Voltage Range: 0 to 3.3 V Minimum Pulse Width: 33 ns Voltage Threshold: Counts cycles on transition from <0.9 VDC to >2.1 VDC See also Period-averaging measurements (p. 103). 23.5.4 Current-loop measurement specifications Two analog inputs terminals may be configured as independent, non-isolated 0-20 mA or 4-to- 20 mA current-loop inputs referenced to ground.
23.7 Digital input/output specifications Up to seven terminals may be configured for digital input or output (I/O). Terminals: SE1-SE4 P_SW C1-C2 Digital I/O Voltage Levels: Terminal High State Low State Current Source Maximum Input Voltage 5.0 V output 10 mA at 3.5 V –10 V, +15 V 3.3V input 3.3 V...
23.8 Communications specifications A data logger is normally part of a two-way conversation started by a computer. In applications with some types of interfaces, the data logger can also initiate the call (callback) when needed. In satellite applications, the data logger may simply send bursts of data at programmed times without waiting for a response.
23.8.1 Wi-Fi specifications WLAN (Wi-Fi) Maximum Possible Over-the-Air Data Rates: <11 Mbps over 802.11b, <54 Mbps over 802.11g, <72 Mbps over 802.11n Operating Frequency: 2.4 GHz, 20 MHz bandwidth Antenna Connector: Reverse Polarity SMA (RPSMA) Antenna (shipped with data logger): Unity gain (0 dBd), 1/2 wave whip, omnidirectional. Features an articulating knuckle joint that can be oriented vertically or at right angles Supported Technologies: 802.11 b/g/n, WPA/WPA2-Personal, WPA/WPA2-Enterprise Security, Client Mode: WPA/WPA2-Personal and Enterprise, WEP...
Channel Capacity RF407: Eight 25-channel hop sequences sharing 64 available channels. RF412: Eight 25-channel hop sequences sharing 31 available channels. RF422: Ten 30-channel hop sequences (default), software configurable to meet local regulations; 10 sequences for reducing interference through channel hop. RF427: Eight 25-channel hop sequences sharing 43 available channels.
Option Cellular Protocol Market Verizon AT&T T-Mobile International 4G LTE with Australia and ü -CELL220 automatic 3G New Zealand fallback ü -CELL225 4G LTE Japan * Confirm modem compliance for country/carrier where services are needed. https://s.campbellsci.com/documents/us/miscellaneous/Cellular%20Modem%20Frequency%20 Bands.pdf for a complete list of supported frequency bands. Antenna: Two SMA connectors, one for TX/RX, one for diversity RX SIM Slot: Industry standard 3FF micro-SIM (6 position / contacts) (not externally accessible) 23.9 Standards compliance specifications...
Page 271
MCQ-XB900HP Industry Canada (IC): 1846A-XB900HP RF422 Option: View EU Declaration of Conformity at www.campbellsci.com/cr350 RF427 Option: Brazil ANATEL standards in Resolution No. 506: 08335-17-10644. View the RF427 Brazilian Certificate of Conformity at www.campbellsci.com/cr350 Wi-Fi United States FCC ID: XF6-RS9113SB Industry Canada (IC): 8407A-RS9113SB Cellular Option: Industry Canada (IC): 10224A-201611EC21A NOTE:...
Appendix A. Configure cellular settings and retrieve status information with SetSetting() Downloadable example programs are available at www.campbellsci.com/downloads/cell200- . The CELL2XX-SetSettings example shows how to set up the cellular example-programs SetSetting() module using the instruction. It also illustrates how to retrieve status information from the module in the CRBasic program.
Appendix B. Verizon Wireless and AT&T NOTE: Campbell Scientific can provide Verizon Wireless or AT&T service. This is the simplest way to set up your module on the Verizon Wireless or AT&T network. See Campbell Scientific cellular data service (p. 38).
AT&T 4G LTE CAT-1 coverage at the data logger site. For a coverage map refer to: www.att.com/maps/wireless-coverage.html AT&T 4G LTE private dynamic IP account in conjunction with Campbell Scientific’s Konect Router Service. (An AT&T 4G LTE static unrestricted IP account can also be used. However, AT&T charges $3/month/device for the static IP account.)
WARNING: Changes or modifications to this device not expressly approved by Campbell Scientific could void the user’s authority to operate this equipment. C.2 RF exposure...
Page 276
CELL210 LTE Band 13 10.6 dBi C.3 EU Campbell Scientific hereby declares the CR350-CELL devices are in compliance with the essential requirements and other relevant provisions of Directive 2014/53/EU” (RED Directive). The CELL215 displays the CE mark. WARNING: Changes or modifications to this device not expressly approved by Campbell Scientific could void the user’s authority to operate this equipment.
Page 277
WARNING: Changes or modifications to this device not expressly approved by Campbell Scientific could void the user’s authority to operate this equipment. WARNING: This product is only to be installed by qualified personnel. The Declaration of Conformity made under Regulation 2017 No. 1206 is available for viewing at: www.campbellsci.com/cell215...
Appendix D. MQTT commands D.1 MQTT topic structure The topic structure transitions from “coarse to fine” using the form <groupID>/msgType/<deviceID>. This allows the configurable groupID to be defined in a “coarse” manner, followed by a defined msgType and deviceID string. This topic naming follows a pattern similar to the Sparkplug specification sparkplug.eclipse.org used in SCADA...
NOTE: Both <groupID> and <deviceID> can be defined as needed for the intended use case. NOTE: The MQTT api uses the camelCase naming convention. The first character of the first word is lowercase and subsequent words within a name have the first letter capitalized. This applies to topics as well as JSON key:value names.
<groupID>/cc/<deviceID>/# The command and control functionality consist of the following topics: D.3.1 Command response D.3.2 OS download D.3.3 CRBasic program download D.3.4 New mqtt configuration D.3.5 Edit constant table (editConst) D.3.6 Reboot data logger D.3.7 File control D.3.8 Settings D.3.9 Historic Data Collection D.3.10 Set Public Variable D.3.11 Get Public variable D.3.12 Serial talkThru...
Command and Topic Description control Set/Retrieve a Device <groupID>/cc/<deviceID>/setting setting Configuration setting Retrieve past data from a <groupID>/cc/<deviceID>/historicData historicData Data Table Perform serial talk thru to <groupID>/cc/<deviceID>/talkThru talkThru a sensor Set a variables value in a Public, <groupID>/cc/<deviceID>/setVar setVar Status or Structure table <groupID>/cc/<deviceID>/getVar getVar Get variable from table...
"url":"https://s3.us-west-2.amazonaws.com/bucket.cr-basic/mqttPub27.cr6?X-Amz- Expires=3593&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz- Credential=AKIA4MADCTNFDCYIQHED/20200826/us-west-2/s3/aws4_request&X-Amz- Date=20200826T150138Z&X-Amz-SignedHeaders=host&X-Amz- Signature=496fccd4d14edfe39d270ccee8ae0247ee1b256d01e1810b2c288de940b58507", "fileName":"MyPub.crb" D.3.4 New mqtt configuration The mqttConfig command is used to set up the data logger. The file received from this command must follow the proprietary binary format expected by the parsing routine. Example: Publish on <groupID>/cc/<deviceID>/mqttConfig with the following JSON payload: “url”...
The additional JSON provides more safety when rebooting. If successful, the data logger will report on <groupID>/state/<deviceID>, that it is rebooting: "clientId" : "CR6_966", "state" : "online", "fileTransfer" : "Rebooting Datalogger" D.3.7 File control Use the fileControl topic to perform file manipulation commands. Part of the payload will be the action indicating which file function to perform.
JSON: "drive" : "CPU", "clientID" : "CR6_966", "fileList" : [ "simple.CR6", "spectrum_krohn_cal.crb", "spectrum_cal.crb", "PeriodAvg_testingDaveI.CR6", "spectrum_cal_check.crb", "mqttPub27.cr6", "WatchdogInfo.txt" ] D.3.8 Settings An individual Device Configuration Utility setting can be set or published via MQTT by publishing the following JSON object. D.3.8.1 set A single setting can be changed in each message.
The CLOUD will publish one file URL at a time to a FileManager topic. NOTE: All include files must be downloaded before the main program can be set to run. download Publish on <groupID>/cc/<deviceID>/fileControl with the following JSON payload: “action” : “download”, “url”...
D.3.8.6 Upload to CLOUD Action to upload a file (HTTP PUT) from the data logger to the CLOUD. This action uses the AWS S3 bucket pre-signed URL. “action” : “upload”, “url” : “https://example.123.xyz”, “filename” : “name of file on device” The url will be used to issue HTTP(s) POST and the file will be sent.
The data logger will notify success or failure on the topic <groupID>/state/<deviceID>. If successful, this will commit settings to non-volatile memory and restart the data logger. D.3.9 Historic Data Collection Historic data can be requested via MQTT by publishing the appropriate JSON payload on the following topic: <groupID>/cc/<deviceID>/historicData The payload published on the topic must be in the JSON format as follows:...
NOTE: The stringified value will be converted to the type of the variable by the data logger. D.3.11 Get Public variable A value can be set in a CRBasic programs Public table by using a getVar topic. To get the value of the public table variable, publish associate JSON object to the following topic.
“comPort”: “{Port Description}”, “outString”: “{ASCII string to be sent to sensor}”, “numberTries”: “{ASCII number string indicating number of transmissions of outString}” (Optional), “respDelay”: “{ASCII number string indicating time (milliseconds) to wait for the complete response from sensor}” (Optional) “abort” : “true” D.3.12.2 TalkThru from sensor A serial string response from a smart sensor can only be received as a response to a transmission to a sensor.
Appendix E. Glossary Alternating current (see VAC). accuracy The degree to which the result of a measurement, calculation, or specification conforms to the correct value or a standard. Analog to digital conversion. The process that translates analog voltage levels to digital values.
Page 292
Cellular Access Point Name (obtained from your cellular network provider) argument Part of a procedure call (or command execution). array A group of variables as declared in CRBasic. ASCII/ANSI Abbreviation for American Standard Code for Information Interchange / American National Standards Institute.
Page 293
currents. 22 AWG wire is often used as sensor wire since only small currents are carried when measurements are made. baud rate The rate at which data is transmitted. beacon A signal broadcasted to other devices in a PakBus network to identify "neighbor" devices. A beacon in a PakBus network ensures that all devices in the network are aware of other devices that are viable.
Page 294
A utility to retrieve binary final data from memory cards and convert the data to ASCII or other formats. CDM/CPI CPI is a proprietary interface for communications between Campbell Scientific data loggers and Campbell Scientific CDM peripheral devices. It consists of a physical layer definition and a data protocol. CompactFlash® code A CRBasic program, or a portion of a program.
Page 295
<colon> (:). CompactFlash CompactFlash® (CF) is a memory-card technology used in some Campbell Scientific card- storage modules. compile The software process of converting human-readable program code to binary machine code.
Page 296
Central processing unit. The brains of the data logger. Carriage return. CRBasic Campbell Scientific's BASIC-like programming language that supports analog and digital measurements, data processing and analysis routines, hardware control, and many communications protocols. CRBasic Editor The CRBasic programming editor; stand-alone software and also included with LoggerNet, PC400, and RTDAQ software.
Page 297
This allows the simultaneous sharing of data among software functions. data logger support software LoggerNet, RTDAQ, and PC400 - these Campbell Scientific software applications include at least the following functions: data logger communications, downloading programs, clock setting, and retrieval of measurement data.
Page 298
data output processing instructions CRBasic instructions that process data values for eventual output to final-data memory. Examples of output-processing instructions include Totalize(), Maximize(), Minimize(), and Average(). Data sources for these instructions are values or strings in variable memory. The results of intermediate calculations are stored in data output processing memory to await the output trigger.
Page 299
desiccant A hygroscopic material that absorbs water vapor from the surrounding air. When placed in a sealed enclosure, such as a data logger enclosure, it prevents condensation. Device Configuration Utility Software tool used to set up data loggers and peripherals, and to configure PakBus settings before those devices are deployed in the field and/or added to networks.
Page 300
Data Terminal Equipment. While the term has much wider meaning, in the limited context of practical use with the data logger, it denotes the pin configuration, gender, and function of an RS-232 port. The RS-232 port on the data logger is DCE. Attachment of a null-modem cable to a DCE device effectively converts it to a DTE device.
Page 301
Electrostatic discharge. Environmental sensor station. excitation Application of a precise voltage, usually to a resistive bridge circuit. execution interval The time interval between initiating each execution of a given Scan() of a CRBasic program. If the Scan() Interval is evenly divisible into 24 hours (86,400 seconds), it is synchronized with the 24 hour clock, so that the program is executed at midnight and every Scan() Interval thereafter.
Page 302
field Data tables are made up of records and fields. Each row in a table represents a record and each column represents a field. The number of fields in a record is determined by the number and configuration of output processing instructions that are included as part of the DataTable() declaration.
Page 303
Two-byte floating-point data type. Default data logger data type for stored data. While IEEE4 four-byte floating point is used for variables and internal calculations, FP2 is adequate for most stored data. FP2 provides three or four significant digits of resolution, and requires half the memory as IEEE4.
Page 304
global navigation satellite system A satellite navigation system with global coverage such as GPS (North America), Galileo (Europe), and BeiDou (China). global variable A variable available for use throughout a CRBasic program. The term is usually used in connection with subroutines, differentiating global variables (those declared using Public or Dim) from local variables, which are declared in the Sub() and Function() instructions.
Page 305
hertz SI unit of frequency. Cycles or pulses per second. HTML Hypertext Markup Language. Programming language used for the creation of web pages. HTTP Hypertext Transfer Protocol. A TCP/IP application protocol. HTTPS Hypertext Transfer Protocol Secure. A secure version of HTTP. hysteresis The dependence of the state of the system on its history.
Page 306
A data word indicating the result of a function is infinite or undefined. initiate comms A name given to a processes by which the data logger initiates communications with a computer running LoggerNet. Also known as Callback. input/output instructions Used to initiate measurements and store the results in input storage or to set or read control/logic ports.
Page 307
isolation Hardwire communications devices and cables can serve as alternate paths to earth ground and entry points into the data logger for electromagnetic noise. Alternate paths to ground and electromagnetic noise can cause measurement errors. Using opto-couplers in a connecting device allows communications signals to pass, but breaks alternate ground paths and may filter some electromagnetic noise.
Page 308
Mobile applications that allow a mobile device to communicate with IP, wi-fi, or Bluetooth enabled data loggers. LoggerNet Campbell Scientific's data logger support software for programming, communications, and data retrieval between data loggers and a computer. LONG Data type used when declaring integers.
Page 309
mains power The national power grid. manually initiated Initiated by the user, usually with a Keyboard/Display, as opposed to occurring under program control. mass storage device A mass storage device may also be referred to as an auxiliary storage device. The term is commonly used to describe USB mass storage devices.
Page 310
MQTT An open communications protocol for the Internet of Things (IoT). MQTT is not an acronym, it is simply the name of the protocol. Source: https://www.hivemq.com/blog/mqtt- essentials-part-1-introducing-mqtt/ Most significant bit (the leading bit). multimeter An inexpensive and readily available device useful in troubleshooting data acquisition system faults.
Page 311
Network Planner Campbell Scientific software designed to help set up datal oggers in PakBus networks so that they can communicate with each other and the LoggerNet server. For more information, see https://www.campbellsci.com/loggernet. NIST National Institute of Standards and Technology. node Devices in a network —...
Page 312
The unit of resistance. Symbol is the Greek letter Omega (Ω). 1.0 Ω equals the ratio of 1.0 volt divided by 1.0 ampere. Ohm's Law Describes the relationship of current and resistance to voltage. Voltage equals the product of current and resistance (V = I • R). on-line data transfer Routine transfer of data to a peripheral left on-site.
Page 313
Data output processing memory cannot be monitored. PakBus ® A proprietary communications protocol developed by Campbell Scientific to facilitate communications between Campbell Scientific devices. Similar in concept to IP (Internet Protocol), PakBus is a packet-switched network protocol with routing capabilities. A registered trademark of Campbell Scientific, Inc.
Page 314
PC200W Retired basic data logger support software for direct connect. PC400 Free entry-level data logger support software that supports a variety of communications options, manual data collection, and data monitoring displays. Short Cut and CRBasic Editor are included for creating data logger programs. PC400 does not support scheduled data collection or complex communications options such as phone-to-RF.
Page 315
Programmable Logic Controllers Poisson ratio A ratio used in strain measurements. Parts per million. precision The amount of agreement between repeated measurements of the same quantity (AKA repeatability). PreserveVariables CRBasic instruction that protects Public variables from being erased when a program is recompiled.
Page 316
Program Send command Program Send is a feature of data logger support software. program statement A complete program command construct confined to one command line or to multiple command lines merged with the line continuation characters <space><underscore> ( _). A command line, even with line continuation, cannot exceed 512 characters.
Page 317
DataTable() declaration. regulator A setting, a Status table element, or a DataTableInformation table element. Also a device for conditioning an electrical power source. Campbell Scientific regulators typically condition ac or dc voltages greater than 16 VDC to about 14 VDC. resistance A feature of an electronic circuit that impedes or redirects the flow of electrons through the circuit.
Page 318
RS-232 Recommended Standard 232. A loose standard defining how two computing devices can communicate with each other. The implementation of RS-232 in Campbell Scientific data loggers to computer communications is quite rigid, but transparent to most users. Features in the data logger that implement RS-232 communications with smart sensors are flexible.
Page 319
Remote Telemetry Units Receive sample rate The rate at which measurements are made by the data logger. The measurement sample rate is of interest when considering the effect of time skew, or how close in time are a series of measurements, or how close a time stamp on a measurement is to the true time the phenomenon being measured occurred.
Page 320
Synchronous Device for Measurement. A processor-based peripheral device or sensor that communicates with the data logger via hardwire over a short distance using a protocol proprietary to Campbell Scientific. Seebeck effect Induces microvolt level thermal electromotive forces (EMF) across junctions of dissimilar metals in the presence of temperature gradients.
Page 321
send button Send button in data logger support software. Sends a CRBasic program or operating system to a data logger. sequential mode A CRBasic program execution mode wherein each statement is evaluated in the order it is listed in the program. serial A loose term denoting output of a series of ASCII, HEX, or binary characters or numbers in electronic form.
Page 322
single-ended Denotes a sensor or measurement terminal wherein the analog voltage signal is carried on a single wire and measured with respect to ground (0 V). skipped scans Occur when the CRBasic program is too long for the scan interval. Skipped scans can cause errors in pulse measurements.
Page 323
A datum or variable consisting of alphanumeric characters. support software Campbell Scientific software that includes at least the following functions: data logger communications, downloading programs, clock setting, and retrieval of measurement data. synchronous The transmission of data between a transmitting and a receiving device occurs as a series of zeros and ones.
Page 324
table See data table. task Grouping of CRBasic program instructions automatically by the data logger compiler. Tasks include measurement, SDM or digital, and processing. Tasks are prioritized when the CRBasic program runs in pipeline mode. Also, a user-customized function defined through LoggerNet Task Master.
Page 325
Campbell Scientific. thermistor A thermistor is a temperature measurement device with a resistive element that changes in resistance with temperature. The change is wide, stable, and well characterized. The output of a thermistor is usually non-linear, so measurement requires linearization by means of a Steinhart-Hart or polynomial equation.
Page 326
UART Universal Asynchronous Receiver/Transmitter for asynchronous serial communications. Unique identifier. UINT2 Data type used for efficient storage of totalized pulse counts, port status (status of 16 ports stored in one variable, for example) or integer values that store binary flags. unconditioned output The fundamental output of a sensor, or the output of a sensor before scaling factors are applied.
Page 327
1 mV becomes 500 µV, 10 mV becomes 5 mV, and so forth. Resistive-bridge circuits are voltage dividers. volts SI unit for electrical potential. VSPECT® ® A registered trademark for Campbell Scientific's proprietary spectral-analysis, frequency domain, vibrating wire measurement technique. Appendix E. Glossary...
Page 328
A large number of errors (>10) accumulating over a short period indicates a hardware or software problem. Consult with a Campbell Scientific support engineer. weather-tight Describes an instrumentation enclosure impenetrable by common environmental conditions.
Page 329
Warranty and Acknowledgements The data logger is warranted by Campbell Scientific to be free from defects in materials and workmanship under normal use and service, from the date of shipment, for: Standard: Three years against defects in materials and workmanship.
Page 330
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. mbed TLS Copyright 2023 Campbell Scientific. Licensed under the Apache License, Version 2.0 (the "License") http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS"...
Page 331
To obtain a Returned Materials Authorization or Repair Reference number, contact your CAMPBELL SCIENTIFIC regional office. Please write the issued number clearly on the outside of the shipping container and ship as directed. For all returns, the customer must provide a “Statement of Product Cleanliness and Decontamination”...
Page 332
Do not recharge, disassemble, heat above 100 °C (212 °F), solder directly to the cell, incinerate, or expose contents to water. Dispose of spent batteries properly. 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...
Page 333
Campbell Scientific Regional Offices Australia France Thailand Location: Garbutt, QLD Australia Location: Vincennes, France Location: Bangkok, Thailand Phone: 61.7.4401.7700 Phone: 0033.0.1.56.45.15.20 Phone: 66.2.719.3399 Email: info@campbellsci.com.au Email: info@campbellsci.fr Email: info@campbellsci.asia Website: www.campbellsci.com.au Website: www.campbellsci.fr Website: www.campbellsci.asia Brazil Germany Location: São Paulo, SP Brazil...
This manual is also suitable for:
Cr350-cell200Cr350-cell205Cr350-cell210Cr350-cell215Cr350-cell220Cr350-rf407...
Show all
Need help?
Do you have a question about the CR350 Series and is the answer not in the manual?
Questions and answers