background image

 

 

CMi6140 

User’s Manual English 

 

 

 

 

 

 

 

 

 

 

 

 

CMi6140 

User’s Manual English 

page | 26 (38) 

[2022-09] 

 

V1.2 

 

 

 

 

 

Other values 
 

 

(Base) Unit

 is not used, since the unit is specified by the M-Bus data 

 

An “Encoder Version field” is used in a separate record to define the type and version of the 
encoded payload data. 

 

Additional Records 
 

All records in the SenML pack are expected to contain measurement values. If there is a need for 
transmitting additional information in the same pack additional records can be added. For such records 
the name field shall be used by defining a name of at least a single character. In SenML the 

base name

 

and the 

name

 fields are appended to result in the final record name.  

 
The 

name 

shall contain at least one character outside [A-Fa-f0-9] which signifies non-hexadecimal 

representation, since meter-id is typically decimal/hexadecimal, and this makes it easier to check the 
record name for validity.  
 
If a parser finds a record with a 

name

 field like described above that it does not recognize it shall ignore 

the record. 
 
The following additional records are currently used 
 

Record

  

Name field

 

Comment

 

Encoder Type & 
Version 

”V” 

This field allows defining versions 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”. 

 

 

This field encapsulates both the encoding of the data and versioning 

 

It contains no timestamp 

 

It is encoded as a SenML Value 

 

It has a 

Name

 

field with the single letter “V” 

 

If, when parsing, an invalid version is encountered the parsing shall stop with an error 

 

The value shall be interpreted as an UINT16 

o

 

The first byte is the 

encoder

 type and the second is the encoder 

version

, both interpreted 

as UINT8. 

o

 

Example:

 value 0x0102 means Encoder type 0x01 and Encoder version 0x02.  

o

 

Defined valid encoder types and versions are found in a table below on this page 

o

 

Size of whole record is maximum 7 bytes 

o

 

If we ever need to extend this beyond 256 encoder types or versions, we could use an 
UINT32 and let the least significant byte overlap with the definition above and thus 
simply extend encoder type and version to use UINT16 instead of UINT8 

 

If record is excluded, 

encoder

 type is 0 and 

encoder

 version is 0 

 

Record

  

Name field

 

Data 

Comment

 

0 (M-Bus) 

0x0000  M-Bus encoding of payload data. Each data record contains all 

DIF/VIF/Values according to M-Bus. 
 
Note that M-Bus uses LSB first byte order for the data and it 
shall be preserved here as well. 

 

Содержание 1100441

Страница 1: ...CMi6140 User s Manual English CMi6140 User s Manual English V1 2...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: