Download as pdf or txt
Download as pdf or txt
You are on page 1of 67

General specifications Reference Date Revision Page

DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 1/67
MODBUS RTU specifications 20230626.docx

Modbus specifications for Digital Sensors

SIGNATURES

WRITTEN BY APPROVED BY
NAME: FREDERIC RENAUD/ FB / V. ALIBERT NAME: SEVERINE VARY

REVISION HISTORY

REVISIONS DATE ACTION CHANGE IDENTIFICATION


001 15/11/2007 Issue
002 17/01/07 Calibration validation, addition on sensor detection
003 26/03/08 Addition concerning error messages and dialogues between masters and sensors
004 28/8/2008 Example of a Modbus frame
005 9/9/2008 Modification of the addressing
006 16/10/2008 Improvement of layout
007 14/11/08 Translation in English
008 9/12/2008 Addition new Modbus adresses
009 08/01/2009 Addition of pictures
010 30/01/2009 Addition of software pictures
011 08/10/2012 Addition of OPTOD calibration for gain adjustment only
016 25/06/2013 Small corrections on the frames, float format
Sensors answer to the address 255
017 17/09/2013 Correction of the Modbus adress 0x00AA to 0x0002 page 12
Adding of the frame at the address 0x004C (page 23)
018 24/06/2013 Answer of the sensors to the address 255, calibration of the annular ORP sensor and
Turbidity/Sludge blanket detection sensor.
019 06/09/2016 Addition of calibrations pH in several points
020 29/03/17 Update all the document (table of content)
021 4/4/2017 Minor correction
022 25/11/2019 Update Add StacSens Sensor
023 03/12/2019 Corrections Minor correction on StacSens Sensor addition
024 26/02/2020 Update All sensor Measure and Calibration Sequence Diagram, StacSens calibration timing
details and updates, FAQ (add StacSens specificity). Add “hyperlink” to all Modbus
Frames for calibration, Generate “Summary table” for PDF
025 25/05/2023 Update Add documentation for new automatic Measurement modes (“Measure on Start”
and “AutoMeas”), special function (integrated cleaner), Auto-cleaning setting and
behavior in full measurement sequence and LowTuS NTU calibration and
MES+NTU Fine Tuning user settings.

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 2/67
MODBUS RTU specifications 20230626.docx

Table of content
1 PREAMBLE: reference documents and tools __________________________________________ 5
1.1 Link protocol frame: MODBUS RTU ____________________________________________________ 5
1.2 Overview of the memory plane _______________________________________________________ 6
1.3 Modbus Protocol Revision (0x0CFF) ___________________________________________________ 6
1.4 Parameters in detail ________________________________________________________________ 7
1.5 Hardware configuration _____________________________________________________________ 9
1.6 Addresses ________________________________________________________________________ 9
1.7 Modbus functions used _____________________________________________________________ 9
1.8 Equipment useful for integrating the digital Sensors _____________________________________ 10
Basic kit: ______________________________________________________________________________________ 10
Software tool : _________________________________________________________________________________ 11
1.9 Modbus error messages____________________________________________________________ 13
2 Basic measurement: sequence and frame __________________________________________ 14
2.1 Basic measurement sequence diagram ________________________________________________ 14
2.2 Sampling delay ___________________________________________________________________ 14
2.3 Measurement command ___________________________________________________________ 14
Measurement command for a defined parameter ____________________________________________________ 15
Waiting the known sampling delay ________________________________________________________________ 15
Measurement collecting _________________________________________________________________________ 15
Optional Extended Measurements collecting (since protocol v3.0) _______________________________________ 15

3 Full measurement: sequence and frame____________________________________________ 17


3.1 Full measurement sequence diagram _________________________________________________ 17
3.2 Full sequence ____________________________________________________________________ 18
Initialization, collecting the sampling delay __________________________________________________________ 18
Measurement configuration ______________________________________________________________________ 18
Sending one or more external data for compensation _________________________________________________ 18
Measurement command for a defined parameter ____________________________________________________ 18
Waiting the known sampling delay ________________________________________________________________ 19
Checking the availability of a new measure __________________________________________________________ 19
Measurement collecting _________________________________________________________________________ 19
Extended Measurements collecting (since protocol v3.0)_______________________________________________ 19
Status collecting for each measurement ____________________________________________________________ 20
Status for each extended measurements parameter (since protocol v3.0) _________________________________ 20
Example: full sequence __________________________________________________________________________ 21
Example: optional collecting extend measurements results (since protocol v3.0) ___________________________ 21
Example: optional collecting extend measurements status (since protocol v3.0) ____________________________ 22
3.3 Measurement Averaging frame ______________________________________________________ 24
3.4 Restore default calibration coefficients frame __________________________________________ 24
4 Automatic Measurement: on start (MeasOnStart) / periodic (AutoMeas)_________________ 25
4.1 Automatic measurement availability _________________________________________________ 25

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 3/67
MODBUS RTU specifications 20230626.docx

4.2 Automatic measurement modes description ___________________________________________ 25


MeasOnStart __________________________________________________________________________________ 25
AutoMeas ____________________________________________________________________________________ 25
4.3 Automatic measurement modes activation ____________________________________________ 26
MeasOnStart __________________________________________________________________________________ 26
AutoMeas ____________________________________________________________________________________ 26
4.4 MeasOnstart measurement sequence diagram _________________________________________ 27
4.5 AutoMeas measurement sequence diagram ___________________________________________ 28
5 Sensors Special Functions _______________________________________________________ 28
5.1 Special functions availability ________________________________________________________ 28
5.2 Special functions description ________________________________________________________ 29
5.3 Special functions : integrated cleaning (LowTuS) ________________________________________ 29
Automatic Cleaning _____________________________________________________________________________ 29
Manual Cleaning Sequence Diagram _______________________________________________________________ 29
Cleaning Counter Reset __________________________________________________________________________ 29

6 Sensor calibration: sequence and frame ___________________________________________ 30


6.1 General comments ________________________________________________________________ 30
6.2 Modbus frames __________________________________________________________________ 30
6.3 Calibration sequence diagram for “typical” parameters __________________________________ 31
6.4 Calibration sequence diagram for parameters with “Customer value coefficients” _____________ 32
6.5 Temperature calibration: typical sequence ____________________________________________ 33
6.6 OPTOD sensor calibration __________________________________________________________ 34
OPTOD calibration in 2 points _____________________________________________________________________ 34
OPTOD calibration gain only adjustment ____________________________________________________________ 35
6.7 Nephelometric Turbidity sensor calibration : NTU sensor _________________________________ 36
Turbidity calibration in standard solution of Formazin – NTU unit ________________________________________ 36
6.8 Turbidity calibration in mg/l (Calibration by dry weight) – Step 1 -__________________________ 37
6.9 Turbidity calibration in mg/l - Step 2 - calculation of slope with dry weight value _____________ 38
6.10 Four electrodes conductivity sensor calibration – C4E __________________________________ 39
6.11 Inductive conductivity sensor calibration – CTZN ______________________________________ 40
6.12 pH/ORP sensor calibration: PHEHT sensor ___________________________________________ 41
pH calibration sequence _________________________________________________________________________ 41
ORP calibration sequence ________________________________________________________________________ 44
6.13 Annular ORP sensor calibration: EHAN sensor ________________________________________ 45
6.14 TSS sensor calibration : MES5 sensor _______________________________________________ 46
TSS calibration in g/L (Calibration by dry weight) – Step 1 - : ____________________________________________ 46
TSS calibration in g/L– Step 2 -slope calculation with dry weight value : __________________________________ 47
Turbidity calibration in FAU : _____________________________________________________________________ 48
Sludge blanket calibration _______________________________________________________________________ 49
6.15 StacSens UV Probe Clear Water calibration: UV and GREEN zeroing for SAC254 _____________ 50
6.16 StacSens UV Probe Setting COD/BOD/TOC: “customer value coefficients” _________________ 51

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 4/67
MODBUS RTU specifications 20230626.docx

6.17 LowTuS sensor: Turbidity (NTU) calibration __________________________________________ 52


Turbidity calibration in standard solution of Formazin – NTU unit ________________________________________ 52
6.18 LowTuS sensor: TSSeq Setting or turbidity Fine Tuning “customer value coefficients” ________ 53
7 Annex N°1: PONSEL Modbus frames _______________________________________________ 54
Frame for calculation of a given calibration point: 170, 180, 190, 200 _____________________________ 54
Frame for validating a calibration 210 ____________________________________________________________ 57
Frame for filling out the list of “temporary coefficients to be used for the measurement”. 230 ______________ 59

Resets all "Temporary" calibration data. And the measurements use only current coefficients: 231 __________ 60

Frame to inform the site name to calibrate : 300 ___________________________________________________ 61

Frame to call back a site or a history : 310 _________________________________________________________ 62

Frame for delayed calibration – configuration for measurement recording 320 __________________________ 63

Frame for delayed calibration – configuration for dry weight collecting 321 ______________________________ 64

8 Annex 2 – FAQ ________________________________________________________________ 65

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 5/67
MODBUS RTU specifications 20230626.docx

1 PREAMBLE: reference documents and tools


1.1 Link protocol frame: MODBUS RTU

The link protocol must correspond to MODBUS RTU.


See documents:
- Modbus memory plane for digital sensors : Digital sensor Frame_xxx.xls
--> access with http://www.ponsel.fr/cbx/s4_cat1522.htm

- The specification for the modbus-Ponsel integrator : : Specification_Modbus_Vxxx-EN.pdf


--> via http://www.ponsel.fr/cbx/s4_cat1522.htm

- Modbus_over_serial_line_V1_02.pdf
--> access with http://www.modbus.org/specs.php

- Modbus_Application_Protocol_V1_1a.pdf
--> access with http://www.modbus.org/specs.php

The Modbus memory plane is identical for each parameter of the sensors.

The Modbus protocol for the sensors allows you to measure the parameters, until 4 plus temperature, of the Sensor and to
calibrate the parameters and temperature.
Furthermore, there are certain numbers of functions such as:
- Select the averaging value
- Read the Sensor description (serial number, hardware and software versions),
- Select the measurement range, if it is available.
- Return to default coefficients
- Modify the Sensor address,
- Use of external data for compensation
- Information on measures conducted (Out Of Specification measures, measures in
progress, etc.).
- Date and name of the operator who performed the calibration,
- Log of the 10 lastest calibration data
- Call back of calibration data,
- Power supply value (available only for the lastest sensors).

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 6/67
MODBUS RTU specifications 20230626.docx

1.2 Overview of the memory plane


See Modbus memory plane for digital sensors: Digital sensor Frame_xxx.xls, in the « general information » sheet.
In this document, one Modbus address is linked to functionality with the types of variables.

Figure 1: extract of Digital sensor Frame_xxx.xls document

1.3 Modbus Protocol Revision (0x0CFF)


See Modbus memory plane for digital sensors: Digital sensor Frame_xxx.xls, in the « general information » sheet.

For the initial “Ponsel Modbus protocol” (any revisions before 3.0), the sensor return ‘0.0’ or ’32.32’ in the associated
modbus register 0x0CFF (1 Modbus register, msb :major version, lsb:minor version). Starting version 3.0, that Modbus Protocol
Revision index had been introduced to allows automatic detection of protocol new or different features. The column “Protocol”
reference in which version of the protocol the associated line functionality or data is available.

Example:
@0x0CFF (read int16 – 1 Modbus register) = 0x0301 (hex) / 0769 (dec) : protocol version 3.01
For example Protocol 3.0 implements, protocol version, extended measurements area, ...
For example Protocol 3.1 implements, User Configuration area, Special Functions, MeasOnStart, ...

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 7/67
MODBUS RTU specifications 20230626.docx

1.4 Parameters in detail


See Modbus memory plane for digital sensor: Digital sensor Frame_xxx.xls, in the « sensor » sheet.
In this document, each sensor has a dedicated sheet, OPTOD, Conductivity-C4E, etc.

Each sheet gives detailed information about:


- Sensor description,
- Default factory address,
- Serial number format,
- Parameters and unity of the sensor,
- Useful external data for compensation,
- Measurement range description,
- Measurement status description,
- Standard solutions and coefficients for calibration steps.

Figure 2: extract of OPTOD sensor sheet in Digital sensor Frame_xxx.xls document ; measurement configuration

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 8/67
MODBUS RTU specifications 20230626.docx

Figure 3: extract of OPTD sensor sheet in Digital sensor Frame_xxx.xls document; coefficients and standard

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 9/67
MODBUS RTU specifications 20230626.docx

1.5 Hardware configuration


Transmission medium: RS485 half-duplex
Bauds rate : 9600
data bits : 8
Parity and stop bit : - 2 stop bit and no parity (default factory settings)
(modified by the Modbus address 0x00BC) - 1 stop bit and even parity,
- 1 stop bit and odd parity,

IMPORTANT NOTE:
If a digital sensor is not configured 2 stop bits, it can no longer communicate with the Calsens software or an Odeon
handheld meter.

1.6 Addresses
The sensors have an address with a value between 1 and 230.
Addresses between 231 and 247 are reserved for the manufacturer.
The Modbus protocol requires that the address 0 is not used, as well as the addresses 248 to 255.

All the sensors process information when the master calls the 0 address.

IMPORTANT NOTE:
The sensors never respond when the master sends a frame to the 0 address.

All the sensors handle the information and answer when master calls up to the address ' 255 '.

IMPORTANT NOTE:
This feature must be only used with 1 only sensor connected to the network, otherwise there will be a conflict between the
various Sensors.

Each sensor has a default factory address, which is allocated by the Modbus memory plane file.

1.7 Modbus functions used


The sensors process 4 Modbus functions:
- 0x03: Reading of n consecutive output words (from 1 to 125 bytes).
- 0x06: Writing of 1 output word.
- 0x10: Writing of n output words; use this function when there are at least 2 consecutive registers.
- 0x11: Identification reading. The Sensor returns its description (Modbus address : 0x0D00).

IMPORTANT NOTE:
The Identification function is used to perform a scan on the Modbus network. This is because the Identification function
uses the shortest communication form. As such the scanning time for all the addresses is optimized.

IMPORTANT NOTE:
The "Float" corresponds to the ANSI / IEEE standard Std 754-1985 - precision (32 bits); (MSB in mind, 'big- endian')

REMARK:
Integrators have access to 10 bytes in read/write in Flash. (Send: of 0x02D2 has 0x02D6 included)

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 10/67
MODBUS RTU specifications 20230626.docx

1.8 Equipment useful for integrating the digital Sensors

Basic kit:
 Tools :
- A RS485/USB converter with 1 sensor input,
- A stabilized power supply 5V to12V DC,
- One digital probe.

 Documentations :
- The Modbus memory plane : Digital sensor Frame_xxx.xls
- This document.

IMPORTANT NOTE:
Before implementation of sensors in an already deployed measurement system (sensors network with PLC, SCADA…), the
manufacturer recommends a first communication trial with a computer as master.
The manufacturer recommends the use of 4200 DIGITAL MODULE with one or two sensors inputs as RS485/USB
converter.

Number of input PONSEL Converter reference


1 NC-FIX-C-00020
2 NC-FIX-C-00021

IMPORTANT NOTE:
SENSOR consumption in standby is between 10 and 40 µA depending on the setting of the Sensor. For more information
consult the datasheet of the sensor.
This can help ensure that the sensor is powered.

REMARK:
The most commonly occurring problem is the use of a not efficient RS485/USB converter regarding RTS signal
management. This one permits the release of the line, move to high impedance state, for the activity of the slave (sensor).

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 11/67
MODBUS RTU specifications 20230626.docx

Software tool :

The manufacturer gives access to CALSENS


software. This Windows software, installed on your
computer, will help you to check the
communication with sensors.

This software realizes real time measurements and


calibration of various parameters.

Figure 4 : view of CALSENS software

REMARK:
Don’t forget the driver installation of the converter 4200 DIGITAL MODULE. This driver is delivered with the converter
on the compact disk.

REMARK:
Please check the communication port used for the converter. See system in the configuration panel.

In order to facilitate integration of digital sensor in the system, you could see the frames generated by the computer and the
request from the sensor in a dedicated window. In that way, choose in the CALSENS menu, Tools/Commands log.

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 12/67
MODBUS RTU specifications 20230626.docx

Example:

In the figure below, in the red square, you could see the frames of the description of a conductivity sensor during a scan of
the network.

Figure 5: extract of CALSENS software ; Commands log

This specification explains a Calibrations, Measures, ... as short as possible.


Calsens is more complete because it displays additional informations, more advanced. (more modbus frame)

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 13/67
MODBUS RTU specifications 20230626.docx

1.9 Modbus error messages


For the error codes, used:

o When the sensor returns the error code “FF”. There is a communication problem.

o When the sensor returns the error code “01”. The function code is not recognized by the Sensor.

o When the sensor returns the error code “02”. The address is not valid.

o When the sensor returns the error code “03”. The data format is incorrect.

o When the sensor returns the error code "04". The sensor is in failure mode (supply voltage too low, ...)

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 14/67
MODBUS RTU specifications 20230626.docx

2 Basic measurement: sequence and frame

2.1 Basic measurement sequence diagram

2.2 Sampling delay


This is the time between measurement command and new data availability

For a defined sensor, this delay does not change. In a general point of view, this delay is less than 2 seconds (except for UV
probe).

At Initialization step, you should request the sampling delay to obtain all the measures (value in ms):
@ 0x00A4
In the file “Digital sensor Frame_xxx.xls”

0x00A4 Flash r Approx Time needed to obtain all measurements int 1 in ms

IMPORTANT NOTE:
- Delay value for each sensor: this delay have to be read for each connected sensor (it may change depending of the
sensor firmware version for example)
- Mute sensors during measurement: some sensors (such as UV Probe) are mute in Modbus during measurement for a
duration equal to “Sampling delay (ms)” (starting just after the reception of “Measurement Command”)
- Polling Status Register during measurement: it’s strongly advised to wait for “Sampling Delay” before trying to read
the measurement flag or measurement results in the Sensor to avoid measurement jamming.

2.3 Measurement command


To obtain a measure from the sensor, the master must realized a sequence of communication.

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 15/67
MODBUS RTU specifications 20230626.docx

Measurement command for a defined parameter


In the file “Digital sensor Frame_xxx.xls” : @ 0x0001
Order to run a given measurement
0x0001 w (measurements can be run simultaneously) int 1
MT: 1: runs temperature measurement
M1: 1: runs parameter 1 measurement
M2: 1: runs parameter 2 measurement
M3: 1: runs parameter 3 measurement
M4: 1: runs parameter 4 measurement

Waiting the known sampling delay

The master must wait a minimum delay to obtain a measure. This delay is the value at @ 0x00A4 address.
This delay is the necessary time for the sensor to realize the measurements (some sensors cannot answer in Modbus
during this time).

Measurement collecting

In the file “Digital sensor Frame_xxx.xls” : @ from 0x0053 to 0x005B


0x0053 RAM r Temperature measurement float 2
0x0055 RAM r Parameter 1 measurement float 2
0x0057 RAM r Parameter 2 measurement float 2
0x0059 RAM r Parameter 3 measurement float 2
0x005B RAM r Parameter 4 measurement float 2

Optional Extended Measurements collecting (since protocol v3.0)

In the file “Digital sensor Frame_xxx.xls” : @ from 0x007F to 0x009D (depending which sensor)
Units associated with the extended measurements are only available in the specific sensors description tab of Digital sensor
Frame_xxx.xls” but not within the Modbus memory of the sensor.

0x007F RAM r Extended Measurement 1 float 2


0x0081 RAM r Extended Measurement 2 float 2
0x0083 RAM r Extended Measurement 3 float 2
0x0085 RAM r Extended Measurement 4 float 2
0x0087 RAM r Extended Measurement 5 float 2
0x0089 RAM r Extended Measurement 6 float 2
0x008B RAM r Extended Measurement 7 float 2
0x008D RAM r Extended Measurement 8 float 2
0x008F RAM r Extended Measurement 9 float 2
0x0091 RAM r Extended Measurement 10 float 2
0x0093 RAM r Extended Measurement 11 float 2
0x0095 RAM r Extended Measurement 12 float 2
0x0097 RAM r Extended Measurement 13 float 2
0x0099 RAM r Extended Measurement 14 float 2
0x009B RAM r Extended Measurement 15 float 2
0x009D RAM r Extended Measurement 16 float 2

Example:

In this case, the master collects the delay value, 500ms (0x01F4)
It sends the order for 5 measures (0x001F)
It waits the necessary delay: 10:58:39:550 - 10:58:38:970 = 580ms.

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 16/67
MODBUS RTU specifications 20230626.docx

It collects the five measures:


(0x41A9C710-0x41034BE8-0x00000000-0xC2826508-0x00000000)
Temperature: 21.22°C
Parameter #1: 8.206
Parameter #2: 0.00
Parameter #3: -65.197
Parameter #4: 0.00

Initialization
10:30:22:630 – frame sent : (8 octets) : 0x04-0x03-0x00-0xA4-0x00-0x01-0xC5-0xBC
10:30:22:670 – received frame : (7 octets) : 0x04-0x03-0x02-0x01-0xF4-0x74-0x53

Command for 5 measures


10:58:38:930 - frame sent : (11 octets) : 0x04-0x10-0x00-0x01-0x00-0x01-0x02-0x00-0x1F-0xD9-0x19
10:58:38:970 - received frame : (8 octets) : 0x04-0x10-0x00-0x01-0x00-0x01-0x50-0x5C

Measurement collecting (5 parameters) :


10:58:39:550 - frame sent : (8 octets) : 0x04-0x03-0x00-0x53-0x00-0x0A-0x35-0x89
10:58:39:600 - received frame : (25 octets) : 0x04-0x03-0x14-0x41-0xA9-0xC7-0x10-0x41-0x03-0x4B-0xE8-0x00-
0x00-0x00-0x00-0xC2-0x82-0x65-0x08-0x00-0x00-0x00-0x00-0xCC-0xA8

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 17/67
MODBUS RTU specifications 20230626.docx

3 Full measurement: sequence and frame


3.1 Full measurement sequence diagram

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 18/67
MODBUS RTU specifications 20230626.docx

3.2 Full sequence

Initialization, collecting the sampling delay

IMPORTANT NOTE:
- Delay value for each sensor: this delay have to be read for each connected sensor (it may change depending of the
sensor firmware version for example)
- Mute sensors during measurement: some sensors (such as UV Probe) are mute in Modbus during measurement for a
duration equal to “Sampling delay (ms)” (starting just after the reception of “Measurement Command”)
- Polling Status Register during measurement: it’s strongly advised to wait for “Sampling Delay” before trying to read
the measurement flag or measurement results in the Sensor to avoid measurement jamming.

In the file “Digital sensor Frame_xxx.xls” @ 0x00A4


0x00A4 Flash r Approx Time needed to obtain all measurements int 1 in ms

Measurement configuration

Using the registers of configuration, you can modify the measurement range and activate external values for compensation.

In the file “Digital sensor Frame_xxx.xls” : @ from 0x00A5 to 0x00A9

In this case, for the master the sequence is the following??

Sending one or more external data for compensation

Write the compensation value in the suitable location.


This feature is only useful if the measure must be compensated with a external data.

In the file “Digital sensor Frame_xxx.xls” : @ from 0x005D to 0x0061


Default
0x005D RAM r/w Compensates Temperature returned by Master float 2 Val: 25°C
0x005F RAM r/w Compensates 1 returned by Master (external parameter for calculation of compensation) float 2
0x0061 RAM r/w Compensates 2 returned by Master (external parameter for calculation of compensation) float 2

IMPORTANT NOTE:
For activating this feature, you must make a suitable measurement configuration.
The compensation values and configuration are not memorized when the Sensor is powered down long enough.

Measurement command for a defined parameter


In the file “Digital sensor Frame_xxx.xls” : @ 0x0001
Order to run a given measurement
0x0001 w (measurements can be run simultaneously) int 1
MT: 1: runs temperature measurement
M1: 1: runs parameter 1 measurement
M2: 1: runs parameter 2 measurement

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 19/67
MODBUS RTU specifications 20230626.docx

M3: 1: runs parameter 3 measurement


M4: 1: runs parameter 4 measurement

Waiting the known sampling delay

The master must wait a minimum delay to obtain a measure. This delay is the value at @ 0x00A4 address. This delay
is the necessary time for the sensor to realize the measurements.

IMPORTANT NOTE:
To avoid any risk of measurement perturbation, the manufacturer suggests to limit commands to sensors during the
sampling delay. Some Sensor such as the UV Probe are not capable of answering in Modbus during this delay.

Checking the availability of a new measure

By reading the status, you know the current state of the measurement.
- Measurement running,
- New Measure ready
- Measurement with info 1, 2, 3 or 4.
- Measurement out of range, etc.

IMPORTANT NOTE:
For some sensors like the StacSens UV Probe, “Measure Availability” can only be checked after waiting at least the
“Sampling Delay (ms)” since the last “Measurement command”.

In the file “Digital sensor Frame_xxx.xls” : @ 0x0052


Measurement
status
0x0052 RAM r (Generic) int 1 StmTemp Stm4: Stm3: Stm2:
StmX: 000: Measurement OK
001: Measurement OK, but out of specifications
010: Measurement OK with INFO 1
011: Measurement OK with INFO 2
100: Measurement impossible, out of specifications
101: Measurement impossible with INFO 3
110: Measurement impossible with INFO 4
111: measurement under way (not yet available)
1: if at least one coefficient uses a temporary calibration standard (configuration
StmTemp during calibration)

Measurement collecting

In the file “Digital sensor Frame_xxx.xls” : @ from 0x0053 to 0x005B


0x0053 RAM r Temperature measurement float 2
0x0055 RAM r Parameter 1 measurement float 2
0x0057 RAM r Parameter 2 measurement float 2
0x0059 RAM r Parameter 3 measurement float 2
0x005B RAM r Parameter 4 measurement float 2

Extended Measurements collecting (since protocol v3.0)

In the file “Digital sensor Frame_xxx.xls” : @ from 0x007F to 0x009D (depending which sensor)
0x007F RAM r Extended Measurement 1 float 2

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 20/67
MODBUS RTU specifications 20230626.docx

0x0081 RAM r Extended Measurement 2 float 2


0x0083 RAM r Extended Measurement 3 float 2
0x0085 RAM r Extended Measurement 4 float 2
0x0087 RAM r Extended Measurement 5 float 2
0x0089 RAM r Extended Measurement 6 float 2
0x008B RAM r Extended Measurement 7 float 2
0x008D RAM r Extended Measurement 8 float 2
0x008F RAM r Extended Measurement 9 float 2
0x0091 RAM r Extended Measurement 10 float 2
0x0093 RAM r Extended Measurement 11 float 2
0x0095 RAM r Extended Measurement 12 float 2
0x0097 RAM r Extended Measurement 13 float 2
0x0099 RAM r Extended Measurement 14 float 2
0x009B RAM r Extended Measurement 15 float 2
0x009D RAM r Extended Measurement 16 float 2

Status collecting for each measurement

The status gives information about measurement (current range, calibration coefficients used).

In the file “Digital sensor Frame_xxx.xls” : @ from 0x0064 to 0x0068


Temperature measurement
0x0064 RAM r status int 1
Parameter 1 measurement
0x0065 RAM r status int 1 Stm: See StmX
Parameter 2 measurement 1: if at least one parameter coefficient uses a temporary
0x0066 RAM r status int 1 StmTemp: calibration standard (configuration during calibration)
Parameter 3 measurement
0x0067 RAM r status int 1 StmHF: 1: if at least one parameter coefficient is outside calibration limits
Parameter 4 measurement
0x0068 RAM r status int 1 StmCU: 1: if all parameter coefficients use default coefficient
StmHIST: 1: if all parameter coefficients use history coefficient

Status for each extended measurements parameter (since protocol v3.0)

The status gives information about measurement the same as StmX definition (see 0x0052 table in the previous page).
The extended status contains no information about range and coefficients used.
In the file “Digital sensor Frame_xxx.xls” : @ from 0x006F to 0x007E (depending which sensor)
0x006F RAM r Status of extended Measurement 1 int 1
0x0070 RAM r Status of extended Measurement 2 int 1
0x0071 RAM r Status of extended Measurement 3 int 1
0x0072 RAM r Status of extended Measurement 4 int 1
0x0073 RAM r Status of extended Measurement 5 int 1
0x0074 RAM r Status of extended Measurement 6 int 1
0x0075 RAM r Status of extended Measurement 7 int 1
0x0076 RAM r Status of extended Measurement 8 int 1
0x0077 RAM r Status of extended Measurement 9 int 1
0x0078 RAM r Status of extended Measurement 10 int 1
0x0079 RAM r Status of extended Measurement 11 int 1
0x007A RAM r Status of extended Measurement 12 int 1
0x007B RAM r Status of extended Measurement 13 int 1
0x007C RAM r Status of extended Measurement 14 int 1
0x007D RAM r Status of extended Measurement 15 int 1
0x007E RAM r Status of extended Measurement 16 int 1

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 21/67
MODBUS RTU specifications 20230626.docx

Example: full sequence

In this case, the master collects the delay value, 500ms (0x01F4)

It configures five measures:


* temperature measurement : 0x0000 - default value => no external compensation for this measure.
* parameter 1 : 0x0210 - range 2 activated => temperature compensation activated for this measure.
* parameter 2 : 0x0200 - range 2 activated => no external compensation for this measure.
* parameter 3 : 0x0000 - default value => no external compensation for this measure.
* parameter 4 : 0x0000 - default value => no external compensation for this measure.

It transmits the temperature value from external device: 22.5°C (0x41B40000)

It sends the order for 5 measures (0x001F)

It waits the necessary delay: 12:19:55:360 - 12:19:55:930 = 570ms.

It checks that the measurement is done (new value ready): 0x0209


* temperature status: 0b001 - measurement ready but out of range.
* parameter 1status : 0b001 - measurement ready but out of range.
* parameter 2status : 0b000 - measurement ready and OK.
* parameter 3 status : 0b001 - measurement ready but out of range.
* parameter 4 status : 0b000 - measurement ready and OK.

It collects the five measures:


0x41C28650-0x4083475F-0x80000000-0x432D73EA- 0x00000000

Temperature : 24.32°C
Parameter #1 : 4.102
Parameter #2 : 0.00
Parameter #3 : 173.45
Parameter #4 : 0.00

It collects the status of each measurement:


0x0001-0x0221-0x0200-0x0201-0x0000
* temperature status: 0b001 - measurement OK but out of range.
* parameter 1status : 0x0221- measurement OK but out of range ; all calibration coefficients used are from factory
calibration ; range 2 activated
* parameter 2 status : 0x0200- measurement OK; range 2 activated
* parameter 3 status : 0x0201- measurement OK but out of range ; range 2 activated
* parameter 4 status: 0x0000- measurement OK.

Example: optional collecting extend measurements results (since protocol v3.0)

Master to slave (@Modbus 7) : requiring to read 16 floats (32 Modbus registers) at address 0x7F (beginning of extended
measurements results)
0x07-0x03-0x00-0x7F-0x00-0x20-0x75-0xAC

Slave answer: 0x07-0x03-0x40-0x41-0xC2-0x08-0xAD-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-


0x00-0x00-0x00-0x00-0x00-0x3E-0x68-0x56-0x44-0x3E-0x82-0xD8-0xB5-0x42-0x4C-0x72-0x9B-0x3F-0x17-0xD3-
0xA8-0x3F-0x0E-0x20-0xD4-0x46-0x1C-0x38-0x00-0x46-0x1C-0x38-0x00-0x46-0x1C-0x38-0x00-0x46-0x1C-0x38-
0x00-0x41-0xB4-0x00-0x00-0x41-0xBA-0x00-0x00-0x0A-0x6A

Extended measurement 1 result: 24.25424


Extended measurement 2 result: 0
Extended measurement 3 result: 0
Extended measurement 4 result: 0
Extended measurement 5 result: 0
Extended measurement 6 result: 0.22689

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 22/67
MODBUS RTU specifications 20230626.docx

Extended measurement 7 result: 0.25556


Extended measurement 8 result: 51.11192
Extended measurement 9 result: 0.59307
Extended measurement 10 result: 0.55519
Extended measurement 11 result: 9998 (not significant, measurement not used on this sensor)
Extended measurement 12 result: 9998 (not significant, measurement not used on this sensor)
Extended measurement 13 result: 9998 (not significant, measurement not used on this sensor)
Extended measurement 14 result: 9998 (not significant, measurement not used on this sensor)
Extended measurement 15 result: 22.5
Extended measurement 16 result: 23.25

Example: optional collecting extend measurements status (since protocol v3.0)

Master to slave (@Modbus 7): requiring to read 16 Int (16 Modbus registers) at address 0x7F (beginning of extended
measurements results)
0x07-0x03-0x00-0x6F-0x00-0x10-0x74-0x7D

Slave answer: 0x07-0x03-0x20-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-


0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x7C-0x7A

Extended measurement 1 to 16 all status are 0x00 (Measure OK).

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 23/67
MODBUS RTU specifications 20230626.docx

Initialization, sampling delay


12:19:55:139 - frame sent : (8 octets) : 0x04-0x03-0x00-0xA4-0x00-0x01-0xC5-0xBC
12:19:55:160 - received frame : (7 octets) : 0x04-0x03-0x02-0x01-0xF4-0x74-0x53

Initialization, measurement configuration

12:19:55:180 - frame sent : (19 octets) : 0x04-0x10-0x00-0xA5-0x00-0x05-0x0A-0x00-0x00-0x02-0x10-0x02-0x00-0x00-


0x00-0x00-0x00-0x26-0xF6
12:19:55:230 - received frame : (8 octets) : 0x04-0x10-0x00-0xA5-0x00-0x05-0x10-0x7C

Temperature compensation, use of external value :


12:19:55:250 - frame sent : (13 octets) : 0x04-0x10-0x00-0x5D-0x00-0x02-0x04-0x41-0xB4-0x00-0x00-0x72-0xDC
12:19:55:290 - received frame : (8 octets) : 0x04-0x10-0x00-0x5D-0x00-0x02-0xD0-0x4F

Command for 5 measures


12:19:55:310 - frame sent : (11 octets) : 0x04-0x10-0x00-0x01-0x00-0x01-0x02-0x00-0x1F-0xD9-0x19
12:19:55:360 - received frame : (8 octets) : 0x04-0x10-0x00-0x01-0x00-0x01-0x50-0x5C

Status collecting basic measurements :


12:19:55:930 - frame sent : (8 octets) : 0x04-0x03-0x00-0x52-0x00-0x01-0x25-0x8E
12:19:55:960 - received frame : (7 octets) : 0x04-0x03-0x02-0x02-0x09-0xB5-0x22

Measurement collecting (5 parameters) :


12:19:55:980 - frame sent : (8 octets) : 0x04-0x03-0x00-0x53-0x00-0x0A-0x35-0x89
12:19:56:040 - received frame : (25 octets) : 0x04-0x03-0x14-0x41-0xC2-0x86-0x50-0x40-0x83-0x47-0x5F-0x80-0x00-0x00-
0x00-0x43-0x2D-0x73-0xEA-0x00-0x00-0x00-0x00-0x17-0xCB

Full status collecting :


12:19:56:060 - frame sent : (8 octets) : 0x04-0x03-0x00-0x64-0x00-0x05-0xC4-0x43
12:19:56:110 - received frame : (15 octets) : 0x04-0x03-0x0A-0x00-0x01-0x02-0x21-0x02-0x00-0x02-0x01-0x00-0x00-0xC4-
0x62

Extended measurements collecting (16 parameters in this example, see sensors specification to have the exact number) :
12:19:56:120 - frame sent : (8 octets) : 0x07-0x03-0x00-0x7F-0x00-0x20-0x75-0xAC
12:19:56:220 - received frame : (69 octets) : 0x07-0x03-0x40-0x41-0xC2-0x08-0xAD-0x00-0x00-0x00-0x00-0x00-0x00-0x00-
0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x3E-0x68-0x56-0x44-0x3E-0x82-0xD8-0xB5-0x42-0x4C-0x72-0x9B-0x3F-
0x17-0xD3-0xA8-0x3F-0x0E-0x20-0xD4-0x46-0x1C-0x38-0x00-0x46-0x1C-0x38-0x00-0x46-0x1C-0x38-0x00-0x46-0x1C-
0x38-0x00-0x41-0xB4-0x00-0x00-0x41-0xBA-0x00-0x00-0x0A-0x6A

Extended measurements status collecting (16 status in this example, see sensors specification to have the exact number) :
12:19:56:320 - frame sent : (8 octets) : 0x07-0x03-0x00-0x6F-0x00-0x10-0x74-0x7D
12:19:56:390 - received frame : (37 octets) : 0x07-0x03-0x20-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-
0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x00-0x7C-
0x7A

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 24/67
MODBUS RTU specifications 20230626.docx

3.3 Measurement Averaging frame


REMARK:
No averaging for Temperature parameter. Averaging value is applied to parameters 1 to 4.
Averaging value is in the range 1 to 50.
When the master changes the averaging value, the sensor initializes all the data in the averaging table. But, in contrast,
when power supply is shutting down, the sensor saves data in order to process averaging.

In the file “Digital sensor Frame_xxx.xls” : @ from 0x00AA

0x00AA Flash r/w Averaging value for all parameters except temperature. int 1

Example:
The master modifies the averaging value to 10. (0x000A)

10:38:17:860 – frame sent : (11 octets) : 0x04-0x10-0x00-0xAA-0x00-0x01-0x02-0x00-0x0A-0x01-0x0D


10:38:17:900 – received frame : (8 octets) : 0x04-0x10-0x00-0xAA-0x00-0x01-0x21-0xBC

3.4 Restore default calibration coefficients frame

In the file “Digital sensor Frame_xxx.xls” : @ from 0x0002

0x0002 w Restore default coefficients int 1

This feature permits to come back to default calibration coefficients i.e. factory calibration coefficients. It could be useful
when an error has been done during calibration process.

Example:
The master restores default coefficients for parameter #1 only. (0x0002)

11:09:08:520 – frame sent : (11 octets) : 0x04-0x10-0x00-0x02-0x00-0x01-0x02-0x00-0x02-0x19-0x23


11:09:08:570 – received frame: (8 octets) : 0x04-0x10-0x00-0x02-0x00-0x01-0xA0-0x5C

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 25/67
MODBUS RTU specifications 20230626.docx

4 Automatic Measurement: on start (MeasOnStart) / periodic (AutoMeas)

4.1 Automatic measurement availability


IMPORTANT NOTE:
Not all sensors implements MeasOnStart (1 measure automatically at each power up) or AutoMeas (periodic
measurement): it depend which sensors and which firmware version (first deployment on some products expected
between mid 2023 and late 2023). Only newer products (on the market after mid-2023) can benefits from full Auto
Measurement (automatic periodic measurement feature).

The availability of those feature and the associated minimum firmware version is specified in each sensor tab in Digital
sensor Frame_xxx.xls for English and POD_TramesCom_vX_X_X.xls for French.

The available settings are also documented in the sensor specific tab:
(Protocol v3.1+) User Configurations : variable in flash @0x1040 to @0x104E Type / Size
User Configuration 1 General Sensor Configuration (1 measure on start, ...) (bit by bit) Int
User Configuration 2 AutoMeas : automatic periodic measurement period (in second) Int

If your sensor firmware doesn’t support MeasOnStart a firmware update at factory may be possible if its firmware is not
too old (otherwise it would also require a full factory calibration). A firmware update outside factory is not possible and
would most likely result in the device becoming silent.

4.2 Automatic measurement modes description

MeasOnStart
Measure on Start provides the capability for sensors to perform automatically 1 measurement after power-up while
keeping full compatibility with existing Ponsel protocol. In this mode instead of being in a very low power deep sleep state
(between 10 and 50 uA) sensor will remain in an idle mid power state (a few mA). This ensures a quick and safe
shutdown to trigger the next measurement by power cycling the sensor (instead of sending a Modbus request).

This mode is especially suitable for use with low power IoT devices (such as Lora loggers) which turn on sensor, wait for
boot, read measurement result, turn off sensor and send data.

IMPORTANT NOTE:
When this mode is activated SD12 may not work.

AutoMeas
Automatic Measurement provides the capability for sensors to perform automatically periodic measurements after
power-up while keeping full compatibility with existing Ponsel protocol and using very low power deep sleep state
between measurements. This feature allows the master to read only results without power cycling the sensor or triggering
measurement with the usual Modbus Request.

This mode will need to be disabled when performing a standard Ponsel calibration process.

IMPORTANT NOTE:
Some masters may need to disable this mode to perform calibration (use an up to date Calsens for example).

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 26/67
MODBUS RTU specifications 20230626.docx

4.3 Automatic measurement modes activation


IMPORTANT NOTE:
Unless specified during at the beginning of the order process sensor are delivered with all automatic measurements
modes disabled to ensure full compatibility with existing tools and devices. Users can activate those modes by writing the
proper value in the appropriated configuration register, those new configurations will remain after sensor shutdown.

MeasOnStart
MeasOnStart is activated by writing ‘1’ in the proper bit of User Config 1 modbus register :

In the file “Digital sensor Frame_xxx.xls”: UserConfig1 @ 0x1040 (1 Modbus register, 16 bits, bit by bit
configuration)

v3.1+ 4160 0x1040 Flash r/w User Configuration n°1 int 1

(not (not (not (not (not (not (not (not (not (not (not (not (not (not
used) used) used) used) used) used) used) used) used) used) used) used) used) used) NotLowPw MeasOnStart
General Sensor Configuration :
'0' no single shoot automatic measurement at sensor power up (standard
MeasOnStart: mode)
'1' single shoot automatic measurement at sensor power up (1 measure)
NotLowPw: '0' standard low power mode (optimized)
'1' not low power mode (optimized measure / precision / visible
LEDs/…)

- UserConfig1 = 0 (0x0000 default): NotLwPower disable, MeasOnSart disable,

- UserConfig1 = 1 (0x0001): NotLwPower disable, MeasOnSart enable,

- UserConfig1 = 2 (0x0002): NotLwPower enable, MeasOnSart disable,

- UserConfig1 = 3 (0x0003): NotLwPower enable, MeasOnSart enable,

IMPORTANT NOTE:
By default all sensors are in Low Power mode (NotLwPower = disabled) to get the lowest possible energy
consumption. NotLwPower mode is a specific mode for some equipment such as LowTuS which allows features such as
improved visual feedback (increased brightness of status LED) or improved measurement (refer to device Manual). Most
sensors don’t offer the less power efficient NotLwPower mode.

Example:
UserConfig1 = 0: deactivating MeasOnStart on C4E (Modbus Address: 20 – 0x14) NotLwPower disabled (not used in C4E)
18:24:14:030 - Frame sent : (11 bytes) : 0x14-0x10-0x10-0x40-0x00-0x01-0x02-0x00-0x00-0x4B-0xC1
18:24:14:070 – received Frame : (8 bytes) : 0x14-0x10-0x10-0x40-0x00-0x01-0x06-0x18

Example:
UserConfig1 = 1: enabling MeasOnStart on C4E (Modbus Address: 20) NotLwPower disabled (not used in C4E)
18:21:27:880 - Frame sent : (11 bytes) : 0x14-0x10-0x10-0x40-0x00-0x01-0x02-0x00-0x01-0x8A-0x01
18:21:27:920 - received Frame : (8 bytes) : 0x14-0x10-0x10-0x40-0x00-0x01-0x06-0x18

AutoMeas
AutoMeas (automatic periodic measurement) is activated by writing a non ‘0’ value for measurement period in the User
Config 2 modbus register. The period is set in ‘s’ from ‘0’ to ‘3600’, if the period is too short for the sensor, the sensor will
measure as often as possible.

In the file “Digital sensor Frame_xxx.xls” : UserConfig2 @ 0x1041 (1 Modbus register, 16 bits, unsigned int)
v3.1+ 4161 0x1041 Flash r/w User Configuration n°2 int 1
Automatic measurement period in seccond between 0 and 3600s (0 : no automatic periodic measurement, use standard measurement trigger by writting the
appropriate value in register 0x0001 each time a new measurement is required)

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 27/67
MODBUS RTU specifications 20230626.docx

- UserConfig2 = 0 (0x0000 default): automatic periodic measurement disable, standard mode

- UserConfig2 = 1..3600 (second): automatic periodic measurement enabled with the configured period in second.

Example:
UserConfig2 = 0: deactivating AutoMeas on LowTuS (Modbus Address: 80 – 0x50)
18:15:49:020 - Frame sent : (11 bytes) : 0x50-0x10-0x10-0x41-0x00-0x01-0x02-0x00-0x00-0x49-0x13
18:15:49:050 - received Frame : (8 bytes) : 0x50-0x10-0x10-0x41-0x00-0x01-0x58-0x9C

Example:
UserConfig2 = 60 (s): activating AutoMeas every minute (60s) on LowTuS (Modbus Address: 80 – 0x50)

18:11:56:520 - Frame sent : (11 bytes) : 0x50-0x10-0x10-0x41-0x00-0x01-0x02-0x00-0x3C-0x49-0x02


18:11:56:560 - received Frame : (8 bytes) : 0x50-0x10-0x10-0x41-0x00-0x01-0x58-0x9C

4.4 MeasOnstart measurement sequence diagram

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 28/67
MODBUS RTU specifications 20230626.docx

4.5 AutoMeas measurement sequence diagram

5 Sensors Special Functions

5.1 Special functions availability


IMPORTANT NOTE:
Not all sensors have Special Function (defined by type of sensor and firmware version): only newer products (on the
market after mid-2023) will benefit from some Special Functions such as manual triggering of the integrated cleaner.

The availability of those feature and the associated minimum firmware version is specified in each sensor tab in Digital
sensor Frame_xxx.xls for English and POD_TramesCom_vX_X_X.xls for French.

(Protocol v3.1+ - All firmwares) Fonction spéciales FCT_SP Value to write in @0x0001
FCT_SP 101 Force Manual Cleaning 0x8101
FCT_SP 102 Reset Cleaning Counter 0x8102

If your sensor firmware doesn’t have special functions, it can’t be added.

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 29/67
MODBUS RTU specifications 20230626.docx

5.2 Special functions description


Special functions allow to manually trigger specific sequence which are not measurement by writing a specific value in
register 0x0001 (special function will always have the high bit to 1, command is 0x8000 + cmd number).

The available Special function are listed in each sensor sheet from Digital sensor Frame_xxx.xls for English and
POD_TramesCom_vX_X_X.xls for French.

For example, LowTuS sensor features two special functions:


- FCT_SP 101 “Force Manual Cleaning” to manually trigger a cleaning on the premium version
- FCT_SP 102 “Reset Cleaning Counter” to reset to wear indicator of the cleaning element

5.3 Special functions : integrated cleaning (LowTuS)

Automatic Cleaning
To enable ‘Automatic Cleaning’ feature (if available in your device) switch ‘AutoClean’ bit in the appropriate
measurement configuration register (int reg. @0x00A5-0x00A9) - Full Measurement Sequence Diagram (3.1).

For automatic cleaning behavior refer to Full Measurement Sequence Diagram (3.1), cleaning is detailed in purple states
in the diagram.

The automatic cleaning will automatically happen periodically every ‘n’ measurements (value is configurable in
UserConfig 3 @0x1042 as int register).

Manual Cleaning Sequence Diagram


FCT_SP 101 “Force Manual Cleaning” (write 0x8101 in register @0x0001) allows forcing a cleaning only sequence.

Cleaning Counter Reset


FCT_SP 102 “Reset cleaning counter” (write 0x8102 in register @0x0001) allows to reset the cleaner counter when the
user replaced the wiper on the product. This allows the product to warn the user after a defined number of cycles.

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 30/67
MODBUS RTU specifications 20230626.docx

6 Sensor calibration: sequence and frame

6.1 General comments

For full calibration or calibration of a single coefficient, the coefficient(s) to be modified are only processed by the Sensor
when the master sends the name of the operator and the date in the Temporary calibration.

The measures sent by the sensor are processed using “current coefficients”. As long as the calibration process was not
validated, the new coefficients are stored in “temporary calibration”.

6.2 Modbus frames


For more details, see annex 1.

170 : Calculate a given calibration point.


180 : Special case of a calibration, offset of ORP, request for forced electronic zeroing of ORP.
190 : Special case of the calibration point, offset of ORP, request calculate the calibration coefficient and to remove
forcing of electronic zeroing.
200 : Special case of a calibration, offset of ORP, enables to go out of the calibration point without
changing anything and remove forcing of electronic ZERO
210 : Validate calibration coefficients.
230 : Fill out the list of “temporary coefficients to be used for the measurement”.
231 : Resets all "Temporary" calibration data. And the measurements use only current coefficients.
300 : Frame to inform the site name to calibrate
310 : Frame to call back a site or a history
320 : Frame for delayed calibration – configuration for measurement recording
321 : Frame for delayed calibration – configuration for dry weight collecting

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 31/67
MODBUS RTU specifications 20230626.docx

6.3 Calibration sequence diagram for “typical” parameters


Most measurements Parameters use the same principle for calibration (except for “Location/Site” calibration or “Delayed
calibration”). The “typical” calibration process is summarized in the following diagram.

More sensors oriented step by step process are described sensor by sensor in following sections.

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 32/67
MODBUS RTU specifications 20230626.docx

6.4 Calibration sequence diagram for parameters with “Customer value coefficients”
Some Sensors have customizable parameters with “customer input values” for calibration settings.
It means that they have no calibration within specific baths.

The user can directly input the values for the coefficients (extracted from laboratory tests results for example).

More sensors oriented step by step process are described sensor by sensor in following sections.

Example : This is the case of the StacSens UV Sensor. The user can choose values different from factory values for “offset”
and “slope” coefficients for the calculation of CODeq/BODeq/TOCeq. The CODeq/BODeq/TOCeq measurements
parameters are processed as following: parameter_result = customer_offset + customer_slope *SAC254.

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 33/67
MODBUS RTU specifications 20230626.docx

6.5 Temperature calibration: typical sequence


The generic process for “typical calibration” is described in section 6.3

A typical sensor calibration sequence proceeds in the following order:

Temperature calibration: 0.00°C: this corresponds to information supplied by the


1st step: Calculate offset operator.
Sensor fully immersed in an ice/water bath. 0.12°C: this corresponds to information returned by the
231 Sensor.
Calibration standard value: 0.00 °C
Measurement: 0.12 °C

Looped measurement command, to refresh the value on


the display. If the operator wishes to exit the calibration without considering
anything (no matter which of the 3 steps) : 231.
When the operator validates this step: : wait at least
“Sampling Delay (ms)” after the last measurement
command before sending 170 and 230 (when putting to
‘1’ the coefficient corresponding to the temperature offset)

Temperature calibration:
2nd step: Calculate gradient
Sensor fully immersed in a bath heated at 25°C for
example.

Calibration standard value: 25.00°C


Measurement: 22.48°C

Looped measurement command, to refresh the value on


the display.

When the operator validates this step: : wait at least


“Sampling Delay (ms)” after the last measurement
command before sending 170 and 230 when putting to
‘1’ the coefficient corresponding to the oxygen offset and
to the temperature slope).

Temperature calibration:
Validation of entire calibration

Operator’s name: J. Doe


Date: 01/10/08

Wait at least “Sampling Delay (ms)” after the last


measurement command before sending the followi-ng
validation.

Validation by the operator: 210, 231

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 34/67
MODBUS RTU specifications 20230626.docx

6.6 OPTOD sensor calibration


The generic process for “typical calibration” is described in section 6.3

OPTOD calibration in 2 points

OPTOD calibration: 0.00: this corresponds to information supplied by the operator.


1st step: Calculate offset 0.12: this corresponds to information returned by the Sensor.
Place the sensor in an aqueous solution of 2% sodium
sulfite at ambient temperature.
231 Note: The master does not return the calibration standard value,
so the value is necessarily set at 0.00%.
Calibration standard value: 0.00%
Measurement: 0.12%
If the operator wishes to exit the calibration without considering
Looped measurement command, to refresh the value on anything (no matter which of the 3 steps) : 231
the display.

When the operator validates this step: 170 and 230 when
putting to ‘1’ the coefficient corresponding to the oxygen
offset

OPTOD calibration:
2nd step: Calculate gradient Note: The master does not return the calibration standard value,
Place the sensor in 100% saturated air. so the value is necessarily set at 100.00%.
Calibration standard value: 100.00%
Measurement: 102.48%

Looped measurement command, to refresh the value on


the display.

When the operator validates this step: 170 and 230


(when putting to ‘1’ the coefficients corresponding to the
oxygen offset and to the oxygen slope)

OPTOD calibration:
Validation of entire calibration

Operator’s name: J. Doe


Date: 01/10/08

Validation by the operator: 210, 231

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 35/67
MODBUS RTU specifications 20230626.docx

OPTOD calibration gain only adjustment

OPTOD CALIBRATION : 102.48 : Corresponds to an information sent back by the sensor.


1st step : Calculate gradiant
Place the sensor in 100% saturated air. If the operator wishes to go out of the calibration, without
231 taking into account anything 231

Calibation standard value : 100.00% Note : The standard is necessarily in ' 100 % ', the value is not
Measurement : 102.48% modifiable.
Looped measurement command, to refresh the value on
the display.

When the operator validates this step: 170 and 230


(with the value set to ‘1‘ the corresponding coeff in the
gain of the oxygen)

OPTOD calibration:
Validation of the calibration

Operator’s name : J. Dupont


Date : 01/10/08

Validation by the operator: 210, 231

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 36/67
MODBUS RTU specifications 20230626.docx

6.7 Nephelometric Turbidity sensor calibration : NTU sensor


The generic process for “typical calibration” is described in section 6.3

Turbidity calibration in standard solution of Formazin – NTU unit

Choose the range to be calibrated from the 4 available ranges, designated CgGamme.

Turbidity calibration: 0.00: This corresponds to information supplied by the


1st step: Calculate offset operator.
Place the sensor in demineralized water. 0.12: This corresponds to information returned by the
231 Sensor.

Calibration standard value: 0.00 NTU


Measurement: 0.12 NTU
If the operator wishes to exit the calibration without considering
Looped measurement command, to refresh the value on anything (no matter which of the 3 steps) : 231
the display.

When the operator validates this step: 170 with the


calibration standard value for the range chosen for the
measurement.

And 230 when putting to ‘1’ the coefficient


corresponding to the turbidity offset in the correct range.

Turbidity calibration:
2nd step: Calculate gradient
Place the sensor in a Formazin standard solution.

Calibration standard value: 100.00 NTU


Measurement: 102.48 NTU

Looped measurement command, to refresh the value on


the display.

When the operator validates this step: 170 with the


calibration standard value for the range chosen for the
measurement.

And 230 (when putting to ‘1’ the coefficient


corresponding to offset and to the turbidity slope.

Turbidity calibration:
Validation of entire calibration
At this step, one range is calibrated.
Operator’s name: J. Doe Carry out this operation for each range to be calibrated
Date: 01/10/08 (a maximum of 4 times).

Validation by the operator: 210, 231 For the gradient, use a calibration standard solution
suited to the range chosen for the measurement.

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 37/67
MODBUS RTU specifications 20230626.docx

6.8 Turbidity calibration in mg/l (Calibration by dry weight) – Step 1 -


The sensor does not record the last 10 calibrations for this parameter but the sensor can save 10 different sites chosen by the
operator.

Turbidity calibration in mg/l :


1st step : Calculating of the offset, 0.00 : This corresponds to an information given by
Put the sensor in clear water the operator
231 0.12 : This corresponds to an information returned by
the Sensor.
Value of the measure : 0.00 mg/l
Maesurement : 0.12 mg/l

Looped measurement command, to refresh the value on If the operator wishes to exit the calibration without
the display. considering anything (no matter which of the 3 steps) : 231

When the operator confirms this step : 170 with the value
of measure and 230 when putting to ‘1’ the coeff icient
corresponding to the offset of turbidity.

Turbidity calibration in mg/l :


2nd Step : Recording of the value of the material
Put the sensor in the material. The slope calibration coefficient is calculated in a delayed
manner.
Maesurement : 102.48 mg/l This step can only know the extent obtained by the sensor of
Looped measurement command, to refresh the value on the material. The real concentration value of the material is
the display. obtained by Dry Weight and then returned to the sensor.

When the operator confirms this step : 320 (CgDif of


param 3 to 0b01), 170 with any standard value

Turbidity calibration in en mg/l :


Complete calibration validation The operator must select the location of the site to be
calibrated between 1 and 10.
1- Site 1 The operator must appoint or reappoint the site.
2- Tank 1
3- REMARK :
4- Tank 2 The site names contains up to 8 characters.
5-
6- Site 2
7-
8-
9- Tank 5
10-

Operator’s name : J. Doe


Date : 01/10/08

Validation by the operator : 300, 210, 321

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 38/67
MODBUS RTU specifications 20230626.docx

6.9 Turbidity calibration in mg/l - Step 2 - calculation of slope with dry weight value
This step enables to achieve the parameter calibration in mg /l. The operator will enter the value of the Dry Weight to
allow the Sensor to calculate the real slope of the turbidity based on the sample of material.

Turbidity calibration in mg/l :


3rd Step : Value of dry weight The operator must choose the site to get back.

231 If this site has an outstanding dry weight, we can then


confirm this step (information given by the calibration
1- Site 1 status of the slope coefficient). Otherwise you have to
2- Tank 1 prevent the operator to validate the step.
3-
4-
5- Tank 2
6-
7- Site 2 If the operator wishes to exit the calibration without
8- considering anything (no matter which of the 2 steps):
9- Tank 5 231

Value of dry weight: 1000 mg/l

When the operator confirms this step : 310 call back the
site, 321 (CgDif of param 3 to 0b10), 170 with the dry
weight as standard value for the slope. 230 when putting
to ‘1’ the coefficient corresponding to the turbidity slope.

Turbidity calibration in mg/l :


Validation of entire calibration

Operator’s name : J. Doe


Date : 01/10/08

Validation by the operator : 300, 210, 231

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 39/67
MODBUS RTU specifications 20230626.docx

6.10 Four electrodes conductivity sensor calibration – C4E


The generic process for “typical calibration” is described in section Erreur ! Source du renvoi introuvable..

Choose the range to be calibrated from the 4 available ranges, designated CgGamme.

Conductivity calibration: 0.00: this corresponds to information supplied by the operator.


1st step: Calculate offset 0.12: this corresponds to information returned by the Sensor.
Place the sensor in the open air.
231 If the operator wishes to exit the calibration without considering
anything (no matter which of the 3 steps) : 231
Calibration standard value: 0.00 µS/cm
Measurement: 0.12 µS/cm

Looped measurement command, to refresh the value on


the display.

When the operator validates this step: 170 with the


calibration standard value for the range chosen for the
measurement.

230 when putting to ‘1’ the coefficient corresponding to


the offset in the correct range.

Conductivity calibration:
2nd step: Calculate gradient
Place the sensor in a calibration solution.

Calibration standard value: 84.00 µS/cm


Measurement: 86.48 µS/cm

Looped measurement command, to refresh the value on


the display.

When the operator validates this step: 170 with the


calibration standard value for the range chosen for the
measurement. Et 230 (when putting to ‘1’ the coefficient
corresponding to the offset in the correct range)

At this step, one range is calibrated.


Conductivity calibration: Carry out this operation for each range to be calibrated (a
Validation of entire calibration maximum of 4 times).
For the gradient, use a calibration standard suited to the range
Operator’s name: J. Doe chosen for the measurement.
Date: 01/10/08
REMARK :
Validation by the operator: 210, 231 The salt content and TDS are not calibrated. Instead, these
parameters are deducted from the conductivity measurement.

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 40/67
MODBUS RTU specifications 20230626.docx

6.11 Inductive conductivity sensor calibration – CTZN


The generic process for “typical calibration” is described in section 6.3

Conductivity calibration: 0.00: this corresponds to information supplied by the operator.


1st step: Calculate offset 0.12: this corresponds to information returned by the Sensor.
Place the sensor in the open air.
231 If the operator wishes to exit the calibration without considering
anything (no matter which of the 3 steps) : 231
Calibration standard value: 0.00 mS/cm
Measurement: 0.12 mS/cm

Looped measurement command, to refresh the value on


the display.

When the operator validates this step: 170 with the


calibration standard value for the range chosen for the
measurement.

230 when putting to ‘1’ the coefficient corresponding to


the offset in the correct range.

Conductivity calibration:
2nd step: Calculate gradient
Place the sensor in a calibration solution.

Calibration standard value: 4.00 mS/cm


Measurement: 6.48 mS/cm

Looped measurement command, to refresh the value on


the display.

When the operator validates this step: 170 with the


calibration standard value for the range chosen for the
measurement. Et 230 (when putting to ‘1’ the coefficient
corresponding to the offset in the correct range)

Conductivity calibration:
Validation of entire calibration REMARK :
The salt content is not calibrated. Instead, this parameter is
Operator’s name: J. Doe deducted from the conductivity measurement.
Date: 01/10/08

Validation by the operator: 210, 231

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 41/67
MODBUS RTU specifications 20230626.docx

6.12 pH/ORP sensor calibration: PHEHT sensor


The generic process for “typical calibration” is described in section 6.3

pH calibration sequence

This calibration is particular; we can calibrate this parameter on 1, 2, 3, 4 or 5 points of calibration.


The algorithm of calibration detects the order of the points of calibration and uses the principle of right segment between every
point of calibration.

REMARK :

In the Modbus memory plane, we number the standards " standard 1 ", " standard 2 ", " standard 5 ", " standard 6 ", " standard 7 ".

The digital sensor gets back all the data (standard solutions values and raw measures) and stores automatically the data in the
increasing order by obtaining " standard A ", " standard B ", " standard C ", " standard D " and " standard E ".

This allows the integrator to inform any value of standard (of 0 in 14pH) in whatever of the 5 compartments memory of the
standards.

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 42/67
MODBUS RTU specifications 20230626.docx

pH calibration: 7.00: this corresponds to information supplied by the operator.


1st step: Calculate offset 0.12: this corresponds to information returned by the Sensor.
Place the sensor in a calibration standard with a pH
between (0 and 14).
231 If the operator wishes to exit the calibration without considering
anything (no matter which of the 3 steps) : 231
Calibration standard value: 7.00 pH
Measurement: 7.12 pH

Looped measurement command, to refresh the value on


the display.

When the operator validates this step: 170. et 230


(when putting to ‘1’ the 5 standards ; 0x000001CC =>
coeff. 1, 2, 5, 6 and 7)

pH calibration:
2nd step: Calculate gradient REMARK :
Place the sensor in another calibration standard The values of the standard solutions could be passed in any
order.
Calibration standard value: 4.00 pH
Measurement: 4.48 pH

Looped measurement command, to refresh the value on


the display.

When the operator validates this step: 170

pH calibration:
3rd step: Calculate gradient
Place the sensor in another calibration standard

Calibration standard value: 2.00 pH


Measurement: 2.04 pH

Looped measurement command, to refresh the value on


the display.

When the operator validates this step: 170

pH calibration:
4th step: Calculate gradient
Place the sensor in another calibration standard

Calibration standard value: 6.00 pH


Measurement: 6.08 pH

Looped measurement command, to refresh the value on


the display.

When the operator validates this step: 170

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 43/67
MODBUS RTU specifications 20230626.docx

pH calibration:
5th step: Calculate gradient
Place the sensor in another calibration standard

Calibration standard value: 10.00 pH


Measurement: 9.91 pH

Looped measurement command, to refresh the value on


the display.

When the operator validates this step: 170

pH calibration:
Validation of entire calibration

Operator’s name: J. Doe


Date: 01/10/08

Validation by the operator: 210, 231.

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 44/67
MODBUS RTU specifications 20230626.docx

ORP calibration sequence

The generic process for “typical calibration” is described in section 6.3.

ORP calibration: 0.00: this corresponds to information supplied by the operator.


1st step: Calculate offset 0.12: this corresponds to information returned by the Sensor.
AUTOMATIC ZEROING
230 with the value set to ‘0’ The sensor can be placed in the open air since the Redox offset
180 (activation of automatic zeroing). is conducted electronically.

Measurement: 2.12 mV If the operator wishes to exit the calibration without considering
anything (no matter which of the 3 steps) : 231
Looped measurement command, to refresh the value on
the display.

When the operator validates this step: 190. et 230 (when


putting to ‘1’ the coefficient corresponding to the offset)
If the operator wishes to exit the calibration without
considering anything :  200 (deactivation of the
electronic Zero).

ORP calibration:
2nd step: Calculate gradient
Place the sensor in a 240 mV calibration standard (for
example).
230, setting the coefficient for the Redox offset to ‘1’.

Calibration standard value: 240 mV


Measurement: 246 mV

Looped measurement command, to refresh the value on


the display.

When the operator validates this step: 170 et 230 (when


putting to ‘1’ the coefficient corresponding to the offset
and to the slope)

ORP calibration:
Validation of entire calibration

Operator’s name: J. Doe


Date: 01/10/08

Validation by the operator: 210, 231

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 45/67
MODBUS RTU specifications 20230626.docx

6.13 Annular ORP sensor calibration: EHAN sensor


The generic process for “typical calibration” is described in section 6.3

ORP calibration: 0.00: this corresponds to information supplied by the operator.


1st step: Calculate offset 0.12: this corresponds to information returned by the Sensor.
AUTOMATIC ZEROING
230 with the value set to ‘0’ The sensor can be placed in the open air since the Redox offset
180 (activation of automatic zeroing). is conducted electronically.

Measurement: 2.12 mV If the operator wishes to exit the calibration without considering
anything (no matter which of the 3 steps) : 231
Looped measurement command, to refresh the value on
the display.

When the operator validates this step: 190. et 230 (when


putting to ‘1’ the coefficient corresponding to the offset)
If the operator wishes to exit the calibration without
considering anything :  200 (deactivation of the
electronic Zero).

ORP calibration:
2nd step: Calculate gradient
Place the sensor in a 240 mV calibration standard (for
example).
230, setting the coefficient for the Redox offset to ‘1’.

Calibration standard value: 240 mV


Measurement: 246 mV

Looped measurement command, to refresh the value on


the display.

When the operator validates this step: 170 et 230 (when


putting to ‘1’ the coefficient corresponding to the offset
and to the slope)

ORP calibration:
Validation of entire calibration

Operator’s name: J. Doe


Date: 01/10/08

Validation by the operator: 210, 231

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 46/67
MODBUS RTU specifications 20230626.docx

6.14 TSS sensor calibration : MES5 sensor

TSS calibration in g/L (Calibration by dry weight) – Step 1 - :

The sensor does not record the last 10 calibrations for this parameter but the sensor can save 10 different sites chosen by the
operator.

TSS calibration :
1st step : Calculating of the offset, 0.00 : This corresponds to an information given by the operator
Put the sensor in clear water 0.12 : This corresponds to an information returned by the Sensor.
231

Value of the measure : 0.00 g/l


Measurement : 0.12 g/l If the operator wishes to exit the calibration without considering
anything (no matter which of the 3 steps) : 231
Looped measurement command, to refresh the value on
the display.

When the operator confirms this step : 170 with the


value of measure and 230 when putting to ‘1’ the
coeff icient corresponding to the offset of turbidity.

TSS calibration : The slope calibration coefficient is calculated in a delayed


2nd Step : Recording of the value of the material manner.
Put the sensor in the material. This step can only know the extent obtained by the sensor of the
material. The real concentration value of the material is obtained
Measurement : 2.48 g/l by Dry Weight and then returned to the sensor.
Looped measurement command, to refresh the value on
the display.

When the operator confirms this step : 320 (CgDif of


param 3 to 0b01), 170 with any standard value.

TSS calibration :
Complete calibration validation The operator must select the location of the site to be calibrated
between 1 and 10.
11- Site 1 The operator must appoint or reappoint the site.
12- Tank 1
13- REMARK :
14- Tank 2 The site names contains up to 8 characters.
15-
16- Site 2
17-
18-
19- Tank 5
20-

Operator’s name : J. Doe


Date : 01/10/08

Validation by the operator : 300, 210, 321

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 47/67
MODBUS RTU specifications 20230626.docx

TSS calibration in g/L– Step 2 -slope calculation with dry weight value :

This step enables to achieve the parameter calibration in mg /l. The operator will enter the value of the Dry Weight to allow
the Sensor to calculate the real slope of the turbidity based on the sample of material.

TSS calibration:
3rd Step : Value of dry weight The operator must choose the site to get back.

231 If this site has an outstanding dry weight, we can then


confirm this step (information given by the calibration
10- Site 1 status of the slope coefficient). Otherwise you have to
11- Tank 1 prevent the operator to validate the step.
12-
13-
14- Tank 2
15-
16- Site 2 If the operator wishes to exit the calibration without
17- considering anything (no matter which of the 2 steps):
18- Tank 5 231

Value of dry weight : 1 g/l

When the operator confirms this step : 310 call back the
site, 321 (CgDif of param 3 to 0b10), 170 with the dry
weight as standard value for the slope. 230 when putting
to ‘1’ the coefficient corresponding to the turbidity slope.

Turbidity calibration in mg/l :


Validation of entire calibration

Operator’s name : J. Doe


Date : 01/10/08

Validation by the operator : 300, 210, 231

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 48/67
MODBUS RTU specifications 20230626.docx

Turbidity calibration in FAU :

Calibration of the Turbidity in FAU : 0.00 FAU : This corresponds to an information given
1st step : Calculating of the offset, by the operator
Put the sensor in clear water. 0.12 FAU : This corresponds to an information returned
231 by the Sensor.

Value of the standard : 0.00 FAU


Measure : 0.12 FAU

Looped measurement command, to refresh the value on If the operator wishes to exit the calibration without considering
the display. anything (no matter which of the 3 steps) : 231

When the operator confirms this step : 170 with the value
of measure and 230 when putting to ‘1’ the coeff icient
corresponding to the offset of the FAU.

Calibration of the Turbidity in FAU :


2nde step : Calculate gradient
We recommends to put the sensor in a solution in 2000 FAU
Value of the standard : 2000 FAU (middle of the range ).
Measure : 2048 FAU

Looped measurement command, to refresh the value on


the display.

When the operator validates this step: 170 et 230 (when


putting to ‘1’ the coefficient corresponding to the offset
and to the slope)

Calibration of the Turbidity in FAU :


Validation of entire calibration

Operator’s name : J. Dupont


Date : 01/10/08

Validation by the operator : 210, 231

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 49/67
MODBUS RTU specifications 20230626.docx

Sludge blanket calibration

Sludge blanket parameter needs only one step of calibration in clear water.

SB calibration : 102.48 : This corresponds to an information returned by the Sensor.


1st step : Calculating of the offset,
Put the sensor in clear water. Value of standard is 100% of light transmission in clear water.

231
If the operator wishes to exit the calibration without considering
Value of the standard :100.00 % anything (no matter which of the 2 steps) : 231
Measure : 102.48 %

Looped measurement command, to refresh the value


on the display.

When the operator confirms this step : 170 with the


value of measure and 230 when putting to ‘1’ the
coefficient corresponding to the offset of the SB
parameter.

SB calibration :
Validation of entire calibration

Operator’s name : J. Dupont


Date : 01/10/08

Validation by the operator : 210, 231

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 50/67
MODBUS RTU specifications 20230626.docx

6.15 StacSens UV Probe Clear Water calibration: UV and GREEN zeroing for SAC254
IMPORTANT NOTE:
The StacSens UV Probe is not answering in Modbus for up to “Sampling Delay (ms)” after each measurement command: wait for
at least this delay before sending any Modbus request (such as 170 210 230 231). The “Sampling Delay (ms) value have to be
read in 0x00A4 Modbus Register of each sensor.

Clear Water calibration for SAC254: The generic process for “typical calibration” is
1st step: Calculate UV Transmittance’0’ slope described in section 6.3

Let the sensor stabilize its temperature in clear water 0.00: this corresponds to information supplied by the
231 operator.
For StacSens clear water calibrations steps, the standard value
Calibration standard value (Coef . 1): 0.00 to write in sensor is always 0.0 (the writing of ‘float’ 0.0 in
Measurement (SAC254): 0.00 m-1 standard value trigger the processing of clear water coefficient)
Looped measurement command, to refresh the value on
the display (number of measurements must at least be 0.12: this corresponds to information returned by the
three time the averaging number) Sensor.

When the operator validates this step: wait at least The sensor must be placed in clear dematerialized water enough
“Sampling Delay (ms)” after the last measurement time for its internal temperature to stabilize.
command before sending 170. and 230 (when putting to
‘1’ the coefficient corresponding to the UV Tx Slope). The sensor will calculate the required coefficient to get a
transmittance of 1.0 which is a 0.0 absorbance. A 0.0
It’s advised to let at least 500 ms to the Sensor for absorbance both in UV and GREEN get the almost 0.0 SAC254.
processing after standard writing.
If the operator wishes to exit the calibration without considering
Clear Water calibration for SAC254: anything (no matter which of the 3 steps): 231
2nd step: Calculate GR Transmittance’0’ slope

Calibration standard value (Coef . 3): 0.00


No more measurements required ; the same measures as
previous coefficient will be used by the sensor (do not turn
off between the two points).

When the operator validates this step: wait at least


“Sampling Delay (ms)” after the last measurement
command before sending 170 and 230 (when putting to
‘1’ the coefficient corresponding to the UV and GREEN
Tx Slope).

It’s advised to let at least 500 ms to the Sensor for


processing after standard writing.

Clear Water calibration for SAC254:


Validation of entire calibration

Operator’s name: J. Doe


Date: 01/10/08

Wait at least “Sampling Delay (ms)” after the last


measurement command before sending the following
validation.

Validation by the operator: 210, 231

It’s advised to let at least 500 ms to the Sensor for


processing after validation.

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 51/67
MODBUS RTU specifications 20230626.docx

6.16 StacSens UV Probe Setting COD/BOD/TOC: “customer value coefficients”


IMPORTANT NOTE:
The StacSens UV Probe is not answering in Modbus for up to “Sampling Delay (ms)” after each measurement command: wait for
at least this delay before sending any Modbus request (such as 170 210 230 231). The “Sampling Delay (ms) value have to be
read in 0x00A4 Modbus Register of each sensor.

The generic process for “customer value coefficient” calibration is described in section 6.4.

Custom value for COD or BOD or TOC coef.: 0.00: this corresponds to information supplied by the operator.
1st step: set the COD or BOD or TOC offset 0.12: this corresponds to information returned by the Sensor.

No specific condition required for the sensor The sensor can be anywhere; no measurements are done for this
231 setting of customer values for COD/BOD/TOC coefficients .

Calibration standard value (Coef 11/13/15): offset_value The sensor will just copy the “standard” value associated with
the coefficient within the “coefficient value” memory. This
When the operator validates this step: wait at least copy will be fully done by validating the input like a sensor
“Sampling Delay (ms)” after the last measurement calibration (date and operator name writing). A restoration to
command before sending 170. (in the appropriate factory value is also available like any calibration.
standard input value register).
If the operator wishes to exit the calibration without considering
The sensors will copy the standard value to the coefficient anything (no matter which of the 3 steps): 231
value of the associated parameter.

It’s advised to let at least 500 ms to the Sensor for


processing after standard writing.

Custom value for COD or BOD or TOC coef.:


2nd step: set the COD or BOD or TOC slope

Calibration standard value (Coef 12/14/16): slope_value

When the operator validates this step: wait at least


“Sampling Delay (ms)” after the last measurement
command before sending170 (in the appropriate standard
input value register).

The sensors will copy the standard value to the coefficient


value of the associated parameter.

It’s advised to let at least 500 ms to the Sensor for


processing after standard writing.

Custom value for COD or BOD or TOC coef.:


Validation of the entire setting (offset + slope)

Operator’s name: J. Doe


Date: 01/10/08

Wait at least “Sampling Delay” after the last measurement


command before sending the following validation.

Validation by the operator: 210, 231

It’s advised to let at least 500 ms to the Sensor for


processing after validation.

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 52/67
MODBUS RTU specifications 20230626.docx

6.17 LowTuS sensor: Turbidity (NTU) calibration


The generic process for “typical calibration” is described in section 6.3

Turbidity calibration in standard solution of Formazin – NTU unit

Choose the range to be calibrated from the 2 available ranges, designated CgGamme.

Turbidity calibration: 0.00: This corresponds to information supplied by the


1st step: Calculate offset operator.
Place the sensor in demineralized water. 0.12: This corresponds to information returned by the
231 Sensor.

Calibration standard value: 0.00 NTU


Measurement: 0.12 NTU
If the operator wishes to exit the calibration without considering
Looped measurement command, to refresh the value on anything (no matter which of the 3 steps) : 231
the display.

When the operator validates this step: 170 with the


calibration standard value for the range chosen for the
measurement.

And 230 when putting to ‘1’ the coefficient


corresponding to the turbidity offset in the correct range.

Turbidity calibration:
2nd step: Calculate gradient
Place the sensor in a Formazin standard solution.

Calibration standard value: 4.00 NTU


Measurement: 4.48 NTU

Looped measurement command, to refresh the value on


the display.

When the operator validates this step: 170 with the


calibration standard value for the range chosen for the
measurement.

And 230 (when putting to ‘1’ the coefficient


corresponding to offset and to the turbidity slope.

Turbidity calibration:
Validation of entire calibration
At this step, one range is calibrated.
Operator’s name: J. Doe Carry out this operation for each range to be calibrated
Date: 01/10/08 (a maximum of 2 times).

Validation by the operator: 210, 231 For the gradient, use a calibration standard solution
suited to the range chosen for the measurement.

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 53/67
MODBUS RTU specifications 20230626.docx

6.18 LowTuS sensor: TSSeq Setting or turbidity Fine Tuning “customer value coefficients”

The generic process for “customer value coefficient” calibration is described in section 6.4.

Custom value for TSSeq coef or Turbidity Fine Tuning 0.00: this corresponds to information supplied by the operator.
0.12: this corresponds to information returned by the Sensor.
1st step: set the TSSeq or Turbidity Fine Tuning offset
The sensor can be anywhere; no measurements are done for this
No specific condition required for the sensor setting of customer values for TSSeq (offset + slope) or
231 turbidity Fine Tuning (offset only) coefficients .

Calibration standard value (Coef 11/13/15): offset_value The sensor will just copy the “standard” value associated with
the coefficient within the “coefficient value” memory. This
When the operator validates this step: wait at least copy will be fully done by validating the input like a sensor
“Sampling Delay (ms)” after the last measurement calibration (date and operator name writing). A restoration to
command before sending 170. (in the appropriate factory values is also available like any calibration.
standard input value register).
If the operator wishes to exit the calibration without considering
The sensors will copy the standard value to the coefficient anything (no matter which of the 3 steps): 231
value of the associated parameter.

It’s advised to let at least 100 ms to the Sensor for


processing after standard writing.

Custom value for TSSeq coef.:


2nd step: set TSSeq slope

Calibration standard value (Coef 12/14/16): slope_value

When the operator validates this step: wait at least


“Sampling Delay (ms)” after the last measurement
command before sending170 (in the appropriate standard
input value register).

The sensors will copy the standard value to the coefficient


value of the associated parameter.

It’s advised to let at least 100 ms to the Sensor for


processing after standard writing.

Custom value for TSSeq coef or Turbidity Fine


Tuning.:
Validation of the entire setting (offset + slope for TSSeq
or, offset only, for Turbidity Fine Tuning)

Operator’s name: J. Doe


Date: 01/10/08

Wait at least “Sampling Delay” after the last measurement


command before sending the following validation.

Validation by the operator: 210, 231

It’s advised to let at least 100 ms to the Sensor for


processing after validation.

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 54/67
MODBUS RTU specifications 20230626.docx

7 Annex N°1: PONSEL Modbus frames


Frame for calculation of a given calibration point: 170, 180, 190, 200
This communication is used by the master when it needs to validate a calibration point. The Sensor conducts calculation of the
calibration coefficient. This calculation is performed when the master writes “calibration standard X” in the memory box for the
value of the solution in which the Sensor is placed. For the calculation, the Sensor retrieves the last measurement point.

170
In the file “Digital sensor Frame_xxx.xls” , the memory plane describes all the standard as a generic methodology.

@ 0x0200 to 0x0222
0x0200 Flash r/w write calibration standard 1 for temperature float
0x0202 Flash r/w write calibration standard 2 for temperature float
0x0204 Flash r/w write calibration standard 1 float
0x0206 Flash r/w write calibration standard 2 float
0x0208 Flash r/w write calibration standard 3 float
0x020A Flash r/w write calibration standard 4 float
0x020C Flash r/w write calibration standard 5 float
0x020E Flash r/w write calibration standard 6 float
0x0210 Flash r/w write calibration standard 7 float
0x0212 Flash r/w write calibration standard 8 float
0x0214 Flash r/w write calibration standard 9 float
0x0216 Flash r/w write calibration standard 10 float
0x0218 Flash r/w write calibration standard 11 float
0x021A Flash r/w write calibration standard 12 float
0x021C Flash r/w write calibration standard 13 float
0x021E Flash r/w write calibration standard 14 float
0x0220 Flash r/w write calibration standard 15 Float
0x0222 Flash r/w write calibration standard 16 Float

In the file, each sensor has a standard description as following:


Description of calibration standards :

Master returns: Unit: Calibration standard Comments:


used for parameter:
calibration standard 1 for Calibration standard
°C
temperature value (offset):
Temperature value recommended by Ponsel: near 0°C
calibration standard 2 for Calibration standard
°C
temperature value (slope) Temperature value recommended by Ponsel: near 25°C
Calibration standard value recommended by Ponsel: demineralised
standard 1 in NTUs Parameters 1 and 2
value (offset): water 0 NTU
Calibration standard value recommended by Ponsel: 25 NTU (middle
standard 2 in NTUs Parameters 1 and 2
value (slope) of range)
Calibration standard value recommended by Ponsel: demineralised
standard 3 in NTUs Parameters 1 and 2
value (offset): water 0 NTU
Calibration standard value recommended by Ponsel: 100 NTU
standard 4 in NTUs Parameters 1 and 2
value (slope) (middle of range)
Calibration standard value recommended by Ponsel: demineralised
standard 5 in NTUs Parameters 1 and 2
value (offset): water 0 NTU
Calibration standard value recommended by Ponsel: 500 NTU
standard 6 in NTUs Parameters 1 and 2
value (slope) (middle of range)
Calibration standard value recommended by Ponsel: demineralised
standard 7 in NTUs Parameters 1 and 2
value (offset): water 0 NTU
Calibration standard value recommended by Ponsel: 2000 NTU
standard 8 in NTUs Parameters 1 and 2
value (slope) (middle of range)

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 55/67
MODBUS RTU specifications 20230626.docx

Example :
In this example, the master sends to the sensor the reference value 24.3°C (0x41C26666) for calculation of the slope (0x0202).
Then the sensor calculates the coefficient using this value and the last measurement. The coefficient is stored in the suitable space
of temporary calibration area.
The sensor updates the status of temporary calibration.
The sensor confirms to master that the task has been done.

14:06:35:180 – frame sent : (13 octets) : 0x04-0x10-0x02-0x02-0x00-0x02-0x04-0x41-0xC2-0x66-0x66-0x64-0x90


14:06:35:290 – received frame : (8 octets) : 0x04-0x10-0x02-0x02-0x00-0x02-0xE1-0xE5

Special case of the ORP offset:

For the Redox offset “calibration standard 3”, the master must send com 180. The sensor can be placed in the open air since the
offset is conducted electronically.

In the file “Digital sensor Frame_xxx.xls” , the memory plane describes all the standard as a generic methodology.
@ 0x0208

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 56/67
MODBUS RTU specifications 20230626.docx

180
The master writes the value 0x01 in "calibration standard 3" (0x3F800000).
The sensor electronically zeroes the Redox.

exemple :
17:07:02:960 - Frame Sent : (13 octets) : 0x04-0x10-0x02-0x08-0x00-0x02-0x04-0x3F-0x80-0x00-0x00-0xF7-0x59
17:07:03:050 - Received Frame : (8 octets) : 0x04-0x10-0x02-0x08-0x00-0x02-0xC1-0xE7

190
Communication 190 is used by the master to validate the ORP offset, then the sensor starts calculation of the offset. For
the calculation, the Sensor retrieves the last measurement point.

The master writes the value 0x02 in "calibration standard 3" (0x40000000).
The Sensor calculates the calibration coefficient using the last measurement made, the calibration standard value (‘= 0mV’) and
files the result in the appropriate coefficient.
The SENSOR removes electronic zeroing of the Redox.

exemple :
17:17:03:610 - Frame Sent : (13 octets) : 0x04-0x10-0x02-0x08-0x00-0x02-0x04-0x40-0x00-0x00-0x00-0xEF-0x65
17:17:03:700 - Received Frame : (8 octets) : 0x04-0x10-0x02-0x08-0x00-0x02-0xC1-0xE7

200
Communication 200 is used by the master to escape from the ORP calibration sequence. Consequently, this frame
deactivates electronic zero.

The master writes the value 0x03 in "calibration standard 3" (0x40400000).
The sensor removes the electronic ZERO from the redox without any calculation.

exemple :

17:08:26:250 - Frame Sent : (13 octets) : 0x04-0x10-0x02-0x08-0x00-0x02-0x04-0x40-0x40-0x00-0x00-0xEE-0xB1


17:08:26:350 - Received Frame : (8 octets) : 0x04-0x10-0x02-0x08-0x00-0x02-0xC1-0xE7

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 57/67
MODBUS RTU specifications 20230626.docx

Frame for validating a calibration 210


Calibration of one or more coefficients is validated by the Sensor when the master sends operator name and the date.
IMPORTANT NOTE
If the master does not send this frame (and 231), then the calibration will not be taken into account when the master requests a
measurement.

Sensors take less than 500ms to treat the calibration validation information.

You must send 16 octets for operator name and also 16 octets for the date.

In the file “Digital sensor Frame_xxx.xls”, the memory plane describes @ 0x027E to 0x02C6
Writing operator’s name and date in temporary calibration.
The sensor validates the calibration sequence by transferring data from temporary coefficients to current coefficients.

IMPORTANT NOTE (recommended for all sensors, specifically for StacSens UV)
It’s strongly advised to separate this frame in two writing request instead of one writing the 16 registers (32 ascii char):
1. Writing the Operator Name (8 registers – 16 ascii characters 1 by byte, 2 by register)
2. Writing the Date of Calibration (8 registers – 16 ascii characters 1 by byte, 2 by register)

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 58/67
MODBUS RTU specifications 20230626.docx

Example of frame:

In the red square :


Operator’s name : ARISTOTE
Calibration date : 2015, 31th of august, 16:29

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 59/67
MODBUS RTU specifications 20230626.docx

Frame for filling out the list of “temporary coefficients to be used for the measurement”. 230
Activating a given coefficient in this list enables the SENSOR to return the measurement not with the correction coefficient from
the current calibration, but the one from the temporary calibration coefficient.

IMPORTANT NOTE:
When the operator exits the calibration menu by cancelling the previous actions, each coefficient in the list is zeroed.

In the file “Digital sensor Frame_xxx.xls”, the memory plane describes @ 0x014C

Write all data in the list of temporary coefficients to be used for measurement.

List of temporary coefficients to be


0x014C Flash r / w used in measurement calculation long 2
1: Pod will use temporary coefficient value for
This Modbus register is a simple 16 bits value with 2 Bytes (16 bits) : CoefX:
measurement calculation instead of current coefficient; this
MSB+LSB
function only used during calibration.
Each Temporary calibration coefficient has an associated bit to
Example: offset already calculated used to display
activate its use by measurement.
measurement during second calibration (slope)

Coef14 Coef13 Coef12 Coef11 Coef10 Coef9 Coef8 Coef7 Coef6 Coef5 Coef4 Coef3 Coef2 Coef1 PenteTemp OffTemp LSB
Not Not Not Not Not Not Not Not Not Not Not Not Not Not
used used used used used used used used used used used used used used Coef16 Coef15 MSB

Example of frame:

The master asks to sensor a measurement obtained with temporary offset and gain for temperature by writing 0x0003
(0b00000000 00000011) at address 0x014C in Modbus.

16:28:00:140 – frame sent : (13 octets) : 0x04-0x10-0x01-0x4C-0x00-0x02-0x04-0x00-0x00-0x00-0x03-0xAB-0x97


16:28:00:190 – received frame : (8 octets) : 0x04-0x10-0x01-0x4C-0x00-0x02-0x81-0xB6

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 60/67
MODBUS RTU specifications 20230626.docx

Resets all "Temporary" calibration data. And the measurements use only current coefficients: 231
With these frames, the sensor sends the measurement with coefficients from current calibration and also resets data written in
temporary calibration.

Write '0x00000000 ' at 0x014C address and also 0x0001 at 0x004C address.

In the file “Digital sensor Frame_xxx.xls”, the memory plane describes two registers from @ 0x014C and 0x004C.
List of temporary coefficients to be
0x014C Flash r / w used in measurement calculation long 2
1: Pod will use temporary coefficient value for
This Modbus register is a simple 16 bits value with 2 Bytes (16 bits) : CoefX:
measurement calculation instead of current coefficient; this
MSB+LSB
function only used during calibration.
Each Temporary calibration coefficient has an associated bit to
Example: offset already calculated used to display
activate its use by measurement.
measurement during second calibration (slope)

Reset standard + Operator + Date of temporary


0x004C w calibration int 1 actif with value 0x01

Example of frame :

14:20:51:740 - frame sent : (13 octets) : 0x04-0x10-0x01-0x4C-0x00-0x02-0x04-0x00-0x00-0x00-0x00-0xEB-0x96


14:20:51:790 - Received frame : (8 octets) : 0x04-0x10-0x01-0x4C-0x00-0x02-0x81-0xB6
14:20:52:020 - frame sent : (11 octets) : 0x04-0x10-0x00-0x4C-0x00-0x01-0x02-0x00-0x01-0x56-0xCC
14:20:52:090 - Received frame : (8 octets) : 0x04-0x10-0x00-0x4C-0x00-0x01-0xC0-0x4B

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 61/67
MODBUS RTU specifications 20230626.docx

Frame to inform the site name to calibrate : 300


In the file “Digital sensor Frame_xxx.xls”, the memory plane describes @ 0x02CE
The master must write the site name in temporary calibration (8 characters max).

0x02CE Flash w Site Name (temporary calibration standard) ascii 4 used only for Nephelo in mg/L and for MES

The master must write the site number, between 1 and 10, related to the calibration coefficients.

@ 0x014E
0x014E Flash r/w Site number int 1 Identifies site to be used for temporary calibration transfer (value from 1 to 10)

Example of frame :

The master must write the site name : “STEP BAS3


The site number used is #4 (0x0004).

15:36:18:540 – Frame sent : (17 octets) : 0x04-0x10-0x02-0xCE-0x00-0x04-0x08-0x53-0x54-0x45-0x50-0x20-0x42-0x41-


0x53-0xDB-0x61
15:36:18:540 – Frame sent, ASCII format : (17 octets) : '---Î---STEP BASÛa'
15:36:18:580 - Received frame : (8 octets) : 0x04-0x10-0x02-0xCE-0x00-0x04-0xA1-0xD8

15:36:18:610 - Frame sent : (11 octets) : 0x04-0x10-0x01-0x4E-0x00-0x01-0x02-0x00-0x04-0x87-0xED


15:36:18:640 - Received frame : (8 octets) : 0x04-0x10-0x01-0x4E-0x00-0x01-0x60-0x77

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 62/67
MODBUS RTU specifications 20230626.docx

Frame to call back a site or a history : 310


The master asks the switch of current calibration coefficients by others linked to a site or calibration history.

In the file “Digital sensor Frame_xxx.xls”, the memory plane describes @ 0x0003
0x0003 w Returns one of 10 latest calibrations or one of 10 sites int 1
PARA X:

HIST:

Example of frame :

The master calls back the calibration coefficients of parameter #~2 from site #4. (0x0404)

15:42:33:210 – Frame sent : (11 octets) : 0x04-0x10-0x00-0x03-0x00-0x01-0x02-0x04-0x04-0x9A-0x30


15:42:33:250 – Received frame : (8 octets) : 0x04-0x10-0x00-0x03-0x00-0x01-0xF1-0x9C

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 63/67
MODBUS RTU specifications 20230626.docx

Frame for delayed calibration – configuration for measurement recording 320


With this step, the sensor knows that it must store the measurement value when it will receive the standard value. (measurement in
the sample of material)

The master sends the configuration of the measurement in g/L in order to indicate a delayed calibration : CgDif = 0b01

In the file “Digital sensor Frame_xxx.xls”, the memory plane describes : @ from 0x00A5 to 0x00A9
Flash r Temperature measurement int 1
/ type configuration.
0x00A5 w CgDif CgGamme
Flash r Param 1 measurement type int 1 CgMes: 00: corrected measurement, default value
/ configuration
0x00A6 w
Flash r Param 2 measurement type int 1 01: uncorrected measurement 1
/ configuration
0x00A7 w
Flash r Param 3 measurement type int 1 10: uncorrected measurement 2
/ configuration
0x00A8 w
Flash r Param 4 measurement type int 1 11: gross measurement
/ configuration
0x00A9 w
1: Uses temperature returned by Master for compensation
calculation. If not, Pod carries out temperature measurement
CgTEX: and uses value for compensation.
1: Pod uses Compensates 1 returned by Master for
Cg1EX: compensation calculation. If not, Pod uses default value
1: Pod uses Compensates 2 returned by Master for
Cg2EX: compensation calculation. If not, Pod uses default value
1: Pod uses Compensates 3 returned by Master for
Cg3EX: compensation calculation. If not, Pod uses default value
CgGamme: 000: range definition is automatic, or if no range
001: use of measurement range 1
010: use of measurement range 2
011: use of measurement range 3
100: use of measurement range 4
CgDif: 00:
Differed Default
calibration Val
01: gross measurement configuration saved for future use
(activation during calibration standard write process)
10: warns that gross value saved will be used to calculate
parameter with calibration standard (when calibration
standard next required)

Example of frame :

The master sends the configuration 0x1000 to parameter #2 (0x00A7) : cgDif = 0b01.

14:54:46:110 – Frame sent : (11 octets) : 0x04-0x10-0x00-0xA7-0x00-0x01-0x02-0x10-0x00-0x8D-0xD7


14:54:46:150 – Received frame: (8 octets) : 0x04-0x10-0x00-0xA7-0x00-0x01-0xB0-0x7F

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 64/67
MODBUS RTU specifications 20230626.docx

Frame for delayed calibration – configuration for dry weight collecting 321
With this step, the sensor must collect the dry weight when it will receive the standard value.
It could calculate the calibration coefficient.
The master sends the configuration of measurement in g/l in order to indicate a delayed calibration.

In the file “Digital sensor Frame_xxx.xls”, the memory plane describes : @ from 0x00A5 to 0x00A9
Example of frame :

The master sends the configuration 0x2000 to parameter #2 (0x00A7) : cgDif = 0b10.

15:21:43:940 – Frame sent : (11 octets) : 0x04-0x10-0x00-0xA7-0x00-0x01-0x02-0x20-0x00-0x99-0xD7


15:21:43:980 – Received frame : (8 octets) : 0x04-0x10-0x00-0xA7-0x00-0x01-0xB0-0x7F

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 65/67
MODBUS RTU specifications 20230626.docx

8 Annex 2 – FAQ

 No frame receipt / No answer from sensor:

• Default in the cable or with power supply.

- solution : Measure power consumption of the sensor, in stand-by mode, current value below 50µA,

Check the cable,

Check the power supply near the sensor.

• Hardware flow control (RTS signal) :

- solution : Change the RS485 converter. The converter must compatible with RTU Modbus.

Check RTS signal timing,

Try with 4200 DIGITAL MODULE and CALSENS software then come back to your own software.

• StacSens UV : Delay between measurement command and status or results reading is not high enough

- solution : Wait for “Sampling delay (ms)” after sending the measurement command before trying any Modbus
communication with the Sensor.
Warning: The UV probe is mute in Modbus up to “Sampling delay (ms)” after measurement command.

 Unknown frames received from the sensor :

• Echo problem with the sent frame :

- solution : Adapt the software to put or remove echo,


Change the converter configuration, if it is possible,
Try another RS 485 converter.

• Cable problem :

- solution : Invert A/B wires.

 Could we modify the parity bit ?

The sensor could be configure at 0x00BC address.


2 stop bit and no parity (default factory settings)
- 1 stop bit and even parity,
- 1 stop bit and odd parity,

 Could we modify the baud rate ?

No, the sensors works with 9600 bauds.

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 66/67
MODBUS RTU specifications 20230626.docx

 How could we calculate and check CRC16?

The Modbus normative document explains the CRC16 algorithm CRC16.


Examples of CRC could be obtained using CALSENS software.
See "Modbus_over_serial_line_V1_02.pdf"document, 6.2.2. Chapter “CRC Generation”
Web : http://www.modbus.org/specs.php

 Float number format for measurement :

Float number format is in accordance with normative document ANSI/IEEE Std 754-1985 - simple precision (32 bits),
‘big-Endian’.

 How we manage a calibration process?

Use this document and also CALSENS software to see the frames in real time in commands log window (access in the
Menu / Tool).

 What is the default address of the sensor?

See factory certificate.


Default addresses are the following:
10, OPTOD sensor,
20, pH/ORP/Temperature sensor
21, ORP/Redox/Temperature
30, C4E conductivity sensor
40, Nephelometric turbidity sensor
50, Inductive conductivity sensor
60, TSS sensor.
70, UVT254/Temperature sensor (StacSens)

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne


General specifications Reference Date Revision Page
DIGISENS Modbus_Specifications
_v025-EN- 26/06/23 025 67/67
MODBUS RTU specifications 20230626.docx

 What is the warm-up time of the sensor ?

Warm-up time:100 ms max for all the digital sensors.

Specificity : StacSens UV Probe warm-up-time is at least 500 ms (at power up)

 Is there a galvanic insulation with RS485 communication line?

There is no galvanic insulation with the RS485 line. However, the physico-chemistry sensors (pH, C4E conductivity) have
galvanic insulation at the measurement conditioning level. In this way, there is no perturbation when several sensors are
used.

 How could we activate the stand-by mode of the sensor?

In stand-by mode, power consumption of sensors is very low (below 50µA). This is an automatic mode after the end of
measurement and communication.
In the other way, the sensor wake-up with communication frame.

 Could we obtain consecutive measurements without measurement command?

No. In order to optimize power consumption, the master needs to send a frame to obtain a new measure.

 What happens when a 12V voltage is applied to RS485 wires?

10V voltage is the limit value for RS 485 driver component.

Aqualabo Services - 90 Rue du Professeur Paul Milliez - 94506 Champigny-sur-Marne

You might also like