AQUAREAD 10401-00618 Black Box Mk2 Instruction Manual

June 1, 2024
AQUAREAD

10401-00618 Black Box Mk2

Product Information

Specifications

  • Product Name: BlackBox™ Mk2 Multiparameter Water Quality Data
    Converter

  • Software Revision: 4.00 and above

  • Manufacturer: Aquaread Ltd

  • Address: Bridge House Northdown Industrial Park, Broadstairs
    Kent CT10 3JP ENGLAND

  • Phone: +44 1843 600 030

  • Website: www.aquaread.com

Product Usage Instructions

1. Software License Agreement

By using the BlackBox, its associated probes, and meter, you
agree to be bound by the terms and conditions of the software
license agreement provided by Aquaread Ltd. Ensure to read and
understand the agreement carefully before using the product.

2. Recycling

It is important to recycle electronic equipment responsibly. If
you need to dispose of the product, contact Aquaread Ltd for
instructions on how to return the end-of-life equipment for proper
recycling.

3. Safety Warning

Although the equipment provides indications about water quality,
it does not guarantee that water is safe for human or animal
consumption. Always treat suspect water before consumption to avoid
potential health risks.

4. Trademarks

The product is protected under trademarks owned by Aquaread Ltd.
Any unauthorized use of the trademarks is strictly prohibited.

FAQ (Frequently Asked Questions)

Q: Can the BlackBox detect harmful bacteria or toxins in

water?

A: No, the BlackBox cannot detect harmful bacteria or toxins. It
provides indications about water quality but does not ensure water
safety for consumption.

Q: What should I do if I am unsure about the water

quality?

A: If you are unsure about water quality, always treat suspect
water before consumption to minimize health risks.

Instruction Manual
for the
BlackBoxTM Mk2
Multiparameter Water Quality
Data Converter
(Software revision 4.00 and above)
Revision: S
Date: October 13th 2023
Aquaread Ltd
Bridge House Northdown Industrial Park
Broadstairs Kent
CT10 3JP ENGLAND
Phone: +44 1843 600 030 www.aquaread.com

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

PROPRIETARY NOTICE
The information disclosed within this document or separately supplied in furtherance of this document includes proprietary rights of Aquaread Ltd. Neither this document nor the information disclosed herein or of a supplementary nature shall be reproduced or transferred to other documents or used for any other purposes, except as specifically authorised in writing by Aquaread Ltd. Copyright 2023 Aquaread Ltd. All rights reserved.
SOFTWARE LICENCE AGREEMENT
By using the BlackBox, its associated probes and meter, you agree to be bound by the terms and conditions of the following software licence agreement. Please read this agreement carefully.
Aquaread Ltd grants you a limited license to use the software embedded in the devices (the “Software”) in binary executable form in the normal operation of the products. Title, ownership rights and intellectual property rights in and to the Software remain in Aquaread Ltd.
You acknowledge that the Software is the property of Aquaread Ltd and is protected under British copyright laws and international copyright treaties. You further acknowledge that the structure, organisation and code of the Software are valuable trade secrets of Aquaread Ltd.
You agree not to decompile, dissemble, modify, reverse assemble, reverse engineer or reduce to human readable form the Software or any part thereof or create any derivative works based on the Software.
RECYCLING
Any product bearing this symbol must be handed over to an applicable collection point for the recycling of electrical and electronic equipment. By ensuring this product is disposed of properly, you will prevent possible adverse consequences for the environment which could be caused by inappropriate waste handling. Note: For return for recycling, please contact Aquaread Ltd for instructions on how to return end-of-life equipment, accessories, and all auxiliary items for proper disposal.
WARNING
Favourable indications made by this equipment do not guarantee water is safe for human or animal consumption. This equipment can not detect the presence of harmful bacteria or toxins. If in doubt, ALWAYS TREAT SUSPECT WATER PRIOR TO CONSUMPTION. In no event will Aquaread Ltd be liable for any incidental, special, indirect or consequential damages, whether resulting from the use, misuse, miscalibration or inability to use this equipment, or from defects in the equipment.

TRADEMARKS
Aquaread®, Aquameter® and Aquaprobe® are all trademarks of Aquaread® Ltd.

© 2023 Aquaread Ltd.

www.aquaread.com

Page 2 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

Table of Contents
1. INTRODUCTION…………………………………………………………………………………………………………………………………………5
1.1. WHAT DOES IT DO?…………………………………………………………………………………………………………………………………….5 1.2. THE BLACKBOX AND THE ENVIRONMENT……………………………………………………………………………………………………….5
2. WIRING OVERVIEW………………………………………………………………………………………………………………………………….6
2.1. THE MULTICORE CORE CABLE……………………………………………………………………………………………………………………..6 2.2. SDI-12 / MODBUS SELECTION……………………………………………………………………………………………………………………..6 2.3. SLEEP MODE WHEN CONFIGURED FOR MODBUS OUTPUT………………………………………………………………………………….6 2.4. SLEEP MODE WHEN CONFIGURED FOR SDI-12 OUTPUT……………………………………………………………………………………7
3. APPLICATION WIRING DIAGRAMS…………………………………………………………………………………………………………8
3.1. SDI-12 DIGITAL INTERFACE (ALWAYS ON)…………………………………………………………………………………………………….8 3.2. SDI-12 DIGITAL INTERFACE (AUTO SLEEP)…………………………………………………………………………………………………….9 3.3. SDI-12 DIGITAL INTERFACE WITH SELF POWERED TELEMETRY AND EXTERNAL POWER……………………………………….10 3.4. MODBUS MASTER DIGITAL INTERFACE………………………………………………………………………………………………………..11 3.5. 4-20MA CURRENT LOOPS………………………………………………………………………………………………………………………….12
4. INSTALLATION………………………………………………………………………………………………………………………………………..14
4.1. CALIBRATING THE AQUAPROBE…………………………………………………………………………………………………………………..14 4.2. CONNECTING THE AQUAPROBE……………………………………………………………………………………………………………………14 4.3. IMPORTANT INFORMATION REGARDING DEPTH MEASUREMENT…………………………………………………………………………14 4.4. NORMAL OPERATION………………………………………………………………………………………………………………………………..14 4.5. LED INDICATIONS……………………………………………………………………………………………………………………………………15 4.6. IMPORTANT NOTES CONCERNING AP-6000, AP-7000 AND AP-PRO SELF CLEANING…………………………………………….15
5. TROUBLESHOOTING……………………………………………………………………………………………………………………………….17
6. DECLARATIONS OF CONFORMITY……………………………………………………………………………………………………….18
6.1. CE DECLARATION …………………………………………………………………………………………………………………………………..18 6.2. UKCA DECLARATION ……………………………………………………………………………………………………………………………..19
7. TECHNICAL SPECIFICATION…………………………………………………………………………………………………………………20
8. SDI-12 DATA COMMUNICATION PROTOCOL……………………………………………………………………………………….21
8.1. DATA PACKET FORMATS……………………………………………………………………………………………………………………………21 8.1.1. Acknowledge Active…………………………………………………………………………………………………………………………21 8.1.2. Address Query………………………………………………………………………………………………………………………………..21 8.1.3. Change Address………………………………………………………………………………………………………………………………22 8.1.4. Send Identification…………………………………………………………………………………………………………………………..22 8.1.5. Start Measurement………………………………………………………………………………………………………………………….22 8.1.6. Additional Measurements…………………………………………………………………………………………………………………22 8.1.7. Start Measurement and Request CRC………………………………………………………………………………………………..23 8.1.8. Additional Measurements and Request CRC………………………………………………………………………………………23 8.1.9. Start Concurrent Measurement…………………………………………………………………………………………………………23 8.1.10. Additional Concurrent Measurements……………………………………………………………………………………………..23 8.1.11. Start Concurrent Measurement and Request CRC……………………………………………………………………………..24 8.1.12. Additional Concurrent Measurements and Request CRC……………………………………………………………………24 8.1.13. Start Verification…………………………………………………………………………………………………………………………..24 8.1.14. Service Request……………………………………………………………………………………………………………………………..24 8.1.15. Send Data…………………………………………………………………………………………………………………………………….25 8.1.16. Continuous Measurements……………………………………………………………………………………………………………..25 8.1.17. Continuous Measurements and Request CRC……………………………………………………………………………………25
8.2. BLACKBOX ADDRESS……………………………………………………………………………………………………………………………….25 8.3. UNIT IDENTIFICATION……………………………………………………………………………………………………………………………….26 8.4. MEASUREMENT COMMANDS……………………………………………………………………………………………………………………….26
8.4.1. AP-100…………………………………………………………………………………………………………………………………………..28 8.4.2. AP-100 with Depth………………………………………………………………………………………………………………………….30 8.4.3. AP-200…………………………………………………………………………………………………………………………………………..31

© 2023 Aquaread Ltd.

www.aquaread.com

Page 3 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

8.4.4. AP-200 with Depth………………………………………………………………………………………………………………………….32 8.4.5. AP-300…………………………………………………………………………………………………………………………………………..33 8.4.6. AP-300 with Depth………………………………………………………………………………………………………………………….35 8.4.7. AP-400…………………………………………………………………………………………………………………………………………..37 8.4.8. AP-400 with Probe………………………………………………………………………………………………………………………….38 8.4.9. AP-500…………………………………………………………………………………………………………………………………………..39 8.4.10. AP-500 with Probe………………………………………………………………………………………………………………………..41 8.4.11. AP-600…………………………………………………………………………………………………………………………………………43 8.4.12. AP-600 with Depth………………………………………………………………………………………………………………………..45 8.4.13. AP-700…………………………………………………………………………………………………………………………………………47 8.4.14. AP-700 with Depth………………………………………………………………………………………………………………………..49 8.4.15. AP-800(software version 3.53 and below) and AP-900………………………………………………………………………51 8.4.16. AP-800 with Depth (software version 3.53 and below), AP-900 with Depth & AP-1000……………………….53 8.4.17. AquaPlus Probe…………………………………………………………………………………………………………………………….55 8.4.18. AP-2000 and AP-700/800 (software version 4.00 and above)……………………………………………………………..57 8.4.19. AP-2000 with Depth and AP-700/800 with Depth (software version 4.00 and above)………………………….59 8.4.20. AP- Lite………………………………………………………………………………………………………………………………………..61 8.4.21. AP-5000……………………………………………………………………………………………………………………………………….62 8.4.22. AP-6000, AP-7000 & AP-Pro…………………………………………………………………………………………………………64 8.5. VERIFICATION COMMAND………………………………………………………………………………………………………………………….66 8.6. CYCLIC REDUNDANCY CHECK…………………………………………………………………………………………………………………….66
9. MODBUS COMMUNICATION PROTOCOL……………………………………………………………………………………………..67
9.1. ELECTRICAL INTERFACE…………………………………………………………………………………………………………………………….67 9.2. DATA FRAME FORMAT………………………………………………………………………………………………………………………………67 9.3. COMMUNICATION SEQUENCE & TIMING……………………………………………………………………………………………………….67 9.4. DATA PACKET FORMAT…………………………………………………………………………………………………………………………….68
9.4.1. Exception Responses……………………………………………………………………………………………………………………….68 9.4.2. Read Holding Registers……………………………………………………………………………………………………………………69 9.4.3. Read Input Registers……………………………………………………………………………………………………………………….69 9.4.4. Write Holding Register…………………………………………………………………………………………………………………….70 9.4.5. Write Holding Registers…………………………………………………………………………………………………………………..70 9.4.6. Report Slave ID………………………………………………………………………………………………………………………………71 9.5. REGISTER MAP………………………………………………………………………………………………………………………………………..72 9.5.1. Input Registers………………………………………………………………………………………………………………………………..73 9.5.2. Slave Address…………………………………………………………………………………………………………………………………75 9.5.3. Serial Communication Speed……………………………………………………………………………………………………………75 9.5.4. Serial Communication Parity……………………………………………………………………………………………………………75 9.6. CYCLIC REDUNDANCY CHECK…………………………………………………………………………………………………………………….76

© 2023 Aquaread Ltd.

www.aquaread.com

Page 4 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

1. Introduction This manual covers the setup, operation and maintenance of the Aquaread BlackBox Mk2 at software revision 4.00 and above. If you are installing an original BlackBox running software version 3 or less, revision P of this manual should be requested directly from Aquaread. This manual should be read in conjunction with the latest revision of the relevant Aquaread Aquaprobe Instruction Manual.
1.1. What does it do? The Aquaread BlackBox is a data converter that allows any model of Aquaread water quality probe (Aquaprobe) to be interfaced directly to a third party processing, control or logging device. The distance `A’ between the BlackBox and the Aquaprobe can be up to 100 meters.
With a choice of industry standard digital interfaces and two analogue channels, the BlackBox offers a versatile and cost effective data collection solution utilising any of the advanced range of Aquaread multiparameter Aquaprobes.
The BlackBox features an integral barometric pressure sensor for automatic depth and DO correction and can output up to thirty-three water parameters plus barometric pressure on an SDI-12 or Modbus (RS485) Digital Interface. In addition, there is an option (to special order only) for any two parameters to be output on two independent 4 – 20mA analogue channels. Data is refreshed every two seconds.
Low current consumption and a rugged aluminium case make the BlackBox particularly suitable for long term unattended deployment.
For applications where water quality data needs to be collected remotely, the BlackBox is again the answer. In this configuration, logging device is replaced by a third party telemetry device that can transmit data to a remote monitoring station anywhere in the world.

1.2. The BlackBox and the Environment The BlackBox is designed to be used outdoors and is rated to IP67, that is to say it is waterproof but it is not designed for submersion. Depth and Dissolved Oxygen measurements rely on the ability of the BlackBox to read atmospheric pressure. If the unit is submerged, the depth measurement feature will not work and the Dissolved Oxygen readings will be erroneous.
Please note that the socket on the BlackBox is only waterproof when the associated Aquaprobe plug is fitted. Without the plug fitted, water can enter the socket. Damage caused to the socket by water ingress is not covered by your warranty.
You may notice a small hole on the side of the unit. This is a waterproof vent for the internal barometric sensor. Do not poke anything in this hole! Doing so will cause major damage to the vent’s waterproof membrane and invalidate your warranty.

© 2023 Aquaread Ltd.

www.aquaread.com

Page 5 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

2. Wiring Overview
The BlackBox is supplied with a screened multicore cable for connection to a variety of third party controller devices. This 6 core cable provides power in to the BlackBox and serial data out. If you have chosen to order a unit with the optional analogue channels, the BlackBox will be supplied with a 10 core cable.

Any cable cores that are not being used MUST be trimmed back and insulated from oneanother, the power supply and ground. The screen (or shield) of the cable should be connected to chassis ground at the controller.

2.1. The Multicore Core Cable
The table below gives an overview of the cable core designations for the six /ten-core power/data cable. If you have not requested activation of the analogue channels, your BlackBox will be fitted with a six core cable. Please refer to the individual application wiring diagrams in the next section before making any connections.

Core Colour Red Black Blue Green White Yellow Brown Violet Orange Pink

Six / Ten Core Cable

Designation

Function

Power supply +ve

8V ­ 18V DC +ve power supply input

Power supply ­ve

Power supply ground

RS485 – / SDI-12

RS485 ­ (B) (Modbus) or SDI-12 I/O

RS485 +

RS485 + (A) (Modbus) I/O

Run/Sleep line

Power control line

SDI-12 / Modbus

SDI-12 / Modbus select line

4 – 20mA Loop 1

Optional Analogue current loop 1 supply

4 – 20mA Loop 1

Optional Analogue current loop 1 return

4 – 20mA Loop 2

Optional Analogue current loop 2 supply

4 – 20mA Loop 2

Optional Analogue current loop 2 return

2.2. SDI-12 / Modbus Selection
The yellow core is used to select between SDI-12 or Modbus (RS485) serial data communications. Tying the yellow core to the +ve power supply will configure the digital output as Modbus (RS485). Tying the yellow core to ground will configure the digital output as SDI-12. Please note: the yellow core must not be left floating.

2.3. Sleep Mode When Configured for Modbus Output
The white core can be used to put the BlackBox into a low power sleep mode. If the white core is taken to a voltage above 6V, the BlackBox will run continuously and readings will be refreshed every 2 seconds. If the white core is taken to ground, the BlackBox will enter sleep mode.

When the white core is subsequently taken above 6V, the BlackBox will wake-up and reenter normal running mode but the data outputs will not be stable and valid for 40 seconds.

If an AP-6000, AP-7000 or AP-Pro is connected, the data outputs will not be stable and valid until 60 seconds after wake-up. In addition, these models all include a self cleaning system. The BlackBox MUST be either put to sleep or powered off between readings in order for the self cleaning system counter to function. See section See section 4.6. Important notes concerning AP-6000, AP-7000 and AP-Pro self cleaning.

© 2023 Aquaread Ltd.

www.aquaread.com

Page 6 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

2.4. Sleep Mode When Configured for SDI-12 Output
When configured for SDI-12 output, sleep mode can be configured to work automatically. If the white core is tied permanently to ground, the BlackBox will stay in sleep mode unless woken up by a measurement request’ on the SDI-12 line. As soon as the data is ready to be sent (usually after 40 – 60 seconds), the BlackBox will issue aservice request’ to the controller. Once the controller has read the data, the BlackBox will automatically re-enter sleep mode.

If an AP-6000, AP-7000 or AP-Pro is connected, the unit MUST be either wired for automatic sleep mode or powered off between readings in order for the self cleaning system counter to function. See section See section 4.6. Important notes concerning AP6000, AP-7000 and AP-Pro self cleaning.

© 2023 Aquaread Ltd.

www.aquaread.com

Page 7 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

3. Application Wiring Diagrams
3.1. SDI-12 Digital Interface (always on) In this configuration, the BlackBox is permanently on and SDI-12 data is instantly available on request. See section 8. for details of the SDI-12 data communication protocol.
If an AP-6000, AP-7000 or AP-Pro is connected, this configuration is not recommended. See section 4.6. Important notes concerning AP-6000, AP-7000 and AP-Pro self cleaning. for more details.

Core Colour Red Black Blue Green White Yellow Screen

Six Core Cable Usage

Designation

Connection

Power supply +ve 10V ­ 14V DC +ve power supply input

Power supply ­ve Power supply ground

SDI-12

Controller SDI-12 I/O line

RS485 +

Must be isolated and left floating

Run/Sleep line

+ve power supply input

SDI-12 / Modbus Power supply ground

Screen / Shield

Power supply or chassis ground

In this configuration, power should be left on the BlackBox continuously.

If the controller has a switched output to control external devices, this can be connected to the white core (run/sleep line) and can be pulled to ground to put the BlackBox into sleep mode if power saving is required.

Please note: the white core must not be left floating.

© 2023 Aquaread Ltd.

www.aquaread.com

Page 8 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

3.2. SDI-12 Digital Interface (auto sleep) In this configuration, the BlackBox is usually in power saving (sleep) mode. Requests for data on the SDI-12 bus will wake the BlackBox up and there will be a delay of up to 40 seconds before data is ready.
If an AP-6000, AP-7000 or AP-Pro is connected, a self clean command may be sent to the Probe after it is woken up. If so, this will add a further 20 seconds to the time taken for the readings to stabilise.
If an AP-6000, AP-7000 or AP-Pro is connected, see section 4.6. Important notes concerning AP-6000, AP-7000 and AP-Pro self cleaning.
As soon as the data is ready to be sent, the BlackBox will issue a `service request’ to the controller. Once the controller has read the data, the BlackBox will automatically re-enter sleep mode. See section 8 for details of the SDI-12 data communication protocol.

Core Colour Red Black Blue Green White Yellow Screen

Six Core Cable Usage

Designation

Connection

Power supply +ve 10V ­ 14V DC +ve power supply input

Power supply ­ve Power supply ground

SDI-12

Controller SDI-12 I/O line

RS485 +

Must be isolated and left floating

Run/Sleep line

Power supply ground

SDI-12 / Modbus Power supply ground

Screen / Shield

Power supply or chassis ground

© 2023 Aquaread Ltd.

www.aquaread.com

Page 9 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

3.3. SDI-12 Digital Interface with Self Powered Telemetry and External Power
In this configuration, the telemetry or logging device connected to the BlackBox is self powered from internal batteries but the BlackBox and Aquaprobe are powered from an external battery, which can have a solar panel attached if required in order to maintain charge.

The BlackBox is usually in power saving (sleep) mode. Requests for data on the SDI-12 bus will wake the BlackBox up and there will be a delay of up to 40 seconds (60 seconds for an AP-6000, AP-7000 or AP-Pro) before data is ready. During this time power will be drawn from the external battery. After the reading, the BlackBox will re-enter sleep mode.

Core Colour Red Black Blue Green White Yellow Screen

Designation Power supply +ve Power supply ­ve SDI-12 RS485 + Run/Sleep line SDI-12 / Modbus Screen / Shield

Connection 10V ­ 14V DC +ve power supply input Power supply ground Controller SDI-12 I/O line Must be isolated and left floating Power supply ground Power supply ground Power supply or chassis ground

If the optional solar panel is to be used, the 12V battery should be sized at ~6Ah. If the solar panel is not going to be included, a larger 12V battery (such as a car or caravan battery) will be required, dependant upon the sampling rate and the proposed re-charge interval.

If an AP-6000, AP-7000 or AP-Pro is connected, see section 4.6. Important notes concerning AP-6000, AP-7000 and AP-Pro self cleaning.

© 2023 Aquaread Ltd.

www.aquaread.com

Page 10 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

3.4. Modbus Master Digital Interface In this configuration, the BlackBox is permanently on and Modbus data is instantly available on request. See section 9. for details of the Modbus data communication protocol.
If an AP-6000, AP-7000 or AP-Pro is connected, see section4.6. Important notes concerning AP-6000, AP-7000 and AP-Pro self cleaning.

Core Colour Red Black Blue Green White Yellow Screen

Six Core Cable Usage

Designation

Connection

Power supply +ve 10V ­ 14V DC +ve power supply input

Power supply ­ve Power supply ground

RS485 (-/B)

Controller RS485 (- or B) line

RS485 (+/A)

Controller RS485 (+ or A) line

Run/Sleep line

+ve power supply input

SDI-12 / Modbus +ve power supply input

Screen / Shield

Power supply or chassis ground

If the controller has a switched output to control external devices, this can be connected to the white core (run/sleep line) and can be pulled to ground to put the BlackBox into sleep mode if power saving is required.

If the BlackBox is put into sleep mode, then the white core is subsequently taken above 6V, the BlackBox will re-enter normal running mode but the data will not be stable and valid for 40 seconds. If an AP-6000, AP-7000 or AP-Pro is connected, the data outputs will not be stable and valid for up to 60 seconds after leaving sleep mode.

If an AP-6000, AP-7000 or AP-Pro is connected, see section 4.6. Important notes concerning AP-6000, AP-7000 and AP-Pro self cleaning.

© 2023 Aquaread Ltd.

www.aquaread.com

Page 11 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

3.5. 4-20mA Current Loops
The two optional 4-20mA current loops are available to special order and are factory programmable only. The required outputs from the two current loops should have been specified at the time of ordering. If this was done, your BlackBox will have been supplied with a ten core cable and the analogue outputs will conform to your requested parameters and ranges.

In the configuration shown above, the BlackBox is permanently on and the current loops are permanently active. SDI-12 digital operation is also selected (yellow core).

Core Colour Red Black Blue Green White Yellow Brown Violet Orange Pink

Ten Core Cable Usage

Designation

Function

Power supply +ve

10V ­ 14V DC +ve power supply input (see note 2)

Power supply ­ve

Power supply ground

RS485 – / SDI-12

RS485 ­ (B) (Modbus) or SDI-12 I/O

RS485 +

RS485 + (A) (Modbus) I/O

Run/Sleep line

Power control line (see note 3)

SDI-12 / Modbus

SDI-12 / Modbus select line (see previous sections)

4 – 20mA Loop 1

Analogue current loop 1 supply (see note 1)

4 – 20mA Loop 1

Analogue current loop 1 return (see note 1)

4 – 20mA Loop 2

Analogue current loop 2 supply (see note 1)

4 – 20mA Loop 2

Analogue current loop 2 return (see note 1)

© 2023 Aquaread Ltd.

www.aquaread.com

Page 12 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

Note 1: The two 4-20mA current loop outputs are completely isolated from each other and from the rest of the BlackBox circuitry. Whilst the cores assigned to the two current loops are designated as supply and return respectively, they are, in fact, bi-polar and can be connected either way round.

Note 2: the BlackBox must have its normal power supply connected and the run/sleep line (white core) taken high in order for the current loop outputs to work. The current loop outputs operate independently from the digital output which can be used simultaneously if required.

If the controller has a switched output to control external devices, this can be connected to the white core (run/sleep line) and can be pulled to ground to put the BlackBox into sleep mode if power saving is required.

If the BlackBox is put into sleep mode, then the white core is subsequently taken above 6V, the BlackBox will re-enter normal running mode but the 4-20mA loops will not be stable and valid for 40 seconds.

If an AP-6000, AP-7000 or AP-Pro is connected, the 4-20mA loops will not be stable and valid for 60 seconds after leaving sleep mode.

If an AP-6000, AP-7000 or AP-Pro is connected, see section 4.6. Important notes concerning AP-6000, AP-7000 and AP-Pro self cleaning.

© 2023 Aquaread Ltd.

www.aquaread.com

Page 13 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

4. Installation The BlackBox features an aluminium flange with four 5mm (3/16″) mounting holes. The unit should be fixed using these mounting holes in a sheltered position where it can not become submerged in water.
4.1. Calibrating the Aquaprobe Prior to use, the selected Aquaprobe should be fully calibrated using an Aquaread Aquameter or an AP-PC Kit and a set of calibration standards. See the latest revision of the relevant Aquaprobe Instruction Manual for calibration procedures.
4.2. Connecting the Aquaprobe With the power switched off, the selected Aquaprobe should be plugged into the socket on the BlackBox. When the power is switched on, the bi-colour LED should light continuously in yellow for two seconds to indicate the probe has been successfully recognised and initialised. If the LED flashes red, this means there is a problem. Refer to section 4.5. LED Indications for more information.
4.3. Important Information Regarding Depth Measurement Depth is measured in the Aquaprobe by a pressure sensor mounted inside the body of the probe. The depth measurement reference point on the Aquaprobe is the top row of holes in the sleeve. Depth is calculated by subtracting the barometric pressure being measured in the BlackBox from the water pressure being measured by the Aquaprobe. The pressure differential, once corrected for temperature and salinity (water density), is directly proportional to depth.
The depth measurement system uses the EC sensor to detect when the probe has been placed in water. All the time the probe is measuring an EC of zero, the depth will read zero and the depth zero datum will be kept updated.
For this reason, it is important to ensure the Aquaprobe is connected to the BlackBox, power is applied and the BlackBox has been awake and has taken readings (LED flashing yellow) before the Aquaprobe is lowered into the water. Once a depth datum has been established, it will remain in the BlackBox memory even if the power is cycled and will not be refreshed or overwritten until the probe is once again measuring an EC of zero
4.4. Normal Operation Directly after the application of power, the BlackBox will light the bi-colour LED yellow for two seconds then proceed to take readings at two-second intervals. Each time a reading is taken, the LED will give a single, short yellow flash. Each time the BlackBox communicates with the controlling device, the LED on the BlackBox will light up yellow for ½ a second.
So, during normal operation, you should see the LED give a brief yellow flash every two seconds and a longer yellow flash periodically, depending on the sample rate set up in the controller.
If the BlackBox is configured in `auto sleep’ mode, readings will be taken for 40 seconds from power-up before the unit enters sleep mode. During this initial power-up period, the Aquaprobe should be out of the water in order to establish the depth zero datum.
When in sleep mode, the LED will not flash.

© 2023 Aquaread Ltd.

www.aquaread.com

Page 14 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

4.5. LED Indications
The BlackBox has a single, bi-colour LED positioned next to the probe socket. This LED is used to indicate the status of the BlackBox by flashing at various rates in either red or yellow. The chart below shows the possible combinations and what they mean.

Sequence Short yellow flash every 2 seconds
Long yellow flash
Single red flash every two seconds Two short red flashes every 2 seconds Three short red flashes every 2 seconds

What it means The BlackBox has just communicated with the Aquaprobe. The BlackBox has just communicated with the controller device.

Action Normal operation. No action required Normal operation. No action required

BlackBox can not read the Aquaprobe. See Troubleshooting below

The Aquaprobe’s pH electrode requires See Troubleshooting below and the

servicing or calibration.

Aquaprobe manual.

The Aquaprobe’s optical DO electrode See Troubleshooting below and the

requires servicing or calibration

Aquaprobe manual.

If a probe error condition occurs, the short yellow flash that indicates probe communication will be replaced by one of the three red flashing sequences.

4.6. Important notes concerning AP-6000, AP-7000 and AP-Pro self cleaning The SDI-12 and MODBUS protocols do not have provision for activating the Aquaprobe’s self cleaning mechanism.
The BlackBox Mk2 features a small, rotary, ten position switch, which allows the installer to select the cleaning frequency.
To access the switch, remove the rubber bung from the top of the BlackBox and carefully adjust the switch position using a terminal screwdriver. See the cleaning table on the next page.
The BlackBox software includes a cleaning counter, which is incremented each time the BlackBox is woken from sleep mode or the power supply to the BlackBox is cycled.
If the BlackBox is being used in SDI-12 mode, it should be wired for Auto Sleep mode. See section 3.2. SDI-12 Digital Interface (auto sleep). Each time the logging device wakes the BlackBox from sleep mode by sending a reading request, the cleaning counter will be incremented.
If the BlackBox is being used in MODBUS mode, it should be put to sleep between readings by pulling the run/sleep line (white wire) low. Each time a reading is required, the run/sleep line should be taken high and at this point the cleaning counter will be incremented. If the run/sleep line is not toggled between readings, the cleaning counter will not be incremented and the Probe will not be cleaned.
In either mode, if the run/sleep line is tied permanently high, the only time the clean counter will only be incremented is when the power supply to the BlackBox is cycled.

© 2023 Aquaread Ltd.

www.aquaread.com

Page 15 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

The rotary switch can be set to implement a cleaning cycle (wipe) after a prescribed number of counts (samples) as indicated in the table below.

Switch Position 0 1 2 3 4 5 6 7 8 9

Samples / Wipe 1 2 4 8 12 16 20 50
100 250

For example: If the switch is set to position 0, the cleaning system will be activated each time the BlackBox is woken from sleep or the power is cycled. If the switch is set to position 2, the cleaning system will be activated every fourth time the BlackBox is woken from sleep or the power is cycled, and so on.

So, if the sample interval is 15 minutes and the switch is set to position 4 (12 samples/wipe), the Probe will be wiped every three hours (12 x 15mins = 180mins).

The cleaning frequency should be set based on the conditions at the deployment site. If heavy soiling or algal growth is expected, clean every hour. If the deployment site is fresh clear water, cleaning once or twice a day should be sufficient.

Do not set the cleaning frequency higher than is necessary for the conditions as this will lead to unnecessary wear and tear on the cleaning system and Aquaprobe’s electrodes.

PLEASE REMEMBER: If you do not put the BlackBox to sleep or cycle the power between readings, the cleaning counter will not be incremented and the Aquaprobe will not be cleaned.

© 2023 Aquaread Ltd.

www.aquaread.com

Page 16 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

5. TROUBLESHOOTING
This section details some of the common difficulties you may encounter when using the BlackBox. Try all the suggested remedies. If your problem is still unresolved, contact our Service Department.

Problem

Cause / Remedy

The unit may be in auto-sleep mode.

The BlackBox LED does not flash at all.

Power supply problem. Check all connections. The white power control wire may be grounded causing the unit to be permanently asleep.

The internal fuse may be blown. Remove lid and check fuse.

The BlackBox LED gives Probably a poor connection. Disconnect the Aquaprobe plug,

a single red flash even

ensure there is no debris or moisture in the plug and socket,

when the Aquaprobe is

then re-connect the plug ensuring it is fully inserted and that

connected.

the screw collar is fully tightened.

This means the pH electrode fitted to the probe has dropped

The BlackBox LED gives below 85% efficiency. Try cleaning the pH electrode and re-

a double red flash every calibrating as described in the relevant section of the

two seconds.

Aquaprobe manual. If that does not cure the problem, replace

the pH/ORP electrode.

This means the Optical DO electrode on the Aquaprobe

The BlackBox LED gives needs calibrating or the cap needs replacing. Perform a full

a triple red flash every

DO calibration, first at DO Zero then at 100% DO as

two seconds.

described in the relevant section of the Aquaprobe manual. If

that does not cure the problem, replace the Optical DO Cap.

The BlackBox is not being put to sleep or having the power

The Aquaprobe’s self

cycled between readings.

cleaning mechanism is The cleaning switch is set to too high a value.

not being activated

Refer to section 4.6. Important notes concerning AP-6000,

AP-7000 and AP-Pro self cleaning.

No output on the 4-20mA

current loops.

Current loops do not become live until 40 seconds after power on or wake-up. BlackBox not reading the Aquaprobe. Check LED indications.

© 2023 Aquaread Ltd.

www.aquaread.com

Page 17 of 76

Aquaread BlackBoxTM Instruction Manual 6. DECLARATIONS OF CONFORMITY 6.1. CE Declaration

10401-00618 Rev S

© 2023 Aquaread Ltd.

www.aquaread.com

Page 18 of 76

Aquaread BlackBoxTM Instruction Manual 6.2. UKCA Declaration

10401-00618 Rev S

© 2023 Aquaread Ltd.

www.aquaread.com

Page 19 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

7. Technical Specification

Input Voltage

8V ­ 18V DC.

Operating Temperature -5ºC ­ 50ºC

~ 100mA (AP-Lite / AquaPlus / AP-700 – AP-2000 attached)

Input Current*

~ 130mA (AP-5000 or AP-6000, AP-7000 or AP-Pro attached)

(awake)

~ 330mA (AP-6000, AP-7000 or AP-Pro during self cleaning

cycle)

Input Current (asleep)

< 500µA

Protection Class

IP67 (must not be submerged due to barometric pressure sensor)

Dimensions

140mm x 65mm x 30mm (5.5″ x 2.6″ x 1.2″)

Weight

280g (10oz)

Connections

Probe socket & 1M screened power/data cable

Fixing

Aluminium flange with four 5mm (3/16″) mounting holes

Digital Interface

User selectable between SDI-12 and Modbus (RS485)

Update rate

All data is refreshed every 2 seconds when not in sleep mode

Current Loop Accuracy +/-0.2mA (represents +/-1.25% of FS digital value)

*Input currents are shown as approximate because current consumption varies with the number and type of optional electrodes fitted to the Aquaprobe.

Aquaread reserves the right to alter specifications without notice.

© 2023 Aquaread Ltd.

www.aquaread.com

Page 20 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

8. SDI-12 Data Communication Protocol SDI-12 is a standard for interfacing data recorders with microprocessor-based sensors. SDI-12 stands for serial/digital interface at 1200 baud. This section describes the protocol for communications between the BlackBox and SDI-12 data recorders complying with Version 1.3 of the SDI-12 standard.
8.1. Data Packet Formats The BlackBox responds to commands sent to it by an SDI-12 data recorder. Command packets should have the format:
!
where:
is the BlackBox address character (valid values are ASCII “0”-“9”, “A”-“Z”, “a”-“z” & “?”) is a string of zero or more command dependent data characters (values in the range 0x20-0x7E, excluding 0x21 (ASCII “!”)) the packet is terminated by 0x21 (ASCII “!”)
Response packets have the format:
[]
where:
is the BlackBox’s address character is a string of zero or more command dependent data characters (values in the range 0x20-0x7E)

, when present, is a string of 3 characters encoding the cyclic redundancy check of the response data (1st character in the range 0x40-0x4F, 2nd & 3rd characters in the range 0x40-0x7F) the packet is terminated by a carriage return followed by a line feed The formats of the individual command/response packets that the BlackBox supports are described in the following subsections. Any measurement values that are invalid will be returned with all fields set to 9.

8.1.1. Acknowledge Active
This command allows the data recorder to check that the BlackBox is present on the SDI12 bus.

Command Response

!

8.1.2. Address Query
This command allows the data recorder to obtain a sensor’s address character. It must only be issued when there is just one sensor attached to the bus, otherwise all sensors will respond, causing bus contention.

Command Response

?!

© 2023 Aquaread Ltd.

www.aquaread.com

Page 21 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

8.1.3. Change Address This command allows the data recorder to assign a new address to the BlackBox.

Command Response A!

is a new address to be assigned to the unit (1 character, value “0”-“9”, “A”-“Z” or “a”-“z”)
8.1.4. Send Identification This command allows the data recorder to retrieve some basic information about the BlackBox and the Aquaprobe attached to it.

Command Response

I!

is the version of the supported SDI-12 standard (“13” for version 1.3) is an 8-character vendor identification string (“AQUAREAD”) is a 6-character Aquaprobe model string (e.g. “AP1000”) is the 3-digit Probe’s firmware version string (e.g. “100” for v1.00) is the Probe’s serial number string (may be up to 13 characters)

8.1.5. Start Measurement This command tells the BlackBox to start making a measurement.

Command M!

Response

8.1.6. Additional Measurements This command tells the BlackBox to start making a measurement.

Command M!

Response

is a digit (“1”-“9”) indicating which set of additional measurements is being requested

Command MC!

Response

8.1.8. Additional Measurements and Request CRC This command tells the BlackBox to start making a measurement.

Command

Response

MC!

is a digit (“1”-“9”) indicating which set of additional measurements is being requested

Command C!

Response

8.1.10.

Additional Concurrent Measurements

This command tells the BlackBox to start making a measurement.

Command C!

Response

is a digit (“1”-“9”) indicating which set of additional measurements is being requested

Command CC!

Response

8.1.12.

Additional Concurrent Measurements and Request CRC

This command tells the BlackBox to start making a measurement.

Command

Response

CC!

is a digit (“1”-“9”) indicating which set of additional measurements is being requested

Command V!

Response

8.1.14.

Service Request

The service request is a signal sent by the BlackBox to indicate that a measurement has been completed and is ready to read.

Service Request

© 2023 Aquaread Ltd.

www.aquaread.com

Page 24 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

8.1.15.

Send Data

This command is used by the data recorder to retrieve the measurement values after a measurement has been completed.

Command

Response

D! []

is a single digit (“0”-“9”) indicating the data packet number being requested is a string of measurement results, each consisting of a sign character (“+” or “-“), 1-7 digits and an optional decimal point the field will be present if measurement with CRC was requested, and is a 3 byte string containing the encoded CRC of the response packet

The maximum size of the field is 75 characters when following a concurrent measurement request, or 35 characters when following a non- concurrent measurement request.

8.1.16.

Continuous Measurements

This command is used by the data recorder to retrieve measurements immediately without a separate Start Measurement command.

Command R!

Response

is a digit (“1”-“9”) indicating which set of measurements is being requested is a string of measurement results, each consisting of a sign character (“+” or “-“), 1-7 digits and an optional decimal point The maximum size of the field is 75 characters.

8.1.17.

Continuous Measurements and Request CRC

This command is used by the data recorder to retrieve measurements immediately without a separate Start Measurement command.

Command RC!

Response

is a digit (“1”-“9”) indicating which set of measurements is being requested is a string of measurement results, each consisting of a sign character (“+” or “-“), 1-7 digits and an optional decimal point is a 3 byte string containing the encoded CRC of the response packet

The maximum size of the field is 75 characters.
8.2. BlackBox Address The BlackBox stores an SDI-12 sensor address in its EEPROM. The sensor address is a single character from the set “0”-“9”, “A”-“Z” & “a-“z”. With the exception of the Address Query command, the BlackBox will only respond to commands beginning with its sensor address.

© 2023 Aquaread Ltd.

www.aquaread.com

Page 25 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

The BlackBox’s sensor address is set to “0” during production. When a Change Address command is received, the new address will replace the sensor address in the BlackBox’s EEPROM and the BlackBox will only respond to subsequent commands (again with the exception of the Address Query command) sent to that new address. The BlackBox will always respond to the Address Query command, regardless of the stored sensor address.

8.3. Unit Identification
In its response to a Send Identification command, the BlackBox will report compatibility with SDI-12 version 1.3, the vendor ID “AQUAREAD”, a sensor model number string dependent upon the type of Aquaprobe connected to it (see Table 1), and the BlackBox’s firmware revision number and serial number.

Probe Type

Model Number String

AP-100

“AP100 ”

AP-100 with depth “AP100D”

AP-200

“AP200 ”

AP-200 with depth “AP200D”

AP-300

“AP300 ”

AP-300 with depth “AP300D”

AP-400

“AP400 ”

AP-400 with depth “AP400D”

AP-500

“AP500 ”

AP-500 with depth “AP500D”

AP-600

“AP600 ”

AP-600 with depth “AP600D”

AP-700

“AP700 ”

AP-700 with depth “AP700D”

AP-800

“AP800 ”

AP-800 with depth “AP800D”

AP-900

“AP900 ”

AP-900 with depth “AP900D”

AP-1000

“AP1000”

AquaPlus

“AQ+ ”

AP-2000

“AP2000”

AP-2000 with depth “AP2KD”

AP-Lite

“APLITE”

AP-5000

“AP5000”

AP-7000/AP-6000 or AP-Pro

“AP6/7K”

Table 1: Probe Type Model Number Strings

8.4. Measurement Commands
On reception of any Start Measurement, Additional Measurement, Start Concurrent Measurement or Additional Concurrent Measurement command (with or without CRC request), the BlackBox will respond indicating a measurement time.

If the BlackBox is configured in always on’ mode, the measurement time will be “000”. If the BlackBox is configured inauto sleep’ mode, the measurement time can be up to “060”. Following the measurement time, the BlackBox will send the number of measurements it will be sending dependent upon the type of Aquaprobe connected to it.

If the measurement time sent by the BlackBox is “000”, the data recorder should immediately respond with a Send Data command, to which the BlackBox will respond with a packet containing appropriate measurements dependent upon the type of Aquaprobe connected to it and upon the measurement set requested. The response will also contain a CRC, if requested.

© 2023 Aquaread Ltd.

www.aquaread.com

Page 26 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

If the measurement time sent by the BlackBox is greater than “000”, the data recorder should wait for the BlackBox to send a Service Request before sending the Send Data command.

After sending this response, the BlackBox will relinquish control of the data line and wait for the data recorder to request the measurements with one or more Send Data commands.

The first Send Data command will have a sequence number “0” and for subsequent Send Data commands the sequence number will be incremented by 1 (unless data is rerequested due to a transmission/reception error, in which case the sequence number will not change).

The size limit of the field in the data response packet may require that the measurements returned by the BlackBox be split across multiple data responses. The data recorder will continue to request data packets until it has received the expected number of measurement values (as reported in the response to the Start Measurement/Additional Measurement/Start Concurrent/Additional Concurrent Measurement command).

After a Start Measurement or Additional Measurement command & response, the data recorder may abort the measurement by sending a command to another probe (preceded by a break frame) or a command other than Send Data to the BlackBox.

After a Start Concurrent Measurement or Additional Concurrent Measurement command & response, the data recorder may abort the measurement by sending a command other than Send Data to the BlackBox. (The data recorder may send commands to other probes on the same SDI-12 bus without aborting a concurrent measurement.)

If the data recorder sends any Send Data command to the BlackBox not preceded by any form of measurement start command or after aborting a measurement sequence, then the response will not contain any data values.

On reception of a Continuous Measurement command (with or without CRC request), the BlackBox will respond with a packet containing appropriate measurements dependent upon the type of Aquaprobe connected to it and upon the measurement set requested. The response will also contain a CRC, if requested.

Table 2 details the measurements provided by the BlackBox and the following subsections describe the contents of the measurement related packets for each type of Aquaprobe.

Field name

Measurement

Barometric pressure Temperature pH Oxidation/reduction potential Turbidity

Electrical conductivity Electrical conductivity (corrected to 20°C) Electrical conductivity (corrected to 25°C) Electrical resistivity
Salinity

Totally dissolved solids Specific seawater gravity

Units mbar °C pH mV NTU (Nephelometric Turbidity Units) µS/cm µS/cm µS/cm k.cm PSU (Practical Salinity Units) mg/L t

© 2023 Aquaread Ltd.

www.aquaread.com

Page 27 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

Dissolved oxygen

mg/L

Dissolved oxygen

% saturation

Probe depth

m

AUX1 measurement

dependent upon type of electrode fitted

AUX2 measurement

dependent upon type of electrode fitted

AUX3 measurement

dependent upon type of electrode fitted

AUX4 measurement

dependent upon type of electrode fitted

AUX5 measurement

dependent upon type of electrode fitted

AUX6 measurement

dependent upon type of electrode fitted

Ammonia concentration

mg/L

Table 2: Measurements and Units

8.4.1. AP-100

Sequence initiated with Start Measurement command:

Command Response

M!

0003

or

MC!

D0!

or

Sequences initiated with Additional Measurement command:
Command Response
M1! 0000 up to M9! or MC1! up to MC9!

Sequence initiated with Start Concurrent Measurement command:

Command Response

C!

00003

or

CC!

D0!

or

Sequences initiated with Additional Concurrent Measurement command:

Command C1! up to C9! or CC1! up to CC9!

Response 00000

© 2023 Aquaread Ltd.

www.aquaread.com

Page 28 of 76

Aquaread BlackBoxTM Instruction Manual

AP-100 continued…

Sequences initiated with Continuous Measurement command:

Command R0! or RC0!

Response or

Command
R1! to R9! or RC1! to RC9!

Response or

10401-00618 Rev S

© 2023 Aquaread Ltd.

www.aquaread.com

Page 29 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

8.4.2. AP-100 with Depth

Sequence initiated with Start Measurement command:

Command M! or MC!
D0!

Response 0004
or

Sequences initiated with Additional Measurement command:

Command M1! up to M9! or MC1! up to MC9!

Response 0000

Sequence initiated with Start Concurrent Measurement command:

Command
C! or CC! D0!

Response 00004
or

Sequences initiated with Additional Concurrent Measurement command:
Command Response
C1! 00000 up to C9! or CC1! up to CC9!

Sequences initiated with Continuous Measurement command:

Command R0! or RC0!

Response or

Command
R1! to R9! or RC1! to RC9!

Response or

© 2023 Aquaread Ltd.

www.aquaread.com

Page 30 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

8.4.3. AP-200

Sequence initiated with Start Measurement command:

Command M! or MC!
D0!

Response 0003
or

Sequences initiated with Additional Measurement command:

Command M1! up to M9! or MC1! up to MC9!

Response 0000

Sequence initiated with Start Concurrent Measurement command:

Command
C! or CC! D0!

Response 00003
or

Sequences initiated with Additional Concurrent Measurement command:

Command Response

C1!

00000

up to

C9!

or

CC1!

up to

CC9!

Sequences initiated with Continuous Measurement command:

Command R0! or RC0!

Response or

Command
R1! to R9! or RC1! to RC9!

Response or

© 2023 Aquaread Ltd.

www.aquaread.com

Page 31 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

8.4.4. AP-200 with Depth

Sequence initiated with Start Measurement command:

Command M! or MC!
D0!

Response 0004
or

Sequences initiated with Additional Measurement command:

Command M1! up to M9! or MC1! up to MC9!

Response 0000

Sequence initiated with Start Concurrent Measurement command:

Command
C! or CC! D0!

Response 00004
or

Sequences initiated with Additional Concurrent Measurement command:

Command Response

C1!

00000

up to

C9!

or

CC1!

up to

CC9!

Sequences initiated with Continuous Measurement command:

Command R0! or RC0!

Response or

Command
R1! to R9! or RC1! to RC9!

Response or

© 2023 Aquaread Ltd.

www.aquaread.com

Page 32 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

8.4.5. AP-300

Sequence initiated with Start Measurement command:

Command M! or MC! D0!
D1!

Response 0009
or or

Sequences initiated with Additional Measurement command:

Command Response

M1!

0002

or

MC1!

D0!

or

Command
M2! up to M9! or MC2! up to MC9!

Response 0000

Sequence initiated with Start Concurrent Measurement command:

Command C! or CC!
D0!

Response 00011
or <do- sat>

Sequences initiated with Additional Concurrent Measurement command:

Command C1! up to C9! or CC1! up to CC9!

Response 00000

© 2023 Aquaread Ltd.

www.aquaread.com

Page 33 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

AP-300 continued…

Sequences initiated with Continuous Measurement command:

Command R0! or RC0!

Response <do- sat> or

Command
R1! to R9! or RC1! to RC9!

Response or

© 2023 Aquaread Ltd.

www.aquaread.com

Page 34 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

8.4.6. AP-300 with Depth

Sequence initiated with Start Measurement command:

Command M! or MC! D0!
D1!

Response 0009
or or

Sequences initiated with Additional Measurement command:

Command Response

M1!

0003

or

MC1!

D0!

or

Command
M2! up to M9! or MC2! up to MC9!

Response 0000

Sequence initiated with Start Concurrent Measurement command:

Command C! or CC! D0!
D1!

Response 00012
or <do- sat> or

Sequences initiated with Additional Concurrent Measurement command:

Command
C1! up to C9! or CC1! up to CC9!

Response 00000

© 2023 Aquaread Ltd.

www.aquaread.com

Page 35 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

AP-300 with Depth continued…

Sequences initiated with Continuous Measurement command:

Command R0! or RC0!

Response <do- sat> or

Command R1! or RC1!

Response or

Command R2! to R9! or RC2! to RC9!

Response or

© 2023 Aquaread Ltd.

www.aquaread.com

Page 36 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

8.4.7. AP-400

Sequence initiated with Start Measurement command:

Command M! or MC!
D0!

Response 0004
or

Sequences initiated with Additional Measurement command:

Command M1! up to M9! or MC1! up to MC9!

Response 0000

Sequence initiated with Start Concurrent Measurement command:

Command
C! or CC! D0!

Response 00004
or

Sequences initiated with Additional Concurrent Measurement command:

Command Response

C1!

00000

up to

C9!

or

CC1!

up to

CC9!

Sequences initiated with Continuous Measurement command:

Command R0! or RC0!

Response or

© 2023 Aquaread Ltd.

www.aquaread.com

Page 37 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

8.4.8. AP-400 with Probe

Sequence initiated with Start Measurement command:

Command M! or MC!
D0!

Response 0005
or

Sequences initiated with Additional Measurement command:

Command M1! up to M9! or MC1! up to MC9!

Response 0000

Sequence initiated with Start Concurrent Measurement command:

Command
C! or CC! D0!

Response 00005
or

Sequences initiated with Additional Concurrent Measurement command:

Command Response

C1!

00000

up to

C9!

or

CC1!

up to

CC9!

Sequences initiated with Continuous Measurement command:

Command R0! or RC0!

Response or

Command
R1! to R9! or RC1! to RC9!

Response or

© 2023 Aquaread Ltd.

www.aquaread.com

Page 38 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

8.4.9. AP-500

Sequence initiated with Start Measurement command:

Command M! or MC! D0!
D1!

Response 0009
or or

Sequences initiated with Additional Measurement command:

Command Response

M1!

0003

or

MC1!

D0!

or

Command
M2! up to M9! or MC2! up to MC9!

Response 0000

Sequence initiated with Start Concurrent Measurement command:

Command C! or CC! D0!
D1!

Response 00012
or

or

© 2023 Aquaread Ltd.

www.aquaread.com

Page 39 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

AP-500 continued…

Sequences initiated with Additional Concurrent Measurement command:

Command C1! up to C9! or CC1! up to CC9!

Response 00000

Sequences initiated with Continuous Measurement command:

Command R0! or RC0!

Response
or

Command R1! or RC1!

Response or

Command
R2! to R9! or RC2! to RC9!

Response or

© 2023 Aquaread Ltd.

www.aquaread.com

Page 40 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

8.4.10.

AP-500 with Probe

Sequence initiated with Start Measurement command:

Command M! or MC! D0!
D1!

Response 0009
or or

Sequences initiated with Additional Measurement command:

Command Response

M1!

0004

or

MC1!

D0!

or

Command
M2! up to M9! or MC2! up to MC9!

Response 0000

Sequence initiated with Start Concurrent Measurement command:

Command C! or CC! D0!
D1!

Response 00013
or

or

Sequences initiated with Additional Concurrent Measurement command:

Command
C1! up to C9! or CC1! up to CC9!

Response 00000

© 2023 Aquaread Ltd.

www.aquaread.com

Page 41 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

AP-500 with Depth continued…

Sequences initiated with Continuous Measurement command:

Command R0! or RC0!

Response

or

Command R1! or RC1!

Response or

Command R2! to R9! or RC2! to RC9!

Response or

© 2023 Aquaread Ltd.

www.aquaread.com

Page 42 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

8.4.11.

AP-600

Sequence initiated with Start Measurement command:

Command M! or MC! D0!
D1!

Response 0009
or or

Sequences initiated with Additional Measurement command:

Command Response

M1!

0004

or

MC1!

D0!

or

Command
M2! up to M9! or MC2! up to MC9!

Response 0000

Sequence initiated with Start Concurrent Measurement command:

Command C! or CC! D0!
D1!

Response 00013
or

or

Sequences initiated with Additional Concurrent Measurement command:

Command
C1! up to C9! or CC1! up to CC9!

Response 00000

© 2023 Aquaread Ltd.

www.aquaread.com

Page 43 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

AP-600 continued…

Sequences initiated with Continuous Measurement command:

Command R0! or RC0!

Response

or

Command R1! or RC1!

Response or

Command R2! to R9! or RC2! to RC9!

Response or

© 2023 Aquaread Ltd.

www.aquaread.com

Page 44 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

8.4.12.

AP-600 with Depth

Sequence initiated with Start Measurement command:

Command M! or MC! D0!
D1!

Response 0009
or or

Sequences initiated with Additional Measurement command:

Command Response

M1!

0005

or

MC1!

D0!

or

Command
M2! up to M9! or MC2! up to MC9!

Response 0000

Sequence initiated with Start Concurrent Measurement command:

Command C! or CC! D0!
D1!

Response 00014
or

or

Sequences initiated with Additional Concurrent Measurement command:

Command
C1! up to C9! or CC1! up to CC9!

Response 00000

© 2023 Aquaread Ltd.

www.aquaread.com

Page 45 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

AP-600 with Depth continued…

Sequences initiated with Continuous Measurement command:

Command R0! or RC0!

Response

or

Command R1! or RC1!

Response or

Command R2! to R9! or RC2! to RC9!

Response or

© 2023 Aquaread Ltd.

www.aquaread.com

Page 46 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

8.4.13.

AP-700

Sequence initiated with Start Measurement command:

Command M! or MC! D0!
D1!

Response 0009
or or

Sequences initiated with Additional Measurement command:

Command Response

M1!

0004

or

MC1!

D0!

or

Command
M2! up to M9! or MC2! up to MC9!

Response 0000

Sequence initiated with Start Concurrent Measurement command:

Command C! or CC! D0!
D1!

Response 00013
or

or

Sequences initiated with Additional Concurrent Measurement command:

Command
C1! up to C9! or CC1! up to CC9!

Response 00000

© 2023 Aquaread Ltd.

www.aquaread.com

Page 47 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

AP-700 continued…

Sequences initiated with Continuous Measurement command:

Command R0! or RC0!

Response

or

Command R1! or RC1!

Response or

Command R2! to R9! or RC2! to RC9!

Response or

© 2023 Aquaread Ltd.

www.aquaread.com

Page 48 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

8.4.14.

AP-700 with Depth

Sequence initiated with Start Measurement command:

Command M! or MC! D0!
D1!

Response 0009
or or

Sequences initiated with Additional Measurement command:

Command Response

M1!

0005

or

MC1!

D0!

or

Command
M2! up to M9! or MC2! up to MC9!

Response 0000

Sequence initiated with Start Concurrent Measurement command:

Command C! or CC! D0!
D1!

Response 00014
or

or

Sequences initiated with Additional Concurrent Measurement command:

Command
C1! up to C9! or CC1! up to CC9!

Response 00000

© 2023 Aquaread Ltd.

www.aquaread.com

Page 49 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

AP-700 with Depth continued…

Sequences initiated with Continuous Measurement command:

Command R0! or RC0!

Response

or

Command R1! or RC1!

Response or

Command R2! to R9! or RC2! to RC9!

Response or

© 2023 Aquaread Ltd.

www.aquaread.com

Page 50 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

8.4.15.

AP-800(software version 3.53 and below) and AP-900

Sequence initiated with Start Measurement command:

Command M! or MC! D0!
D1!

Response 0009
or or

Sequences initiated with Additional Measurement command:

Command Response

M1!

0005

or

MC1!

D0!

or

Command
M2! up to M9! or MC2! up to MC9!

Response 0000

Sequence initiated with Start Concurrent Measurement command:

Command C! or CC! D0!
D1!

Response 00014
or

or

Sequences initiated with Additional Concurrent Measurement command:

Command
C1! up to C9! or CC1! up to CC9!

Response 00000

© 2023 Aquaread Ltd.

www.aquaread.com

Page 51 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

AP-800 and AP-900 continued…

Sequences initiated with Continuous Measurement command:

Command R0! or RC0!

Response

or

Command R1! or RC1!

Response or

Command R2! to R9! or RC2! to RC9!

Response or

© 2023 Aquaread Ltd.

www.aquaread.com

Page 52 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

8.4.16.

AP-800 with Depth (software version 3.53 and below), AP-900 with Depth & AP-1000

Sequence initiated with Start Measurement command:

Command M! or MC!

Response 0009

D0!

or

D1!

or

Sequences initiated with Additional Measurement command:

Command M1! or MC1! D0!
D1!

Response 0006
or <do- sat> or

Command M2! up to M9! or MC2! up to MC9!

Response 0000

Sequence initiated with Start Concurrent Measurement command:

Command C! or CC! D0!
D1!

Response 00015
or

or

Sequences initiated with Additional Concurrent Measurement command:

Command C1! up to C9! or CC1! up to CC9!

Response 00000

© 2023 Aquaread Ltd.

www.aquaread.com

Page 53 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

AP-800 with Depth (software version 3.53 and below), AP-900 with Depth & AP-1000 continued…

Sequences initiated with Continuous Measurement command:

Command R0! or RC0!

Response

or

Command R1! or RC1!

Response or <do- sat>

Command R2! to R9! or RC2! to RC9!

Response or

© 2023 Aquaread Ltd.

www.aquaread.com

Page 54 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

8.4.17.

AquaPlus Probe

Sequence initiated with Start Measurement command:

Command M! or MC! D0!
D1!

Response 0009
or or

Sequences initiated with Additional Measurement command:

Command Response

M1!

0002

or

MC1!

D0!

or

Command
M2! up to M9! or MC2! up to MC9!

Response 0000

Sequence initiated with Start Concurrent Measurement command:

Command C! or CC!
D0!

Response 00011
or <do- sat>

Sequences initiated with Additional Concurrent Measurement command:

Command C1! up to C9! or CC1! up to CC9!

Response 00000

Sequences initiated with Continuous Measurement command:

Command R0! or RC0!

Response
or <do- sat>

© 2023 Aquaread Ltd.

www.aquaread.com

Page 55 of 76

Aquaread BlackBoxTM Instruction Manual

AquaPlus Probe continued…

Command R1! to R9! or RC1! to RC9!

Response or

10401-00618 Rev S

© 2023 Aquaread Ltd.

www.aquaread.com

Page 56 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

8.4.18.

AP-2000 and AP-700/800 (software version 4.00 and above)

Sequence initiated with Start Measurement command:

Command M! or MC! D0!
D1!

Response 0009
or or

Sequences initiated with Additional Measurement command:

Command Response

M1!

0007

or

MC1!

D0!

or

D1!

or

Command M2! up to M9! or MC2! up to MC9!

Response 0000

Sequence initiated with Start Concurrent Measurement command:

Command C! or CC! D0!
D1!

Response 00016
or

or

Sequences initiated with Additional Concurrent Measurement command:

Command C1! up to C9! or CC1! up to CC9!

Response 00000

© 2023 Aquaread Ltd.

www.aquaread.com

Page 57 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

AP-2000 and AP-700/800 (software version 4.00 and above) continued…

Sequences initiated with Continuous Measurement command:

Command R0! or RC0!

Response

or

Command R1! or RC1!

Response or <do- sat>

Command R2! to R9! or RC2! to RC9!

Response or

Note: AP-700s running software version 4.00 and above will output in this format with invalid data in the , and fields.
AP-800s running software version 4.00 and above will output in this format with Turbidity data in the field and invalid data in the and

fields.

© 2023 Aquaread Ltd.

www.aquaread.com

Page 58 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

8.4.19.

AP-2000 with Depth and AP-700/800 with Depth (software version 4.00 and above)

Sequence initiated with Start Measurement command:

Command M! or MC!

Response 0009

D0!

or

D1!

or

Sequences initiated with Additional Measurement command:

Command M1! or MC1! D0!
D1!

Response 0008
or <do- sat> or

Command M2! up to M9! or MC2! up to MC9!

Response 0000

Sequence initiated with Start Concurrent Measurement command:

Command C! or CC! D0!
D1!

Response 00017
or

or

Sequences initiated with Additional Concurrent Measurement command:

Command C1! up to C9! or CC1! up to CC9!

Response 00000

© 2023 Aquaread Ltd.

www.aquaread.com

Page 59 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

AP-2000 with Depth and AP-700/800 with Depth (software version 4.00 and above) continued…

Sequences initiated with Continuous Measurement command:

Command R0! or RC0!

Response

or

Command R1! or RC1!

Response or <do- sat>

Command R2! to R9! or RC2! to RC9!

Response or

Note: AP-700s running software version 4.00 and above will output in this format with invalid data in the , and fields.

AP-800s running software version 4.00 and above will output in this format with Turbidity data in the field and invalid data in the and

fields.

© 2023 Aquaread Ltd.

www.aquaread.com

Page 60 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

8.4.20.

AP- Lite

Sequence initiated with Start Measurement command:

Command M! or MC!
D0!

Response 0003
or

Sequences initiated with Additional Measurement command:

Command M1! up to M9! or MC1! up to MC9!

Response 0000

Sequence initiated with Start Concurrent Measurement command:

Command
C! or CC! D0!

Response 00003
or

Sequences initiated with Additional Concurrent Measurement command:

Command Response

C1!

00000

up to

C9!

or

CC1!

up to

CC9!

Sequences initiated with Continuous Measurement command:

Command R0! or RC0!

Response or

Command
R1! to R9! or RC1! to RC9!

Response or

© 2023 Aquaread Ltd.

www.aquaread.com

Page 61 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

8.4.21.

AP-5000

Sequence initiated with Start Measurement command:

Command M! or MC! D0!
D1!

Response 0009
or or

Sequences initiated with Additional Measurement command:

Command Response

M1!

0009

or

MC1!

D0!

or

D1!

or

Command M2! or MC2!
D0!

Response 0001
or

Command M3! up to M9! or MC3! up to MC9!

Response 0000

Sequence initiated with Start Concurrent Measurement command:

Command C! or CC! D0!
D1!

Response 00019
or

or

© 2023 Aquaread Ltd.

www.aquaread.com

Page 62 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

AP-5000 continued…

Sequences initiated with Additional Concurrent Measurement command:

Command C1! up to C9! or CC1! up to CC9!

Response 00000

Sequences initiated with Continuous Measurement command:

Command R0! or RC0!

Response
or

Command R1! or RC1!

Response or <do

Command
R2! to R9! or RC2! to RC9!

Response or

© 2023 Aquaread Ltd.

www.aquaread.com

Page 63 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

8.4.22.

AP-6000, AP-7000 & AP-Pro

Sequence initiated with Start Measurement command:

Command M! or MC! D0!
D1!

Response 0009
or or

Sequences initiated with Additional Measurement command:

Command Response

M1!

0008

or

MC1!

D0!

or

D1!

or

Command M2! or MC2!
D0!

Response 0004
or

Command M3! up to M9! or MC3! up to MC9!

Response 0000

Sequence initiated with Start Concurrent Measurement command:

Command C! or CC! D0!
D1!

Response 00020
or

or

© 2023 Aquaread Ltd.

www.aquaread.com

Page 64 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

AP-6000, AP-7000 & AP-Pro continued…

Sequences initiated with Additional Concurrent Measurement command:

Command C1! or CC1!

Response 00001

D0!

or

Command C2! up to C9! or CC2! up to CC9!

Response 00000

Sequences initiated with Continuous Measurement command:

Command R0! or RC0!

Response
or

Command R1! or RC1!

Response or

Command R2! or RC2!

Response or

Command R3! to R9! or RC3! to RC9!

Response or

© 2023 Aquaread Ltd.

www.aquaread.com

Page 65 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

8.5. Verification Command
On reception of a Start Verification command, the BlackBox willll respond indicating a measurement time of “000” and no data values. If the data recorder follows this with a Send Data command, the BlackBox will respond with a packet containing no data values.

Command V! D0!

Response 0000

8.6. Cyclic Redundancy Check The cyclic redundancy check included in responses to the Send Data command is calculated on the contents of the response, starting with the sensor address character and ending with the last response character before the start of the CRC field.
The CRC field is composed of three characters in the range 0x40-0x7F, which encode the 16-bit CRC value as follows:
1st character: binary 0100C15C14C13C12 2nd character:binary 01C11C10C9C8C7C6 3rd character: binary 01C5C4C3C2C1C0
where Cn is the nth bit of the CRC.
The algorithm for calculating the CRC is as follows:
Set crc = 0 For each message character c:
Set crc = crc XOR c Repeat 8 times:
If least significant bit of crc is 1, Shift crc right by one bit Set crc = crc XOR 0xA001
Otherwise, Shift crc right by one bit

© 2023 Aquaread Ltd.

www.aquaread.com

Page 66 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

9. Modbus Communication Protocol The BlackBox supports the slave device side of the Modbus communication standard in RTU mode, and responds appropriately to commands sent to it by a Modbus master device.
9.1. Electrical Interface In the BlackBox, Modbus is implemented over a half- duplex RS-485 serial interface.
9.2. Data Frame Format Each data frame transferred via the RS-485 interface represents one byte of data. A data frame has the following format:
1 start bit (space/0) 8 data bits (least significant bit first) 1 even parity bit 1 stop bit (mark/1) (see note in section 9.5.4. Serial Communication Parity)
9.3. Communication Sequence & Timing All Modbus communication transactions are initiated by the master. The master initiates a transaction by transmitting a command packet. Commands fall into two categories: broadcast and unicast.
Unicast commands are addressed to an individual slave. The addressed slave must process the command and send an appropriate response packet back to the master.
Broadcast commands must be received and processed by all slaves on the bus, and no response packet must be sent by any of the slaves. Slaves must not transmit anything unless they are responding to a command from the data recorder.
When the BlackBox is not already involved in any Modbus communication sequence, it will continually monitor the RS-485 bus for data. Any byte preceded by at least 3.5 character times of idle line will mark the start of a command packet and the packet will be terminated by 3.5 character times of idle line.
If a gap of more than 1.5 but less than 3.5 character times of idle line occurs between any bytes during packet reception, then the packet will be regarded as incomplete and will be discarded. If the BlackBox detects a parity or CRC error in a packet received from the master device, it will discard the packet.
If the slave address in the command matches the BlackBox’s slave address, the BlackBox will process and respond to the command, otherwise it will ignore the command. If the slave address in the command is zero (indicating a broadcast command), the BlackBox will process the command but send no response.
If responding to a command, the BlackBox will ensure that the RS-485 bus is idle for at least 3.5 character times between the end of the command and the beginning of the response.

© 2023 Aquaread Ltd.

www.aquaread.com

Page 67 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

9.4. Data Packet Format All Modbus data packets have the format:

Field

Size

Content

1 byte

Slave address (valid values 0x01-0xF7 when a single slave is

addressed, 0x00 for commands broadcast to all slaves)

1 byte

Function code that identifies the function of the data packet (valid

values 0x01-0x7F for commands & successful responses, 0x81-

0xFF for exception responses)

0-252 bytes Function dependent data

2 bytes 16-bit cyclic redundancy check

In broadcast commands sent by the master, the address byte will contain 0. In unicast commands, the address byte will contain the address of the slave device to which the command is being sent.
In responses from slaves, the address byte will contain the address of the slave which generated the response.
If the BlackBox successfully handles a command, its response will contain the same function code as the command. If it cannot successfully handle a command, the Black Box will generate an exception response with the function code set to 0x80 + the command’s function code.
In the field, numerical values of size greater than 8 bits are transmitted most significant byte first. In the field, the CRC is transmitted least significant byte first. The maximum packet size is 256 bytes.
Table 3 summarises the Modbus functions supported by the BlackBox and the following subsections describe their command & response packet formats.

Function

Function Code

Read Holding Registers

0x03

Read Input Registers

0x04

Write Holding Register

0x06

Write Holding Registers

0x10

Report Slave ID

0x11

Table 3: Supported Modbus Functions

9.4.1. Exception Responses
If a command is unsupported or has invalid parameters, the BlackBox will return an exception response of the format:

Field

Size 1 byte 1 byte 1 byte

2 bytes

Content Slave address Function code of the command + 0x80 The type of exception 1 ­ Unsupported command function code 2 ­ Invalid data address in command 3 ­ Invalid data value in command CRC

© 2023 Aquaread Ltd.

www.aquaread.com

Page 68 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

9.4.2. Read Holding Registers This command reads one or more Modbus holding registers, and has the format:

Field

Size 1 byte 1 byte 2 bytes
2 bytes 2 bytes

Content Slave address 0x03 Base address of the block of registers to be read (0x00000xFFFF) The number of registers to be read (0x0001-0x007D) CRC

NOTE: The address in the field is the register number ­ 1.

On reception of this command, the BlackBox will check that is greater than zero and less than or equal to 0x7D. If this range check fails, the BlackBox will return an exception response with exception type 3.

If the above range check succeeds, the BlackBox will check that all addresses in the specified block refer to valid holding registers. If not, then the BlackBox will return an exception response with exception type 2.

If the above checks succeed, the BlackBox will send a response with the format:

Field

Size 1 byte 1 byte 1 byte bytes
2 bytes

Content Slave address 0x03 Size in bytes of field (equal to 2 x <nr- registers>) Block of data containing the values of the requested registers, 2 bytes per register, registers in order of increasing address from <start- address> onwards CRC

9.4.3. Read Input Registers This command reads one or more Modbus input registers and has the format:

Field

Size 1 byte 1 byte 2 bytes
2 bytes 2 bytes

Content Slave address 0x04 Base address of the block of registers to be read (0x00000xFFFF) The number of registers to be read (0x0001-0x007D) CRC

NOTE: The address in the field is the register number ­ 1.

On reception of this command, the BlackBox will check that is greater than zero and less than or equal to 0x7D. If this range check fails, the BlackBox will return an exception response with exception type 3.

If the above range check succeeds, the BlackBox will check that all addresses in the specified block refer to valid input registers. If not, then the BlackBox will return an exception response with exception type 2.

© 2023 Aquaread Ltd.

www.aquaread.com

Page 69 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

If the above checks succeed, the BlackBox will send a response with the format:

Field

Size 1 byte 1 byte 1 byte bytes
2 bytes

Content Slave address 0x04 Size in bytes of field (equal to 2 x <nr- registers>) Block of data containing the values of the requested registers, 2 bytes per register, in order of increasing address from onwards CRC

9.4.4. Write Holding Register This command writes a value to a single Modbus holding register and has the format:

Field

Size 1 byte 1 byte 2 bytes 2 bytes 2 bytes

Content Slave address 0x06 Address of the register to be written (0x0000-0xFFFF) Value to be written to the register (0x0000-0xFFFF) CRC

NOTE: The address in the field is the register number ­ 1.

On reception of this command, the BlackBox will check that

refers to a valid holding register. If not, then the BlackBox will return an exception response with exception type 2.

If the above check succeeds, the BlackBox will set the register to the specified value and echo the received command packet as its response.

9.4.5. Write Holding Registers
This command writes a set of values to a contiguous block of Modbus holding registers and has the format:

Field

Size 1 byte 1 byte 2 bytes
2 bytes 1 byte bytes
2 bytes

Content Slave address 0x10 Base address of the block of registers to be written (0x0000-0xFFFF) The number of registers to be written (0x0001-0x007B) Size in bytes of field (equal to 2 x ) Block of data containing the values to be written to the registers, 2 bytes per register, in order of increasing address from onwards CRC

NOTE: The address in the field is the register number ­ 1.

On reception of this command, the BlackBox will check that is greater than zero and less than or equal to 0x7B. If this range check fails, the BlackBox will return an exception response with exception type 3.

If the above range check succeeds, the BlackBox will check that all addresses in the specified block refer to valid holding registers. If not, then the BlackBox will return an exception response with exception type 2.

© 2023 Aquaread Ltd.

www.aquaread.com

Page 70 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

If the above checks succeed, the BlackBox will set the registers to the specified values and send a response with the format:

Field

Size 1 byte 1 byte 2 bytes 2 bytes 2 bytes

Content Slave address 0x10 Base address of the block of registers (0x0000-0xFFFF) The number of registers (0x0001-0x007B) CRC

9.4.6. Report Slave ID
This command allows the master to retrieve identification information from the slave, and has the format:

Field

Size 1 byte 1 byte 2 bytes

Slave address 0x11 CRC

Content

On reception of this command, the BlackBox will return a response with the format:

Field

Size 1 byte 1 byte 1 byte
1 byte 1 byte 1 byte
28 bytes (format version 1) 2 bytes

Content Slave address 0x11 The size of the rest of the packet, from to inclusive (31 for format v1) 0x00 0xFF Version number indicating the format of the rest of the packet (currently 0x01) Block of data containing product information
CRC

Format version 1 of the block is:

9 bytes 2 bytes 6 bytes
9 bytes 2 bytes

The BlackBox’s serial number (an ASCII string) The BlackBox’s firmware version number x 100 The model number of the probe attached to the BlackBox (see Table

  1. The serial number of the probe attached to the BlackBox The attached probe’s firmware version number x 100

© 2023 Aquaread Ltd.

www.aquaread.com

Page 71 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

9.5. Register Map
The Modbus specification defines 4 classes of addressable data: discrete inputs, coils, input registers & holding registers. The characteristics of these classes are shown in the table below.

Single bit 16-bit

Read Only

Read/Write

Discrete Inputs Coils

Input Registers Holding Registers

Modbus Data Classes

The BlackBox will implement all of its registers as holding registers or input registers. The single bit classes and the command functions for accessing them are not implemented.

The holding registers allowing configuration of the BlackBox are summarised in the table below.

Register Number
1 2
3
4

Register Address

Description

(used in Modbus commands)

0x0000

Slave address (1 ­ 247)

0x0001

Modbus mode (0 = RTU, 1 = ASCII)

Serial communication speed (1200,

0x0002

2400, 4800, 9600, 19200, 38400,

Serial communication parity (0 = none, 2

0x0003

= even, 3 = odd) (see special note in section 9.5.4. Serial Communication

Parity regarding stop bits when set to 0)

Modbus Holding Registers

© 2023 Aquaread Ltd.

www.aquaread.com

Page 72 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

9.5.1. Input Registers
The input registers provide a way to read the probe measurements and are summarised in the table below.

Register Number
1 2 3 4 5 6
7
8
9
10
11
12
13
14
15

Register Address (used in Modbus Description
commands)

Probe Models for which Register Exists

0x0000

Barometric pressure (mbar)

All

0x0001

Temperature (°C × 100)

All

AP-100, AP-400, AP-500, AP-600,

0x0002

pH × 100

AP-700, AP-800, AP-900, AP-1000, AP-2000, AP-5000, AP-6000, AP-7000,

AP-Pro

0x0003

Oxidation/reduction potential (mV × 10)

AP-700, AP-800, AP-900, AP-1000, AP-2000, AP-5000, AP-6000, AP-7000, AP-Pro

0x0004

Turbidity (NTU × 10)

AP-200, AP-400, AP-600, AP-800*, AP-900, AP-1000

0x0005

Electrical conductivity (µS/cm) ­ upper 16 bits

AP-300, AP-500, AP-600, AP-700, AP-800, AP-900, AP-1000, AquaPlus, AP-2000, AP-5000, AP-6000, AP-7000, AP-Pro

0x0006

Electrical conductivity (µS/cm) ­ lower 16 bits

AP-300, AP-500, AP-600, AP-700, AP-800, AP-900, AP-1000, AquaPlus, AP-2000, AP-5000, AP-6000, AP-7000, AP-Pro

Electrical conductivity AP-300, AP-500, AP-600, AP-700,

0x0007

(corrected to 20°C) AP-800, AP-900, AP-1000, AquaPlus, (µS/cm) ­ upper 16 AP-2000, AP-5000, AP-6000, AP-7000,

bits

AP-Pro

Electrical conductivity AP-300, AP-500, AP-600, AP-700,

0x0008

(corrected to 20°C) AP-800, AP-900, AP-1000, AquaPlus, (µS/cm) ­ lower 16 AP-2000, AP-5000, AP-6000, AP-7000,

bits

AP-Pro

Electrical conductivity AP-300, AP-500, AP-600, AP-700,

0x0009

(corrected to 25°C) AP-800, AP-900, AP-1000, AquaPlus, (µS/cm) ­ upper 16 AP-2000, AP-5000, AP-6000, AP-7000,

bits

AP-Pro

Electrical conductivity AP-300, AP-500, AP-600, AP-700,

0x000A

(corrected to 25°C) AP-800, AP-900, AP-1000, AquaPlus, (µS/cm) ­ lower 16 AP-2000, AP-5000, AP-6000, AP-7000,

bits

AP-Pro

AP-300, AP-500, AP-600, AP-700,

0x000B

Electrical resistivity AP-800, AP-900, AP-1000, AquaPlus, (·cm) ­ upper 16 bits AP-2000, AP-5000, AP-6000, AP-7000,

AP-Pro

AP-300, AP-500, AP-600, AP-700,

0x000C

Electrical resistivity AP-800, AP-900, AP-1000, AquaPlus, (·cm) ­ lower 16 bits AP-2000, AP-5000, AP-6000, AP-7000,

AP-Pro

AP-300, AP-500, AP-600, AP-700,

0x000D

Salinity (PSU × 100)

AP-800, AP-900, AP-1000, AquaPlus, AP-2000, AP-5000, AP-6000, AP-7000,

AP-Pro

AP-300, AP-500, AP-600, AP-700,

0x000E

Total dissolved solids AP-800, AP-900, AP-1000, AquaPlus, (mg/L)­ upper 16 bits AP-2000, AP-5000, AP-6000, AP-7000,

AP-Pro

© 2023 Aquaread Ltd.

www.aquaread.com

Page 73 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

AP-300, AP-500, AP-600, AP-700,

16

0x000F

Total dissolved solids AP-800, AP-900, AP-1000, AquaPlus, (mg/L) ­ lower 16 bits AP-2000, AP-5000, AP-6000, AP-7000,

AP-Pro

AP-300, AP-500, AP-600, AP-700,

17

0x0010

Specific seawater gravity (t × 10)

AP-800, AP-900, AP-1000, AquaPlus, AP-2000, AP-5000, AP-6000, AP-7000,

AP-Pro

AP-300, AP-500, AP-600, AP-700,

18

0x0011

Dissolved oxygen (mg/L × 100)

AP-800, AP-900, AP-1000, AquaPlus, AP-2000, AP-5000, AP-6000, AP-7000,

AP-Pro

AP-300, AP-500, AP-600, AP-700,

19

0x0012

Dissolved oxygen

AP-800, AP-900, AP-1000, AquaPlus,

(% air saturation × 10) AP-2000, AP-5000, AP-6000, AP-7000,

AP-Pro

20

0x0013

Probe depth (cm)

All probes with depth sensor fitted

21

0x0014

AUX1 measurement ­ AP-800, AP-2000, AP-Lite,AP-5000, AP-

upper 16 bits

6000, AP-7000, AP-Pro

22

0x0015

AUX1 measurement ­ AP-800, AP-2000, AP-Lite, AP-5000,

lower 16 bits

AP-6000, AP-7000, AP-Pro

23

0x0016

AUX2 measurement ­ AP-2000, AP-5000, AP-6000, AP-7000,

upper 16 bits

AP-Pro

24

0x0017

AUX2 measurement ­ AP-2000, AP-5000, AP-6000, AP-7000,

lower 16 bits

AP-Pro

25

0x0018

AUX3 measurement ­ upper 16 bits

AP-5000, AP-6000, AP-7000, AP-Pro

26

0x0019

AUX3 measurement ­ lower 16 bits

AP-5000, AP-6000, AP-7000, AP-Pro

27

0x001A

AUX4 measurement ­ upper 16 bits

AP-5000, AP-6000, AP-7000, AP-Pro

28

0x001B

AUX4 measurement ­ lower 16 bits

AP-5000, AP-6000, AP-7000, AP-Pro

29

0x001C

AUX5 measurement ­ upper 16 bits

AP-7000

30

0x001D

AUX5 measurement ­ lower 16 bits

AP-7000

31

0x001E

AUX6 measurement ­ upper 16 bits

AP-7000

32

0x001F

AUX6 measurement ­ lower 16 bits

AP-7000

33

0x0020

Ammonia concentration (mg/L x 100) ­ upper 16 bits

AP-2000, AP-5000, AP-6000, AP-7000, AP-Pro (if ammonium electrode fitted)

34

0x0021

Ammonia concentration (mg/L x 100) ­ lower 16 bits

AP-2000, AP-5000, AP-6000, AP-7000, AP-Pro (if ammonium electrode fitted)

Modbus Input Registers

  • AP-800 running software version 3.53 or below. AP-800 running software version 4.00 or above

All measurement values are two’s complement numbers. Any AUX values that are invalid will be returned as 0x80000000.

All AUX electrode measurement values are output at the measured value x 100.

Please also see section 4.6. Important notes concerning AP-6000, AP-7000 and AP-Pro self cleaning.

© 2023 Aquaread Ltd.

www.aquaread.com

Page 74 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

9.5.2. Slave Address The BlackBox stores a Modbus slave address in its EEPROM. The sensor address is a single byte value in the range 1-247. The BlackBox will only process and respond to unicast commands if the slave address in the command matches the BlackBox’s slave address.
The BlackBox’s slave address is set to 1 during production. If the BlackBox receives a command that writes to holding register 1, and the value written is in the range 1-247, the new address will replace the slave address in EEPROM and the BlackBox will only respond to subsequent unicast commands sent to that new address.
If the value written is not in the range 1-247, then the sensor address will not be changed. Note also that the slave address in the response to the command that wrote the new address will be the original slave address, not the new one.
9.5.3. Serial Communication Speed The BlackBox stores the baud rate used for Modbus communications in its EEPROM. The serial communication speed is set to 19200 during production. If the BlackBox receives a command that writes to holding register 3, and the value written is 1200, 2400, 4800, 9600, 19200, 38400 or 57600, the new speed will replace the old speed in EEPROM and the BlackBox will switch over to the new speed immediately after responding to the command.
9.5.4. Serial Communication Parity The BlackBox stores the parity type used for Modbus communications in its EEPROM. The serial parity is set to even during production. If the BlackBox receives a command that writes to holding register 4, and the value written is 0 (none), 2 (even) or 3 (odd), the new parity type will replace the old parity type in EEPROM and the BlackBox will switch over to the new parity type immediately after responding to the command.
Please note: if 0 (none) is selected, the BlackBox will transmit two stop bits in accordance with the MODBUS over Serial Line Specification. If a parity setting of ‘none’ is required but the receiving equipment can not handle two stop bits, setting holding register 4 to ‘1’ will implement an undocumented mode of no parity with one stop bit.

© 2023 Aquaread Ltd.

www.aquaread.com

Page 75 of 76

Aquaread BlackBoxTM Instruction Manual

10401-00618 Rev S

9.6. Cyclic Redundancy Check The cyclic redundancy check is calculated on the entire contents of the packet, starting with the slave address and ending with the last byte before the start of the CRC field.
The CRC field is composed of the two bytes of the CRC value, least significant byte first, most significant byte second. (Note that this is the opposite order to multi-byte values in the field of the packet.)
The algorithm for calculating the CRC is as follows:
Set crc = 0xFFFF For each message character c:
Set crc = crc XOR c Repeat 8 times:
If least significant bit of crc is 1, Shift crc right by one bit Set crc = crc XOR 0xA001
Otherwise, Shift crc right by one bit

© 2023 Aquaread Ltd.

www.aquaread.com

Page 76 of 76

Read User Manual Online (PDF format)

Loading......

Download This Manual (PDF format)

Download this manual  >>

Related Manuals