User Tools

Site Tools


public:products:cv-100m

AirCV - Universal M-Bus converter





  • The universal converter is used for application where you need to send data from M-Bus over the LoRa network or NB-IoT
  • We offer battery operated units, as well as external power operated units.
  • Each universal converter has implemented LUA scripts and can be configured via configuration software



Configuration SW

2019.12

2020.06

Configuration cable

Optically isolated converter
  • Good for externally power supplied units. It can save you from overvoltaging your PC in case of faulty cable connection.
  • Can be supplied by iNELS Air
  • 3.5mm jack connector


Before installation

1. Loosen the screws and open the lid
2. Connect the cables from S0 to the terminal board
3. Remove the paper from the battery bay
4. The device initializes, flashes green 3 times
5. Put the lid back in the box and pull it off screws

LED signalization

  • 3x green - successful device initialization and network connection (with OTTA)
  • 1x green - successful sending of the first data
  • 1x red - unsuccessful sending of the first data
Energy consumption - battery operated
Battery type: Lithium 3.6VDC D-cell
Battery capacity:17 000 mAh
Battery lifespan:4.5 years when transmitting twice a day with SF12/125 kHz (spreading factor), TXP=14 dBm
Energy consumption - external power supply
Voltage: 85- 305 VAC
Frequency: 47-63 Hz
Maximum power consumption: 4 W
M-Bus interface EN 137 57-3
Device type: Master
Communication speed 300 - 9600 Bd
Maximum connected devices 5UL (Unit Loads. 1UL = 1.5mA)
Communication via LoRa
LoRaWAN specification: 1.0.1
Class: A
Frequency: 868 MHz (ISM)
Antenna: External connected via SMA connector
Communication via NB-IoT
Bands: B1/B3/B5/B8/B20/B28
Antenna: External, connected via SMA connector
General information
IP coverage:IP65
Dimensions:123 x 82 x 56 mm
Operational temperature:-30 °C to +60 °C





M-Bus configuratin SW settings

General setting

Settings of communication protocol with MBUS device and converter:

List of MBUS requests

List of MBUs request to be made from converter to a MBUS device:

Request can be typed in by hand („Add new line“) or by dialog wizard („Add request“):

Dialog automatically calculates checksum and fills in start and stop bytes.

List of responses

User can set different offsets and length which are taken from responses to selected requests.

E.g.: for first request (1011223316) take data of length 4 bytes with offset 0.

M-Bus LUA settings

status, c, a, ci, answer = api.mbusTransaction( msg, timeout, retry=1) This function transmits msg and waits timeout milliseconds for the answer. The transmission is retried retry times. The status contains information about communication status and c, a, ci and answer contains MBus answer data. Turn on MBus using mbusState first. >

Arguments

  • msg (string) - Message to send to MBus
  • timeout (integer, optional) - The maximum time in milliseconds to wait for MBus device answer
  • retry (integer, optional) - Optional number of retransmissions, defaults to 1 >

Returns

  • status (integer) - Number of bytes received, zero on failure
  • c (integer) - MBus c frame field
  • a (integer) - MBus a frame field
  • ci (integer) - MBus ci frame field
  • answer (string) - MBus frame payload received from the bus

Example

--sends MBus frame [0x10, 0x50, 0x30, 0x16], waits 5s for answer twice 
msg = pack.pack('<b4', 0x10, 0x50, 0x30, 0x16) 
status,c,a,ci,ans = api.mbusTransaction(msg, 5000, 2)

api.mbusSetup( baudrate, parity, stopBits, dataBits) This function configures the MBus communication interface. By default, the configuration from GUI is used, but this can be overriden using this API. Turn on MBus using mbusState after setting up MBus parameters using this function. >

Arguments

  • baudrate (integer, optional) - Baudrate to use for communication (up to 921600 baud)
  • parity (integer, optional) - Parity, 0 for none, 1 for odd and 2 for even parity
  • stopBits (integer, optional) - Number of stop bits, 1 or 2 allowed
  • dataBits (integer, optional) - Number of data bits, 7 or 8 allowed

Example

--setup MBus interface to 9600 Baud, 8E2 
api.mbusSetup(9600, 2, 2, 8)

api.mbusState( state)

This function turns on the MBus circuitry, must be used before mbusTransaction.

Arguments

  • state (integer) - New state of MBus circuitry: 0 for off, 1 for on (apprx 30s power-up)

Example

api.mbusState(1) --turn on MBus
public/products/cv-100m.txt · Last modified: 2020/07/03 15:00 by Acrios Admin