background image

 

 

CMi6140 

User’s Manual English 

 

 

 

 

 

 

 

 

 

 

 

 

CMi6140 

User’s Manual English 

page | 23 (38) 

[2022-09] 

 

V1.2 

 

 

 

 

Field 

 

Description   

 

Sub-unit 1 is used in DIFE for In A 
Examples: 
Volume: 844014B1EB0100 = 1258.73 
m³ 
Energy: 84400725120000 = 46450 kWh 

Pulse In B 

85 or 
225 

INT32 

Reads the registers corresponding to 
the In B connector on the module. 
Sub-unit 2 is used in DIFE for In B 
Example:  
Volume: 848040144E1E0100 = 732.94 
m³ 
Energy: 8480400601230000 = 8961 
kWh 

Power 

  

INT16 

Example: 022Bxxxx 

Flow 

  

INT16 

Example: 023Bxxxx 

Fw temp 

  

INT16 

Example: 025Axxxx 

Rt temp 

  

INT16 

Example: 025Exxxx 

Info codes 

  

INT32 

Error and warning flags 
Example: 04FD17xxxx 
Note that this field is always 32 bits, 
even when using MultiCal 403 which 
only reports 16 bits. 

Table 12: Meter register, Pulse message 

 
JSON 
Example when In-

A measure volume (“VA” and “UA”), and In-B measure Energy (“EB” and “UB”). 

 

{"TS":"2021-12-02T13:14:15Z","ID":12345678,"E":1,"U":"Wh","V":5,"VU":"l","VA":3,"UA":"l",

 

"EB":2,"UB":"Wh","P":6,"PU":"W","F":7,"FU":"l/h","FT":8.1,"TU":"C","RT":-9.2,"RU":"C","EF":"0x12345678"}

 

7.4.2  Message encoding 

7.4.2.1  M-Bus 

In message format M-Bus, data will be M-Bus encoded. Data will be divided into Data Information Blocks 
(DIB) that include Data information field (DIF code), Value information field (VIF code) and a data field 
(DATA) where the actual payload is stored (illustrated in Figure 3)  
 

 

Figure 3: DIB structure 

7.4.2.2  JSON 

The payload of message format JSON consists of one object with a list of key 

– value pairs. The names 

of each value type and unit is presented in Table 13. The values are encoded as numbers or strings and 
the units are encoded as strings. 
 

Summary of Contents for 1100441

Page 1: ...CMi6140 User s Manual English CMi6140 User s Manual English V1 2...

Page 2: ...1 Start up and LED indications 9 5 3 2 Switch off reboot module 11 6 INTEGRATION GUIDE 12 6 1 PURPOSE 12 6 2 INTRODUCTION 12 6 3 STATUS AND CONFIGURATION PARAMETERS 12 6 3 1 Kamstrup MC403 MC603 MC80...

Page 3: ...CMi6140 User s Manual English CMi6140 User s Manual English page 3 38 2022 09 V1 2 10 1 VERSIONS 37 11 REFERENCES 38 11 1 TERMS AND ABBREVIATIONS 38 11 2 NUMBER REPRESENTATION 38...

Page 4: ...tion and product are provided on an as is basis only and may contain deficiencies or inadequacies Elvaco AB takes no responsibility for damages liabilities or other losses by using this product 1 1 Co...

Page 5: ...energy while switched on Remember that interference can occur if the product is used close to TV sets radios computers or inadequately shielded equipment Follow any special regulations and always swi...

Page 6: ...d information in other languages please visit https www elvaco com 3 3 Symbols The following symbols are used throughout the manual to emphasize important information and useful tips The Note symbol i...

Page 7: ...dy As soon as the meter connectivity module has been mounted and started up it will automatically initiate transmission of meter data without any manual steps needed The CMi6140 is prepared for seamle...

Page 8: ...s chapter provides instructions on how to get started with the CMi6140 After reading and carefully following each step of this chapter the MCM will be mounted and deployed 5 2 Product overview CMi6140...

Page 9: ...which means that no messages will be transmitted from the module Please make sure a SIM card size Nano has been mounted before activating the module There are two ways to activate the module 1 By usin...

Page 10: ...e 1 0 31 Module type Show module type and config 1 1 70 Network status Show the status of the network connection 1 2 71 Bootstrap status Show the status of the LwM2M Bootstrap connection 1 3 72 DM sta...

Page 11: ...Successfully registered to the DM server Table 5 DM Status Number Meaning 0 Device is inactive network is not used 1 Device is configured to not use separate MDM connection 2 Attempting to register to...

Page 12: ...mitted between DM server and module The module will thereafter connect to the MQTT SN gateway and perform a DTLS handshake to generate the sessions keys used to encrypt the session key used to encrypt...

Page 13: ...e Firmware Version 3 0 3 String Firmware version E Device Reboot 3 0 4 Reboot R Device Available Power Sources 3 0 6 0 Integer 0 7 Power source 1 Internal battery 2 External battery 6 AC Mains power R...

Page 14: ...SM Timer 10 0 4 Integer NB IoT T3412 R LwM2M Cellular Connectivity Active Timer 10 0 5 Integer NB IoT T3324 R LwM2M Cellular Connectivity eDRX parameters for NB S1 mode 10 0 9 Opaque 8 bit NB IoT eDRX...

Page 15: ...906 0 2 Integer CMi6140 42 Standard 43 Extended RW Elvaco MCM Config NFC Enabled 33906 0 4 Boolean R Elvaco MCM Config NFC Config locked 33906 0 5 Boolean W Elvaco MCM Config Adjust time 33906 0 6 Int...

Page 16: ...0 1 Integer R Elvaco Meter Info Comm status 33908 0 2 Integer 0 OK 1 No meter detected 2 Error R Elvaco Meter Info Error flags 33908 0 3 Opaque Meter Error flags R Elvaco NB IoT Info IMSI 33909 0 0 I...

Page 17: ...ork there is a rollback functionality in place when changing the APN To change APN write the APN to the resource 10 1 1 and set APN mode to manual in 10 1 2 Once done stage the changes by executing 33...

Page 18: ...he module can be adjusted to be sent in UTC by specifying the UTC offset configuration parameter The UTC offset will be subtracted from the timestamp prior to transmission If the meter is in Sweden wh...

Page 19: ...mission can be done by FIFO or LIFO Rules for retransmissions include maximum age of data order of data number of retransmitted data transmission interval Example 1 A device is configured the followin...

Page 20: ...missions CMi6140 sends meter data messages according to it s transmit interval settings Meter read out is always related to meter s clock at time 00 00 00 Transmission time is randomized between read...

Page 21: ...format ID 67 Field Description Date and Time see Note 1 6 INT32 Date and Time Type F e g 046Dxxxxxxxx M Bus Format F for Date Time Meter ID see Note 1 see Note 2 6 BCD8 According to M Bus EN13757 3 id...

Page 22: ...des 7 INT32 Error and warning flags Example 04FD17xxxx Note that this field is always 32 bits even when using MultiCal 403 which only reports 16 bits Kamstrup MCxx3 Heat Meters Info Codes Date and Tim...

Page 23: ...MultiCal 403 which only reports 16 bits Table 12 Meter register Pulse message JSON Example when In A measure volume VA and UA and In B measure Energy EB and UB TS 2021 12 02T13 14 15Z ID 12345678 E 1...

Page 24: ...Tariff 3 Energy T3 Tariff 3 Energy unit U2 Missing time MT Missing time unit MU Table 13 Payload JSON encoded message Only included in the extended message Example payload JSON TS 2019 11 28T20 39Z ID...

Page 25: ...aka array of readout values records encoded using CBOR Each record is a map of key value pairs using SenML Each product that uses the SenML CBOR format shall follow the requirements below In addition...

Page 26: ...ons for the contents of the measurement field Encoder Type Versioning The following table defines allowed encoder types and versions The information is sent in a special record Encoder Version field T...

Page 27: ...1 fixed 24 00 Key 1 0 name 1 fixed 25 61 56 Value 1 string V version 2 fixed 26 02 Key 2 integer value 1 fixed 27 00 Value 2 UINT16 28 0x0000 enc 0 ver 0 3 max 29 Sum 8 bytes max 30 Follows X items of...

Page 28: ...end the data It is for the user to define a configuration that gives a reasonable tradeoff between power consumption send fewer telegrams and functional requirements much data is sent If a device is c...

Page 29: ...140 Parameter Description Configurable values Default value battery Device access Locked device correct PAK or open device Device access No PAK Meter ID Meter identification secondary ID for Kamstrup...

Page 30: ...Writeable Readable DTLS max timeout The last timeout in seconds used when transmitting packets via DTLS for LWM2M 90 Readable Writeable Readable Communicati on retry count Number of connection attempt...

Page 31: ...able Writeable Readable Power saving mode Setting for power save mode Disabled eDRX PSM eDRX PSM eDRX PS M Readable Writeable Readable T3324 timer LTE Active Timer This setting controls how long in se...

Page 32: ...SenML CBOR SenML CB OR Readable Writeable Readable Readout interval Number of minutes between each meter data readout 5 1440 60 Readable Writeable Readable Report interval Number of minutes between ea...

Page 33: ...ons available in CMi6140 Parameter Description Configurable values Default value battery Device access Locked device correct PAK or open device Device access No PAK Communicati on timeout MQTT SN time...

Page 34: ...DC Power consumption max 300 mA Power consumption sleep mode 8 A Environmental specifications Operating temperature 5 to 55 C Operating humidity 0 93 RH No condensation Operating altitude 2000 m Pollu...

Page 35: ...35 38 2022 09 V1 2 via LwM2M Elvaco Evo DM system or third party DM system Preconfig on delivery General Supported Protocols LwM2M MQTT SN both over UDP Security DTLS 1 2 Data storage examples Meter...

Page 36: ...CMi6140 User s Manual English CMi6140 User s Manual English page 36 38 2022 09 V1 2 9 Approvals CMi6140 is designed to comply with the followed directives and standard listed below...

Page 37: ...ish page 37 38 2022 09 V1 2 10 Document history 10 1 Versions Version Date Description V0 1 2021 02 Evaluation samples V0 2 2021 06 LVD Basis V1 0 2022 03 Updated release document V1 1 2022 06 Updated...

Page 38: ...e MCM Meter Connectivity Module MD Meter Data MQTT MQ Telemetry Transport MQTT SN MQTT for Sensor Networks NB IoT Narrowband Internet of Things OSCORE Object Security Constrained RESTful Environments...

Reviews: