ONLY FOR USE IN OCEAN WATER

If tested in dry or fresh water conditions for comms validation, the sensor will not suffer damage, however, no pH values will be displayed

ENSURE SENSOR IS FULLY IMMERSED IN OCEAN WATER WHEN IN DEPLOYMENT

Menu

Hardware Setup
Communicating with your sensor
Understanding your sensor display
Autonomous mode instructions

Hardware Setup

The S1000 is ANB Sensors integration kit containing the electronic boards, sensors transducer and maintenance kit. When you receive your S1000, please carefully remove all packaging.

Contents

  1. Data Storage and Communication Board
  2. Sensor Control Board
  3. Sensor Head Board
  4. Smart Socket Board
  5. Ribbon (FCC) Cable
  6. Connector
  7. Sensor Transducer with o-ring Seals
  8. Maintenance Kit

Electronics mounting

The electronic boards must be mounted in a dry enclosure.

ANB Sensors supplies a carriage as part of the kit in which the electronic boards are held. Customers are welcome to use this for their integration.

Should a bespoke carriage need to be designed the key dimensions are shown for items 1 and 3.

Note: Ensure the connections between boards 1 and 2 are firmly mated, along with the connections between boards 3 and 4.  

The ribbon cable (item 5) is used to attach boards 1 and 3. When using the ribbon cable provided ensure that the blue side of the ribbon cable is mated with the black (top) side of the connector on both sides. 

Connecting the S1000 to your control systems

The electronics board is terminated using a male 4 pin Molex connector (UK RS Components 679-5864) with associated pins (UK RS Components 670-0276). A pig tailed female connector is also supplied for ease of integration.

RS232RS485If delivered after 01/01/22 or if self-installed power board
Black & RedBlackSensor ReceiveBA
RedSensor TransmitAB
Green & RedGreen0 V0 V
Red10-20 V @ approx 180 mA10-20 V @ approx 180 mA

Transducer Housing

The sensor Transducer uses a piston seal to ensure integrity between the exposed surface and the electronics boards.

The Transducer hole dimensions are:

Bore diameter of 30.33 +-0.025mm with a surface finish of 0.8Ra. 
The hole should have a minimum length of 30mm.

ANB Sensors recommends placing a backing plate behind the Transducer to assist in the mating of the electrodes to the socket board.

The socket board should be 20.5 – 21mm from the back surface of the Transducer as shown below.

ANB Sensors also suggests utilising a front plate to aid in orientation of the Transducer and helping to manage rapid decompression.

To ensure the correct orientation is achieved when mating the Transducer and the socket board, align hole “A” and hole “Q” on the same vertical plane. Hole “A” and “Q” are highlighted below.

The full Transducer design is available here:




Communicating with your sensor

Your sensor will arrive with a RS232 interface and in an user-controlled, continuous measurement mode

Set-up

Using a terminal program

  1. Launch Terminal Program (e.g. Tera Term)
  2. On Set-up menu select serial port from the drop down. In the resulting window select the correct com port
  3. Select speed = 115200, Data = 8bit, Parity = none, Stop bits = 1, flow control = none
  4. On Set-up menu select terminal
  5. New line options in resulting window should be Receive = auto and Transmit = CR, click OK
  6. Connect S1000 to power and control system

Once Set-up is complete, turn on the sensor and then will wait for commands to be entered. The sensor will beep once when turned on. It will not perform any function until it is instructed to do so.

The following will be displayed:

The sensor will accept commands typed in either upper or lower case. Backspace can be used to correct typos. All commands must be followed by the ENTER key.

If you are using a parsing script on a connected microprocessor to access the menu functions and change the parameters in the sensor you will need to write a script that issues commands mimicking accessing the menu.

In this guide commands will be shown in PINK.


MENU – displays the main functions of the sensor as shown below:

System Functions

VERSION – Display the sensor firmware revisions, Ser No. and clock

TIME – Change the date and/or time in the sensor clock

MODE – Change the sensor from controlled to autonomous mode

CONFIG – Change the communications interface format (RS232/RS485)

Measurement Functions

INTERVAL – Changes the time delay between successive measurements blocks

SCAN – Commence scanning and recording data

SLEEP – Place sensor into low power mode, wake up on terminal keystroke

SHUTDOWN – Save any current result and stops scanning

Data Functions

LIST – List all result files with the date of file creation

RESULTS – Select result file(s) for download (performs ‘LIST’ first)






VERSION

This utility displays the system firmware revisions, the system serial number and the current date and time of the internal clock calendar. The display looks like this:

Should you be in discussions with ANB Sensors regarding the operation of your device, you may be asked to refer to this command.

Back to menu






TIME

This utility command allows for the internal clock and/or calendar to be altered. After typing this command, the following is displayed.

The current time and date is set to;
07/24/21  08:34
Enter date in this format;
MM/DD/YYYY [ENTER]
To accept current date Press [ENTER]

Here you can either enter a new date, in the format specified, or simply press ENTER to accept the current date.

On pressing ENTER the current time setting is displayed.

Enter time in this (24 hour) format;
HH:MM [ENTER]
To accept current time Press ENTER

You can either enter a new time in the specified format, or simply accept the current time by pressing ENTER.

On pressing ENTER the new date and time is displayed, and the system will reset. (If the new date is different from the current results file, a new file will be opened).

Back to menu






MODE

This function allows the user to choose between modes of operation of the sensor. The menu will be displayed as shown below:

Please enter a Style number.
It MUST be 1 digit and only be the digits 1 – 2

1 115200 baud, Controlled Monitoring
2 115200 baud, Autonomous Monitoring

After selecting your style the system will reboot and show the splash screen with the newly selected mode

More details on the Autonomous Monitoring mode can be found here

Back to menu






CONFIG

This command allows you to swap between RS232 and RS485 communication protocols.

Upon typing the command, the following options are available.

—–WARNING—–

Using these commands will render your system inoperable if you do not have the selected interface equipment

 RS232 – Change interface to RS232 standard
 RS485 – Change interface to RS485 standard

Upon selecting either option, by typing RS232 or RS485 the following is displayed.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 SENSOR MUST BE POWERED DOWN FOR THIS TO TAKE EFFECT

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Whichever option is selected, the system will remain in the current state until the unit is powered down and then back up again, where it will now be in the communications protocol selected in the previous step.

Back to menu






INTERVAL

This function allows you to chose the time between measurement blocks with a minimum of 15 minutes (0:15) and a maximum of 4 hours (4:00). Should you require continuous measurements, simply type 0:00.

The following screen showing your scan interval will be displayed.

Back to menu






SCAN

This function will tell the sensor to start scanning. The sensor will then provide the output as shown here

Back to menu






SLEEP

This function places the sensor into the low power mode. The following text will be displayed after selecting this function:

The Sensor will now enter Sleep Mode.
This is a low power mode, during which there will be no scanning function.

To leave low power sleep mode, just hit any key twice on the terminal keyboard. The Sensor will reset and be ready for commands.

Back to menu






SHUTDOWN

This function will tell the sensor to stop scanning, enabling the menu options to be accessed.

Back to menu






LIST

This command will list all the text files that contain scan results.

In continuous mode:
if sensor is kept on, only one file is created
if sensor is switched off/on in the same day, only one file is created
if sensor is switched off/on on different days, a new file is created

In delayed mode:
a new file is created each day

The listing looks like this:

ANBPH001.CSV N  07/23/21
ANBPH002.CSV N  07/24/21

Here you can see that the storage system contains two files, one created on 23rd July and one created on 24th July.

The file names are numbered consecutively, the file type (.csv) indicates that the file can be opened by either a text program or a spreadsheet program as a comma delimited file.

The ‘N’ after the file name indicates that the file has not yet been downloaded.

Back to menu






RESULTS

This command allows the internally stored results file to be downloaded via the control communications into a terminal program (such as Tera term) where is can be saved to a text file on the host (controlling) system.

To use this command the procedure is as follows:

Type RESULTS and the following will be displayed (your available results files will be different)

ANBPH001.CSV N  07/23/21
ANBPH002.CSV N  07/24/21
 ***************************pH FILE DOWNLOAD**********************

Enter one of the following:

ENTER = All files (not previously downloaded)
nnn (3 digits 0 – 9) ENTER = That file (even if previously downloaded)

The results files are listed here.
Those marked with an ‘N’ are data files that have not been previously downloaded.
Those marked with an ‘S’ are data files that have been previously downloaded.

Open a receiving text file in your terminal program.
Once the terminal program is ready to receive the results file, either press the ENTER key to download any new files or select a specific file for download.

The download procedure can take some time, depending on the size of the file. Once the download is complete the following will have been displayed/downloaded.

The first line of the generated text file will contain the file number from which the data was copied. Then the results data of the selected file will be listed. Finally, there is text that indicates that the download is complete. It is at this point that the receiving text file should be closed using the command on the terminal program.

If more that one file has been selected for download, all the files will be contained in this one receiving text file.

<ELECTRODE>,<TIMESTAMP>,<PH>,<TEMP>,<HEALTH><FILE NUMBER>

ParameterDescriptionFormat
<ELECTRODE>Electrode numberUnsigned integer
<TIMESTAMP>Sample timestamp year:month:day hour:minute:second
<PH>Sample pH value (pH)Float (3 decimal places)
<TEMP>Sample temperature (K)Float (2 decimal places)
<HEALTH>Sensor health status code (0 to 9 where 0=good, 9=sensor failed)Unsigned integer
<FILE NUMBER>File numberFloat

Back to menu






Understanding your sensor display

$ANB,<CRC>,<STATUS>,<TIMESTAMP>,<PH>,<ELECTODE>,<TEMP>,<HEALTH><CR><LF>

ParameterDescriptionFormat
<CRC>ChecksumFour digit hex number
<STATUS>0
<TIMESTAMP>Sample timestamp year:month:day hour:minute:second
<PH>Sample pH value (pH)Float (3 decimal places)
<ELECTODE>Electrode numberUnsigned integer
<TEMP>Sample temperature (K)Float (3 decimal places)
<HEALTH>Sensor health status code (0 to 9 where 0=good, 9=sensor failed)Unsigned integer

Displayed pH value

The number displayed for a pH reading can contain 3 types of data:

nn.nnn

The first is of course a real decimal number, that represents the pH value of the solution being measured, it is made up of 5 digits, 3 of which are after the decimal point.

– – . – – –

The second is 5 hyphens, all displayed pH results will contain this data. This signifies that the reference electrode does not give a valid response, therefore all pH calculations will be invalid. This can happen if the sensor is not immersed, if there is no transducer on the sensor, or if the reference element has failed during deployment.

If this is shown on the screen or in the pH file data, please contact ANB Sensors.

$$.$$$

The third is 5 $, which signifies that the system has not been able to determine a valid pH response yet. This could be due to a number of reasons, the most common of which is the health number.

Health

The health colour represents the quality of data obtained from each individual sensor. Through a terminal program, the colour can be Green which means the transducer is healthy, Amber which means the transducer is ok, Red which means the transducer requires abrasion and Magenta which means the transducer needs replacing.

If integrating using your own interface/logging system, the text at the end of each line is to generate a coloured square on the monitor and operates as follows:

0x20 which is a space character to get a gap between the square and the last text character.
0x1B which is ASCII ‘escape’ which tells the terminal program that the next characters are NOT just plain text
0x5B which is this character ‘[‘ which is part of the required sequence
0x34 the simple colours all begin ’40’ so the ASCII code for ‘4’ is sent

Then the specific digit for the colour is sent:

0x31: RED (41)
or
0x32: GREEN(42)
or
0x33: AMBER(43)
or
0x35: MAGENTA(45)

Then 0x6D which is the ASCII character ‘m’ and is part of the required sequence to close the escape section

Then a space character (0x20) which comes out as a block of the selected colour (because now everything is in the selected colour)

Then return things back to normal with the following common sequence:

0x1B ASCII escape again
0x5B ASCII ‘[‘ again
0x30 ASCII ‘0’ (zero) which is ‘go back to normal’
0x6D ASCII ‘m’ closing the sequence character

So, to recognise the escape sequence start (0x1B,0x5B), and the 0x34 if required and the next character (0x31,0x32,0x33,0x35) will give you the colour (RED,GREEN,AMBER,MAGENTA)

Which can be translated as health numbers:

0x32 = Green = 1 = Good
0x33 = Amber = 2 = OK
0x31 = Red = 3 = Bad – Requires abrasion
0x35 = Magenta = 5 = Failed – Requires replacement


Please do not hesitate to contact us at support@anbsensors.com if you have any questions.