Operation

Configuration

CMi4140 can be configured in two ways, either via the Elvaco OTC App, or via downlink commands. Configuration via the Elvaco OTC App is highly flexible, and all configuration options available in the module can be set. In contrast, donwlink configuration comes with some limitations, where all options are not available. For a detailed view of what's options available, see Downlink configuration options.

Important

Before relying on downlink configuration, a complete understanding of its limitations in terms of accessibility and limited option set should be considered and understood.

Via Elvaco OTC app

Tip

  • If the module is mounted inside a MULTICAL® 403, the NFC field is easiest accessible if placing your phone in the middle of the higher part of the back.

  • MULTICAL® 603 has two module slots. If mounted in the left module slot, the NFC field is easiest accessible if placing your phone in the middle of the higher part of the back. If the module is mounted in the right module slot, place your phone to the right of the higher part of the back.

  • If the module is mounted in MULTICAL® 803, the meter needs to be open to access the NFC field. Place your phone close to the CMi4140 when making the NFC scan.

Via downlink

Transmit interval

The transmit interval is used to set how frequently the module should transmit data on the LoRaWAN® network. The parameter can be set to a value between 5 and 1440 minutes (i.e. between 5 minute values and daily values). It is possible to fix the transmit interval, but for battery operated devices where battery lifetime is critical, Elvaco recommends using the EcoMode feature, adapting the transmit interval depending on prevailing radio conditions.

Transmit interval using EcoMode

The following table shows the transmit intervals that the module will use for different data rates in order to achieve a11-year battery-life.

Table 167. Transmit intervals for different data rates in EcoMode

Data rate

Transmit interval

DR0

180 min

DR1

120 min

DR2

60 min

DR3 

30 min

DR4-DR5

15 min


The following table shows the transmit interval for different data rates when using a message format with two telegrams, such as the Scheduled Extended+. Sending two telegrams instead of one will double the possible transmit interval using EcoMode.

Table 168. Transmit intervals for different data rates in EcoMode using a two-telgeram message format

Data rate

Transmit interval

DR0

360 min

DR1

240 min

DR2

120 min

DR3

60 min

DR4-DR5

30 min


Note

For applications where battery lifetime is critical, EcoMode should be enabled. If EcoMode has been disabled, battery-life guarantees no longer apply, even if EcoMode is activated later on.

Time handling

The module relies on the meter’s clock for keeping time. Time in the meter is assumed to be in standard local time (no DST). When synchronizing time in the meter using the Elvaco OTC App, local standard time is always used, even if DST is in effect. The timestamped meter data sent from the 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, which uses CET (Central European Time), it should have UTC offset set to +60 (+1h). In this case at time 12.00 a telegram is sent with timestamp 11.00 as this is the corresponding UTC time. A meter in New York (USA) should have a UTC offset of "-300" (-5h) etc. A UTC offset of "0" means the meter time is used as-is.

If the meter is set to used DST this is ignored by the module and the standard time is used. Thus, the time on the meter’s display may not match the time in the telegram or in the Elvaco OTC App.

Adaptive data rate (ADR)

ADR is part of the LoRaWAN® standard where the network server determines the optimal rate of communication for the module based on current signal conditions. In the best radio conditions, the module will use its highest data rate (DR5) in order to be as energy-efficient as possible. When signal conditions are poor, the network server will incrementally lower the data rate until it is able to receive the message. When the data rate is low, the energy consumption per telegram will increase.

Message encoding

All message formats encoded to M-Bus standard will have the following structure. Each telegram begins with one byte specifying the message format. Then follows a sequence of data information blocks (DIBs). The data and structure of the DIBs depends on the message type set. Each DIB contains a data information field (DIF), a value information field (VIF) and a data field (DATA), where the actual payload is stored.

Message_structure_m-bus_.png

M-Bus message structure

Note

If using message format JSON, the data will be presented as plain text, and not according to the M-Bus structure as presented above.

Security and access control

The product has a configuration lock feature, which prevents unauthorized access to the module. When configuration lock has been enabled, a device-specific Product Access Key (PAK) will be needed to access the device. Keys are managed in a secure way using Elvaco’s OTC solution which includes the mobile application for configuration.

Note

For more information about security and access control for the product, refer to the One-touch commissioning (OTC) documentation, available on the Elvaco website.

Reset procedures

Rebooting the module

The module can be rebooted using the Elvaco OTC App:

Via the Elvaco OTC app
  1. Open the Elvaco OTC app.

  2. Scan the module.

  3. Go to Apply mode.

  4. Choose the reboot switch and apply changes.

Switching off the module

To switch off the module use the Elvaco OTC app.

  1. Open the Elvaco OTC app.

  2. Scan the module.

  3. Go to Apply mode.

  4. Choose switch off and apply changes.

Note

This function is restricted to registered owner of the product in Elvaco OTC app and will not be visible/available for other users.

Meter communication error messages

The payloads using M-Bus encoded data uses the Function field of the DIF to indicate errors. In this case it is set to “value during error state” (M-Bus standard EN 13757-3:2013) and the value sent should not be used. A typical case for this is when the module is unable to communicate with the meter and retrieve meter values, in which case all the fields in the payload have the DIF indicating “value during error state”. In case of erroneous data or if the module is unable to communicate with meter, bit 4-5 of the bit of the DIF code (first byte of each index field) will be set to 11b.

Example 14. Example

A DIF code of 0x02 will be set to 0x32 in case of error. (This applies to all message format except JSON.) For message format JSON, the actual value will be replaced with “null” in case of error state. If no meter communication is possible at all, all fields have this error indication set.


Was this article helpful?

0 out of 0 found this helpful
Have more questions? Submit a request

Comments (0 comments)

Article is closed for comments.