Вы находитесь на странице: 1из 5

Short description for the EC-24 Modbus

Modbus parameterize
- The Modbus can be activated over the coordinate Z01.
- The Modbus - ID is adjusted over the coordinate Z07
- The Modbus - Register - Offset (MRO) is adjusted over the coordinate Z08 (default is 0)
The MRO applies with reading and write operations.

Default parameters for the serial interface


2400 baud
no Parity
8 Data bit
1 Stop bit
Modbus ASCII or RTU

The EC-24 has a passive RS485 interface, i.e. the interface must be supplied externally.
(see manual)

EC-24 Modbus - Commands


The EC-24 knows the following Modbus commands:
(03 Hex) Read Holding Registers
(06 Hex) Read Single Register
(10 Hex) Preset Multiple Register
(08 Hex) Diagnostic
(00 Hex) Return Query Data

EC-24 Exception Codes

01 Illegal Function
02 Illegal Data Address (Register not available)
03 Illegal Data Value (Register not recordable or Value wrong)

EC-24 Modbus Page 1/5


Example (Modbus question / answer):

Question: Call sign


Start Char :
Slave Address 01
Function 03
Starting Address Hi 07
Starting Address Lo CF 2000-1
No. of Points Hi 00
No. of Points Lo 02
LRC 24
carriage return cr
line feed lf

Answer: Receive signal


Start Char :
Slave Address 01
Function 03
Byte Count 04
Data Hi (Reg 2000) 3F
Data Lo (Reg 2000) 80
Data Hi (Reg 2001) 00
Data Lo (Reg 2001) 00
LRC 39
carriage return cr
line feed lf

Example (Modbus numbers format):

Data type Register Value Byte Byte Byte Byte Byte Byte Byte Byte Byte Byte
1 2 3 4 5 6 7 8 9 10

float 2 1.0 0x3f 0x80 0x00 0x00


Text 5 "90111200" 0x39 0x30 0x31 0x31 0x31 0x32 0x30 0x30 0x00 0x00
int 1 1357 0x05 0x4d
long 2 698614 0x00 0x0a 0xa8 0xf6

EC-24 Modbus Page 2/5


Specific of the EC24-Modbus:

Data type (float, text ...) can be read or rather written only completely
float : 2 Register
long integer : 2 Register
integer : 1 Register
Text : 5 Register
Monthly Storage : 15 Register

Maximally 100 registers (in an instruction) can be read and/or rather written.

Text fields must have at least a final zero (0x00).

Counts are supplied as long - value (without comma), the valency of the counter can be sampled
over the Terz mode (register 2310).

EC-24 Modbus Page 3/5


Modbus - Register (Stand: January 2010)

Coordinate Description Modbus Reg. Access Type


A01 Main totalizer, volume at base conditions 1000 (2) W-E long
A02 Main totalizer, volume at measurement conditions 1002 (2) W-E long
A03 Disturbing quantity totalizer, volume at base conditions 1004 (2) W-E long
A04 Disturbing quantity totalizer, volume at measurement 1006 (2) W-E long
conditions
A05 Pulse scaling factor 2000 (2) W-E float
A06 Meter factor 2300 (5) W-E text
A10 Monthly storage 1(Day ; Vb ; Vm ; dVb ; dVm ; P ; T; S) 6000 (15) R-O Var.
A11 Monthly storage 1(Day ; Vb ; Vm ; dVb ; dVm ; P ; T; S) 6015 (15) R-O Var.
A12 Monthly storage 1(Day ; Vb ; Vm ; dVb ; dVm ; P ; T; S) 6030 (15) R-O Var.
A13 Monthly storage 1(Day ; Vb ; Vm ; dVb ; dVm ; P ; T; S) 6045 (15) R-O Var.
A14 Monthly storage 1(Day ; Vb ; Vm ; dVb ; dVm ; P ; T; S) 6060 (15) R-O Var.
A15 Monthly storage 1(Day ; Vb ; Vm ; dVb ; dVm ; P ; T; S) 6075 (15) R-O Var.
A16 Monthly storage 1(Day ; Vb ; Vm ; dVb ; dVm ; P ; T; S) 6090 (15) R-O Var.
A17 Monthly storage 1(Day ; Vb ; Vm ; dVb ; dVm ; P ; T; S) 6105 (15) R-O Var.
A18 Monthly storage 1(Day ; Vb ; Vm ; dVb ; dVm ; P ; T; S) 6120 (15) R-O Var.
A19 Monthly storage 1(Day ; Vb ; Vm ; dVb ; dVm ; P ; T; S) 6135 (15) R-O Var.
A20 Monthly storage 1(Day ; Vb ; Vm ; dVb ; dVm ; P ; T; S) 6150 (15) R-O Var.
A21 Monthly storage 1(Day ; Vb ; Vm ; dVb ; dVm ; P ; T; S) 6165 (15) R-O Var.
A22 Monthly storage 1(Day ; Vb ; Vm ; dVb ; dVm ; P ; T; S) 6180 (15) R-O Var.
A23 Monthly storage 1(Day ; Vb ; Vm ; dVb ; dVm ; P ; T; S) 6195 (15) R-O Var.
B01 Flow rate at base conditions (Qb) 1008 (2) R-O float
B02 Calculated flow rate at measurement conditions (Qm) 1010 (2) R-O float
B03 Frequency 1012 (2) R-O float
B04 Lower fault limit (Qm<) 2002 (2) W-E float
B05 Upper fault limit (Qm>) 2004 (2) W-E float
B06 Maximum value of the flow rate measurement 1014 (2) R-O float
conditions (Qmx)
B07 Cut off Qm< (Main totalizer stopp) 2070 (2) W-E float
B08 Maximum time under Qm< 2410 (1) W-E int.
C01 Measured value of pressure (absolute pressure) 1016 (2) R-O float
C02 Lower fault limit (p<) 2006 (2) W-E float
C03 Upper fault limit (p>) 2008 (2) W-E float
C04 Specified value, pressure at base conditions (pb) 2010 (2) W-E float
C05 Default value pressure (p-def) 2012 (2) W-C float
C06 Pressure binary display 1100 (1) R-O int.
C07 Binary value at 0,5 V 2400 (1) W-E int.
C08 Binary value at 4,5 V 2401 (1) W-E int.
C09 Constant, pressure transmitter base calibration 2014 (2) W-E float
C10 Constant, pressure transmitter base calibration 2016 (2) W-E float
C11 Constant, pressure transmitter base calibration 2018 (2) W-E float
C12 Correction value for pressure transducer (factor) 2020 (2) W-E float
C13 Correction value for pressure transducer (offset) 2022 (2) W-E float
D01 Measured temperature value 1018 (2) R-O float
D02 Lower fault limit (T<) 2024 (2) W-E float
D03 Upper fault limit (T>) 2026 (2) W-E float
D04 Specified value, temperature at base conditions (Tb) 1032 (2) W-E float
D05 Default value temperature (T-def) 2030 (2) W-C float
D06 Adjustment value (factor) 2032 (2) W-E float
D07 Adjustment value (offset) 2034 (2) W-E float
D08 Binary value of AD converter 1101 (1) R-O int.
E01 Conversion factor 1020 (2) R-O float
E02 K-coefficient 1022 (2) R-O float

EC-24 Modbus Page 4/5


E03 specified value for K-coefficient (if K=constant) 2036 (2) W-C float
E04 Superior calorific value (Hon) 2038 (2) W-C float
E05 Rhon 2040 (2) W-C float
E06 Carbon dioxide content 2042 (2) W-C float
E07 Compressibility factor at base conditions (Zb) 1024 (2) R-O float
E08 Compressibility factor at measurement conditions (Z) 1026 (2) R-O float
E09 Reference temperature for superior calorific value (TB) 1034 (2) W-E float
E10 N2 (for AGA) 2066(2) W-C float
E11 dy (for AGA) 2068(2) W-C float
F01 Current out 1028 (2) R-O float
F02 Value at 4 mA 2046 (2) W-C float
F03 Value at 20 mA 2048 (2) W-C float
F04 Current default 2050 (2) W-C float
F05 Current rise 2054 (2) W-C float
F06 Current offset 2052 (2) W-C float
F07 Current damping 2056 (2) W-C float
G01 Error text 1102 (1) R-O int.
G02 Software version 1030 (2) R-O float
G03 Serial number 2200 (2) W-E long
G04 Checksum 1103 (1) R-O int.
G05 Serial number of the pressure transducer 2202 (2) W-E long
G06 Pressure range min 2058 (2) W-E float
G07 Pressure range max 2060 (2) W-E float
G08 Serial number of the temperature transducer 2204 (2) W-E long
G09 Temperature range min 2062 (2) W-E float
G10 Temperature range max 2064 (2) W-E float
G11 Serial number of the gas meter 2206 (2) W-E long
G12 Meter size 2305 (5) W-E text
G13 Date of next battery change 2208 (2) W-C long
Z01 Terz mode 2310 (5) W-E text
Z02 Ec mode 1 2315 (5) W-E text
Z03 Pulse X 2402 (1) W-E int.
Z04 Pulse Y 2403 (1) W-E int.
Z05 Time 2320 (5) W-C text
Z06 Date 2325 (5) W-C text
Z07 Modbus address 2404 (1) W-C int.
Z08 Modbus register offset 2405 (1) W-C int.
Z09 Error bit string (hexadecimal) 1104 (1) R-O int.
Z10 Reserve 2406 (1) W-E int.
Z11 Code word 2407 (1) W-E int.
Z12 daily beginning for monthly storage 2408 (1) W-C int.
Z13 Ec mode 2 2330 (5) W-E text.
Z14 No 1036 (2) R-O float
Z15 Analysis type 2409 (1) R-O int.
Z16 default value for the code word 2411 (1) W-E int.

W-E Calibration switch


W-C Codeword
R-O No protection

EC-24 Modbus Page 5/5

Вам также может понравиться