Aquaread BlackBox Instruction Manual Download Page 17

Aquaread BlackBox™ Instruction Manual

10401-00618  Rev P

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:

<a><command-data>!

where:

<a> is the BlackBox  address character  (valid values are ASCII  “0”-”9”,  “A”-”Z”,
“a”-”z” & “?”)

<command-data> 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:

<a><response-data>[<crc>]<CR><LF>

where:

<a> is the BlackBox's address character

<response-data> is a string of zero or more command dependent data characters
(values in the range 0x20-0x7E)

<crc>, when present, is a string of 3 characters encoding the cyclic redundancy
check   of   the   response   data   (1

st

  character   in   the   range   0x40-0x4F,   2

nd

  &   3

rd

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 SDI-
12 bus.

Command

Response

<a>!

<a><CR><LF>

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

?!

<a><CR><LF>

© 2019 Aquaread Ltd.

www.aquaread.com

Page 17 of 71

Summary of Contents for BlackBox

Page 1: ...BoxTM Multiparameter Water Quality Data Converter Software revision 2 00 and above Revision P Date September 10th 2019 Aquaread Ltd Bridge House Northdown Industrial Park Broadstairs Kent CT10 3JP ENGLAND Phone 44 1843 600 030 www aquaread com ...

Page 2: ...re 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 el...

Page 3: ...ATION 14 4 5 LED INDICATIONS 15 5 TROUBLESHOOTING 15 6 DECLARATION OF CONFORMITY 16 7 TECHNICAL SPECIFICATION 16 8 SDI 12 DATA COMMUNICATION PROTOCOL 17 8 1 DATA PACKET FORMATS 17 8 1 1 Acknowledge Active 17 8 1 2 Address Query 17 8 1 3 Change Address 18 8 1 4 Send Identification 18 8 1 5 Start Measurement 18 8 1 6 Additional Measurements 18 8 1 7 Start Measurement and Request CRC 19 8 1 8 Additio...

Page 4: ...d above 55 8 4 20 AP Lite 57 8 4 21 AP 5000 58 8 4 22 AP 7000 60 8 4 23 Important note concerning AP 7000 self cleaning 61 8 5 VERIFICATION COMMAND 62 8 6 CYCLIC REDUNDANCY CHECK 62 9 MODBUS COMMUNICATION PROTOCOL 63 9 1 ELECTRICAL INTERFACE 63 9 2 DATA FRAME FORMAT 63 9 3 COMMUNICATION SEQUENCE TIMING 63 9 4 DATA PACKET FORMAT 64 9 4 1 Exception Responses 64 9 4 2 Read Holding Registers 65 9 4 3 ...

Page 5: ...nterface In addition any two parameters can be chosen for output on the 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 configura...

Page 6: ...able 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 Six Ten Core Cable Core Colour Designation Function Red Power supply ve 10V 14V DC ve power supply input Black Power supply ve Power supply ground Blue RS485 SDI 12 RS485 B ...

Page 7: ...quest to the controller Once the controller has read the data the BlackBox will automatically re enter sleep mode If the BlackBox is running software revision 2 05 or below and an AP 7000 is connected a self clean command will be sent to the Probe each time it is woken up This will add a further 20 seconds to the time taken for the readings to be ready If the BlackBox is running software revision ...

Page 8: ...O line Green RS485 Must be isolated and left floating White On Off switch line ve power supply input Yellow SDI 12 Modbus Power supply ground Screen 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 on off switch line and can...

Page 9: ...ll 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 Six Core Cable Usage Core Colour Designation Connection Red Power supply ve 10V 14V DC ve power supply input Black Power supply ve Power supply ground Blue SDI 12 Controller SDI 12 I O line Green R...

Page 10: ... 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 7000 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 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 ba...

Page 11: ...ply input Screen Screen Shield Power supply or chassis ground Please refer to section 2 1 Important Information Regarding the Power Supply If the controller has a switched output to control external devices this can be connected to the white core on off switch 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 the...

Page 12: ...SDI 12 digital operation is also selected yellow core Ten Core Cable Usage Core Colour Designation Function Red Power supply ve 10V 14V DC ve power supply input see note 2 Black Power supply ve Power supply ground Blue RS485 SDI 12 RS485 B Modbus or SDI 12 I O Green RS485 RS485 A Modbus I O White On Off switch line Power control line see note 3 Yellow SDI 12 Modbus SDI 12 Modbus select line see pr...

Page 13: ...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 7000 is connected the 4 20mA loops will not be stable and valid for 60 seconds after leaving sleep mode If the BlackBox is ru...

Page 14: ...ty 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 aw...

Page 15: ...roblem is still unresolved contact our Service Department Problem Cause Remedy The BlackBox LED does not flash at all The unit may be in auto sleep mode 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 a single red flash even when the Aqua...

Page 16: ...otection 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 400g 14oz 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 L...

Page 17: ...s the BlackBox s address character response data is a string of zero or more command dependent data characters values in the range 0x20 0x7E crc 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 for...

Page 18: ...be s firmware version string e g 100 for v1 00 serial nr 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 Response a M a time nr values CR LF time is the time in seconds three digits until the measurement will be ready nr values is a single digit 0 9 specifying the number of measurements tha...

Page 19: ...single digit 0 9 specifying the number of measurements that will be returned by subsequent Send Data commands 8 1 9 Start Concurrent Measurement This command tells the Black Box to start making a measurement Command Response a C a time nr values CR LF time is the time in seconds three digits until the measurement will be ready nr values is a two digit number 01 20 specifying the number of measurem...

Page 20: ...ting which set of additional measurements is being requested time is the time in seconds three digits until the measurement will be ready nr values is a two digit number 00 20 specifying the number of measurements that will be returned by subsequent D commands 8 1 13 Start Verification This command can be used to initiate the BlackBox s self tests Command Response a V a time nr values CR LF time i...

Page 21: ... R set a values CR LF set is a digit 1 9 indicating which set of measurements is being requested values 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 values field is 75 characters 8 1 17 Continuous Measurements and Request CRC This command is used by the data recorder to retrieve measurements immediately w...

Page 22: ... 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 AP7000 Table 1 Probe Type Model Number Strings 8 4 Measurement Commands On reception of any Start Measurement Additional Measurement Start Concurrent Measurement or Addition...

Page 23: ...d 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 no...

Page 24: ...on type of electrode fitted nh3 Ammonia concentration mg L Table 2 Measurements and Units 8 4 1 AP 100 Sequence initiated with Start Measurement command Command Response a M or a MC a 0003 CR LF a D0 a baro temp ph CR LF or a baro temp ph crc CR LF Sequences initiated with Additional Measurement command Command Response a M1 up to a M9 or a MC1 up to a MC9 a 0000 CR LF Sequence initiated with Star...

Page 25: ...ontinued Sequences initiated with Continuous Measurement command Command Response a R0 or a RC0 a baro temp ph CR LF or a baro temp ph crc CR LF Command Response a R1 to a R9 or a RC1 to a RC9 a CR LF or a crc CR LF 2019 Aquaread Ltd www aquaread com Page 25 of 71 ...

Page 26: ...nce initiated with Start Concurrent Measurement command Command Response a C or a CC a 00004 CR LF a D0 a baro temp ph depth CR LF or a baro temp ph depth crc CR LF Sequences initiated with Additional Concurrent Measurement command Command Response a C1 up to a C9 or a CC1 up to a CC9 a 00000 CR LF Sequences initiated with Continuous Measurement command Command Response a R0 or a RC0 a baro temp p...

Page 27: ...e initiated with Start Concurrent Measurement command Command Response a C or a CC a 00003 CR LF a D0 a baro temp turb CR LF or a baro temp turb crc CR LF Sequences initiated with Additional Concurrent Measurement command Command Response a C1 up to a C9 or a CC1 up to a CC9 a 00000 CR LF Sequences initiated with Continuous Measurement command Command Response a R0 or a RC0 a baro temp turb CR LF ...

Page 28: ...e initiated with Start Concurrent Measurement command Command Response a C or a CC a 00004 CR LF a D0 a baro temp turb depth CR LF or a baro temp turb depth crc CR LF Sequences initiated with Additional Concurrent Measurement command Command Response a C1 up to a C9 or a CC1 up to a CC9 a 00000 CR LF Sequences initiated with Continuous Measurement command Command Response a R0 or a RC0 a baro temp...

Page 29: ...sponse a M1 or a MC1 a 0002 CR LF a D0 a do do sat CR LF or a do do sat crc CR LF Command Response a M2 up to a M9 or a MC2 up to a MC9 a 0000 CR LF Sequence initiated with Start Concurrent Measurement command Command Response a C or a CC a 00011 CR LF a D0 a baro temp cond cond20 cond25 res sal tds ssg do do sat CR LF or a baro temp cond cond20 cond25 res sal tds ssg do do sat crc CR LF Sequences...

Page 30: ...us Measurement command Command Response a R0 or a RC0 a baro temp cond cond20 cond25 res sal tds ssg do do sat CR LF or a baro temp cond cond20 cond25 res sal tds ssg do do sat crc CR LF Command Response a R1 to a R9 or a RC1 to a RC9 a CR LF or a crc CR LF 2019 Aquaread Ltd www aquaread com Page 30 of 71 ...

Page 31: ...a 0003 CR LF a D0 a do do sat depth CR LF or a do do sat depth crc CR LF Command Response a M2 up to a M9 or a MC2 up to a MC9 a 0000 CR LF Sequence initiated with Start Concurrent Measurement command Command Response a C or a CC a 00012 CR LF a D0 a baro temp cond cond20 cond25 res sal tds ssg do do sat CR LF or a baro temp cond cond20 cond25 res sal tds ssg do do sat crc CR LF a D1 a depth CR LF...

Page 32: ...and Response a R0 or a RC0 a baro temp cond cond20 cond25 res sal tds ssg do do sat CR LF or a baro temp cond cond20 cond25 res sal tds ssg do do sat crc CR LF Command Response a R1 or a RC1 a depth CR LF or a depth crc CR LF Command Response a R2 to a R9 or a RC2 to a RC9 a CR LF or a crc CR LF 2019 Aquaread Ltd www aquaread com Page 32 of 71 ...

Page 33: ... up to a MC9 a 0000 CR LF Sequence initiated with Start Concurrent Measurement command Command Response a C or a CC a 00004 CR LF a D0 a baro temp ph turb CR LF or a baro temp ph turb crc CR LF Sequences initiated with Additional Concurrent Measurement command Command Response a C1 up to a C9 or a CC1 up to a CC9 a 00000 CR LF Sequences initiated with Continuous Measurement command Command Respons...

Page 34: ...nitiated with Start Concurrent Measurement command Command Response a C or a CC a 00005 CR LF a D0 a baro temp ph turb depth CR LF or a baro temp ph turb depth crc CR LF Sequences initiated with Additional Concurrent Measurement command Command Response a C1 up to a C9 or a CC1 up to a CC9 a 00000 CR LF Sequences initiated with Continuous Measurement command Command Response a R0 or a RC0 a baro t...

Page 35: ...ith Additional Measurement command Command Response a M1 or a MC1 a 0003 CR LF a D0 a ssg do do sat CR LF or a ssg do do sat crc CR LF Command Response a M2 up to a M9 or a MC2 up to a MC9 a 0000 CR LF Sequence initiated with Start Concurrent Measurement command Command Response a C or a CC a 00012 CR LF a D0 a baro temp ph cond cond20 cond25 res sal tds ssg do CR LF or a baro temp ph cond cond20 ...

Page 36: ...R LF Sequences initiated with Continuous Measurement command Command Response a R0 or a RC0 a baro temp ph cond cond20 cond25 res sal tds ssg do CR LF or a baro temp ph cond cond20 cond25 res sal tds ssg do crc CR LF Command Response a R1 or a RC1 a do sat CR LF or a do sat crc CR LF Command Response a R2 to a R9 or a RC2 to a RC9 a CR LF or a crc CR LF 2019 Aquaread Ltd www aquaread com Page 36 o...

Page 37: ...CR LF a D0 a ssg do do sat depth CR LF or a ssg do do sat depth crc CR LF Command Response a M2 up to a M9 or a MC2 up to a MC9 a 0000 CR LF Sequence initiated with Start Concurrent Measurement command Command Response a C or a CC a 00013 CR LF a D0 a baro temp ph cond cond20 cond25 res sal tds ssg do CR LF or a baro temp ph cond cond20 cond25 res sal tds ssg do crc CR LF a D1 a do sat depth CR LF...

Page 38: ... Response a R0 or a RC0 a baro temp ph cond cond20 cond25 res sal tds ssg do CR LF or a baro temp ph cond cond20 cond25 res sal tds ssg do crc CR LF Command Response a R1 or a RC1 a do sat depth CR LF or a do sat depth crc CR LF Command Response a R2 to a R9 or a RC2 to a RC9 a CR LF or a crc CR LF 2019 Aquaread Ltd www aquaread com Page 38 of 71 ...

Page 39: ... LF a D0 a tds ssg do do sat CR LF or a tds ssg do do sat crc CR LF Command Response a M2 up to a M9 or a MC2 up to a MC9 a 0000 CR LF Sequence initiated with Start Concurrent Measurement command Command Response a C or a CC a 00013 CR LF a D0 a baro temp ph turb cond cond20 cond25 res sal tds ssg CR LF or a baro temp ph turb cond cond20 cond25 res sal tds ssg crc CR LF a D1 a do do sat CR LF or a...

Page 40: ...onse a R0 or a RC0 a baro temp ph turb cond cond20 cond25 res sal tds ssg CR LF or a baro temp ph turb cond cond20 cond25 res sal tds ssg crc CR LF Command Response a R1 or a RC1 a do do sat CR LF or a do do sat crc CR LF Command Response a R2 to a R9 or a RC2 to a RC9 a CR LF or a crc CR LF 2019 Aquaread Ltd www aquaread com Page 40 of 71 ...

Page 41: ...D0 a tds ssg do do sat depth CR LF or a tds ssg do do sat depth crc CR LF Command Response a M2 up to a M9 or a MC2 up to a MC9 a 0000 CR LF Sequence initiated with Start Concurrent Measurement command Command Response a C or a CC a 00014 CR LF a D0 a baro temp ph turb cond cond20 cond25 res sal tds ssg CR LF or a baro temp ph turb cond cond20 cond25 res sal tds ssg crc CR LF a D1 a do do sat dept...

Page 42: ...onse a R0 or a RC0 a baro temp ph turb cond cond20 cond25 res sal tds ssg CR LF or a baro temp ph turb cond cond20 cond25 res sal tds ssg crc CR LF Command Response a R1 or a RC1 a do do sat depth CR LF or a do do sat depth crc CR LF Command Response a R2 to a R9 or a RC2 to a RC9 a CR LF or a crc CR LF 2019 Aquaread Ltd www aquaread com Page 42 of 71 ...

Page 43: ... LF a D0 a tds ssg do do sat CR LF or a tds ssg do do sat crc CR LF Command Response a M2 up to a M9 or a MC2 up to a MC9 a 0000 CR LF Sequence initiated with Start Concurrent Measurement command Command Response a C or a CC a 00013 CR LF a D0 a baro temp ph orp cond cond20 cond25 res sal tds ssg CR LF or a baro temp ph orp cond cond20 cond25 res sal tds ssg crc CR LF a D1 a do do sat CR LF or a d...

Page 44: ...ponse a R0 or a RC0 a baro temp ph orp cond cond20 cond25 res sal tds ssg CR LF or a baro temp ph orp cond cond20 cond25 res sal tds ssg crc CR LF Command Response a R1 or a RC1 a do do sat CR LF or a do do sat crc CR LF Command Response a R2 to a R9 or a RC2 to a RC9 a CR LF or a crc CR LF 2019 Aquaread Ltd www aquaread com Page 44 of 71 ...

Page 45: ...D0 a tds ssg do do sat depth CR LF or a tds ssg do do sat depth crc CR LF Command Response a M2 up to a M9 or a MC2 up to a MC9 a 0000 CR LF Sequence initiated with Start Concurrent Measurement command Command Response a C or a CC a 00014 CR LF a D0 a baro temp ph orp cond cond20 cond25 res sal tds ssg CR LF or a baro temp ph orp cond cond20 cond25 res sal tds ssg crc CR LF a D1 a do do sat depth ...

Page 46: ...ponse a R0 or a RC0 a baro temp ph orp cond cond20 cond25 res sal tds ssg CR LF or a baro temp ph orp cond cond20 cond25 res sal tds ssg crc CR LF Command Response a R1 or a RC1 a do do sat depth CR LF or a do do sat depth crc CR LF Command Response a R2 to a R9 or a RC2 to a RC9 a CR LF or a crc CR LF 2019 Aquaread Ltd www aquaread com Page 46 of 71 ...

Page 47: ... MC1 a 0005 CR LF a D0 a sal tds ssg do do sat CR LF or a sal tds ssg do do sat crc CR LF Command Response a M2 up to a M9 or a MC2 up to a MC9 a 0000 CR LF Sequence initiated with Start Concurrent Measurement command Command Response a C or a CC a 00014 CR LF a D0 a baro temp ph orp turb cond cond20 cond25 res sal tds CR LF or a baro temp ph orp turb cond cond20 cond25 res sal tds crc CR LF a D1 ...

Page 48: ...sponse a R0 or a RC0 a baro temp ph orp turb cond cond20 cond25 res sal tds CR LF or a baro temp ph orp turb cond cond20 cond25 res sal tds crc CR LF Command Response a R1 or a RC1 a ssg do do sat CR LF or a ssg do do sat crc CR LF Command Response a R2 to a R9 or a RC2 to a RC9 a CR LF or a crc CR LF 2019 Aquaread Ltd www aquaread com Page 48 of 71 ...

Page 49: ...R LF a D0 a sal tds ssg do do sat CR LF or a sal tds ssg do do sat crc CR LF a D1 a depth CR LF or a depth crc CR LF Command Response a M2 up to a M9 or a MC2 up to a MC9 a 0000 CR LF Sequence initiated with Start Concurrent Measurement command Command Response a C or a CC a 00015 CR LF a D0 a baro temp ph orp turb cond cond20 cond25 res sal tds CR LF or a baro temp ph orp turb cond cond20 cond25 ...

Page 50: ...ment command Command Response a R0 or a RC0 a baro temp ph orp turb cond cond20 cond25 res sal tds CR LF or a baro temp ph orp turb cond cond20 cond25 res sal tds crc CR LF Command Response a R1 or a RC1 a ssg do do sat depth CR LF or a ssg do do sat depth crc CR LF Command Response a R2 to a R9 or a RC2 to a RC9 a CR LF or a crc CR LF 2019 Aquaread Ltd www aquaread com Page 50 of 71 ...

Page 51: ... to a M9 or a MC2 up to a MC9 a 0000 CR LF Sequence initiated with Start Concurrent Measurement command Command Response a C or a CC a 00011 CR LF a D0 a baro temp cond cond20 cond25 res sal tds ssg do do sat CR LF or a baro temp cond cond20 cond25 res sal tds ssg do do sat crc CR LF Sequences initiated with Additional Concurrent Measurement command Command Response a C1 up to a C9 or a CC1 up to ...

Page 52: ...Aquaread BlackBox Instruction Manual 10401 00618 Rev P AquaPlus Probe continued Command Response a R1 to a R9 or a RC1 to a RC9 a CR LF or a crc CR LF 2019 Aquaread Ltd www aquaread com Page 52 of 71 ...

Page 53: ... do do sat aux1 CR LF or a tds ssg do do sat aux1 crc CR LF a D1 a aux2 nh3 CR LF or a aux2 nh3 crc CR LF Command Response a M2 up to a M9 or a MC2 up to a MC9 a 0000 CR LF Sequence initiated with Start Concurrent Measurement command Command Response a C or a CC a 00016 CR LF a D0 a baro temp ph orp cond cond20 cond25 res sal tds ssg CR LF or a baro temp ph orp cond cond20 cond25 res sal tds ssg c...

Page 54: ...ssg crc CR LF Command Response a R1 or a RC1 a do do sat aux1 aux2 nh3 CR LF or a do do sat aux1 aux2 nh3 crc CR LF Command Response a R2 to a R9 or a RC2 to a RC9 a CR LF or a crc CR LF Note AP 700s running software version 4 00 and above will output in this format with invalid data in the aux1 aux2 and nh3 fields AP 800s running software version 4 00 and above will output in this format with Tur...

Page 55: ...do do sat aux1 CR LF or a tds ssg do do sat aux1 crc CR LF a D1 a aux2 nh3 depth CR LF or a aux2 nh3 depth crc CR LF Command Response a M2 up to a M9 or a MC2 up to a MC9 a 0000 CR LF Sequence initiated with Start Concurrent Measurement command Command Response a C or a CC a 00017 CR LF a D0 a baro temp ph orp cond cond20 cond25 res sal tds ssg CR LF or a baro temp ph orp cond cond20 cond25 res sa...

Page 56: ... tds ssg crc CR LF Command Response a R1 or a RC1 a do do sat aux1 aux2 nh3 depth CR LF or a do do sat aux1 aux2 nh3 depth crc CR LF Command Response a R2 to a R9 or a RC2 to a RC9 a CR LF or a crc CR LF Note AP 700s running software version 4 00 and above will output in this format with invalid data in the aux1 aux2 and nh3 fields AP 800s running software version 4 00 and above will output in thi...

Page 57: ...ence initiated with Start Concurrent Measurement command Command Response a C or a CC a 00003 CR LF a D0 a baro temp aux1 CR LF or a baro temp aux1 CR LF Sequences initiated with Additional Concurrent Measurement command Command Response a C1 up to a C9 or a CC1 up to a CC9 a 00000 CR LF Sequences initiated with Continuous Measurement command Command Response a R0 or a RC0 a baro temp aux1 CR LF o...

Page 58: ... a tds ssg do do sat aux1 crc CR LF a D1 a aux2 aux3 aux4 nh3 CR LF or a aux2 aux3 aux4 nh3 crc CR LF Command Response a M2 or a MC2 a 0001 CR LF a D0 a depth CR LF or a depth crc CR LF Command Response a M3 up to a M9 or a MC3 up to a MC9 a 0000 CR LF Sequence initiated with Start Concurrent Measurement command Command Response a C or a CC a 00019 CR LF a D0 a baro temp ph orp cond cond20 cond25 ...

Page 59: ...inuous Measurement command Command Response a R0 or a RC0 a baro temp ph orp cond cond20 cond25 res sal tds ssg CR LF or a baro temp ph orp cond cond20 cond25 res sal tds ssg crc CR LF Command Response a R1 or a RC1 a do do sat aux1 aux2 aux3 aux4 nh3 depth CR LF or a do do sat aux1 aux2 aux3 aux4 nh3 depth crc CR LF Command Response a R2 to a R9 or a RC2 to a RC9 a CR LF or a crc CR LF 2019 Aquar...

Page 60: ...do sat aux1 crc CR LF a D1 a aux2 aux3 aux4 CR LF or a aux2 aux3 aux4 crc CR LF Command Response a M2 or a MC2 a 0004 CR LF a D0 a aux5 aux6 nh3 depth CR LF or a aux5 aux6 nh3 depth crc CR LF Command Response a M3 up to a M9 or a MC3 up to a MC9 a 0000 CR LF Sequence initiated with Start Concurrent Measurement command Command Response a C or a CC a 00020 CR LF a D0 a baro temp ph orp cond cond20 c...

Page 61: ... to a R9 or a RC3 to a RC9 a CR LF or a crc CR LF 8 4 23 Important note concerning AP 7000 self cleaning The SDI 12 and MODBUS protocols do not have provision for activating the AP 7000 s self cleaning mechanism BlackBoxs running software revision 2 05 and below will automatically command a cleaning cycle to be carried out on initial power up and each time the system is woken up from sleep mode In...

Page 62: ...e 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...

Page 63: ...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 termi...

Page 64: ...cessfully 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 data field numerical values of size greater than 8 bits are transmitted most significant byte first In the crc field the CRC is transmitted least significant byte first The maximum packet size is 256 bytes Table 3 summarises the Modbus functions support...

Page 65: ... byte Slave address function code 1 byte 0x03 values size 1 byte Size in bytes of values field equal to 2 x nr registers values values size bytes 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 2 bytes CRC 9 4 3 Read Input Registers This command reads one or more Modbus input registers and h...

Page 66: ...ox 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 Content a 1 byte Slave address function code 1 byte 0x10 start address 2 bytes Base address of the block of registers to be written 0x0000 0xFFFF nr regi...

Page 67: ... 1 byte Version number indicating the format of the rest of the packet currently 0x01 data 28 bytes format version 1 Block of data containing product information crc 2 bytes CRC Format version 1 of the data block is serial nr 9 bytes The BlackBox s serial number an ASCII string fw ver 2 bytes The BlackBox s firmware version number x 100 probe model nr 6 bytes The model number of the probe attached...

Page 68: ...idity NTU 10 AP 200 AP 400 AP 600 AP 800 AP 900 AP 1000 6 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 7000 7 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 7000 8 0x0007 Electrical conductivity corrected to 20 C µS cm upper 16 bits A...

Page 69: ...P 5000 AP 7000 22 0x0015 AUX1 measurement lower 16 bits AP 800 AP 2000 AP Lite AP 5000 AP 7000 23 0x0016 AUX2 measurement upper 16 bits AP 2000 AP 5000 AP 7000 24 0x0017 AUX2 measurement lower 16 bits AP 2000 AP 5000 AP 7000 25 0x0018 AUX3 measurement upper 16 bits AP 5000 AP 7000 26 0x0019 AUX3 measurement lower 16 bits AP 5000 AP 7000 27 0x001A AUX4 measurement upper 16 bits AP 5000 AP 7000 28 0...

Page 70: ...00 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 3 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 wr...

Page 71: ...e up before sampling the data to allow the readings to stabilise In order to reduce wear on the cleaning mechanism and electrodes a maximum reading rate of once per hour is recommend BlackBoxes running software revision 3 00 and above will automatically command a cleaning cycle every six hours regardless of the mode selected For this reason power must be left applied to the BlackBox at all times a...

Reviews: