background image

 

Interface Module XC Modbus 

Protocol Converter / User Manual

 

Page 3 from 10 

E120103819092 

Baer Energie- & Messtechnik GmbH 

 Siemensstr. 3 

 D-90766 Fürth 

 Phone +49 911 970590 

 Fax +49 911 9705950 

 

 

Communication (Modbus RTU, Protocol Converter) 

The interface port RS485 is conforming to 

“Modbus Application Protocol V1.1b”: Modbus RTU 

(Remote Terminal Unit). 
Fixed baud rate from the 2

nd

 electrical interface (see EMH COMBI-TOOL-Software: communication 

interfaces, set please the data transmission at a fixed baud rate without baud rate changeover), data 
format: 8N1; 

The following rules define the protocol for information transfer between a Modbus MASTER and the 

Interface Module XC Modbus

 

The module 

supports only the “Modbus RTU Mode of Transmission”: Read Holding Registers. 

 

Transmission settings: 8N1 (1 start bit, 8 data bits, no parity, 1 stop bit). 

 

All communications on the RS485 bus conform to a MASTER/SLAVE scheme. In this scheme, 
information and data is transferred between a Modbus MASTER device (e.g. AMR Software) and 
up to 32 SLAVE devices (Modbus Interface Module XC). 

 

The MASTER initiates and controls all information transfer on the communications loop. 

 

A SLAVE device never initiates a communications sequence. 

 

All communications activity o

n 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 from a MASTER. 

The Modbus module supports the 

Function Code 3

 (Read Holding Registers) with signed 32 bit 

values (

Signed Int32, Type D

). All values includes 2 words (registers) with 16 bits each: first register 

(even register addresses: 0,2,4,6...) for high-word and second register (odd register addresses: 
1,3,5,7...) for low-word. 

Example: 

Value = 12345678

Hex

 (32 bit := 4 Byte) start at register address 20: 

Register 

address 

Value 

Type of value 

 

20 

1234

Hex 

(:= 4660

Dec

16 bit, High-Word 

 

21 

5678

Hex 

(:= 22136

Dec

16 bit, Low-Word 

:= 4660 × 65536 + 22136 = 305419896 

The  Modbus  module  uses  for 

ID-Address

  the  first  data  value  in  the  service  data  list  (TS):  register 

addresses 0 and 1. For setting the value use please the EMH COMBI-TOOL-Software.  

Possible value range: 1 to F7

Hex

 := 1 to 247

Dec 

/ Value outside of this range: ID-Address := 1 (default) 

Example: 

Value (ID-Address) = 0000007B

Hex

 (:= 00000123

Dec

) starts at register address 0: 

Register 

address 

Value 

0000

Hex

 

007B

Hex

 (:= 123

Dec

 

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: