background image

Appendix B. MS-80M example
program

Table B-1

(p. 12) provides wiring for the example program. Although, this program is for the

CR1000X, other CRBasic data loggers are programmed similarly.

Table B-1: Wiring for example program

Wire Color

Function

CR1000X

Green

RS-485A

C5

White

RS-485B

C6

Red

Power in (12 V)

12V

Black

Power ground

G

Yellow

RS-485 G

G

Clear

Shield

(analog ground)

CRBasic Example 1: CR1000X program that measures the MS-80M

' Variables associated with Pyranometer 1 (MS-80M)

Dim

ModbusMS80_1(2)

As Float

Public

ModbusResult_1

Public

MS80M_Irradiance

As Float

Unit

s MS80M_Irradiance=W/m²

Public

MS80M_InternalTemp

As Float

Units

MS80M_InternalTemp = DegC

DataTable

(OneMin,True,-1 )

Datainterval

(0,1,Min,10)

Average

(1,MS80M_Irradiance,IEEE4,False)

StdDev

(1,MS80M_Irradiance,IEEE4,False)

Maximum

(1,MS80M_Irradiance,IEEE4,False,False)

Minimum

(1,MS80M_Irradiance,IEEE4,False,False)

Average

(1,MS80M_InternalTemp,IEEE4,False)

StdDev

(1,MS80M_InternalTemp,IEEE4,False)

Maximum

(1,MS80M_InternalTemp,IEEE4,False,False)

Minimum

(1,MS80M_InternalTemp,IEEE4,False,False)

EndTable
BeginProg

MS-80M Secondary Standard Pyranometer with RS-485 Modbus Communication

12

Summary of Contents for MS-80M

Page 1: ...Revision 05 2020 Copyright 2018 2020 Campbell Scientific Inc ...

Page 2: ...4 Siting 4 5 Mounting procedure 5 6 MS 80M wiring 7 7 RS 485 default configuration 7 8 MS 80M register map 7 9 RS 485 programming 8 10 Maintenance and troubleshooting 9 Appendix A Importing Short Cut code into CRBasic Editor 11 Appendix B MS 80M example program 12 Table of Contents i ...

Page 3: ...the only ISO 17025 accredited pyranometer manufacturer in the world enabling highest quality calibration compliant to international standards ISO IEC 17025 9847 2 QuickStart A video that describes data logger programming using Short Cut is available at www campbellsci com videos cr1000x datalogger getting started program part 3 Short Cut is an easy way to program your data logger to measure the se...

Page 4: ...diation folder Double click the MS 80M Type the RS 485 address Default value is 53 4 Click the Wiring tab to see how the sensor is to be wired to the data logger Click OK after wiring the sensor 5 Repeat steps three and four for other sensors MS 80M Secondary Standard Pyranometer with RS 485 Modbus Communication 2 ...

Page 5: ...e program Send the program to the data logger if the data logger is connected to the computer 9 If the sensor is connected to the data logger check the output of the sensor in the data logger support software data display in LoggerNet PC400 RTDAQ or PC200W to make sure it is making reasonable measurements MS 80M Secondary Standard Pyranometer with RS 485 Modbus Communication 3 ...

Page 6: ... W Compliance documents View at www campbellsci com ms 80m l 4 Siting The solar radiation sensor is usually installed horizontally but can also be installed at any angle including an inverted position Site the sensor to allow easy access for maintenance while ideally avoiding any obstructions or reflections above the plane of the sensing element It is important to mount the sensor such that a shad...

Page 7: ...solar radiation sensor to the mounting bracket The blue dots in the following figure indicate the mounting holes used for this pyranometer 3 Using a diopter in combination with a solar compass install and orient the crossarm on the tripod or the mast If installing the mounting bracket on a vertical pole ensure the pole is truly vertical 4 Secure the mounting bracket to the crossarm or vertical pol...

Page 8: ...owing figure For pyranometers mounted horizontally ensure the mounting bracket is horizontal in two dimensions For pyranometers mounted at an angle set the mounting bracket angle to the desired angle prior to tightening the mounting hardware MS 80M Secondary Standard Pyranometer with RS 485 Modbus Communication 6 ...

Page 9: ...r ground G Yellow 5 RS 485 ground G Clear N C Shield analog ground 1 Assumes the sensor directly connects to the data logger 7 RS 485 default configuration The default RS 485 settings are 19200 baud rate 8 data bits even parity one stop bit This configuration is used for most Modbus networks 8 MS 80M register map Table 8 1 p 8 provides the register map for the most commonly used values A comprehen...

Page 10: ...oat Temperature response correction factor1 b 31 2 Float Temperature response correction factor1 c 33 2 Float Temperature response correction factor1 d 1 If temperature correction is required the following formula is used ETC E T E TC1 T TC1 T a b T cT2 dT3 Where ETC E T Measurement voltage with temperature correction mV E Measurement voltage mV TC1 T Correction coefficient T Internal temperature ...

Page 11: ...am p 12 for more information 10 Maintenance and troubleshooting The MS 80M has no service items requiring scheduled replacement There is no accessible desiccant cartridge to maintain Use pure alcohol or distilled water and a lint free cloth to clean the dome removing smears and deposits Local conditions and application dictate cleaning interval Sophisticated research applications require daily cle...

Page 12: ... electromagnetic radiation can be a problem Check the cable for damage and ensure that it is properly connected to the data logger MS 80M Secondary Standard Pyranometer with RS 485 Modbus Communication 10 ...

Page 13: ...nement 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 wiring information into it 4 In ...

Page 14: ... 1 MS 80M Dim ModbusMS80_1 2 As Float Public ModbusResult_1 Public MS80M_Irradiance As Float Units MS80M_Irradiance W m Public MS80M_InternalTemp As Float Units MS80M_InternalTemp DegC DataTable OneMin True 1 Datainterval 0 1 Min 10 Average 1 MS80M_Irradiance IEEE4 False StdDev 1 MS80M_Irradiance IEEE4 False Maximum 1 MS80M_Irradiance IEEE4 False False Minimum 1 MS80M_Irradiance IEEE4 False False ...

Page 15: ...200 2 0 50 4 Scan 1 Sec 0 0 MS 80M ModbusMaster ModbusResult_1 ComC5 19200 65 3 ModbusMS80_1 22 2 1 100 0 MS80M_Irradiance ModbusMS80_1 1 MS80M_InternalTemp ModbusMS80_1 2 CallTable OneMin NextScan EndProg MS 80M Secondary Standard Pyranometer with RS 485 Modbus Communication 13 ...

Page 16: ...Other manufacturer s products that are resold by Campbell Scientific are warranted only to the limits extended by the original manufacturer Refer to www campbellsci com terms warranty for more information CAMPBELL SCIENTIFIC EXPRESSLY DISCLAIMS AND EXCLUDES ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE Campbell Scientific hereby disclaims to the fullest extent allow...

Page 17: ...e shipping container Campbell Scientific s shipping address is CAMPBELL SCIENTIFIC INC RMA _____ 815 West 1800 North Logan Utah 84321 1784 For all returns the customer must fill out a Statement of Product Cleanliness and Decontamination form and comply with the requirements specified in it The form is available from our website at www campbellsci com repair A completed form must be either emailed ...

Page 18: ...or around tripods and towers l 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 l Use only manufacturer recommended parts materials and tools Utility and Electrical l You can be killed or sustain serious bodily injury if the tripod tower or attachments you are installing constructing usin...

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