background image

PVS5120-Series Portable Samplers 

50 

Tries

 – The 

Tries

 parameter is used to specify the number of times the

ModbusMaster

 datalogger should attempt to communicate with the

SlaveModbus

 datalogger before moving on to the next instruction.

TimeOut

 – The 

TimeOut

 parameter specifies the amount of time, in

0.01 seconds, that the ModbusMaster datalogger should wait for a

response from the ModbusSlave before considering the attempt a

failure.

For more information on each of the 

ModbusMaster() 

parameters, see 

CRBasic Help

.  Section 

8.2.5.5

Modbus® Example Instructions

 

(p. 50)

, provides 

some example

 ModbusMaster()

 instructions.  Complete program examples for 

the CR1000 can be found on our website at 

www.campbellsci.com/19_1_767

 

and in Appendix 

B.3

Modbus® Example Programs

 

(p. B-6)

8.2.5.5  Modbus® Example Instructions 

This instruction initiates a sample and uses 

Function 15

 to set the flag in the 

sampler: 

ModbusMaster(

MbResult(2),ComSDC7,38400,MBAddress,15,Start_sample,1,

1,3,100,0

)

 

This instruction checks to see if the sampler is still running: 

ModbusMaster(

MbResult(1),ComSDC7,38400,MBAddress,1,Start_sample,1,1

,3,100,0

)

 

This instruction collects the status values: 

ModbusMaster(

MbResult(3),ComSDC7,38400,MBAddress,3,Sampler_status(),

23,4,3,100,0

)

 

8.2.6  Pulse Control 

The sampler can be directly connected to a 0 to 5 V TTL pulse outputting 

device via the PVS5120CBL control cable.  The sampler counts the 

accumulating pulses from the external device, for example a flow meter, to 

trigger a sample.   

The sampler monitors either a 5 V contact closure or a positive pulse 

waveform.  Either type of pulse needs to generate at least a 50 ms pulse width.  

When running the sampler via pulse control the four status values will not be 

returned to the user unless monitoring the sampler via RS-485 (similar to time-

based control).  See Appendix 

C

, Monitoring Sampler Status via RS-485

 

(p. C-1)

 

to learn how to configure for RS-485 monitoring.    

If using a datalogger, it may be easier to wire the pulse output 

device  (flow  meter  or  rain  ga

u

ge)  to  the  datalogger,  and  then 

have  the  datalogger  monitor  and  record  the  pulses.    The 

datalogger can control the sampler via SDI-12 or RS-485 and 

return the four status values to the user.   

NOTE 

Содержание PVS5120 Series

Страница 1: ...INSTRUCTION MANUAL PVS5120 Series Portable Samplers Revision 5 17 C o p y r i g h t 2 0 1 1 2 0 1 7 C a m p b e l l S c i e n t i f i c I n c...

Страница 2: ......

Страница 3: ...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 give...

Страница 4: ......

Страница 5: ...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 marke...

Страница 6: ......

Страница 7: ...ore 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...

Страница 8: ......

Страница 9: ...ng to the VSC100 Sampler via DevConfig 9 6 1 1 Clock Tab 10 6 2 Settings Editor Tab 11 6 2 1 Info Tab 11 6 2 2 Sampler Settings Tab 12 6 2 3 Advanced Sampler Settings Tab 13 6 2 4 Pulse Settings Tab 1...

Страница 10: ...r PakBus Control 40 8 2 4 5 PakBus Example Instructions 43 8 2 5 Modbus Control 43 8 2 5 1 Configuring the MD485 43 8 2 5 2 Configuring Sampler for Modbus Control 45 8 2 5 3 Wiring for Modbus Control...

Страница 11: ...ime Based Configuration C 5 C 4 2 Monitoring via Modbus C 6 C 4 2 1 Modbus Monitoring with Time Based Configuration C 7 D Replacement Parts D 1 E Lithium Battery Replacement E 1 F Response Code 4 Scen...

Страница 12: ...Control settings 51 8 18 Pulse Settings tab 52 C 1 MD485 Device Configuration screen C 1 C 2 MD485 Deployment tab C 2 C 3 MD485 RS 485 tab C 2 C 4 Device Configuration VSC100 C 4 Tables 4 1 Control P...

Страница 13: ...t of this manual CAUTION Damage resulting from running the sampler under freezing conditions will not be covered under the product warranty Wiring to remote external sensors should avoid all ac power...

Страница 14: ...horizontal draws of 7 6 m 25 ft and the large pump takes samples at 2 2 m s 7 1 ft s at 7 6 m 25 ft When sampling is initiated liquid travels through the intake hose to the volume control tube into th...

Страница 15: ...PVS5120D Sampler Sample Bottles T Bar Retaining Plate Folding Handle Clasps 1 L Base optional Intake Hose Sinker optional strainer 500 mL Base Control Panel VSC100 Controller Enclosure Handle Intake...

Страница 16: ...2V MDL Fuse that protects the control panel Varies depending on pump choice The 10 A version is for the large pump Manual Control Blue button used to Service Manually Sample and Auto Deploy the sample...

Страница 17: ...The Auto Deploy routine runs the sampler through an entire sampling sequence while keeping track of the time to move water from the water source to the metering chamber It uses this information to set...

Страница 18: ...ia three way power switch One control cable for all control types An optional water present sensor detects the presence of water at the mouth of the sampler intake hose to ensure a sample is available...

Страница 19: ...eploy routine 40 to 60 C 40 to 140 F 12 Vdc 7 Ah or 17 Ah 110 Vac charger or 100 to 240 Vac charger CE Compliant RoHS Compliant Complies with the relevant sections of the ISO 5667 10 standard applicab...

Страница 20: ...r Nylon standard Teflon optional Metering chamber level electrode 316 stainless steel Volume control tube 316 stainless steel Liquid sensing conductivity rod 316 stainless steel Intake hose Ordered as...

Страница 21: ...ce a new user to each setting in detail To use DevConfig the sampler needs to be powered and the VS100 controller needs to be connected to a PC via the 17648 USB cable FIGURE 6 1 FIGURE 6 1 VSC100 and...

Страница 22: ...Samplers 10 FIGURE 6 2 Device Configuration VSC100 3 Once connected to the VSC100 you are ready to configure your sampler 6 1 1 Clock Tab The Clock tab sets the clock on the VSC100 and sampler FIGURE...

Страница 23: ...synced before deploying the sampler if running the sampler using Stand Alone Time Based control or if a new operation system has been loaded to the VSC100 The sampler clock can have up to 1 minute of...

Страница 24: ...es if a distribution arm position encoder is installed Composite samplers do not have an arm position encoder present Current Sample State Returns the last sampler response code See later sections for...

Страница 25: ...ace in each bottle It can range from 1 to 999 This setting is ignored if Never Full is set to On Enable Never Full Option Specifies whether the sampler stops or continues sampling when each bottle s h...

Страница 26: ...ime is 3 s The maximum time for the SDI 12 control type is 30 s The maximum time is 800 s for PakBus Pulse Modbus and Time control types The Auto Deploy routine sets this to 12 s Sample Deposit Time T...

Страница 27: ...Sampler Settings tab Section 6 2 2 Sampler Settings Tab p 12 the options within the Pulse Settings tab become available Start Pulses The number of input pulses needed to initiate the sample process Th...

Страница 28: ...ault Start Date and Time is not changed the sampler will immediately begin sampling after the configuration is applied to the VSC100 Make sure to set this start date and time far enough into the futur...

Страница 29: ...lume set rod Laptop computer with DevConfig 2 09 or higher 7 1 2 Sampler Positioning Place the sampler on a level surface as close as practical to the sample source FIGURE 7 1 Appendix A Sample Transp...

Страница 30: ...below the bottom of the float valve barrier FIGURE 7 2 Conductivity rod and intake hose connection 3 Connect the positive lead to the top of the conductivity rod yellow cap 4 Connect the battery a If...

Страница 31: ...nto one of the sample bottles If you do not want this volume as part of your final sample count remove the control section of the sampler and empty the sample just collected If necessary replace with...

Страница 32: ...r has a volume accuracy repeatability of 2 or 2 mL If an exact amount of liquid is required for a sampling protocol the user should manually collect a few samples to ensure that the rod is set at the...

Страница 33: ...ensure the conductivity necessary to detect the presence of the fluid 7 2 3 Cables 7 2 3 1 PVS5120CBL L Control Cable pn 30432 The PVS5120CBL L control cable connects the sampler to a datalogger MD485...

Страница 34: ...S 485 B port Red Fault Outputs 5 V TTL Brown RG Resistive ground 7 2 3 2 USB Cable pn 17648 This USB cable is shipped with the sampler FIGURE 7 6 It connects the sampler to a PC which is required for...

Страница 35: ...compatible with the users external power supply If using an external power supply the user can not charge the external battery via the sampler charger To charge an external battery the user must prov...

Страница 36: ...d with the controller samples are only collected when the circuit is connected by water touching both rods If there is not enough water to touch both rods the sample is stopped and response code 6 no...

Страница 37: ...rging your battery via ac power FIGURE 7 10 When purchased with the PVS5120 the 110 Vac charger is option C1 and the 100 to 240 Vac charger is option C2 FIGURE 7 10 110 Vac Charger pn 27825 7 4 Fault...

Страница 38: ...nstalled into liquid c Properly connected to volume control tube on metering chamber 3 Discharge hose only in the composite samplers a Free of kinks b Natural downward slope to sample container c Prop...

Страница 39: ...lears the intake line of any residual liquid Purge time is a function of hose length and head between the sampler and the sample source FIGURE 8 2 shows purge times for hose lengths up to 232 feet wit...

Страница 40: ...nfig s help provided at the bottom of the window when a setting is clicked These control types correspond to the scenarios presented in the two Quick Deploy Guides shipped with the samplers TABLE 8 1...

Страница 41: ...correct COM port Click Connect FIGURE 8 4 FIGURE 8 4 Device Configuration VSC100 3 Once connected to the VSC100 you are ready to configure your sampler 4 Click the Clock tab at the top of the window...

Страница 42: ...ettings tab FIGURE 8 5 a Set the Control Type to Time b If using PakBus to monitor the sampler over RS 485 set the PakBus Address c If using Modbus to monitor the sampler over RS 485 set the Modbus Ad...

Страница 43: ...the default value of 12 05 AM on January 1 1990 If you do not change the default setting the sampler will immediately begin sampling after the configuration is applied to the VSC100 Additionally the S...

Страница 44: ...ding on the purge vacuum and sample drop times set up in DevConfig for example the longer the hose and the greater the lift between the sampler and the water source the longer response time to the M c...

Страница 45: ...abled 3 Click Apply It is a good idea to save the configuration file for future reference 4 Connect the PVS5120CBL cable to the front of the sampler and wire the cable to the datalogger TABLE 8 2 5 Us...

Страница 46: ...12 Programming In CRBasic use the SDI12Recorder instruction to program the datalogger to control the sampler This instruction sends a request to the sensor to make a measurement and then retrieves the...

Страница 47: ...X series the SDI12Recorder instruction has the following form SDI12Recorder Destination SDIPort SDIAddress SDICommand Multiplier Offset Where Destination For the sampler the destination location shoul...

Страница 48: ...ed in DevConfig and referenced in the datalogger program The PakBus address must be unique for each sampler on your network and for each datalogger Four status variables are returned to the datalogger...

Страница 49: ...ect CS I O and RS 485 in the Active Ports box Select Transparent Communication in the Protocol box FIGURE 8 8 FIGURE 8 8 MD485 Deployment tab 5 Click the CS I O tab Set the mode based on the type of d...

Страница 50: ...e VSC100 in DevConfig click the Sampler Settings tab FIGURE 8 11 a Set the Control Type to PakBus b Set the PakBus Address This is the address of the sampler and is referenced in the CRBasic program r...

Страница 51: ...e final purge time can be set separately refer to Section 6 2 3 Advanced Sampler Settings Tab p 13 g If a Water Present Sensor is present click to install This sensor is wired to the sampler control c...

Страница 52: ...ed Purple Ground Not used Grey Ground Connects to one lead of the optional water detection probe Yellow Water Sensor Connects to one lead on the optional water detection probe White RS 485 A MD485 RS...

Страница 53: ...er Typically the default address of 95 can be used unless multiple samplers are connected to the same port This address is configured in DevConfig Security Typically enter 0000 TimeOut Enter 0 TableNa...

Страница 54: ...is evacuated after collecting sample 8 UsePurgeTime A true false variable which indicates if PurgeTime2 is set independently of PurgeTime1 or is set to same value as PurgeTime1 9 SetTimeOut True false...

Страница 55: ...once the sample is complete and in the case of the discrete sampler the arm moved to the next location The program running on the datalogger needs to monitor the sampler for the sample to complete and...

Страница 56: ...ct CS I O and RS 485 in the Active Ports box Select Transparent Communication in the Protocol box FIGURE 8 13 FIGURE 8 13 MD485 Deployment tab 5 Click the CS I O port tab Set the mode based on the typ...

Страница 57: ...l 1 Click the Sampler Settings tab FIGURE 8 16 a Set the Control Type to Modbus b Set the Modbus Address This is the address of the sampler and is referenced in the CRBasic program running on the data...

Страница 58: ...more information FIGURE 8 16 Modbus Setting Editor screen 2 Click the Advanced Sampler Settings tab FIGURE 6 6 In most cases the only thing a user will want to change is to Enable Pressure Relief set...

Страница 59: ...port Red Fault Not used Brown RG MD485 RG port 8 2 5 4 Programming for Modbus Control with Campbell Scientific Datalogger Modbus can be used to control the sampler and to monitor a timed based or pul...

Страница 60: ...collecting sample 3 or 16 15 1 40015 40016 UsePurgeTime A true false variable which indicates if PurgeTime2 is set independently of PurgeTime1 or is set to same value as PurgeTime1 3 or 16 17 1 40017...

Страница 61: ...atus Reads the On Off status of discrete output s in the ModbusSlave 03 Read Holding Registers Reads the binary contents of holding register s in the ModbusSlave 15 Force Multiple Coils Ports Forces m...

Страница 62: ...e if the sampler is still running ModbusMaster MbResult 1 ComSDC7 38400 MBAddress 1 Start_sample 1 1 3 100 0 This instruction collects the status values ModbusMaster MbResult 3 ComSDC7 38400 MBAddress...

Страница 63: ...uto Deploy enter the amount of time the sampler hose is evacuated before and after the sample is collected The maximum value is 800 s f If a Water Present Sensor is present click to install This senso...

Страница 64: ...takes a 0 V signal and raises it up to 5 V or Contact Closure in the case of a tipping bucket rain gauge contact closure drives a line from 5 V normally open line down to 0 V closed FIGURE 8 18 Pulse...

Страница 65: ...signed to give years of trouble free service with reasonable care However if factory repair is needed first contact a Campbell Scientific application engineer to obtain an RMA Return Materials Authori...

Страница 66: ...before 11 6 Vdc 9 1 3 Intake Hose 1 Check for any obstructions at intake end and clean 2 Inspect for breaks cracks or any point where leakage may be suspected by submerging in a bucket of water and ru...

Страница 67: ...ing connections and replacing chamber cover Remove blue intake hose to metering chamber and place your thumb on stainless steel intake tube is there pressure or suction on it at any time during the sa...

Страница 68: ...has drifted replace the coin cell battery see Appendix E Lithium Battery Replacement p E 1 9 2 2 Information Needed for Help in Troubleshooting a Problem Campbell Scientific application engineers nee...

Страница 69: ...82 m s 2 7 ft s 0 49 m s 1 6 ft s 0 m s 0 ft s TABLE A 2 Horizontal Lift System Size Distance 7 6 m 25 ft 15 2 m 50 ft 22 9 m 75 ft 30 5 m 100 ft 53 3 m 175 ft 61 m 200 ft 76 2 m 250 ft large pump 2 2...

Страница 70: ...Appendix A Sample Transport Velocity A 2...

Страница 71: ...This variable allows the user to prevent the logger from triggering the sampler It is helpful when servicing the sampler or testing in the lab Just set the variable to false in the public table and s...

Страница 72: ...e This is because a service command is not issued by the sensor with a C like in an M If you need data back sooner than the next sample follow the steps below date 2014 10 17 Public PTemp batt_volt Pu...

Страница 73: ...mber of the last sample that was deposited into the current bottle Alias VSC100 3 Response_Code This is the result code returned by the VSC100 Possible response codes returned from VSC100 0 No Error 1...

Страница 74: ...text message Dim Response_List 9 As String Public response_code_message As String Public AutoRun As Boolean allows user to prevent the sampler from running on schedule via the connect screen without r...

Страница 75: ...s is true then get variables from the sampler If the communication fails return the results to Result 1 Public is the sampler table name Start is the field name on the sampler GetVariables Result 1 Co...

Страница 76: ...e from the sampler to a text message Dim Response_List 9 As String Public response_code_message As String Public AutoRun As Boolean allows the user to prevent the sampler from running on schedule via...

Страница 77: ...Battery batt_volt CallTable logger_battery If IfTime 0 15 Min AND AutoRun true Then If you are 0 seconds into the 15 minute interval and autorun is true Run_sampler true Then set Run_sampler flag to T...

Страница 78: ...Appendix B Example Programs B 8...

Страница 79: ...an MD485 1 Connect a serial cable to the RS 232 port on the MD485 and to the computer 2 Supply power 12 Vdc to the MD485 by the power jack or through the 12 V line on the CS I O connector You will ne...

Страница 80: ...guration box FIGURE C 2 FIGURE C 2 MD485 Deployment tab 5 Click the CS I O tab Set the mode based on the type of datalogger being used a The shown configuration is for a CR1000 We used SDC7 for the ad...

Страница 81: ...RS 485 A port Black RS 485 B MD485 RS 485 B port Red Fault Not used Brown RG MD485 RG port C 3 Configure the VSC100 Reconnect to the VSC100 to add adjust either the PakBus or Modbus address depending...

Страница 82: ...odbus Address i The default PakBus address for the sampler is 95 This value needs to be unique for each sampler and datalogger on your network ii The default Modbus address is 1 The value can range fr...

Страница 83: ...have multiple samplers on the network they each need a unique PakBus address The following two variables are used to convert the numeric response code value from the sampler to a text message Dim Res...

Страница 84: ...ndIf NextScanEndProg C 4 2 Monitoring via Modbus When monitoring via Modbus you need to issue the ModbusMaster instruction and save the returned values to variable array These status values are array...

Страница 85: ...ampler status values Sample 1 CurrentBottle FP2 Sample 1 SampleCount FP2 Sample 1 ResponseCode FP2 Sample 1 response_code_message String Sample 1 SamplerBatt FP2 EndTable DataTable ModbusErrors true 1...

Страница 86: ...Appendix C Monitoring Sampler Status via RS 485 C 8...

Страница 87: ...bottle with base 27823 7 Ah battery with mount 27825 External 12 Vdc charger 4 pin 27891 Pinch valve solenoid 12 Vdc 27949 3 8 in system 25 ft intake tubing w lead sinker 27952 0 5 L polypropylene we...

Страница 88: ...on stepper motor 29735 100 to 240 Vac charger 29786 Standard pump 30144 L PVS5120C D water detection probe 30819 PVS5120 external battery cable 6ft 30991 PVS5120 short volume control tube PVS5120CBL L...

Страница 89: ...separate top from bottom 2 Disconnect the 16 pin connector from bottom of the VSC100 3 Remove the eight Phillips screws from the bottom of the VSC100 and separate top from bottom Use Loctite on the fo...

Страница 90: ...er Be careful not to tear the wires connecting the board to the USB connector When lifting the board do not tear the wires that connect the board to the USB connector 6 Replace with lithium battery pn...

Страница 91: ...in the metering chamber to more than an inch The increased offset is necessary because the water is shot into the chamber under pressure as the sampler tries to vacuum up enough water to complete the...

Страница 92: ...600 mL therefore up to 100 mL are in the base of the sampler Notice the total volume that was collected during the successful samples compared to what was actually deposited in the sample bottle Since...

Страница 93: ...G 1 Appendix G Generic Modbus Control TABLE G 1 provides detailed Modbus control information TABLE G 1 Detailed Modbus Control Information...

Страница 94: ...40030 3 29 1 Registers 40001 to 40030 contain 15 values encoded as IEEE 754 4 byte floating point CDAB Some Modbus clients masters require the start address to be specified as base 1 while others requ...

Страница 95: ...0 02 00 00 41 C0 CRC RX 01 10 00 02 00 02 CRC Modbus Packet Example 3 Set SampPerBottle Registers 24 0 0x 41 C0 00 00 TX 01 10 00 02 00 00 41 C0 CRC RX 01 10 00 02 00 02 CRC Modbus Packet Example 4 Ge...

Страница 96: ...Appendix G Generic Modbus Control G 4...

Страница 97: ...CSI sampler collects the same volume every time it samples e Flow weighted samples held in individual bottles PVS5120 can do this if a flow meter is connected to the sampler or the datalogger You woul...

Страница 98: ...m s 4 1 ft s 1 10 m s 3 6 ft s 0 91 m s 3 ft s 0 79 m s 2 6 ft s standard pump 1 55 m s 5 1 ft s 1 43 m s 4 7 ft s 1 10 m s 3 6 ft s 0 82 m s 2 7 ft s 0 49 m s 1 6 ft s 0 m s 0 ft s TABLE A 2 Horizon...

Страница 99: ...the intended volume The amount of water taken is set mechanically using the liquid sensing rod and the volume control tube which means sample accuracy is precise every time usually within 2 or 2 mL S...

Страница 100: ...Appendix H ISO5667 Conformity H 4...

Страница 101: ......

Страница 102: ...ua Apinag s nbr 2018 Perdizes CEP 01258 00 S o Paulo SP BRASIL www campbellsci com br vendas campbellsci com br Campbell Scientific Canada Corp 14532 131 Avenue NW Edmonton AB T5L 4X4 CANADA www campb...

Отзывы:

Похожие инструкции для PVS5120 Series