Campbell PVS5120 Series Instruction Manual

Portable samplers
Table of Contents

Advertisement

Quick Links

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 .

Advertisement

Table of Contents
loading

Summary of Contents for Campbell PVS5120 Series

  • Page 1 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 .
  • Page 3 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”...
  • Page 5 PLEASE READ FIRST 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 in...
  • Page 7 • 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...
  • Page 9: Table Of Contents

    Table of Contents PDF viewers: These page numbers refer to the printed version of this document. Use the PDF reader bookmarks tab for links to specific sections. 1. Introduction ..............1 2. Precautions ..............1 3. Initial Inspection ............2 4.
  • Page 10 Configuring the MD485 ..........43 8.2.5.2 Configuring Sampler for Modbus® Control ....45 8.2.5.3 Wiring for Modbus® Control .......... 47 8.2.5.4 Programming for Modbus® Control with Campbell Scientific Datalogger ........... 47 8.2.5.5 Modbus® Example Instructions ........50 8.2.6 Pulse Control ................50 8.2.6.1...
  • Page 11 Table of Contents B.1.1.1 CR1000 Program Controlling One Sampler ....B-1 B.1.1.2 CR1000 Program for Running Three Samplers Concurrently ............... B-2 B.1.2 CR200X Series Programs ............B-3 PakBus® Example Programs ............B-4 B.2.1 PakBus® Control CR1000 Program ......... B-4 Modbus® Example Programs ............B-6 B.3.1 CR1000 Modbus®...
  • Page 12 Table of Contents 7-8. 30144-L Water Detection Probe ............24 7-9. Lead sinker attached to the intake hose (left) and the sinker/ strainer ................... 25 7-10. 110 Vac Charger (pn #27825) ............25 8-1. Diagram of operating sequence ............26 8-2. Purge time as a function of hose length ..........
  • Page 13: Introduction

    The PVS5120-series portable samplers use the VSC100 controller that allows a Modbus® RTU master, SDI-12 master device, simple pulse input, or Campbell Scientific PakBus® datalogger to control and communicate with the water sampler. The PVS5120 can also run in a time-controlled, stand-alone mode.
  • Page 14: Initial Inspection

    File damage claims with the shipping company. Immediately check package contents against the shipping documentation. • Contact Campbell Scientific about any discrepancies. Overview The PVS5120-series can have a standard or a large pump. At sea level, the standard pump takes samples at 1.6 m/s (5.1 ft/s) for 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).
  • Page 15: Component Overview

    PVS5120-Series Portable Samplers Component Overview FIGURE shows the sampler’s components. FIGURE and TABLE describe the control panel. Nuts to Adjust Volume Liquid Sensing/ Conductivity Rod Wiring Volume Control Tube Intake Hose Connection Float Valve Barrier Handle Fuse Enclosure Metering Chamber Sample Bottles Battery Retaining Plate...
  • Page 16: Manual Control Button

    PVS5120-Series Portable Samplers FIGURE 4-2. Control Panel TABLE 4-1. Control Panel Descriptions Label Description Fault Red LED flashes to indicate fault errors After the power is turned on, this green LED should Power (LED) light up for several seconds and start blinking once per second.
  • Page 17: Composite And Discrete Overview

    PVS5120-Series Portable Samplers Service the sampler: Push the button once and release. Servicing the sampler tells the controller to zero all the sample counts and return to the first bottle or home position. It assumes the user has emptied or replaced the bottles.
  • Page 18: Specifications

    An optional water present sensor detects the presence of water at the • mouth of the sampler intake hose to ensure a sample is available • Compatible with Campbell Scientific CRBasic dataloggers: CR200(X)-series, CR6, CR800-series, CR1000, CR3000, and CR5000 General Specifications...
  • Page 19: Vsc100 Controller

    (Appendix H) VSC100 Controller Sampler triggering methods: SDI-12 Master Device, Modbus® RTU Master, Campbell Scientific PakBus® datalogger, pulse trigger (1 to 10,000 pulses), time-based sampling (stand-alone) RS-485 communication: Can return sampler status when triggering samples via pulse or time-based control...
  • Page 20: Vacuum Pump System

    316 stainless steel Intake hose: Ordered as a common accessory. Campbell Scientific offers PVC hose with 25 ft and user-specified lengths. Intake end can have a lead sinker or stainless steel strainer. Sampler end of the hose can have a clamp or quick connect termination.
  • Page 21: Device Configuration Utility Overview

    PVS5120-Series Portable Samplers Device Configuration Utility Overview Device Configuration Utility (DevConfig) software version 2.09 or higher is used to configure the sampler controller (VSC100). The following sections introduce the tabs and settings within the VSC100 portion of DevConfig. Please see Section 8, Operation , to step through specific control types/ (p.
  • Page 22: Clock Tab

    PVS5120-Series Portable Samplers FIGURE 6-2. Device Configuration VSC100 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 6-3). FIGURE 6-3. Clock tab...
  • Page 23: Settings Editor Tab

    PVS5120-Series Portable Samplers The Clock tab is only available when the user first connects to the VSC100 via DevConfig. After the user clicks on a tab within the Settings Editor screen, the Clock tab will no longer be available. The Clock tab displays the Reference (computer) Time, Station (sampler) Time, and Difference (reference time –...
  • Page 24: Sampler Settings Tab

    PVS5120-Series Portable Samplers The Info tab (FIGURE 6-4) provides the following system information regarding the VSC100: Version or Operating System identification that is running on the • controller. Model Number of the controller. • Maximum Packet Size that can be received by the VSC100. •...
  • Page 25: Advanced Sampler Settings Tab

    PVS5120-Series Portable Samplers via PakBus® or Modbus®. If SDI-12 control type is selected, RS-485 communication with the sampler is disabled. Similarly, if PakBus® is selected, Modbus® communication is again disabled. PakBus Address: This setting specifies the PakBus® address for the •...
  • Page 26: Advanced Sampler Settings Tab

    PVS5120-Series Portable Samplers FIGURE 6-6. Advanced Sampler Settings tab Set Final Purge Time: Allows the Final Purge Time to be set • independently from the Purge Time. Final Purge Time: Specifies the amount of time the sampler hose is • evacuated after a sample is collected.
  • Page 27: Pulse Settings Tab

    PVS5120-Series Portable Samplers Sample Chamber – Pressure Relief: Enable the pressure relief • option when collecting large sample volumes and/or using long hose lengths (over 50 ft) for discrete samplers. This setting should not be used with short hose lengths (less than 25 ft) since extra sample volume may be collected.
  • Page 28: Terminal Tab

    Must be an integer value from 0 to 59. 6.2.6 Terminal Tab The Terminal tab allows the user to complete advanced troubleshooting with the help of a Campbell Scientific application engineer. This tab is no longer available once the user interacts with the Settings Editor tab.
  • Page 29: Installation

    Manhole installation may require a three-point suspension harness. The sampler must be located above the sample source, or the liquid will flood the machine. For situations where this is not possible, contact a Campbell Scientific application engineer for solutions on pressurized sources.
  • Page 30: Steps For Field Deployment

    PVS5120-Series Portable Samplers 7.1.3 Steps for Field Deployment Once the sampler is positioned complete the following steps for deployment. Loosen the brass nut to set the volume control tube to the approximate volume required for collection by aligning the base of the tube with the graduated marking on the metering chamber (FIGURE 7-2).
  • Page 31: Control Panel

    PVS5120-Series Portable Samplers FIGURE 7-3. Control panel Connect the top of the intake hose to the volume control tube and tighten the hose clamp (FIGURE 7-2). Route the hose so that it has a near continuous slope from the sampler to the source liquid.
  • Page 32: Sampler Components

    PVS5120-Series Portable Samplers Sampler Components 7.2.1 Sample Volume Adjustment FIGURE 7-4. Metering chamber and volume control tube Setting the desired sample volume is accomplished by adjusting the height of the volume control tube within the metering chamber (FIGURE 7-4). The tube mounts through the top of the chamber with a gland nut fixing the position.
  • Page 33: Liquid Sensing/Conductivity Rod

    PVS5120-Series Portable Samplers 7.2.2 Liquid Sensing/Conductivity Rod This probe, also called the liquid sensing rod or conductivity rod, is used to stop the sample intake. Always ensure that its lower end is located above the volume control tube and below the bottom of the float valve barrier (plastic ball).
  • Page 34: Usb Cable (Pn 17648)

    PC. Be sure to wait enough time for the drivers to install before NOTE opening Campbell Scientific’s DevConfig. FIGURE 7-6. USB Cable (pn #17648) 7.2.3.3 External Battery Cable (pn #30819) The external battery cable (pn #30819) connects an external battery to the sampler via the Power port on the Control Panel (FIGURE 7-7).
  • Page 35: Battery

    7.2.4 Battery 7.2.4.1 Internal verses External Battery Options The PVS5120 series samplers can be powered via an internal or an external power supply. The internal power supply is a 7 or 17 Ah, 12 Vdc battery (pn #27823 and pn #29785) that is mounted in the harness on the top of the control section of the sampler.
  • Page 36: Optional Components

    PVS5120-Series Portable Samplers TABLE 7-2. Fuse Part Numbers Pump Type Fuse Description Part Number Standard pump 5A/250V/AGC #28314 Large pump 10A/32V/MDL #28315 Optional Components 7.3.1 Water Detection Probe The 30144-L water detection probe (FIGURE 7-8) is a simple circuit constructed of two stainless steel rods wired to the control cable. It acts as a pre-check to collecting a sample by determining if water is present at the intake hose.
  • Page 37: Wall Chargers

    7.3.3 Wall Chargers Campbell Scientific offers a 110 Vac charger (pn #27825) and a 100 to 240 Vac charger (pn #29735) for recharging 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.
  • Page 38: Installation Checklist

    PVS5120-Series Portable Samplers Installation Checklist Check the following items prior to use of the sampler: Sampler is mounted securely and level. Intake Hose: Free of kinks. Properly installed into liquid. Properly connected to volume control tube on metering chamber. Discharge hose (only in the composite samplers): Free of kinks.
  • Page 39: Purge Time As A Function Of Hose Length

    PVS5120-Series Portable Samplers Sampling process: High pressure air purge of intake hose. Liquid is drawn into the metering chamber, up to the liquid sensing rod. 3. All excess liquid is purged from the system down to the level set by the volume control tube.
  • Page 40: Deployment Procedures For Each Control Type

    PVS5120-Series Portable Samplers vacuum time out error (response code 4) occurs, a sample bottle may overfill. See Appendix F, Response Code 4 Scenarios , for some examples. (p. F-1) Deployment Procedures for Each Control Type The following sections step the user through configuring the sampler, wiring the control cable, and developing the necessary datalogger program for each control type.
  • Page 41: Connecting To The Vsc100/Sampler Via Devconfig

    PVS5120-Series Portable Samplers 8.2.1 Connecting to the VSC100/Sampler via DevConfig Connect the #17648 USB cable to the front of the sampler controller (VSC100) and the other end to the computer’s USB port (FIGURE 8-3). Wait for Windows® to install the driver before opening DevConfig. User must have Admin rights on the computer to install the CAUTION drivers.
  • Page 42: Time-Based Control

    PVS5120-Series Portable Samplers 8.2.2 Time-Based Control Time-based control allows the PVS5120 to run as a stand-alone sampler. Status values are not reported unless a datalogger is used for monitoring the sampler. A datalogger can be used to monitor the sampler over RS-485 and uses either the PakBus®...
  • Page 43: Time-Based Sampler Settings Screen

    PVS5120-Series Portable Samplers FIGURE 8-5. Time-Based Sampler Settings screen 2. Click the Advanced Sampler Settings tab (FIGURE 6-6). In most cases, only the Enable Pressure Relief setting is changed. Set Sample Chamber – Pressure Relief. If collecting a sample volume >450 mL or using an intake hose longer than 50 ft, this feature must be enabled.
  • Page 44: Control

    PVS5120-Series Portable Samplers RS-485, see Appendix C, Monitoring Sampler Status via RS-485 , for (p. C-1) additional deployment steps. 8.2.3 SDI-12 Control SDI-12 control runs the sampler as an SDI-12 sensor. The sampler connects to the datalogger using the PVS5120CBL control cable. The SDI12Sensor instruction issues the sampler’s M! command to a specific port on the datalogger.
  • Page 45 PVS5120-Series Portable Samplers FIGURE 8-6. SDI-12 Sampler Settings screen 2. Click the Advanced Sampler Settings tab (FIGURE 6-6). In most cases, only the Enable Pressure Relief setting is changed; reasons to change the other options from factory defaults are discussed in Section 6.2.3, Advanced Sampler Settings Tab (p.
  • Page 46: Wiring For Sdi-12 Control

    PVS5120-Series Portable Samplers 8.2.3.1 Wiring for SDI-12 Control TABLE 8-2. SDI-12 Wiring (PVS5120CBL-L Cable) Wire Description Connection Green SDI-12/Pulse Out Datalogger control port (C1, C3, C5, or C7) Blue Pulse Start Not used Purple Ground Datalogger G Connects to one lead on the optional Grey Ground water detection probe...
  • Page 47: Numeric Response Codes Of The Vsc100

    PVS5120-Series Portable Samplers TABLE 8-3. Numeric Response Codes of the VSC100 Numeric Response Code Definition No Error: Successful Sample All samples complete Low start battery (Voltage <11.0 Vdc) Low run battery (Voltage <10.5 Vdc occurs after pumping has started) Sampler vacuum timed out; no sample detected Sample overflow detected (only if an overflow sensor is installed;...
  • Page 48: Pakbus® Control

    PVS5120-Series Portable Samplers When using a CR200(X), the SDI12Recorder() instruction has the following form: SDI12Recorder(Destination, “OutString”, Multiplier, Offset) Where, OutString – The sampler’s SDI-12 address and SDI-12 command • (must be enclosed in quotes). For example when using the default SDI-12 address of 0, enter “0C!”.
  • Page 49: Md485 Device Configuration Screen

    PVS5120-Series Portable Samplers FIGURE 8-7. MD485 Device Configuration screen 4. Click the MD485 tab. Select 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 datalogger being used.
  • Page 50: Configuring Sampler For Pakbus® Control

    PVS5120-Series Portable Samplers FIGURE 8-9. MD485 CS I/O tab 6. Click the RS-485 tab. Set Baud Rate to 38.4 kbps. Set Parity to None. Set Character Length to 8 bits. Set Stop Bits to 1 bit (FIGURE 8-10). FIGURE 8-10. MD485 RS-485 tab 7.
  • Page 51 PVS5120-Series Portable Samplers Typically leave the Never Full Operation disabled. The Never Full Operation is typically enabled only when the sampler is easily accessible and containers are collected regularly, for instance at a waste water treatment facility. If the Auto Deploy routine has been run, the Purge Time is already set.
  • Page 52: Wiring For Pakbus® Control

    PVS5120-Series Portable Samplers 8. Connect the PVS5120CBL cable to the front of the sampler and wire the cable to the MD485 (TABLE 8-4). Connect the MD485 to the datalogger using the SC12 cable or the null modem cable. 9. Use LoggerNet to connect to the datalogger. The following steps assume a knowledge of how to setup the datalogger and connect either via a direct connection or remote connection.
  • Page 53 PVS5120-Series Portable Samplers When getting data from the sampler, the source datalogger is the NOTE sampler. The SendVariables() and GetVariables() instructions have the following structure: SendVariables(ResultCode, ComPort, NeighborAddr, PakBusAddr, Security, TimeOut, "TableName", "FieldName", Variable, Swath) GetVariables(ResultCode, ComPort, NeighborAddr, PakBusAddr, Security, TimeOut, “TableName”, “FieldName”, Variable, Swath) Where, ResultCode –...
  • Page 54: Vsc100 Public Table For Pakbus® Control

    PVS5120-Series Portable Samplers examples for the CR1000 can be found on our website at www.campbellsci.com/19_1_767 and in Appendix B.2, PakBus® Example Programs (p. B-4) TABLE 8-5. VSC100 Public Table for PakBus® Control Array Value Name Description Bottles Number of bottles in sampler. SampPerBottle Number of samples to be put in each bottle(s).
  • Page 55: Pakbus® Example Instructions

    8.2.5 Modbus® Control Both PakBus® and Modbus® control types use the MD485 to communicate with a Campbell Scientific datalogger via RS-485. When using RS-485, connect the sampler to an MD485 using the PVS5120CBL control cable and connect the MD485 to the datalogger using an SC12 cable. The CRBasic program uses the ModbusMaster() instruction.
  • Page 56: Md485 Device Configuration Screen

    PVS5120-Series Portable Samplers FIGURE 8-12. MD485 Device Configuration screen 4. Click the MD485 tab. Select 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 type of datalogger being used.
  • Page 57: Configuring Sampler For Modbus® Control

    PVS5120-Series Portable Samplers FIGURE 8-14. MD485 CS I/O tab 6. Click the RS-485 tab. Set Baud Rate to 38.4k. Set Parity to None. Set Character Length to 8 bits. Set Stop Bits to 1 bit (FIGURE 8-15). FIGURE 8-15. MD485 RS-485 tab 7.
  • Page 58 PVS5120-Series Portable Samplers If the Auto Deploy routine has been run, the Purge Time will already be set. If not using Auto Deploy, enter the amount of time the sampler hose is evacuated before and after the sample is collected. The maximum value is 800 s.
  • Page 59: Wiring For Modbus® Control

    Not used Brown 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 pulse controlled sampler. When using Modbus®, the datalogger communicates with the sampler via RS-485. An MD485 multidrop modem is required for this communication.
  • Page 60: Generic Modbus® Control And Monitoring Of The Sampler

    PVS5120-Series Portable Samplers TABLE 8-7. Generic Modbus® Control and Monitoring of the Sampler CRBasic ModbusMaster() Function Start Length Coil Name Description 1 or 15 00001 Start Start 1 or 15 00002 Serviced Serviced 1 or 15 00003 Auto Deploy Auto Deploy Register* 3 or 16 40001 &...
  • Page 61: Modbus® Function Codes

    PVS5120-Series Portable Samplers The ModbusMaster() instruction has the following form: ModbusMaster(ResultCode, ComPort, BaudRate, ModbusAddr, Function, Variable, Start, Length, Tries, TimeOut, [ModbusOption]) Where, ResultCode – The ResultCode parameter is a variable that holds the • results of the communication attempt. ComPort – The ComPort parameter specifies the communication port •...
  • Page 62: Modbus® Example Instructions

    PVS5120-Series Portable Samplers 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 •...
  • Page 63 PVS5120-Series Portable Samplers 1. Once connected to the VSC100, click the Sampler Settings tab (FIGURE 8-17). Set the Control Type to Pulse. Set the Number of Sampler Bottles. Set the Samples Per Bottle. It can range from 1 to 999. This setting is ignored if Never Full is set to On/Enable.
  • Page 64: Pulse Settings Tab

    PVS5120-Series Portable Samplers Set Sample Chamber – Pressure Relief. If collecting a sample volume >450 mL or using an intake hose longer than 50 ft, this feature must be enabled. 3. Click the Pulse Settings tab (FIGURE 8-18). Set Start Pulses. This is number of input pulses needed to initiate the sample process.
  • Page 65: Wiring For Pulse Control

    Maintenance and Troubleshooting The PVS5120 is designed 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 Authorization) number. An RMA number and product-safety documents (forms are provided) are required prior to any repair shipments being accepted at Campbell Scientific.
  • Page 66: Internal Battery (When Included)

    PVS5120-Series Portable Samplers Check and clean O-rings in metering chamber cover. Replace if damaged, worn or brittle. Clean metering chamber using mild detergent. Do not use any cleaner which may be harmful to the clear CAUTION acrylic (for example, petrochemical solvents, as noted above).
  • Page 67: Vsc100 Maintenance

    PVS5120-Series Portable Samplers not move on the cover. Ensure the top nut is securely tightened, by using correct wrenches. If system is still not performing at its peak, inspect pump and all pump tubing. 9.1.5 VSC100 Maintenance The only maintenance for the controller is to replace its battery (see Appendix E, Lithium Battery Replacement (p.
  • Page 68: Information Needed For Help In Troubleshooting A Problem

    If it 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 need the following information to help troubleshoot a problem: Serial and model numbers (serial number indicates whether the sampler is •...
  • Page 69: Sample Transport Velocity

    Appendix A. Sample Transport Velocity TABLE A-1. Vertical Velocity at Sea Level Height System 1.5 m 3.1 m 4.6 m 5.5 m 6.1 m 6.7 m 7.6 m 8.2 m Size (0 ft) (5 ft) (10 ft) (15 ft) (18 ft) (20 ft) (22 ft) (25 ft)
  • Page 70 Appendix A. Sample Transport Velocity...
  • Page 71: Example Programs

    Appendix B. Example Programs B.1 SDI-12 Example Programs B.1.1 CR1000 SDI-12 Programs B.1.1.1 CR1000 Program Controlling One Sampler During testing, it was helpful to include an Autorun parameter as NOTE a Boolean variable. It allows the user to set the Autorun variable to false in the Public table before opening up the sampler for servicing without having to cut power to either the datalogger or the sampler.
  • Page 72: Cr1000 Program For Running Three Samplers Concurrently

    Appendix B. Example Programs 'In this program the sampler is triggering via sdi12 once every 15 minutes. But the scan interval is set at every 10 ‘sec assuming the logger is doing more than just triggering the sampler. This can be changed very easily.
  • Page 73: Cr200X Series Programs

    Appendix B. Example Programs B.1.2 CR200X Series Programs 'This generic program for the CR200X triggers the PVS5120 based on a user-defined time interval. 'The VSC100 must be configured for SDI-12 control type and have an SDI-12 address of 0 '*** Change this value to the desired sample interval. 'Sample interval must be greater than or equal to two minutes unless you are using a very short hose.** Const Sample_Interval = 2 ' Minutes.
  • Page 74: Pakbus® Example Programs

    Appendix B. Example Programs B.2 PakBus® Example Programs B.2.1 PakBus® Control CR1000 Program During testing, it was helpful to include an Autorun parameter as NOTE a Boolean variable. It allows the user to set the Autorun variable to false in the Public table before opening up the sampler for servicing without having to cut power to either the datalogger or the sampler.
  • Page 75 Appendix B. Example Programs 'Main Program BeginProg 'The following text is associated with the numeric response codes provided from the sampler after each attempted ‘sample. Response_List(1) = "No error" Response_List(2) = "All samples complete" Response_List(3) = "Low start battery (V<11.0 V)" Response_List(4) = "Low run battery (V<10.5V)"...
  • Page 76: Modbus® Example Programs

    Appendix B. Example Programs B.3 Modbus® Example Programs B.3.1 CR1000 Modbus® Control Program During testing, it was helpful to include an Autorun parameter as NOTE a Boolean variable. It allows the user to set the Autorun variable to false in the Public table before opening up the sampler for servicing without having to cut power to either the datalogger or the sampler.
  • Page 77 Appendix B. Example Programs DataTable (logger_battery,1,1000) 'stores the logger battery voltage for 'quality control in the case of communication errors. It is only storing 'the 5 minute minumim reading but will be measured on the scan interval 'in this case 10 seconds. DataInterval (0,15,Min,10) Minimum (1,batt_volt,FP2,0,False) EndTable...
  • Page 78 Appendix B. Example Programs...
  • Page 79: Monitoring Sampler Status Via

    Appendix C. Monitoring Sampler Status via RS-485 When controlling a sampler via time-based/stand-alone or pulse control, it is possible to still collect the sampler status values over RS-485 (PakBus® or Modbus®). The following sections walk through configuring the MD485 to talk with a CR1000 and then programming examples for Modbus®...
  • Page 80: Md485 Deployment Tab

    Appendix C. Monitoring Sampler Status via RS-485 4. Click the MD485 tab. Select CS I/O and RS-485 in the Active Ports box. Select Transparent Communication in the Protocol Configuration 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.
  • Page 81: Wiring For Status Monitoring Via

    Appendix C. Monitoring Sampler Status via RS-485 C.2 Wiring for Status Monitoring via RS-485 TABLE C-1. Status Monitoring Connections (PVS5120CBL-L Cable) Wire Description Connection Green SDI-12/Pulse Out PLC or datalogger control port Blue Pulse Start External device 0 to 5 V TTL Purple Ground External device ground...
  • Page 82 Appendix C. Monitoring Sampler Status via RS-485 FIGURE C-4. Device Configuration VSC100 Once connected to the VSC100, you are ready to configure your sampler. Click the Sampler Settings tab. Set the PakBus® address or the Modbus® Address The default PakBus® address for the sampler is 95. This value needs to be unique for each sampler and datalogger on your network.
  • Page 83: Programming For Rs-485 Monitoring

    Appendix C. Monitoring Sampler Status via RS-485 C.4 Programming for RS-485 Monitoring C.4.1 Monitoring via PakBus® When monitoring via PakBus® you will need to issue the GetVariables() instruction and save the returned values to variable array. Below is the instruction’s structure and an example instruction. Also a CR1000 program is available.
  • Page 84: Monitoring Via Modbus

    Appendix C. Monitoring Sampler Status via RS-485 Response_List(5) = "Sampler vacuum timed out, no sample detected" Response_List(6) = "Sample overflow detected" Response_List(7) = "No sample liquid detected" Response_List(8) = "Arm calibration error" Response_List(9) = "Conductivity rod and Sample tube are shorted" sampler_PakBus_address = 95 'Right now this sample program scans every 10 seconds and triggers the sampler once a minute 'zero seconds into the minute.
  • Page 85: Modbus® Monitoring With Time-Based Configuration

    Appendix C. Monitoring Sampler Status via RS-485 C.4.2.1 Modbus® Monitoring with Time-Based Configuration 'PVS5120/VSC100 program communicating via Modbus 'hardware includes MD485 'date: 2014-10-21 PreserveVariables 'Declare Public Variables 'The following two variables are used to convert the numeric error code value from the sampler 'to a text message.
  • Page 86 Appendix C. Monitoring Sampler Status via RS-485...
  • Page 87: Replacement Parts

    Appendix D. Replacement Parts TABLE D-1. Replacement Parts CSI Part Number Description 15598 3V coin cell lithium battery CR2016 26895 Pump brush and wire repair kit 26896 9L nalgene bottle w.center plug 26898 3/8 in ID 3ft latex discharge tube 26899 3/8 in ID 3 ft silicone dischrge tube 26905...
  • Page 88 Appendix D. Replacement Parts 28439 24-position 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 PVS5120 control cable VSC100 Sampler controller...
  • Page 89: Lithium Battery Replacement

    Appendix E. Lithium Battery Replacement Remove the four Phillips screws from the VSC100 and separate top from bottom. Phillips screws Disconnect the 16-pin connector from bottom of the VSC100. 16 pin connector Remove the eight Phillips screws from the bottom of the VSC100 and separate top from bottom.
  • Page 90 Appendix E. Lithium Battery Replacement Remove these four Phillips screws from inside the VSC100. Phillips screws Lift board out carefully and turn over. Be careful not to tear the wires connecting the board to the USB connector. CAUTION When lifting the board, do not tear the wires that connect the board to the USB connector.
  • Page 91: Status Value

    Appendix F. Response Code 4 Scenarios A vacuum time out error (response code 4) is returned to the user as part of the sampler status values when the necessary volume of water does not enter the metering chamber and complete the circuit between the volume control tube and liquid sensing/conductivity rod.
  • Page 92: Response Code 4 Scenarios

    Appendix F. Response Code 4 Scenarios On Sample Attempt 2, the sampler attempts to collect the 500 mL to close the circuit for two times the purge time. The sampler tries to collect 500 mL for 30 s. If enough liquid is still not available, the sampler purges to the level of the volume control tube (in this case 150 mL), and drops the sample into the bottle and returns a response code 4.
  • Page 93: Generic Modbus® Control

    Appendix G. Generic Modbus® Control TABLE provides detailed Modbus® control information.
  • Page 94 Register Number; for example, use a start of 23 when querying Bottle. For base 0 devices, set your starting address to the Register Address; for example, use a start of 22 when querying Bottle. Campbell Scientific dataloggers require the start to be specified as the Register Number.
  • Page 95 Appendix G. Generic Modbus® Control 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 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}...
  • Page 96 Appendix G. Generic Modbus® Control...
  • Page 97 Appendix H. ISO5667 Conformity The Campbell Scientific, Inc. Portable Vacuum Sampler 5120 (PVS5120) complies with the relevant sections of the ISO 5667-10 standard applicable to unrefrigerated portable water samplers. Individual statements from section 4.2.2 – Automatic Sampling Equipment are addressed below.
  • Page 98 Appendix H. ISO5667 Conformity “The intake liquid velocity should be a minimum of 0.5 m/s in order to prevent phase separation in the sampling line and measuring chamber.” TABLE A-1. Vertical Velocity at Sea Level Height System 1.5 m 3.1 m 4.6 m 5.5 m 6.1 m...
  • Page 99 Appendix H. ISO5667 Conformity “The precision and accuracy of delivered volumes should be at least 5% of 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.
  • Page 100 Appendix H. ISO5667 Conformity...
  • Page 102 Santo Domingo, Heredia 40305 SOUTH AFRICA COSTA RICA • cleroux@csafrica.co.za • info@campbellsci.cc www.campbellsci.co.za www.campbellsci.cc Campbell Scientific Southeast Asia Co., Ltd. Campbell Scientific Ltd. 877/22 Nirvana@Work, Rama 9 Road Campbell Park Suan Luang Subdistrict, Suan Luang District 80 Hathern Road Bangkok 10250...

Table of Contents