This equipment is guaranteed against defects in materials and workmanship.
We will repair or replace products which prove to be defective during the
guarantee period as detailed on your invoice, provided they are returned to us
prepaid. The guarantee will not apply to:
Equipment which has been modified or altered in any way without the
written permission of Campbell Scientific
Batteries
Any product which has been subjected to misuse, neglect, acts of God or
damage in transit.
Campbell Scientific will return guaranteed equipment by surface carrier
prepaid. Campbell Scientific will not reimburse the claimant for costs incurred
in removing and/or reinstalling equipment. This guarantee and the Company’s
obligation thereunder is in lieu of all other guarantees, expressed or implied,
including those of suitability and fitness for a particular purpose. Campbell
Scientific is not liable for consequential damage.
Please inform us before returning equipment and obtain a Repair Reference
Number whether the repair is under guarantee or not. Please state the faults as
clearly as possible, and if the product is out of the guarantee period it should
be accompanied by a purchase order. Quotations for repairs can be given on
request. It is the policy of Campbell Scientific to protect the health of its
employees and provide a safe working environment, in support of this policy a
“Declaration of Hazardous Material and Decontamination” form will be
issued for completion.
When returning equipment, the Repair Reference Number must be clearly
marked on the outside of the package. Complete the “Declaration of
Hazardous Material and Decontamination” form and ensure a completed copy
is returned with your goods. Please note your Repair may not be processed if
you do not include a copy of this form and Campbell Scientific Ltd reserves
the right to return goods at the customers’ expense.
Note that goods sent air freight are subject to Customs clearance fees which
Campbell Scientific will charge to customers. In many cases, these charges are
greater than the cost of the repair.
Campbell Scientific Ltd,
80 Hathern Road,
Shepshed, Loughborough, LE12 9GX, UK
Tel: +44 (0) 1509 601141
Fax: +44 (0) 1509 270924
Email: support@campbellsci.co.uk
www.campbellsci.co.uk
About this manual
Please note that this manual was originally produced by Campbell Scientific Inc. primarily for the North
American market. Some spellings, weights and measures may reflect this origin.
Some useful conversion factors:
Area: 1 in2 (square inch) = 645 mm2
Length: 1 in. (inch) = 25.4 mm
1 ft (foot) = 304.8 mm
1 yard = 0.914 m
1 mile = 1.609 km
In addition, while most of the information in the manual is correct for all countries, certain information
is specific to the North American market and so may not be applicable to European users.
Differences include the U.S standard external power supply details where some information (for
example the AC transformer input voltage) will not be applicable for British/European use. Please note,
however, that when a power supply adapter is ordered it will be suitable for use in your country.
Reference to some radio transmitters, digital cell phones and aerials may also not be applicable
according to your locality.
Some brackets, shields and enclosure options, including wiring, are not sold as standard items in the
European market; in some cases alternatives are offered. Details of the alternatives will be covered in
separate manuals.
Part numbers prefixed with a “#” symbol are special order parts for use with non-EU variants or for
special installations. Please quote the full part number with the # when ordering.
Mass:1 oz. (ounce) = 28.35 g
1 lb (pound weight) = 0.454 kg
Pressure: 1 psi (lb/in2) = 68.95 mb
Volume: 1 UK pint = 568.3 ml
1 UK gallon = 4.546 litres
1 US gallon = 3.785 litres
Recycling information
At the end of this product’s life it should not be put in commercial or domestic refuse but
sent for recycling. Any batteries contained within the product or used during the
products life should be removed from the product and also be sent to an appropriate
recycling facility.
Campbell Scientific Ltd can advise on the recycling of the equipment and in some cases
arrange collection and the correct disposal of it, although charges may apply for some
items or territories.
For further advice or support, please contact Campbell Scientific Ltd, or your local agent.
DANGER — MANY HAZARD S ARE ASSOCIATED WITH INSTALLING, USING, M AINTAINING, AND WORKING ON
OR AROUND TRIPODS, TOWERS, AND ANY ATTACHMENTS TO TRIPODS AND TOWERS SUCH AS SENSORS, CROSSARMS, ENCLOSURES, ANTENNAS, ETC. FAILURE TO PROPERLY AND COM P LE TE LY ASS E M BLE ,
INSTALL, OPERATE, USE, AND MAINTAIN TRIPODS, TOWERS, AND ATTACHMENTS, AND FAILURE TO HEED
WARNINGS, INCREASES THE RISK OF DEATH, ACCIDENT, SERIOUS INJURY, PROPERTY DAMAGE, AND
PRODUCT FAILURE. TAKE ALL REASONABLE PRECAUTIONS TO AVOID THESE HAZARDS. CHECK WITH YOUR
ORGANIZATION'S SAFETY COORDINATOR (OR POLICY) FOR PROCEDURES AND REQUIRED PROTECTIVE
EQUIPMENT PRIOR TO PERFORMING ANY WORK.
Use tripods, towers, and attachments to tripods and towers only for purposes for which they are designed. Do not
exceed design limits. Be familiar and comply with all instructions provided in product manuals. Manuals are
available at www.campbellsci.eu or by telephoning +44(0) 1509 828 888 (UK). You are responsible for conformance
with governing codes and regulati ons, including safety regulati ons, and the integrity and locati on of structures or land
to which towers, tripods, and any attachments are attached. Installation sites should be evaluated and approved by a
qualified engineer. If questions or co ncerns arise regarding installation, use, or maintenance of tripods, towers,
attachments, or electrical connections, consult with a licensed and qualified engineer or electrician.
General
•Prior to performing site or installation work, obtain required approvals and permits. Comply with all
governing structure-height regulations, such as those of the FAA in the USA.
•Use only qualified personnel for installation, use, and maintenance of tripods and towers, and any
attachments to tripods and towers. The use of licensed and qualified contractors is highly recommended.
•Read all applicable instructions carefully and understand procedures thoroughly before beginning work.
•Wear a hardhat and eye protection, and take other appropriate safety precautions while working on or
around tripods and towers.
•Do not climb tripods or towers at any time, and prohibit climbing by other persons. Take reasonable
precautions to secure tripod and tower sites from trespassers.
•Use only manufacturer recommended parts, materials, and tools.
Utility and Electrical
•You can be killed or sustain serious bodily injury if the tripod, tower, or attachments you are installing,
constructing, using, or maintaining, or a tool, stake, or anchor, come in contact with overhead o
nderground utility lines.
u
•Maintain a distance of at least one-and-one-half times structure height, or 20 feet, or the distance
r
equired by applicable law, whichever is greater, between overhead utility lines and the structure (tripod,
tower, attachments, or tools).
•Prior to performing site or installation work, inform all utility companies and have all underground utilities
marked.
•Comply with all electrical codes. Electrical equipment and related grounding devices should be installed
by a licensed and qualified electrician.
r
Elevated Work and Weather
•Exercise extreme caution when performing elevated work.
•Use appropriate equipment and safety practices.
•During installation and maintenance, keep tower and tripod sites clear of un-trained or non-essential
personnel. Take precautions to prevent elevated tools and objects from dropping.
•Do not perform any work in inclement weather, including wind, rain, snow, lightning, etc.
Maintenance
•Periodically (at least yearly) check for wear and damage, including corrosion, stress cracks, frayed cables,
loose cable clamps, cable tightness, etc. and take necessary corrective actions.
•Periodically (at least yearly) check electrical ground connections.
WHILE EVERY ATTEMPT IS MADE TO EMBODY THE HIGHEST DEGREE OF SAFETY IN ALL CAMPBELL
SCIENTIFIC PRODUCTS, THE CUSTOMER ASSUMES ALL RISK FROM ANY INJURY RESULTING FROM IMPROPER
INSTALLATION, USE, OR MAINTENANCE OF TRIPODS, TOWERS, OR ATTACHMENTS TO TRIPODS AND TOWERS
SUCH AS SENSORS, CROSSARMS, ENCLOSURES, ANTENNAS, ETC.
Table of Contents
1. GRANITE 9/10 data acquisition system components1
1.1 The GRANITE 9/10 data acquisition system2
1.1.1 Overview2
1.1.2 Operations3
1.1.3 Programs3
1.2 Sensors3
2. Wiring panel and terminal functions5
2.1 Power input9
2.1.1 Powering a data logger with a vehicle9
2.1.2 Power LED indicator10
2.2 Power output10
2.3 Grounds11
2.4 Communications ports12
2.4.1 USB device port12
2.4.2 USB host port13
2.4.3 Ethernet port13
2.4.4 C terminals for communications13
2.4.4.1 SDI-12 ports13
2.4.4.2 RS-232, RS-422, RS-485, TTL, and LVTTL ports14
2.4.4.3 SDM ports14
2.4.5 CS I/O port14
2.4.6 CPI/RS-232 port15
2.4.7 EPI port16
2.4.8 CAN port (GRANITE 10 only)17
2.5 Programmable logic control18
3. Setting up the GRANITE 9/1020
3.1 Setting up communications with the data logger20
3.1.1 USB or RS-232 communications21
3.1.2 Virtual Ethernet over USB (RNDIS)22
3.1.3 Ethernet communications option23
3.1.3.1 Configuring data logger Ethernet settings23
Table of Contents - i
3.1.3.2 Ethernet LEDs24
3.1.3.3 Setting up Ethernet communications between the data logger and
computer25
3.1.4 Wi-Fi communications26
3.1.4.1 Configuring the data logger to host a Wi-Fi network26
3.1.4.2 Connecting your computer to the data logger over Wi-Fi27
3.1.4.3 Setting up Wi-Fi communications between the data logger and the data
logger support software27
3.1.4.4 Configuring data loggers to join a Wi-Fi network28
3.1.4.5 Wi-Fi mode button29
3.1.4.6 Wi-Fi LED indicator29
3.2 Testing communications with EZSetup30
3.3 Making the software connection31
3.4 Programming quickstart using Short Cut31
3.5 Sending a program to the data logger35
4. Working with data36
4.1 Default data tables36
4.2 Collecting data37
4.2.1 Collecting data using LoggerNet37
4.2.2 Collecting data using RTDAQ37
4.2.3 Collecting data using an FTP client38
4.3 Viewing historic data39
4.4 Data types and formats39
4.4.1 Variables40
4.4.2 Constants41
4.4.3 Data storage42
4.5 About data tables43
4.5.1 Table definitions43
4.5.1.1 Header rows43
4.5.1.2 Data records45
4.6 Creating data tables in a program46
5. Data memory48
5.1 Data tables48
5.2 Memory allocation48
5.3 SRAM49
5.3.1 USRdrive50
Table of Contents - ii
5.4 DDR-SDRAM51
5.5 SRAM vs. DDR-SDRAM51
5.6 SSD - Hard Drive51
5.7 Flash memory52
5.7.1 eMMC NAND flash memory52
5.7.2 NOR flash memory52
5.7.3 CPU drive52
5.8 MicroSD (CRD:drive)52
5.8.1 Formatting microSD cards53
5.8.2 MicroSDcard precautions54
5.8.3 Act LED indicator54
5.9 USB Host (USB: drive)54
5.9.1 USB Host precautions55
5.9.2 Act LED indicator55
5.9.3 Formatting drives 32 GB or larger55
6. Measurements56
6.1 Pulse measurements56
6.1.1 High-frequency measurements57
6.1.1.1 C terminals58
6.1.2 Switch-closure and open-collector measurements58
6.1.2.1 C Terminals58
6.1.3 Edge timing and edge counting59
6.1.3.1 Single edge timing59
6.1.3.2 Multiple edge counting59
6.1.3.3 Timer input NAN conditions59
6.1.4 Quadrature measurements60
6.1.5 Pulse measurement tips61
6.1.5.1 Input filters and signal attenuation61
6.1.5.2 Pulse count resolution62
6.2 Sequential and pipeline processing modes62
6.2.1 Sequential mode62
6.2.2 Pipeline mode63
6.2.3 Slow Sequences63
7. Communications protocols65
7.1 General serial communications66
Table of Contents - iii
7.1.1 RS-23268
7.1.2 RS-48569
7.1.3 RS-42270
7.1.4 TTL71
7.1.5 LVTTL71
7.1.6 TTL-Inverted71
7.1.7 LVTTL-Inverted72
7.2 CPI72
7.3 EPI73
7.4 CAN (GRANITE10 only)73
7.4.1 CRBasic instructions74
7.4.1.1 CANPortOpen() / CANFDPortOpen74
7.4.1.2 CANRead() / CANFDRead()77
7.4.1.3 CANFilterRead() / CANFDFilterRead()78
7.4.1.4 CANWrite() / CANFDWrite()78
7.4.2 DBC Signal Support78
7.4.3 J1979 Legislated PIDS Example81
7.5 Modbus communications81
7.5.1 About Modbus82
7.5.2 Modbus protocols83
7.5.3 Understanding Modbus Terminology84
7.5.4 Connecting Modbus devices84
7.5.5 Modbus master-slave protocol84
7.5.6 About Modbus programming85
7.5.6.1 Endianness85
7.5.6.2 Function codes86
7.5.7 Modbus information storage87
7.5.7.1 Registers87
7.5.7.2 Coils87
7.5.7.3 Data Types88
Unsigned 16-bit integer88
Signed 16-bit integer88
Signed 32-bit integer89
Unsigned 32-bit integer89
32-Bit floating point89
7.5.8 Modbus tips and troubleshooting89
7.5.8.1 Error codes89
Table of Contents - iv
Result code -01: illegal function89
Result code -02: illegal data address90
Result code -11: COM port error90
7.6 Internet communications90
7.6.1 IPaddress91
7.6.2 HTTPS server91
7.6.3 FTP server91
7.7 DNP3 communications93
7.8 Serial peripheral interface (SPI) and I2C93
7.9 PakBus communications93
7.10 SDI-12 communications94
7.10.1 SDI-12 transparent mode95
7.10.1.1 Watch command (sniffer mode)96
7.10.1.2 SDI-12 transparent mode commands97
7.10.2 SDI-12 programmed mode/recorder mode97
7.10.3 Programming the data logger to act as an SDI-12 sensor98
7.10.4 SDI-12 power considerations98
8. GRANITE 9/10 maintenance100
8.1 Data logger calibration100
8.2 Data logger security101
8.2.1 TLS102
8.2.2 Security codes103
8.2.3 Creating a .csipasswd file104
8.2.3.1 Command syntax105
8.3 Data logger enclosures105
8.3.1 Mounting in an enclosure106
8.4 Internal battery107
8.4.1 Replacing the internal battery108
8.5 Electrostatic discharge and lightning protection109
8.6 Power budgeting111
8.7 Updating the operating system111
8.7.1 Sending an operating system to a local data logger112
8.7.2 Sending an operating system to a remote data logger113
8.8 File management via powerup.ini114
8.8.1 Syntax115
8.8.2 Example powerup.ini files116
Table of Contents - v
9. Tips and troubleshooting118
9.1 Checking station status119
9.1.1 Viewing station status119
9.1.2 Watchdog errors120
9.1.3 Results for last program compiled120
9.1.4 Skipped scans121
9.1.5 Skipped records121
9.1.6 Variable out of bounds121
9.1.7 Battery voltage121
9.2 Understanding NAN and INF occurrences121
9.3 Timekeeping122
9.3.1 Clock best practices122
9.3.2 GPS123
9.3.3 Time stamps123
9.3.4 Avoiding time skew124
9.4 CRBasic program errors124
9.4.1 Program does not compile125
9.4.2 Program compiles but does not run correctly125
10.4.49 TLSConnections (Max TLS Server Connections)154
10.4.50 TLSPassword155
10.4.51 TLSStatus155
10.4.52 UDPBroadcastFilter155
10.4.53 UTCOffset155
10.4.54 Verify155
10.4.55 Wi-Fi settings155
10.4.55.1 IPAddressWiFi156
10.4.55.2 IPGatewayWiFi156
10.4.55.3 IPMaskWiFi156
10.4.55.4 WiFiChannel156
10.4.55.5 WiFiConfig157
10.4.55.6 WiFiEAPMethod157
10.4.55.7 WiFiEAPPassword157
10.4.55.8 WiFiEAPUser157
10.4.55.9 Networks157
10.4.55.10 WiFiEnable158
10.4.55.11 WiFiFwdCode (Forward Code)158
10.4.55.12 WiFiPassword158
10.4.55.13 WiFiPowerMode158
10.4.55.14 WiFiSSID (Network Name)158
10.4.55.15 WiFiStatus159
10.4.55.16 WiFiTxPowerLevel159
10.4.55.17 WLANDomainName159
11. GRANITE 9/10 Specifications160
11.1 System specifications160
11.2 Physical specifications162
11.3 Power requirements162
11.4 Power output specifications163
11.4.1 System power out limits (when powered with 12VDC)163
11.4.2 12 V and SW12 power output terminals163
11.4.3 5 V fixed output163
11.4.4 C as power output164
11.4.5 CSI/O pin 1164
11.4.6 CSI/O pin 8164
Table of Contents - x
11.5 Pulse measurement specifications164
11.5.1 Switch closure input164
11.5.2 High-frequency input165
11.5.3 Low-level AC input165
11.6 Digital input/output specifications165
11.6.1 Switch closure input166
11.6.2 High-frequency input166
11.6.3 Edge timing166
11.6.4 Edge counting167
11.6.5 Quadrature input167
11.6.6 Pulse-width modulation167
11.6.7 Maximum time between counter or timer instructions167
11.7 Communications specifications167
11.7.1 Wi-Fi specifications168
11.8 Standards compliance specifications169
Appendix A. Glossary170
Table of Contents - xi
1. GRANITE 9/10 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.
Following is a list of typical data acquisition system components:
l Sensors - Electronic sensors convert the state of a phenomenon to an electrical signal (see
Sensors (p. 3) for more information).
1. GRANITE 9/10 data acquisition system components1
l Data logger - The data logger measures electrical signals or reads serial characters. It
converts the measurement or reading to engineering units, performs calculations, and
reduces data to statistical values. Data is stored in memory to await transfer to a computer
by way of an external storage device or a communications link.
l 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. For more information, see Sending a program to the data logger (p. 35).
l Datalogger Support Software - Software retrieves data, sends programs, and sets settings.
The software manages the communications link and has options for data display.
l Programmable Logic Control - Some data acquisition systems require the control of
external devices to facilitate a measurement or to control a device based on measurements.
This data logger is adept at programmable logic control. See Programmable logic control
(p. 18) for more information.
lMeasurement and Control Peripherals - Sometimes, system requirements exceed the
capacity of the data logger. The excess can usually be handled by addition of input and
output expansion modules.
l Campbell Distributed Module (CDM) - CDMs increase measurement capability can be
centrally located or distributed throughout the network. Modules are controlled and
synchronized by a single GRANITE 9/10. GRANITE Measurement Modules are one type of
CDM.
1.1 The GRANITE 9/10 data acquisition
system
The GRANITE 9/10 data logger provides fast communications, low power requirements, and builtin host and devices USB in a compact size. It includes digital I/O (C) terminals, which allow
connection to virtually any digital or smart sensor. The GRANITE 9/10 in conjunction with
GRANITE Measurement Modules can be collocated in a chassis or distributed over distances of
thousands of feet and all behave as a single unit for the purposes of programming,
synchronization, and data collection and storage.
1.1.1 Overview
The GRANITE 9/10 data logger is the main part of a data acquisition system (see GRANITE 9/10
data acquisition system components (p. 1) for more information). It has a central-processing unit
(CPU), digital measurement inputs, analogue and digital outputs, and memory. An operating
system (firmware) coordinates the functions of these parts in conjunction with the onboard clock
and the CRBasic application program.
1. GRANITE 9/10 data acquisition system components2
The GRANITE 9/10 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. The GRANITE 9/10 temporarily suspends
operations when primary power drops below 9.6 V, reducing the possibility of inaccurate
measurements.
1.1.2 Operations
The GRANITE 9/10 measures almost any sensor with an electrical response, drives direct
communications and telecommunications, reduces data to statistical values, performs
calculations, and controls external devices. After measurements are made, data is stored in
onboard, nonvolatile memory. Because most applications do not require that every measurement
be recorded, the program usually combines several measurements into computational or
statistical summaries, such as averages and standard deviations.
Distributed measurements are one of the hallmarks of the GRANITE series. All modules are
interconnected using CAT5e Ethernet cable. This makes running cables inexpensive and familiar.
One of the advantage of distributed measurements is to take the GRANITE 9/10 to the sensors
and shorten the sensor cables. This replaces many long sensor cables with a single inexpensive
data cable. It also reduces the distance for signals to travel therefore reducing opportunities for
corruption of the signals by noise.
1.1.3 Programs
A program directs the data logger on how and when sensors are measured, calculations are
made, data is stored, and devices are controlled. The application program for the GRANITE 9/10
is written in CRBasic, a programming language that includes measurement, data processing, and
analysis routines, as well as the standard BASIC instruction set. For simple applications, Short Cut,
a user-friendly program generator, can be used to generate the program. For more demanding
programs, use the full featured CRBasic Editor.
Programs are run by the GRANITE 9/10 in either sequential mode or pipeline mode. In sequential
mode, each instruction is executed sequentially in the order it appears in the program. In
pipeline mode, the GRANITE 9/10 determines the order of instruction execution to maximize
efficiency.
1.2 Sensors
Sensors transduce phenomena into measurable electrical forms by modulating voltage, current,
resistance, status, or pulse output signals. Suitable sensors do this with accuracy and precision.
1. GRANITE 9/10 data acquisition system components3
Smart sensors have internal measurement and processing components and simply output a
digital value in binary, hexadecimal, or ASCII character form.
GRANITE measurement modules allow flexibility both in measurement type and channel count.
Most electronic sensors, regardless of manufacturer, will interface with a measurement module.
The GRANITE data acquisition system 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.eu/support to assist in measuring many sensor types.
l Pulse
o
High frequency
o
Switch-closure
o
Low-level ac
o
Quadrature
l Vibrating wire
l Smart sensors
o
SDI-12
o
RS-232
o
Modbus
o
DNP3
o
TCP/IP
o
RS-422
o
RS-485
1. GRANITE 9/10 data acquisition system components4
2. Wiring panel and terminal
functions
The GRANITE 9/10 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. Functions of the terminals are broken
down into the following categories:
l Pulse counting
l Communications
l Digital I/O
l Power input
l Power output
l Power ground
FIGURE 2-1. GRANITE9 Wiring panel
2. Wiring panel and terminal functions5
FIGURE 2-2. GRANITE9
FIGURE 2-3. GRANITE10 Wiring panel
2. Wiring panel and terminal functions6
FIGURE 2-4. GRANITE10
Table 2-1: Pulse counting terminal functions
C1-C8
Switch-Closure✓
High Frequency✓
Quadrature
NOTE:
Conflicts can occur when a control port pair is used for different instructions (TimerInput(),
PulseCount(), SDI12Recorder(), WaitDigTrig()). For example, if C1 is used for
SDI12Recorder(), C2 cannot be used for TimerInput(), PulseCount(), or
WaitDigTrig().
Table 2-2: Voltage output terminal functions
C1-C812VSW12-1SW12-25V
3.3 VDC✓
5 VDC✓✓
+POWERIN up to 12VDC✓✓✓
C terminals have limited drive capacity. Voltage levels are configured in pairs.
2. Wiring panel and terminal functions7
Table 2-3: Communications terminal functions
C1C2C3C4
SDI-12✓✓✓
GPS Time SyncTxRxTxRxTxRxTxRx
TTL
TxRxTxRxTxRxTxRx
0-5 V
LVTTL
TxRxTxRxTxRxTxRx
0-3.3 V
RS-232TxRxTxRxTxRxTxRx✓
RS-485
A-B+A-B+A-B+A-B+
(Half Duplex)
RS-485
Tx-Tx+Rx-Rx+Tx-Tx+Rx-Rx+
(Full Duplex)
I2CSCLSDASCLSDASCLSDASCLSDA
C5C6C7C8
RS-232/
CPI
GRANITE 10 only
H/L/RG
(1-4)
SPIMOSISCLKMISOMOSISCLKMISO
SDMDataClkEnabl
CPI/
CDM
CAN bus✓
✓
Table 2-4: Digital I/O terminal functions
C1-C8
General I/O✓
Pulse-Width Modulation Output✓
Timer Input✓
Interrupt✓
2. Wiring panel and terminal functions8
2.1 Power input
The data logger requires a power supply. It can receive power from a variety of sources, operate
for several months on non-rechargeable batteries, and supply power to many sensors and
devices. The data logger operates with external power connected to the green POWER IN port on
the side of the wiring panel (see Wiring Panel and Terminal Functions). The positive power wire
connects to the Power (10-32 Vdc) terminal. The negative wire connects to G. The power
terminals are internally protected against polarity reversal and high voltage transients.
The primary power source, which is often a transformer, power converter, or solar panel, connects
to the charging regulator, as does a nominal 12 VDC sealed rechargeable battery. A third
connection connects the charging regulator to the 12V and G terminals of the POWER IN port.
UPS (uninterruptible power supply) is often the best power source for long-term installations. If
external alkaline power is used, the alkaline battery pack is connected directly to the POWER IN
port. External UPS consists of a primary-power source, a charging regulator external to the data
logger, and an external battery.
WARNING:
Sustained input voltages in excess of those listed in the , can damage the transient voltage
suppression.
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. Troubleshooting power supplies (p. 127)
The GRANITE 9/10 cannot run solely from USB power.
NOTE:
The Status field Battery value and the destination variable from the Battery() instruction
(often called batt_volt in the Public table) reference the external battery voltage. For
information about the internal battery, see Internal battery (p. 107).
2.1.1 Powering a data logger with a vehicle
If a data logger is powered by a motor-vehicle power supply, a second power supply may be
needed. When starting the motor of the vehicle, battery voltage often drops below the voltage
required for data logger operation. This may cause the data logger to stop measurements until
the voltage again equals or exceeds the lower limit. A second supply or charge regulator can be
provided to prevent measurement lapses during vehicle starting.
2. Wiring panel and terminal functions9
In vehicle applications, the earth ground lug should be firmly attached to the vehicle chassis with
12 AWG wire or larger.
2.1.2 Power LED indicator
When the data logger is powered, the Status LED will turn on according to power and program
states:
l Off: No power, no program running.
l Green flash every 1/2 second: Program running
l Solid yellow: Fault
l Solid red: Boot code is active
2.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 undervoltage conditions, and to minimize errors. Additionally, exceeding current limits causes voltage
output to become unstable. Voltage should stabilize once current is again reduced to within
stated limits. The following are available:
l 12V: regulated 12 VDC. The 12 VDC supply is regulated to within 10% of 12 VDC as long as
the main power supply for the data logger does not drop below the minimum supply
voltage. See Power requirements (p. 162).
l 5V: regulated 5 VDC. The 5 VDC supply is regulated to within a few millivolts of 5 VDC as
long as the main power supply for the data logger does not drop below the minimum
supply voltage. It is intended to power sensors or devices requiring a 5 VDC power supply.
It is not intended as an excitation source for bridge measurements. Current output is
shared with the CSI/O port; so, the total current must be within the current limit.
SW12: program-controlled, regulated switched 12 VDC terminals. Voltage on a SW12
l
terminal will be approximately the same as the 12V terminal. Each SW12 terminal has an
independent current limit. CRBasic instruction SW12()controls the SW12 terminal. See
the CRBasic Editor help for detailed instruction information and program examples:
l CS I/O port: used to communicate with and often supply power to Campbell Scientific
peripheral devices.
2. Wiring panel and terminal functions10
l C terminals: can be set low or high as output terminals . With limited drive capacity, digital
output terminals are normally used to operate external relay-driver circuits. See also Digital
input/output specifications (p. 165).
See also Power output specifications (p. 163).
2.3 Grounds
Proper grounding lends stability and protection to a data acquisition system. Grounding the data
logger with its peripheral devices and sensors is critical in all applications. Proper grounding will
ensure maximum ESD protection and measurement accuracy. It is the easiest and least expensive
insurance against data loss, and often the most neglected. The following terminals are provided
for connection of sensor and data logger grounds:
l Power Ground (G) - return for 3.3 V, 5 V, 12 V, C terminals configured for control, and
digital sensors.
o
6 common terminals
l Resistive Ground (RG) - used for decoupling ground on RS-485 and CANbus (GRANITE10
only) signals. Includes 100 Ω resistance to ground.
o
6 common terminals, GRANITE10
o
2 common terminals, GRANITE9
l Earth Ground Lug ( ) - connection point for heavy-gauge earth-ground wire. A good earth
connection is necessary to secure the ground potential of the data logger and shunt
transients away from electronics. Campbell Scientific recommends 14 AWG wire, minimum.
NOTE:
Several ground wires can be connected to the same ground terminal.
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.
In the field, at a minimum, a proper earth ground will consist of a 5-foot copper-sheathed
grounding rod driven into the earth and connected to the large brass ground lug on the wiring
panel with a 14 AWG wire. In low-conductive substrates, such as sand, very dry soil, ice, or rock, a
single ground rod will probably not provide an adequate earth ground. For these situations,
search for published literature on lightning protection or contact a qualified lightning-protection
consultant.
2. Wiring panel and terminal functions11
In laboratory applications, locating a stable earth ground is challenging, but still necessary. In
older buildings, new VAC receptacles on older VAC wiring may indicate that a safety ground
exists when, in fact, the socket is not grounded. If a safety ground does exist, good practice
dictates to verify that it carries no current. If the integrity of the VAC power ground is in doubt,
also ground the system through the building plumbing, or use another verified connection to
earth ground.
See also:
l Ground loops (p. 130)
2.4 Communications ports
The data logger is equipped with ports that allow communications with other devices and
networks, such as:
l Computers
l Smart sensors
l Modbus and DNP3 networks
l Ethernet
l Modems
l Campbell Scientific PakBus® networks
l Other Campbell Scientific data loggers
l GRANITE Measurement Modules
l Vehicles using CANbus (GRANITE 10 only)
Campbell Scientific data logger communications ports include:
l CS I/O
l CPI/RS-232
l EPI
l CANbus (GRANITE10 only)
l USB Device
l USB Host
l Ethernet
l C terminals
2.4.1 USB device port
One USB device port supports communicating with a computer through data logger support
software or through virtual Ethernet (RNDIS), and provides 5 VDC power to the data logger
(powering through the USB port has limitations - details are available in the specifications). The
2. Wiring panel and terminal functions12
data logger USB device port does not support USBflash or thumb drives. Although the USB
connection supplies 5 V power, a 12 VDC battery will be needed for field deployment.
2.4.2 USB host port
USB host provides portable data storage on a mass storage device (MSD). A single USB thumb
drive can be inserted into the drive and will show up as a drive (USB: ) in file related operations.
Measurement data is stored on USB: as discrete files by using the TableFile() instruction.
Files on USB can be collected by inserting the thumb drive into a computer and copying the files.
USB: can be used in the TableFile() instruction and all file access related instructions in
CRBasic. Because of data-reliability concerns in non-industrial rated drives, this drive is not
intended for long term unattended data storage. USB: is not affected by program recompilation
or formatting of other drives.
2.4.3 Ethernet port
The RJ45 10/100/1000 Ethernet port is used for IP communications.
2.4.4 C terminals for communications
C terminals are configurable for the following communications types:
l SDI-12
l RS-232
l RS-422
l RS-485
l TTL (0 to 5 V)
l LVTTL (0 to 3.3 V)
l SDM
Some communications types require more than one terminal, and some are only available on
specific terminals. This is shown in the data logger specifications.
2.4.4.1 SDI-12 ports
SDI-12 is a 1200 baud protocol that supports many smart sensors. C1, C3, C5, and C7 can be
configured as SDI-12 ports. Maximum cable lengths depend on the number of sensors
connected, the type of cable used, and the environment of the application. Refer to the sensor
manual for guidance.
For more information, see SDI-12 communications (p. 94).
2. Wiring panel and terminal functions13
2.4.4.2 RS-232, RS-422, RS-485, TTL, and LVTTL ports
RS-232, RS-422, RS-485, TTL, and LVTTL communications are typically used for the following:
l Reading sensors with serial output
l Creating a multi-drop network
l Communications with other data loggers or devices over long cables
Configure C terminals as serial ports using Device Configuration Utility or by using the
SerialOpen() CRBasic instruction. C terminals are configured in pairs for TTL, LVTTL, RS-232,
and half-duplex RS-422 and RS-485 communications. For full-duplex RS-422 and RS-485, four C
terminals are required. See also Communications protocols (p. 65).
NOTE:
RS-232 ports are not isolated.
2.4.4.3 SDM ports
SDM is a protocol proprietary to Campbell Scientific that supports several Campbell Scientific
digital sensor and communications input and output expansion peripherals and select smart
sensors. It uses a common bus and addresses each node. CRBasic SDM device and sensor
instructions configure terminals C1, C2, and C3 together to create an SDM port. Alternatively,
terminals C5, C6, and C7 can be configured together to be used as the SDM port by using the
SDMBeginPort() instruction.
See also Communications specifications (p. 167).
2.4.5 CS I/O port
One nine-pin port, labeled CS I/O, is available for communicating with a computer through
Campbell Scientific communications interfaces, modems, and peripherals. Campbell Scientific
recommends keeping CS I/O cables short (maximum of a few feet). See also Communications
specifications (p. 167).
Table 2-5: CS I/O pinout
Pin
Function
Number
15 VDCO5 VDC: sources 5 VDC, used to power peripherals.
2SG
Input(I)
Description
Output(O)
Signal ground: provides a power return for pin 1 (5V),
and is used as a reference for voltage levels.
2. Wiring panel and terminal functions14
Table 2-5: CS I/O pinout
Pin
Function
Number
3RINGI
4RXDI
5MEO
6SDEO
7CLK/HSI/O
812VDC
Input(I)
Description
Output(O)
Ring: raised by a peripheral to put the GRANITE 9/10 in
the telecom mode.
Receive data: serial data transmitted by a peripheral are
received on pin 4.
Modem enable: raised when the GRANITE 9/10
determines that a modem raised the ring line.
Synchronous device enable: addresses synchronous
devices (SD); used as an enable line for printers.
Clock/handshake: with the SDE and TXD lines addresses
and transfers data to SDs. When not used as a clock, pin
7 can be used as a handshake line; during printer
output, high enables, low disables.
Nominal 12 VDC power. Same power as 12V and SW12
terminals.
Transmit data: transmits serial data from the data logger
to peripherals on pin 9; logic-low marking (0V), logic-
9TXDO
high spacing (5V), standard-asynchronous ASCII: eight
data bits, no parity, one start bit, one stop bit. User
selectable baud rates: 300, 1200, 2400, 4800, 9600,
19200, 38400, 115200.
2.4.6 CPI/RS-232 port
The data logger includes one RJ45 module jack labeled RS-232/CPI. CPI is a proprietary interface
for communications between Campbell Scientific data loggers and Campbell Distributed
Modules (CDMs) such as the GRANITE-Series peripheral devices and smart sensors. It consists of
a physical layer definition and a data protocol. CDM devices are similar to Campbell Scientific
SDM devices in concept, but the CPI bus enables higher data-throughput rates and use of longer
cables. Some GRANITE devices may require more power to operate in general than do SDM
devices. Consult the manuals for GRANITE modules for more information.
NOTE:
CPI/RS-232 port is not isolated.
2. Wiring panel and terminal functions15
Loading...
+ 193 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.