PVS5120-Series Portable Samplers
47
5. 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.
a. From the
LoggerNet Connect
window, click
Connect
and then
Collect Now
to collect any data on the datalogger.
b. From the
Connect
screen, click the
Send New
button. Browse to find
the
CRBasic
program that controls the sampler via Modbus® (see
Programming for Modbus® Control with Campbell
(p. 47)
. Click
Open | Send
.
8.2.5.3 Wiring for Modbus® Control
TABLE 8-6. Modbus® Control Connections (PVS5120CBL-L Cable)
Wire
Description
Connection
Green
SDI-12/Pulse Out
Not used
Blue
Pulse Start
Not used
Purple
Ground
Not used
Gr
e
y
Ground
Connects to one port on the optional
water detection probe
Yellow
Water Sensor
Connects to one port on the optional
water detection probe
White
RS-485 A-
MD485 RS-485 A port
Black
RS-485 B+
MD485 RS-485 B 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
pulse controlled sampler. When using Modbus®, the datalogger communicates
with the sampler via RS-485. An MD485 multidrop modem is required for this
communication.
The
ModbusMaster()
instruction initiates a sample and collects the returned
status values. This instruction accesses the
Public
table stored in the VSC100
controller. TABLE
provides a description of the Modbus® coils and input
registers stored in the VSC100 Public Table.
The sampler returns four status values regardless of control type after it has
completed the sampling procedure and the distribution arm as advanced as
necessary. These status values are registers 23 through 29 in TABLE
Running the sampler as a Modbus® slave while the datalogger acts as the
Modbus® master device requires issuing the
ModbusMaster()
instruction
multiple times. The settings/options chosen within the instruction depend on
whether you are triggering a sample, checking to see if it is done sampling, or
asking for the status values.
Summary of Contents for PVS5120 Series
Page 2: ......
Page 4: ......
Page 6: ......
Page 8: ......
Page 70: ...Appendix A Sample Transport Velocity A 2...
Page 78: ...Appendix B Example Programs B 8...
Page 86: ...Appendix C Monitoring Sampler Status via RS 485 C 8...
Page 96: ...Appendix G Generic Modbus Control G 4...
Page 100: ...Appendix H ISO5667 Conformity H 4...
Page 101: ......