MC406 MODBUS CMD03 ENG Ver. 1.1 - VERSIONE - 22.01.2022

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

MODBUS RTU MC406 CMD03

MODBUS REGISTER COMMAND 03


CMD03 – Read Holding Register

MODBU
NUM. Access
S Parameter Description DATA TYPE
BYTES (Read/Write)
ADDRESS
1662 4 FRATE_M3H float instantaneous measurement flow rate in m3/h Float R
1664 4 FRATE_MS float instantaneous measurement fluid velocity in m/s Float R
instantaneous measurement flow rate in the
1666 4 FRATE_UTTB float Float R
current technical unit
instantaneous measurement flow rate in % of
1668 4 FRATE_PERC float Float R
full scale
1672 4 TPACC_M3 float counter total positive in m3 Float R
1674 4 TNACC_M3 float counter total negative in m3 Float R
1676 4 PPACC_M3 float counter partial positive in m3 Float R
1678 4 PNACC_M3 float counter partial negative in m3 Float R
counter total positive in the current technical
1680 4 TPACC_TU float Float R
unit
counter total negative in the current technical
1682 4 TNACC_TU float Float R
unit
counter partial positive in the current technical
1684 4 PPACC_TU float Float R
unit
counter partial negative in the current technical
1686 4 PNACC_TU float Float R
unit
1710 4 T1 float optional temperature probe T1 Float R
1712 4 T2 float optional temperature probe T2 Float R
1714 4 PRESSURE float optional pressure probe Float R
MC406 error codes
ExcFailure = 0x0001,
EmptyPipe = 0x0002,
FlowMax = 0x0004,
FlowMin = 0x0008,
PulsesOverlap= 0x0010,
ADCrange = 0x0020,
InputStage = 0x0040,
1716 2 MC406 errors uint16 R
MeasElectrodeDry = 0x0080,
LowVoltage = 0x0100,
Temperature = 0x0200,
WatchdogReset = 0x0400,
FirmwareCRC32 = 0x0800,
InputStage_OP1= 0x1000,
InputStage_OP2= 0x2000,
EepromCRC16 = 0x4000,

cod. EUROMAG MC406 CMD03 rev. 1.1 del 22/01/2022


MODBUS RTU MC406 CMD03
PcbWetDetected= 0x8000,
MC406 battery level
0: OK
1: low (25%)
1718 1 Battery level 2: exausting (10%) Uint8 R
3:fault
4:full(100%)
5:main powered
1720 8 TPACC_M3 double counter total positive in m3 Double R
1724 8 TNACC_M3 double counter total negative in m3 Double R
1728 8 PPACC_M3 double counter total positive in m3 Double R
1732 8 PNACC_M3 double counter total negative in m3 Double R
counter total positive in the current technical
1736 8 TPACC_TU double Double R
unit
counter total negative in the current technical
1740 8 TNACC_TU double Double R
unit
counter partial positive in the current technical
1744 8 TPACC_TU double Double R
unit
counter partial negative in the current technical
1748 8 TNACC_TU double Double R
unit

CMD03 – Read Holding Register – CONVERTER CONFIGURATION

MODBUS NUM. Range DATA Access


Parameter Description
ADDRESS BYTES TYPE
1000 2 EE_KEY uint16 R
1001 2 EE_PULSE_LENGTH pulse "ON" width [ms] 5-500 uint16 R

external temperature 5-250 R


1 probes measuring
1020 EE_TMEAS_TIME period [s] uint8
external pressure probe 10-250 R
1
1021 EE_PMEAS_TIME measuring period [s] uint8
1022 1 EE_ENERGY_OPTION uint8 R
external pressure probe 0-1 R
1
1023 EE_PRESS_OPTION configuration (anable) uint8
process log line storing 1-120 R
1
1024 EE_PLOG_TIME period [minutes] uint8

1062 2 EE_PULSE_VOL pulse volume 1-10000 uint16 R


1 milliliter [mL] R
2 liter [L]
1
pulse volume entry 3 cubic meter
1063 EE_UT_PULSE technical unit [m3] uint8

cod. EUROMAG MC406 CMD03 rev. 1.1 del 22/01/2022


MODBUS RTU MC406 CMD03
4 US liquid gallon
[gal]

1082 24 EE_CONV_ID converter ID 24 char R


1087 24 EE_SENSOR_ID coupled sensor ID 24 char R
1092 24 EE_CONV_SN converter serial number 24 char R
1094 24 EE_CAL_DATE meter calibration date 24 char R
1098 24 EE_DEV_NAME converter model 24 char R

0 always off R
1 on every 5 sec
2 on every 10
sec
3 on every 15 sec
4 on every 30 sec
5 on every 1 min
6 on every 2 min
7 on every 5 min
8 on every 10
min
1
9 on every 15
min
10 on every 30
min
11 on every 60
min
12 on every 4 h
13 on every 8 h
14 on every 12 h
15 on every 24 h
1362 EE_RS485_ON_INTERVAL rs485on interval 16 always on uint8
0 2400 R
1 4800
2 9600
1 3 19200
4 38400
5 57600
1363 EE_RS485_BAUDRATE rs485 baudrate 6 115200 uint8
0 8 bit data R
1
1364 EE_RS485_DATA_NUM_BIT rs485 data num bit 1 7 bit data uint8
0 parity none R
1 1 parity odd
1365 EE_RS485_PARITY rs485 parity 2 parity even uint8
0 1 bit stop R
1
1366 EE_RS485_STOP_BITS rs485 stop bits 1 2 bit stop uint8
1367 1 EE_RS485_MODBUS_MODE uint8 R
1368 1 EE_RS485_MODBUS_ADDR rs485 modbus addrs 1-255 uint8 R
1369 1 EE_RS485_MODUBUS_BYTE_ORDER modbus byte order 0 little endian uint8 R

cod. EUROMAG MC406 CMD03 rev. 1.1 del 22/01/2022


MODBUS RTU MC406 CMD03
1 big endian
2 little endian
byte swap
3 big endian
byte swap
4 custom 1
5 custom 2

flowrate cut-off filter 0-1000 R


2
1381 SEE_CUTOFF [m/s / 100] uint16
1382 2 SEE_PULSE_VOL_OLD uint16 R
low power measuring 1-60 R
1
1383 SEE_MEAS_FREQ period [s] uint8
1384 2 SEE_DAMPING uint16 R
1 meter [m] R
2 cubic meter
[m3]
3 liter [L]
1
4 mega liter [ML]
5 cubic foot [ft3]
flowrate technical unit 6 US liquid gallon
1385 SEE_UT_FLOW index [gal] uint8
1 second [s] R
2 minute [m]
1 3 hour [h]
flowrate time base
1386 SEE_TB_FLOW index 4 day [d] uint8
2 cubic meter R
[m3]
3 liter [L]
1
4 mega liter [ML]
totalizers technical unit 5 US liquid gallon
1387 SEE_UT_ACC index [gal] uint8
1388 1 SEE_UT_PULSE_OLD uint8 R
empty pipe detection 200-5000 R
2 threshold (on the 4th
1389 SEE_EPIPE_TH electrode) uint16
0 detect disabled R
1 empty pipe 1 detect enabled
1390 SEE_EPIPE configuration (4th electrode) uint8
decimal digits count 0-4 R
1
1391 SEE_NDEC_INST (flowrate) uint8
decimal digits count 0-3 R
1
1392 SEE_NDEC_ACC (totalizers) uint8
flowrate full-scale [m/s / 10-100 R
1
1393 SEE_FS_MS 10] uint8
bypass filter threshold 2-95 R
1
1394 SEE_BYPASS [%full scale] uint8

cod. EUROMAG MC406 CMD03 rev. 1.1 del 22/01/2022


MODBUS RTU MC406 CMD03
peak cut filter threshold 1-90 R
1
1395 SEE_PEAK_CUT [%full scale] uint8

cod. EUROMAG MC406 CMD03 rev. 1.1 del 22/01/2022


MODBUS RTU MC406 CMD03
Example R/W Byte Register

Address 1001 – pulse "ON" width [ms]

Address 1001=03e8h Read request description


Query chart
register word 03F2hex data count word 0001hex CRC 16 word
address function data start data start data byte data byte CRC
CRC HI
address HI address LOW count HI count LOW LOW
ID dispositivo
03 03h E8h 00 1 CRC16
(1÷255)

Response example chart


data byte register 03F2hex word value CRC 16 word
address function
count data byte HI data byte LOW CRC LOW CRC HI
ID dispositivo 03 2 00 5 ÷ 500 s CRC16

cod. EUROMAG MC406 CMD03 rev. 1.1 del 22/01/2022


MODBUS RTU MC406 CMD03
Ecample R/W Float Register

Address 1662 – instantaneous measurement flow rate in m3/h


Address 1662=0674h Read request description
Query chart
register word 041Ehex data count word 0001hex CRC 16 word
address function data start data start data byte data byte CRC CRC
address HI address LOW count HI count LOW LOW HI
ID dispositivo
03 06h 7Eh 00 2 CRC16
(1÷255)
Response example chart
register 041Ehex word register 041Fhex word
CRC 16 word
data byte value value
address function
count data byte data byte data byte data byte CRC CRC
HI LOW HI LOW LOW HI
word LOW word HI
ID dispositivo 03 4 CRC16
word HI (float reverse) word LOW (float reverse)

cod. EUROMAG MC406 CMD03 rev. 1.1 del 22/01/2022

You might also like