background image

 

 

CMi6140 

User’s Manual English 

 

 

 

 

 

 

 

 

 

 

 

 

CMi6140 

User’s Manual English 

page | 28 (38) 

[2022-09] 

 

V1.2 

 

 

 

 

Configuration 
 

SenML/CBOR is to be considered a 

message encoding

. It defines how the messages are encoded, but 

not the actual contents of the messages (which fields from the meter are included). SenML/CBOR/M-Bus 
is one such encoding, but there could be several based on this SenML/CBOR specification and the 

encoder version field

 above defines exactly which type and version is used. 

 
The contents of the message are defined by the 

message

 format. The message format sets which fields 

are to be included in both the first and the subsequent records of the SenML pack. 
 
The number of records included in a pack is set by the readout and transmit intervals. See Scheduling 
Readouts for more details. If the readout interval is 120 minutes and the transmit interval is 1440 minutes 
12 readouts in total will be included.

 

 
Message Size Restrictions 
 

Each product may have different maximum payload sizes in a single telegram. Also depending on 
configuration (DTLS or not for instance) the net payload size may vary. Therefore, the device shall “fill up” 
as many telegrams as required to send 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 configured using a 

Message Format

 and many readouts the data may not fit in a single 

telegram. In such cases multiple telegrams shall be sent and each telegram shall be fully self-described, 
i.e., contain Meter ID, timestamps etc. 
 

Examples 
 

Example 1: 

Parameter

 

Value

 

Readout interval 

60 

Transmit interval 

1440 (daily) 

Message encoding 

SenML/CBOR/M-Bus version 0 

Message format 

Standard 

Max transmissions per day  3 

 
This example results in the transmission of one message per day, containing 24 readings, all with the 
contents defined in the Standard message format. Data is encoded using SenML/CBOR/M-Bus. 
Maximum 3 unsent such messages are sent each time (if for some reason the messages were not sent 
“last time”). So maximum transmitted messages per day is 3 (containing 3x24=72 readings, covering 3 
days) 
 
Example 2: 

Parameter

 

Value

 

Readout interval 

120 

Transmit interval 

720 

Message encoding 

SenML/CBOR/M-Bus version 0 

Message format 

Tariff 

Max transmissions per day  2 

 
This example results in the transmission of one message every 12h, containing 6 readings, all with the 
content defined in the Tariff message format. Data is encoded using SenML/CBOR/M-Bus. Maximum 2 

Содержание 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...

Отзывы: