Table of Content
B21 6 2CMC485004M0201
User Manual Revision A
9 Communication with Modbus ................................................................... 63
9.1 About the Modbus Protocol ......................................................................................... 64
9.1.1 Function Code 3 (Read holding registers) ......................................................... 64
9.1.2 Function Code 16 (Write multiple registers) ...................................................... 66
9.1.3 Function Code 6 (Write single register) ............................................................. 67
9.2 Reading and Writing to Registers ................................................................................ 69
9.3 Mapping Tables ........................................................................................................... 70
9.4 Historical Data .............................................................................................................80
9.4.1 Quantity identifiers ............................................................................................. 83
9.5 Event logs .................................................................................................................... 88
9.5.1 Reading Event logs ............................................................................................ 90
9.6 Configuration ...............................................................................................................92
9.6.1 Alarms ................................................................................................................ 92
9.6.2 Inputs and outputs ............................................................................................. 95
9.6.3 Tariffs ................................................................................................................. 97
10 Communication with M-Bus .................................................................. 105
10.1 Protocol Description ................................................................................................. 106
10.1.1 Telegram Format ........................................................................................... 109
10.1.2 Value Information Field codes ....................................................................... 115
10.1.3 Communication process ................................................................................ 120
10.2 Standard Readout of Meter Data ............................................................................. 122
10.2.1 Example of the 1st telegram (all values are hexadecimal) ............................ 122
10.2.2 Example of 2nd telegram (all values are hexadecimal) ................................. 126
10.2.3 Example of 3rd telegram (all values are hexadecimal) .................................. 130
10.2.4 Example of the 4th telegram (all values are hexadecimal) ............................ 135
10.2.5 Example of the 5th telegram (all values are hexadecimal) ............................ 138
10.2.6 Example of the 6th telegram (all values are hexadecimal) ............................ 141
10.2.7 Example of the 7th telegram (all values are hexadecimal) ............................ 145
10.2.8 Example of the 8th telegram (all values are hexadecimal ............................. 148
10.2.9 Example of the 9th telegram (all values are hexadecimal ............................. 151
10.3 Special Readout of Meter Data ................................................................................ 154
10.3.1 Readout of Load Profile Data ........................................................................ 155
10.3.2 Readout of Previous Values .......................................................................... 162
10.3.3 Readout of Event Log Data ........................................................................... 167
10.4 Sending Data to the Meter ....................................................................................... 171
10.4.1 Set tariff ......................................................................................................... 171
10.4.2 Set primary address ....................................................................................... 172
10.4.3 Change baudrate ........................................................................................... 172
10.4.4 Reset power fail counter ................................................................................ 173
10.4.5 Set Current transformer (CT) ratio - numerator ............................................. 173
10.4.6 Set current transformer (CT) ratio - denominator .......................................... 174
10.4.7 Select status information ............................................................................... 174
10.4.8 Reset of stored state for input 1 ..................................................................... 175
10.4.9 Reset of stored state for input 2 ..................................................................... 175
10.4.10 Reset of stored state for input 3 ................................................................... 176
10.4.11 Reset of stored state for input 4 ................................................................... 176
10.4.12 Reset of input counter 1 ............................................................................... 177
10.4.13 Reset of input counter 2 ............................................................................... 177
10.4.14 Reset of input counter 3 ............................................................................... 178
10.4.15 Reset of input counter 4 ............................................................................... 178
10.4.16 Set output 1 ................................................................................................. 179
10.4.17 Set output 2 ................................................................................................. 179