Skip to main content

Configuring Multiple Sensors

For multiple sensor set up you can create an initialisation file (*.ini) that can be modified with the required sensor settings.

The ini file should contains these settings:

baud_rate=
com_port=
cmds=
timeout=

where cmds is a semi colon seperated list of commands which are executed in order with an interval of timeout (seconds).

To run the ini file:

  1. Open the Windows Command Prompt or PowerShell.
  2. Navigate to the directory where anb_utils.exe and your .ini file are located.
  3. Enter the following command to run the utility: (e.g. in this example the .ini file is called anb.ini)
anb_utils.exe anb.ini
tip

Ensure that the COM port specified in the .ini file matches the port to which the sensor is connected.

Commands

CommandPossible Inputs
Configuration String$UTIL,01,01,01,0000,000,02,00,00,00,00,00,64CF

Where:
$UTIL,
01 = Controlled | 02 = Autonomous
01 = Always Powered | 02 = Turned off between measurements
01 = Low Salinity | 02 = High Salinity
0000 = Time before start measuring
000 = Time between measurements
01 = Profiling Mode Enabled | 02 = Profiling Mode Disabled
01 = Terminal | 02 = Modbus
00 = Reserved
00 = Reserved
00 = Reserved
Checksum
SDCARD01 = Enable internal memory
02 = Disable internal memory
The sensor's internal memory can be disabled to save power. If disabled, no data will be saved internally, requiring all data to be stored externally.
ABRADEInform the sensor that the transducer has been abraded
IMMERSION01 = Enable immersion sensor
02 = Disable immersion sensor
MB_ADDRESS00 = a two digit hex number between 0x01 and 0xFE
REBOOTReboots the sensor
STOPSave any current results and stop scanning
VERSIONDisplays the sensor firmware revisions, serial number and time
TIMEChange the date and/or time
MM/DD/YYYY;HH:MM
Use a timeout of 3s to allow for reboot

Example .ini files

baud_rate=57600
com_port=COM5
cmds=$UTIL,01,01,01,0000,000,02,00,00,00,00,00,64CF
timeout=2
baud_rate=57600
com_port=COM5
cmds=version;sdcard;01;mb_address;55;abrade;reboot
timeout=3
Other CommandsPossible Inputs
INTERFACE01 = Terminal
02 = Modbus
MODE01 = Manually Controlled
02 = Autonomous Monitoring
POWER01 = Always Powered
02 = Turned off between measurements
SALINITY01 = Low Salinity
02 = High Salinity
STARTDELAYTime before start measuring
HHMM between 0 minutes (0000) and 24 hours (2400)
INTERVALTime between measurements
MMM continuous (000), and between 10 minutes (010) and 4 hours (240)
PROFILING01 = Enable Fast Profiling
02 = Disable Fast Profiling
In profiling mode, the pH accuracy is reduced to +/- 0.1 pH unit
Admin StringA,CB,01,01,,

Where:
A,
CB = Modbus address (a two digit hex number between 0x01 and 0xFE)
01 = Immersion Sensor Enabled | 02 = Immersion Sensor Disabled
01 = SD Card Enabled | 02 = SD Card Disabled
,, = Reserved
Checksum
Scanning StringS,01,02,02,0245,180,01,,

Where:
S,
01 = Controlled | 02 = Autonomous
01 = Always Powered | 02 = Turned off between measurements
01 = Low Salinity | 02 = High Salinity
0000 = Time before start measuring
000 = Time between measurements
01 = Profiling Mode Enabled | 02 = Profiling Mode Disabled
,, = Reserved
Checksum