background image

CRBasic Example 1: Measuring one thermocouple

'Program Example: Measuring a type-T thermocouple

Public

tc1

BeginProg

CPIAddModule

(TEMP120, 16, "TEMP120-16", 1)

Scan

(2000000, usec, 500, 0)

'Measure Type T thermocouple on TEMP 120, CPI address 1

CDM_TCComp

(TEMP120, 1, tc1, 1, 1, TypeT, 1, 0)

NextScan

EndProg

9.5 Data logger connection

TEMP 120 devices communicate with a data logger through a CPI port. Each TEMP 120 ships with
a 6-inch RJ45 cable for this connection, though any CAT5e, or better, RJ45 cable can be used. To
allow daisy-chaining, two CPI ports are available on the TEMP 120. Either CPI port on the TEMP
120 connects directly to the CPI port on a GRANITE 10, GRANITE 9, GRANITE 6, CR6, or CR1000X
data logger.

9.6 Connecting multiple GRANITE
Measurement Modules

The CPI bus, which handles the communications between the data logger and GRANITE
Measurement Modules, can accept addresses 1 to 120. Multiple GRANITE Measurement Modules
may be connected to a single data logger using a daisy-chain or star topology. In both network
configurations, as total cable length increases, the maximum possible bit rate decreases.
Therefore, in networks with long cable lengths, it may be necessary to use the

CPISpeed()

instruction to decrease the CPI network bit rate from its default 250 kbps. Limitations on cable
length and bit rate are discussed further in

CPI network bit rate

(p. 22) and listed in

Table 10-1

(p.

23).

9.6.1 Daisy-chain topology

In a daisy-chain topology, GRANITE Measurement Modules are connected one after another, as
shown in

FIGURE 9-1

(p. 18).

TEMP 120

17

Summary of Contents for TEMP 120

Page 1: ...Revision 01 2022 Copyright 2019 2022 Campbell Scientific CSL I D 1318 ...

Page 2: ...s 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 De...

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

Page 4: ...e 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 kil...

Page 5: ...ifications 10 8 1 Thermocouple measurement specifications 10 8 2 Module 11 8 2 1 Communications 11 8 2 2 System 12 8 2 3 Power requirements 12 8 2 4 Compliance 12 8 2 5 Physical attributes 12 9 Installation 12 9 1 Install driver for computer connection 13 9 2 Operating systems 13 9 3 Configuring TEMP 120 13 9 3 1 Configuring with SURVEYOR 14 9 3 2 Configuring with the CPIAddModule instruction 14 9...

Page 6: ...gger control 21 10 3 Measurements 21 10 4 CPI network bit rate 22 10 5 Multiple devices 23 11 Maintenance and calibration 23 12 Troubleshooting 24 12 1 CPIStatus table 24 12 2 Status LED 25 12 3 CPI port LEDs 25 12 4 Replacing a GRANITE Measurement Module 26 Appendix A Importing Short Cut code into CRBasic Editor 27 Appendix B Example programs 28 B 1 Configuring GRANITE Measurement Module with CPI...

Page 7: ...IMPORTANT Maintain a level of calibration appropriate to the application Campbell Scientific recommends factory recalibration of Extended Duty XD TEMP 120 units every three years 3 Initial inspection l Inspect the packaging and contents for damage immediately File damage claims with the shipping company l Check packaging materials for all products Check model numbers part numbers product descripti...

Page 8: ...at www campbellsci com videos surveyor This section will guide you through reading a differential Type T thermocouple on a TEMP 120 With minor changes these steps can apply to other compatible measurements 1 Open SURVEYOR 2 Connect a USB cable between your computer and the TEMP 120 USB port 3 Apply 9 6 to 32 VDC external power using the green Power connector on the side of the TEMP 120 4 Select Co...

Page 9: ...surement s For this exercise add a Type T differential thermocouple on Channel 1 Insert the sensor into Terminal 1 on the TEMP 120 10 Complete the rest of the form and Apply to save the configuration TEMP 120 3 ...

Page 10: ...tions to stop and pause data storage become available 5 Programming quickstart using SURVEYOR Campbell Scientific SURVEYOR is an easy way to generate a simple CRBasic program for your TEMP 120 Campbell Scientific data acquisition system 1 Configure the TEMP 120 for measurements see Measurement quickstart using SURVEYOR p 2 TEMP 120 4 ...

Page 11: ...hortcut It is also included in installations of LoggerNet RTDAQ and PC400 The following procedure shows using Short Cut to program the data logger to measure a type T thermocouple on a TEMP 120 1 Open Short Cut and click Create New Program 2 Double click your data logger 3 In the Available Sensors and Devices box start typing GRANITE You can also locate it in the Devices folder Double click the GR...

Page 12: ...ocouple in the Sensors Temperature folder Double click Type T Thermocouple Type the number of type T thermocouples connected to the TEMP 120 The temperature defaults to degree C This can be changed by clicking the Temperature units box and selecting one of the other options TEMP 120 6 ...

Page 13: ...to be wired to the TEMP 120 Click OK after wiring the thermocouple 6 Repeat steps four and five for other sensors you want to measure Click Next 7 In Output Setup type the scan rate a meaningful table name and the Data Output Storage Interval TEMP 120 7 ...

Page 14: ... to make sure it is making reasonable measurements 7 Overview The TEMP 120 expands the number of thermocouple measurement terminals and increases the measurement speed potential in a data logger system GRANITE Measurement Modules operate through a data logger program and communicate using the CAN peripheral interface CPI A single data logger can operate multiple GRANITE Measurement Modules The TEM...

Page 15: ...oint for external power supply components The power supply must be in the range of 9 6 to 32 VDC FIGURE 7 2 Power and CPI ports view left and ground lug view right Earth Ground Lug connection point for a heavy gauge earth ground wire A good earth connection is necessary to secure the ground potential of the TEMP 120 and shunt transients away from electronics 14 AWG wire minimum is recommended TEMP...

Page 16: ...25 7 1 2 2 CPI port When the TEMP 120 has successfully been configured by a data logger the green LED on the CPI port will flash For scan rates 500 ms or slower it will flash at the scan rate For faster scan rates the green LED will flash every few scans A flashing orange LED indicates bus activity A solid orange LED indicates a bus error See Table 12 3 p 25 8 Specifications All Standard Duty SD T...

Page 17: ...id temperature environment ramps 8 C per minute ambient gradient SD 40 to 70 C 3 C maximum XD 55 to 85 C 3 C maximum Resolution 0 015 C Speed All 20 channels at rates up to 10 Hz when filtering is disabled 1 Hz when filtering is enabled Input limits 0 25 to 3 0 VDC Built in 1 65 VDC bias voltage Maximum input voltage 10 VDC DC common mode rejection 115 dB Normal mode rejection 80 dB at 50 and 60 H...

Page 18: ...m 8 0 x 5 0 x 2 0 in additional clearance required for cables and wires Weight 0 9 kg 1 95 lb Operating Temperature Standard Duty SD 40 to 70 C Extended Duty XD 55 to 85 C 9 Installation Preconfigure and test stations in an indoor location before doing the field installation After installing a field station wait long enough to confirm that good measurements are being made that data is collected by...

Page 19: ... link and follow the prompts TIP Driver installation is optional for computers running Windows 10 and later 9 2 Operating systems Campbell Scientific posts operating system OS updates at www campbellsci eu downloads when they become available Before deploying instruments check OS versions and update as needed to the most recent version Use the Device Configuration Utility and follow the procedures...

Page 20: ...me CPIAddress The data logger creates an internal list of CPI modules from each CPIAddModule instruction Modules added to the CPI bus will be checked against this list and reconfigured accordingly See a programming example Configuring GRANITE Measurement Module with CPIAddModule p 28 NOTE The CPIAddModule instruction overrides changes made through SURVEYOR Device Configuration Utility or the CPISt...

Page 21: ...bus appears in the CPIStatus table within the ModuleInfo array Information is shown in the following order GRANITE Measurement Module Type Serial Number Device Name CPI Address Activity CDM OS Version Within the ModuleInfo array index string the Device Name and CPI Address fields can be edited This provides a way to rename and readdress a TEMP 120 through Campbell Scientific software without editi...

Page 22: ...e TEMP 120 Upon receiving a batch of data the data logger puts it into a processing queue Processing the data may take more time than is available in a single scan The BufferOption allows the data logger to balance its task load by processing the data from the TEMP 120 during subsequent scans while maintaining correct data time stamps If a BufferOption is not set the data logger will attempt to pr...

Page 23: ... CR6 or CR1000X data logger 9 6 Connecting multiple GRANITE Measurement Modules The CPI bus which handles the communications between the data logger and GRANITE Measurement Modules can accept addresses 1 to 120 Multiple GRANITE Measurement Modules may be connected to a single data logger using a daisy chain or star topology In both network configurations as total cable length increases the maximum...

Page 24: ...ork For more information see https s campbellsci com documents us technical papers cpi bus pdf 9 6 2 Star topology A star topology uses a passive RJ45 hub such as the HUB CPI to connect multiple GRANITE Measurement Modules An illustration of this is shown in FIGURE 9 2 p 18 NOTE Do not use a CPI terminator with this configuration FIGURE 9 2 Multiple GRANITE Measurement Modules connected in a star ...

Page 25: ...st practice is to start all instruments in a station simultaneously from a single power supply If this is not possible first turn on TEMP 120s then the data logger This procedure will reduce the time required to synchronize the CPI bus See Status LED p 25 for more information 9 8 Earth ground connection Earth grounding provides protection from static discharge transients and power surges A ground ...

Page 26: ...FIGURE 9 3 Enclosure backplate mounting If mounting to a DIN rail use the GRANITE series DIN Rail Kit as shown in the following images FIGURE 9 4 GRANITE DIN Rail Mounting Kit TEMP 120 20 ...

Page 27: ...rements can be made in multiple scans slow sequences sub scans and subroutines the data logger firsts sends a message to the modules indicating which measurements are to be made upon the next data sync When the TEMP 120 receives a sync signal it begins making measurements The measurement order on the TEMP 120 follows the sequence of the instructions addressed to it within the current active scan o...

Page 28: ...g at 1000 500 250 125 or 50 kbps depending on your network configuration see Connecting multiple GRANITE Measurement Modules p 17 This is the rate that data are transferred from the GRANITE Measurement Module to the data logger When multiple GRANITE Measurement Modules are making measurements faster than 1 Hz it is important to ensure that the CPI network bit rate is higher than the rate that data...

Page 29: ... document Designing Physical Network Layouts for the CPI Bus When including two or more TEMP 120 devices in the program the processing mode of the data logger affects the measurement timing of each TEMP 120 In sequential mode the TEMP 120 devices make measurements one after the other following the order of their instructions within the program Conversely in pipeline mode the devices start their me...

Page 30: ...r signal to data conversion is faulty create a program that only measures that sensor and stores the data absent from all other inputs and data Write these mini programs before going to the field if possible 4 Verify that each TEMP 120 in the network has a unique CPI address 5 Check the data logger and TEMP 120 operating system and update them as needed 6 Check that the scan rate is long enough fo...

Page 31: ... to this response 12 2 Status LED The Status LED indicates the current operation of the TEMP 120 as shown in the following table Table 12 2 COMM Status LED Activity Green Flashing Module has been configured by data logger and is receiving sync signals Orange Flashing Device has not been configured by data logger Red Single Flash Device has been configured but is not receiving sync signals Double F...

Page 32: ...12 4 Replacing a GRANITE Measurement Module An existing TEMP 120 can be replaced with a new module using the same CPI address without requiring a change to the program TEMP 120 26 ...

Page 33: ...w be edited for additional refinement NOTE Once the file is edited with CRBasic Editor Short Cut can no longer be used to edit the program it created 2 To add the Short Cut wiring information into the new CRBasic program open the DEF file located in the C campbellsci SCWin folder and copy the wiring information which is at the beginning of the DEF file 3 Go into the CRBasic program and paste the w...

Page 34: ... makes 15 Type T thermocouple measurements on each module CRBasic Example 2 Using CPIAddModule GRANITE 6 Datalogger This program sets CPI addresses and device names of three TEMP 120s and measures 15 input channels on each device Declare Variables and Units Public TC_Set1 15 Units TC_Set1 DegC Public TC_Set2 15 Units TC_Set2 DegC Public TC_Set3 15 Units TC_Set3 DegC Main Program BeginProg Set CPI ...

Page 35: ... with serial number 1234 and uses the TEMP 120 to measure 20 Type T thermocouples Declare Variables and Units Public TC 20 Units TC DegC Define Data Tables DataTable Hourly TRUE 1 DataInterval 0 60 MIN 10 Average 20 TC FP2 FALSE EndTable Main Program BeginProg Set CPI Address CPIAddModule TEMP120 1234 A 4 Scan 5 SEC 3 0 Measure 20 Type T thermocouples on TEMP 120 with CPI address 4 CDM_TCComp TEMP...

Page 36: ...aw mVpV Public TC 20 Units TC DegC Define Data Tables DataTable OneSec TRUE 1 DataInterval 0 1 SEC 10 Maximum 1 strain_raw FP2 FALSE TRUE EndTable DataTable Hourly TRUE 1 DataInterval 0 60 MIN 10 Average 20 TC FP2 FALSE EndTable Main Program BeginProg MainSequence Scan 10 MSEC 20 0 Measure full bridge sensor on VOLT 108 at CPI address 1 CDM_BrFull VOLT108 1 strain_raw 1 mV200 1 X1 1 5000 _ TRUE TR...

Page 37: ...n is used to synchronize the full bridge measurements with the thermocouple measurements Declare Variables and Units Public TC 20 Units TC DegC Public strain_raw Units strain_raw mVpV Define Data Tables DataTable OneSec TRUE 1 DataInterval 0 1 SEC 10 Average 20 TC FP2 FALSE Maximum 1 strain_raw FP2 FALSE TRUE EndTable Main Program BeginProg Scan 1 SEC 3 0 Measure 20 Type T thermocouples on TEMP 12...

Page 38: ...info campbellsci fr www campbellsci fr Germany Location Phone Email Website Bremen Germany 49 0 421 460974 0 info campbellsci de www campbellsci de India Location Phone Email Website New Delhi DL India 91 11 46500481 482 info campbellsci in www campbellsci in South Africa Location Phone Email Website Stellenbosch South Africa 27 21 8809960 sales campbellsci co za www campbellsci co za Spain Locati...

Reviews: