PVS5120-Series Portable Samplers
36
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!
”
.
For more information on each of the
SDIRecorder
parameters, see the
CRBasic Help
. See Appendix
(p. B-1)
, and
(p. B-3)
, for complete example
programs. The example programs are available for download at:
8.2.4 PakBus® Control
Both the PakBus® and Modbus® control types use the MD485 to
communicate via RS-485. When using RS-485, connect the sampler to an
MD485 using the PVS5120CBL control cable and then connect the MD485 to
the datalogger using an SC12 cable. The
CRBasic
program uses either a
SendVariables()
or
GetVariables()
instruction to trigger a sample and return
the status values. The PakBus® address is assigned 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 once the sample is complete. If using a
discrete sampler, the arm moves to the next location.
The datalogger program needs to trigger a sample and then ask for the status
values (see Appendix
(p. B-4)
). The response
time of the sampler varies depending on the purge, vacuum, and sample drop
times set up in
DevConfig
. The longer the hose and the greater the lift between
the sampler and the water source, the longer it takes for status values to be
returned.
8.2.4.1 Configuring the 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. Use the SC12 serial cable to connect
the MD485’s CS I/O port to the datalogger’s CS I/O port.
3. Open
DevConfig
. Click
Peripheral
. Select
MD485
. Select the
Communication Port
. Push the
Program
button on the MD485. Click
Connect
. The program button is located to the right of the RS-485
connectors on the modem’s front panel (FIGURE
).
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: ......