Modbus Specifications For Digital Sensors
Modbus Specifications For Digital Sensors
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 1/51
SIGNATURES
WRITTEN BY APPROVED BY
NAME: FREDERIC RENAUD/ FB NAME: SEVERINE VARY
REVISION HISTORY
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 2/51
Table of content
1 PREAMBLE : reference documents and tools _________________________________________ 4
1.1 Link protocol frame: MODBUS RTU ____________________________________________________ 4
1.2 Overview of the memory plane _______________________________________________________ 5
1.3 Parameters in detail ________________________________________________________________ 6
1.4 Hardware configuration: ____________________________________________________________ 8
1.5 Addresses: _______________________________________________________________________ 8
1.6 Modbus functions used: ____________________________________________________________ 8
1.7 Equipment useful for integrating the digital Sensors : _____________________________________ 9
Basic kit: _______________________________________________________________________________________ 9
Software tool : _________________________________________________________________________________ 10
1.8 Modbus error messages: ___________________________________________________________ 12
2 Basic measurement: sequence and frame __________________________________________ 13
2.1 Sampling delay: __________________________________________________________________ 13
2.2 Measurement command ___________________________________________________________ 13
Measurement command for a defined parameter ____________________________________________________ 13
Waiting the known sampling delay ________________________________________________________________ 13
Measurement collecting _________________________________________________________________________ 13
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 3/51
Resets all "Temporary" calibration data. And the measurements use only current coefficients : 231 __________ 44
Frame for delayed calibration – configuration for measurement recording 320 __________________________ 47
5.1.8 Frame for delayed calibration – configuration for dry weight collecting 321 _________________________ 48
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 4/51
- 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).
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 5/51
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 6/51
Figure 2: extract of OPTOD sensor sheet in Digital sensor Frame_xxx.xls document ; measurement configuration
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 7/51
Figure 3: extract of OPTD sensor sheet in Digital sensor Frame_xxx.xls document; coefficients and standard
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 8/51
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.5 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.
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)
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 9/51
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.
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).
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 10/51
Software tool :
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.
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 11/51
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.
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 12/51
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, ...)
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 13/51
For a defined sensor, this delay does not change. In a general point of view, this delay is less than 2 seconds.
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”
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.
Measurement collecting
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 14/51
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.
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
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 15/51
Measurement configuration
Using the registers of configuration, you can modify the measurement range and activate external values for compensation.
IMPORTANT NOTE:
For activating this feature, you must make a suitable measurement configuration.
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 16/51
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.
REMARK :
To avoid any risk of measurement perturbation, the manufacturer suggests to limit commands to sensors during the
sampling delay.
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.
Measurement collecting
The status gives information about measurement (current range, calibration coefficients used).
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 17/51
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
Example :
In this case, the master collects the delay value, 500ms (0x01F4)
Temperature : 24.32°C
Parameter #1 : 4.102
Parameter #2 : 0.00
Parameter #3 : 173.45
Parameter #4 : 0.00
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 18/51
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 19/51
0x00AA Flash r/w Averaging value for all parameters except temperature. int 1
Example:
The master modifies the averaging value to 10. (0x000A)
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)
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 20/51
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”.
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 21/51
Temperature calibration:
2nd step: Calculate gradient
Sensor fully immersed in a bath heated at 25°C for
example.
Temperature calibration:
Validation of entire calibration
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 22/51
Calibration in 2 points:
Calibration standard value: 0.00% Note: The master does not return the calibration standard value,
Measurement: 0.12% so the value is necessarily set at 0.00%.
Looped measurement command, to refresh the value on
the display.
If the operator wishes to exit the calibration without considering
When the operator validates this step: 170 and 230 when anything (no matter which of the 3 steps) : 231
putting to ‘1’ the coefficient corresponding to the oxygen
offset gend’oxygène
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%.
OPTOD calibration:
Validation of entire calibration
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 23/51
OPTOD CALIBRATION :
1st step : Calculate gradiant 102.48 : Corresponds to an information sent back by the sensor.
Place the sensor in 100% saturated air.
231 If the operator wishes to go out of the calibration, without
taking into account anything 231
Calibation standard value : 100.00%
Measurement : 102.48% Note : The standard is necessarily in ' 100 % ', the value is not
Looped measurement command, to refresh the value on modifiable.
the display.
OPTOD calibration:
Validation of the calibration
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 24/51
Choose the range to be calibrated from the 4 available ranges, designated CgGamme.
Turbidity calibration:
2nd step: Calculate gradient
Place the sensor in a Formazin standard solution.
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.
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 25/51
The sensor does not record the last 10 calibrations for this parameter but the sensor can save 10 different sites chosen by the
operator.
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 26/51
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.
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.
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 27/51
Calibration standard value: 0.00 µS/cm If the operator wishes to exit the calibration without considering
Measurement: 0.12 µS/cm anything (no matter which of the 3 steps) : 231
Looped measurement command, to refresh the value on
the display.
Conductivity calibration:
2nd step: Calculate gradient
Place the sensor in a calibration solution.
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 28/51
Calibration standard value: 0.00 mS/cm If the operator wishes to exit the calibration without considering
Measurement: 0.12 mS/cm anything (no matter which of the 3 steps) : 231
Looped measurement command, to refresh the value on
the display.
Conductivity calibration:
2nd step: Calculate gradient
Place the sensor in a calibration solution.
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
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 29/51
pH calibration sequence
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.
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 30/51
Calibration standard value: 7.00 pH If the operator wishes to exit the calibration without considering
Measurement: 7.12 pH anything (no matter which of the 3 steps) : 231
Looped measurement command, to refresh the value on
the display.
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.
pH calibration:
3rd step: Calculate gradient
Place the sensor in another calibration standard
pH calibration:
4th step: Calculate gradient
Place the sensor in another calibration standard
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 31/51
pH calibration:
5th step: Calculate gradient
Place the sensor in another calibration standard
pH calibration:
Validation of entire calibration
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 32/51
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’.
ORP calibration:
Validation of entire calibration
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 33/51
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’.
ORP calibration:
Validation of entire calibration
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 34/51
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
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 g/l
Maesurement : 0.12 g/l
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 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 :
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 : 2.48 g/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.
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-
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 35/51
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.
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.
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 36/51
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.
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 37/51
Sludge blanket parameter needs only one step of calibration in clear water.
Value of the standard :100.00 % If the operator wishes to exit the calibration without considering
Measure : 102.48 % anything (no matter which of the 2 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 coefficient
corresponding to the offset of the SB parameter.
SB calibration :
Validation of entire calibration
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 38/51
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
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 39/51
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.
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
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
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 40/51
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 :
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 41/51
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.
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 42/51
Example of frame :
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 43/51
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.
Example of frame :
The master asks to sensor a measurement obtained with temporary offset and gain.
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 44/51
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.
Example of frame :
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 45/51
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 :
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 46/51
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)
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 47/51
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.
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 48/51
5.1.8 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.
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 49/51
6 Annex 2 – FAQ
No frame receipt:
- solution : Measure power consumption of the sensor, in stand-by mode, current value below 50µA,
- solution : Change the RS485 converter. The converter must compatible with RTU Modbus.
Try with 4200 DIGITAL MODULE and CALSENS software then come back to your own software.
• Cable problem :
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 50/51
Float number format is in accordance with normative document ANSI/IEEE Std 754-1985 - simple precision (32 bits),
‘big-Endian’.
Use this document and also CALSENS software to see the frames in real time in commands log window (access in the
Menu / Tool).
Modbus_Specifications
MODBUS RTU specifications _v021-EN.doc
04/04/17 021 51/51
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.
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.
No. In order to optimize power consumption, the master needs to send a frame to obtain a new measure.