MODBUS RTU MC608 CMD03+CMD16
MODBUS REGISTER COMMAND 03
CMD03 – Read Holding Register
Access
MODBUS MODBUS num. Data
description DATA TYPE (Read/Write)
REGISTER ADDRESS bytes Type
CMD16 (*)
4:1002 1001 2 uint Firmware version FW 0207hex=2.07 R
4:1003 1002 2 uint hardware version HW 0501hex=5.01 R
4:1004 1003 2 uint baudrate RS485 Default 9600 R
4:1005 1004 2 byte n° dispositive MODBUS 1÷255 Default 1 R
0=float ( default )
4:1006 1005 2 bool format float on MODBUS R/W
1=reverse float
4:1011 1010 2 byte Reserved Reserved R/W
4:1012 1011 2 uint Reserved Reserved R/W
4:1015 1014 8 ascii manufacturer “EUROMAG” R
4:1020 1019 8 ascii Converter model 8 digits - es.:“MC 608B” R
4:1024 1023 10 ascii Converter’s part number Factory value (9 digits) R
4:1029 1028 4 ulong Converter’s serial number progressive production number R
4:1031 1030 12 uint Coupled sensor model 12 digits - es.: “MUT1100J” R
4:1037 1036 10 ascii Sensor’s part number Factory value (9 digits) R
4:1042 1041 2 uint Coupled sensor’s diameter diameter (1 ÷ 4000) mm R
4:1043 1042 2 byte Empty pipe 1=available; 0=not available R
4:1045 1044 20 byte note Internal references R
4:1055 1054 4 float Full scale m3/h Referent value alarms/display R/W
4:1061 1060 2 byte percentage back light level display 0 ÷ 100 % R/W
0 ÷ 30 secondi
4:1062 1061 2 byte time-out back light display R/W
>30 sempre ON
4:1063 1062 2 byte LCD contrast 24 ÷ 50 R/W
0=english
1=italian
4:1064 1063 2 byte language display 2=spanish R/W
3=portugues
*4=french
0=total positive counters;
1=partial positive counters;
2= total negative counters;
4:1065 1064 2 byte Set last line of the display R/W
3=partial negative counters;
*4=date;
*5 = Exp
cod. EUROMAG MC 608 CMD03+CMD16 - rev. 1.4 del 07/08/2013
MODBUS RTU MC608 CMD03+CMD16
4:1066 1065 2 byte TU flow rate volume See chart VolumeTechnical units R/W
4:1067 1066 2 byte time base flow rate time See chart time units R/W
4:1068 1067 2 byte TU totalizers volume See chart VolumeTechnical units R/W
4:1069 1068 2 uint * liquid specific weight value kg/m3 R/W
0 = °C
4:1070 1069 2 Byte * Technical unit temperature R/W
1 = °F
4:1071 1070 2 byte TU visualized pulses on display See chart VolumeTechnical units R/W
value x 0,1
4:1072 1071 4 float Pulse volume in ml R/W
* value
(value +1) x 0,5 ms
4:1074 1073 2 uint Pulses time ON R/W
* 1 ÷ 1999 ms (def 10)
0= Out pulses + Out Freq : PWM
4:1077 1076 2 Byte * pulses/frequency output Mode R/W
1 = only frequency Out
0 = Off
4:1078 1077 2 Byte * Enable pulses also with negative flow R/W
1= On
0=disabled
1=set zero P-
4:1081 1080 2 byte Programmable input setup R/W
2=set zero P+
3=set zero P+ e P-
0=desabled
1=reverse flow
2= max flow threshold
3= min flow threshold
4:1082 1081 2 byte Programmable output setup R/W
4= max/min threshold
*5= Dosage
*6 = Excitation failure
*7 = Empty pipe alarm
4:1083 1082 2 uint Frequency out full scale 100 ÷ 10000 Hz R/W
0 = Norm. Open
4:1084 1083 2 Byte * Programmable output logic R/W
1 = Norm. Closed
4:1085 1084 4 Float * Dosage volume 1 ÷ 1000000 (TU Counters) R/W
**Damping Filter (average number of samples 5 ÷ 500
4:1101 1100 2 unit R/W
visualized) * 1 ÷ 500
4:1102 1101 2 byte percentage cut-off 0 ÷ 50 % FS (def 2%) R/W
4:1103 1102 2 byte percentage by-pass filter 2 ÷ 95 % FS ( def 10%) R/W
4:1104 1103 2 byte Percentage peak-cut 1 ÷ 25 % FS ( def 5%) R/W
4:1105 1104 2 Byte Freq Line 50hz/60Hz 50Hz , 60Hz R/W
4:1106 1105 2 uint Average filter 1 ÷ **Damping R/W
5% ÷ 100%
4:1111 1110 2 byte Flow rate alarm (MAX) on the FS *(MIN + 5%) ÷ 100% R/W
255 = OFF
1% ÷ (MAX – 5%)
4:1112 1111 2 byte Flow rate alarm (MIN) on the FS *0% ÷ (MAX – 5%) R/W
255 = OFF
value (1 ÷ 240) x 4 sec
4:1132 1131 2 byte Datalogger sampling frequency R/W
* 1 ÷ 120 minuti
(*) FW version 3.00 and latest
FS = Full scale
cod. EUROMAG MC 608 CMD03+CMD16 - rev. 1.4 del 07/08/2013
MODBUS RTU MC608 CMD03+CMD16
TU = Technical Unit
cod. EUROMAG MC 608 CMD03+CMD16 - rev. 1.4 del 07/08/2013
MODBUS RTU MC608 CMD03+CMD16
VOLUME AND TIME BASE UNITS CHARTS
VolumeTechnical 1 2 3 4 5 6 7 8 9 10 11 12 13
units ml cl dl l dal hl m3 Ml in3 ft3 gal bbl oz
1 2 3 4
Time units
/s /min /h /GG
cod. EUROMAG MC 608 CMD03+CMD16 - rev. 1.4 del 07/08/2013
MODBUS RTU MC608 CMD03+CMD16
Address 1005 - FLOAT ON MODBUS FORMAT
This setting inverts the order of the two words making up the 32-bit float and allows
you to read and write data as float or float reverse
Address 1005=03EDh Reading required description
Query chart
register word 03EDhex 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 dispositive
03 03h EDh 00 1 CRC16
(1÷255)
3.1 Read response explanation
Response example chart
register 00AFhex word value CRC 16 word
data byte
address function data byte
count data byte LOW CRC LOW CRC HI
HI
0=float
ID dispositivo 03 2 00 CRC16
1=float reverse
3.2 Write request description
Query chart
register word data count word register 00AFhex word
CRC 16 word
03EDhex 0001hex value
data data data data data byte
address function
start start byte byte count data CRC
data byte LOW CRC HI
address address count count byte HI LOW
HI LOW HI LOW
ID
0=float
dispositivo 16 03h EDh 00 01h 2h 00 CRC16
1=float reverse
(1÷255)
3.3 Write response explanation
Response example chart
register word 03EDhex data count word 0001hex CRC 16 word
data start data start data byte
address function data byte CRC
address address count CRC HI
count HI LOW
HI LOW LOW
ID dispositivo 16 03h EDh 00 01h CRC16
cod. EUROMAG MC 608 CMD03+CMD16 - rev. 1.4 del 07/08/2013
MODBUS RTU MC608 CMD03+CMD16
Example R/W Byte Register
Address 1010 – AUTOMATIC POWER OFF TIME (batteries)
This value represents the time (in seconds) of the automatic power-off, exclusively for
the version with battery power supply
Address 1010=03F2h 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 F2h 00 1 CRC16
(1÷255)
4.2 Write request description
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 20 ÷ 240 s CRC16
4.3 Write request description
Query chart
register word data count word register 03F2hex
CRC 16 word
03F2hex 0001hex word value
data data data data data byte
address function
start start byte byte count data data byte CRC CRC
address address count count byte HI LOW LOW HI
HI LOW HI LOW
ID
dispositivo 16 03h F2h 00 01h 2h 00 20 ÷ 240 s CRC16
(1÷255)
4.4 Write request description
Response example chart
register word 03F2hex data count word 0001hex CRC 16 word
data start data start data byte
address function data byte CRC
address address count CRC HI
count HI LOW
HI LOW LOW
ID dispositivo 16 03h F2h 00 01h CRC16
cod. EUROMAG MC 608 CMD03+CMD16 - rev. 1.4 del 07/08/2013
MODBUS RTU MC608 CMD03+CMD16
Example R/W Unit Register
Address 1041 – SETTING THE COUPLED SENSOR DIAMETER
This value indicates the diameter of the coupled sensor in mm
Address 1041=0411h Read request description
Query chart
register word 0411hex 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 04h 11h 00 1 CRC16
(1÷255)
5.2 Read request description
Response example chart
data byte register 0411hex word value CRC 16 word
address function
count data byte HI data byte LOW CRC LOW CRC HI
ID dispositivo 03 2 1 ÷ 4000 mm CRC16
5.3 Write request description
Query chart
register word data count register 0411hex
CRC 16 word
0411hex word 0001hex word value
data data data data data byte
address function
start start byte byte count data data byte CRC CRC
address address count count byte HI LOW LOW HI
HI LOW HI LOW
ID
dispositivo 16 04h 11h 00 01h 2h 1 ÷ 4000 mm CRC16
(1÷255)
5.4 Write request description
Response example chart
register word 0411hex data count word 0001hex CRC 16 word
data start data start data byte
address function data byte CRC
address address count CRC HI
count HI LOW
HI LOW LOW
ID dispositivo 16 04h 11h 00 01h CRC16
cod. EUROMAG MC 608 CMD03+CMD16 - rev. 1.4 del 07/08/2013
MODBUS RTU MC608 CMD03+CMD16
Ecample R/W Float Register
Address 1054 – FULL SCALE m3/h
The purpose of this function is to set the FS full scale (always expressed in m3/h), to
which all the settings relative to the latter will make reference.
Address 1054=041Eh 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 04h 1Eh 00 2 CRC16
(1÷255)
6.2 Read request description
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)
6.3 Write request description
Query chart
register word data count register 041Ehex register 041Fhex CRC 16
041Ehex word 0002hex word value word value word
data
data data data
address function data start byte data data data
start byte byte data CRC CRC
address count byte byte byte
address count count byte HI LOW HI
LOW LOW HI LOW
HI HI LOW
ID word HI
word LOW
dispositivo 16 04h 1Eh 00 02h 4h word HI (float reverse)
word LOW (float CRC16
(1÷255) reverse)
6.4 Write request description
Response example chart
register word 041Ehex data count word 0002hex CRC 16 word
data start data start data byte
address function data byte
address address count CRC LOW CRC HI
count HI
HI LOW LOW
ID dispositivo 16 04h 1Eh 00 02h CRC16
cod. EUROMAG MC 608 CMD03+CMD16 - rev. 1.4 del 07/08/2013