background image

Page 4 from 10 
E120103819092 

Interface Module XC Modbus 

Protocol Converter / User Manual

 

 

Baer Energie- & Messtechnik GmbH 

 Siemensstr. 3 

 D-90766 Fürth 

 Phone +49 911 970590 

 Fax +49 911 9705950 

 

 

Every Modbus packet consists of four fields (Request := eight bytes): 

 

Slave Address Field (ID-Address): one byte between 1 and F7

Hex

; (:= 1 to 247

Dec

 

Function Field: one byte (:= 3 / fix, Read Holding Registers) 
 

→ Modbus register address (start register) := address in the device – 40001 

 

Data Field: 
 

Request: four bytes (start register: 2 bytes, # of registers: 2 bytes) 

 

 

Response: (1 + 2 

 n)  bytes (counter: 1 byte, n registers: 2 

 n bytes) 

 

Error Check Field (Checksum): two bytes, a 16-bit Cyclic Redundancy Check (CRC16: Cyclic 
Redundancy Check) 

Example: 

 

ID-Address: 123

Dec

 (:= 7B

Hex

) / start register: 14

Dec

 (00 0E

Hex

) / # of registers: 2 (:= one 32 bit value) 

Request: 

 ID-Addr.  Function 

Start register 

# of registers 

CRC16 

7B 

03 

00 

0E 

00 

02 

AE 

52 

Response: 

 ID-Addr.  Function 

Register 1 

Register 2 

CRC16 

7B 

03 

04 

00 

00 

00 

3B 

60 

27 

Value = 59

Dec

 (00 00 00 3B

Hex

Accepting the meter data 

The Modbus module reads the service data list (TS) from the meter periodically (interval between two 

readings: ca. 0.5 seconds) and creates an internal table with 16 bit registers (words): first data value 
from meter is saved at register 0 and 1 (ID-Address). Via Modbus is it possible to read all this 
registers.  

Values at empty registers :=  FFFF

Hex

 (:= 65535

Dec

). 

All meter values between curved brackets (OBIS coded) will be transformed to 32 bit values. Possible 
range of the values: -2

31

 to 2

31

-1 (-2147483648

Dec

 to 2147483647

Dec

). 

Wrong values := -1 (FFFFFFFF

Hex

).  

Summary of Contents for Interface Module XC Modbus

Page 1: ...or meter data max 125 values into Modbus Format non transparent data readout Transmission protocol Modbus RTU 8N1 Internal communication interface for the transfer service data TS between the meter and the interface module Internal power supply from meter Exchangeable during the meter operation Safety Notes The owner of the interface modules is responsible that all persons engaged on work with the...

Page 2: ...erface module 2 Remove the terminal cover 5 3 Open the transparent module cover 1 4 Insert the interface module 3 carefully at the place provided in the meter 2 5 Push the module in to the internal contacts 6 Connect the cable 7 Close the transparent module cover 1 8 Close the terminal cover 5 Removing of the interface module 9 Remove the terminal cover 5 10 Open the transparent module cover 1 11 ...

Page 3: ...mmunications loop A SLAVE device never initiates a communications sequence All communications activity on the loop occurs in the form of PACKETS A packet is a serial string of 8 bit byte The maximum number of bytes contained within one packet is 255 All packets transmitted by a MASTER are REQUESTS All packets transmitted by a SLAVE are RESPONSES At most one SLAVE can respond to a single request fr...

Page 4: ...undancy Check Example ID Address 123Dec 7BHex start register 14Dec 00 0EHex of registers 2 one 32 bit value Request ID Addr Function Start register of registers CRC16 7B 03 00 0E 00 02 AE 52 Response ID Addr Function Register 1 Register 2 CRC16 7B 03 04 00 00 00 3B 60 27 Value 59Dec 00 00 00 3BHex Accepting the meter data The Modbus module reads the service data list TS from the meter periodically...

Page 5: ...erface Module XC Modbus uses the same baud rate like the communication interface at the meter For setting use please the EMH COMBI TOOL Software menu Meter Interfaces Electrical supplement aditional interface For correct working set please a fixed bad rate e g 9600 baud If you use the baud rate changeover according to mode C the communication is possible with 300 baud only For the addressing set t...

Page 6: ...ID Address For setting the meter data list use menu Lists Reading lists Service Table TS Note 1 The Modbus module uses for ID Address the first data value in the service data list TS register addresses 0 and 1 In this example we use the identification number 1 OBIS 0 0 1 for ID Address menu Meter Meter ID OBIS Register 0 0 1 e g value 123 00000123 Note 2 Only the first 125 values from the service ...

Page 7: ...ress Start register 22 Value 5001 C 86 0 38307030 Address Start register 24 Value 38307030 C 86 6 B05800F0 Address Start register 26 Value 58000 Modbus registers Register address Value Comments 0 0 OBIS Register 0 0 1 123 0 123 Modbus ID Address 1 007FHex 0123Dec 2 0 OBIS Register 1 25 0 kW 0 0 3 0 4 0 OBIS Register 3 25 0 kvar 0 0 5 0 6 0 OBIS Register 9 25 0 kVA 0 0 7 0 8 0 OBIS Register 31 25 0...

Page 8: ...imensions Ca 50mm x 105mm x 27mm W x H x D Nominal voltage Internal power supply from LZQJ XC or DMTZ XC meter Battery None Installation Exchangeable during the meter operation LED displays 3 LEDs green Power Tx power transmit data yellow Rx receive data red Error internal communication error Interface RS485 2 wires according to ANSI TIA EIA 485 A 98 Baud rate 300 to 19200 baud fixed baud rate Dat...

Page 9: ...tocol Converter User Manual Page 9 from 10 E120103819092 Baer Energie Messtechnik GmbH Siemensstr 3 D 90766 Fürth Phone 49 911 970590 Fax 49 911 9705950 Dimensions Note if necessary the 120Ω termination can be activated position ON ...

Page 10: ...tr 3 D 90766 Fürth Phone 49 911 970590 Fax 49 911 9705950 Subject to change without notice Version 2 01 Terminal assignment Terminal block Terminal Description A RS485 A Modbus B RS485 B Modbus Baer Energie Messtechnik GmbH Siemensstr 3 D 90766 Fürth Germany Phone 49 0 911 970590 Fax 49 0 911 9705950 Internet www baer gmbh com ...

Reviews: