1. Set-up

THE SENSOR SHOULD NOT BE COLLECTING DATA WHEN CONNECTED TO THE DATA RETRIEVAL UNIT
  1. Install Tera Term before using the S1100 https://osdn.net/projects/ttssh2/releases/
  2. Plug the Data Retrieval Unit (DRU) into the USB port of a computer ensuring the S1100 is disconnected from the DRU
  3. The first time the DRU is plugged into the computer it is possible that the computer will need to download a driver automatically from the internet.
    • Therefore, if this is the first time the DRU is plugged in, ensure you have an internet connection
    • You can confirm that a driver is installed after plugging in the DRU, by going to ‘Control Panel’ > ‘Device Manager’ In the list under Ports (COM & LPT) will be an entry USB Serial Port (COMn) where ‘n’ will be the COM number you select in Tera Term
    • Tera Term will not be able to communicate with the sensor if a driver has not been installed
  4. Launch Tera Term
  5. On Set-up menu select serial port from the drop down. In the resulting window select the correct com port
  6. Select speed = 115200, Data = 8bit, Parity = none, Stop bits = 1, flow control = none
  7. On Set-up menu select terminal
  8. New line options in resulting window should be Receive = auto and Transmit = CR, click OK

2. Communicating with the Sensor

If in user controlled mode, a beep will sound with power on, and then sensor will wait for commands to be entered. It will not perform any function until it is instructed to do so.

If in autonomous mode, a beep will sound with power on, and then press ENTER for communication mode. The sensor will now wait for commands to be entered. It will not perform any function until it is instructed to do so.

Once the Autonomous version is in communication mode, it operates identically to the controlled version.

Once the Autonomous version begins scanning it will not respond to any input from the terminal.

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 RETURN key.

In this guide commands will be shown in red.

The Primary Menu

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


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

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

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

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

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


LIST – This command will list all the text files that contain scan results. A new file is opened when the system is powered on and the current result file was created on a previous day. i.e. The system will only create a new file once per day, however many times it is powered on and off. Each time it is powered on, and the results file was not created on the current date, a new file is created.

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. This is explained fully in the RESULTS command.


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[RETURN]

 To accept current date Press [RETURN]

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

On pressing RETURN the current time setting is displayed.

Enter time in this (24 hour) format;

 HH:MM[RETURN]

 To accept current time Press RETURN

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

On pressing RETURN 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).


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:

**********************************************

                   ANB SENSORS

  Interface Firmware Version : V8.7.12

  Driver Firmware Version      : V6.8.4

  Unit Serial Number               : 000023

  System Date and Time          : 07/24/21  08:38

 **********************************************

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


RESULTS – This command allows the internally stored results file to be downloaded via the control communications into a terminal program (such as Terraterm) 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……

RETURN = All files (not previously downloaded)

nnn (3 digits 0 – 9) RETURN = That file (even if previously downloaded)

Firstly the available files are listed, you are then given the option to download all the data files not previously downloaded, (those marked with an ‘N’) or a specific file by entering just its decimal digits even if it has been previously downloaded (marked with an ‘S’).

At this point, you should open a receiving text file in your terminal program. Once the terminal program is ready to receive the results file, either press the RETURN 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.

001,

00000512,07/23/21 09:46:27,–.—,296.50,0,00001,

00000504,07/23/21 09:46:47,–.—,296.60,3,00001,

00000508,07/23/21 09:47:08,–.—,296.60,3,00001,

00000510,07/23/21 09:47:28,–.—,296.60,3,00001,

00000502,07/23/21 09:47:48,–.—,296.60,3,00001,

00000505,07/23/21 09:48:09,–.—,296.60,3,00001,

00000507,07/23/21 09:48:29,–.—,296.60,3,00001,

00000509,07/23/21 09:48:49,–.—,296.60,3,00001,

00000503,07/23/21 09:49:10,–.—,296.60,3,00001,

00000506,07/23/21 09:49:30,–.—,296.60,3,00001,

00000511,07/23/21 09:49:50,–.—,296.60,3,00001,

00000501,07/23/21 09:50:11,–.—,296.60,3,00001,

00000512,07/23/21 09:57:49,–.—,296.50,1,00003,

 **********END OF FILE**********

The first line of the generated text file will contain the file number from which the following 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.

It could be easier and quicker on the Controlled system to simply open a receiving text file while scan is running and commit all the results to the text file as they are created. Closing the text file when scanning is completed.


CONFIG – This is a utility that should be used with caution. It allows a system that is installed into a setup that uses an RS485 communications setup to be changed to RS232 setup, were it to be removed and examined/tested in a lab where the RS232 system is more common. (Or visa versa).

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.

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