The M-BusIpDevice is a component for servicing the M-Bus devices connected to the M-Bus IP gateway. All types of the iSMA-B-AAC20 devices can use this type of communication.
There are two ways to add the M-Bus IP device to the application:
- Manual: by drag and drop from the Sedona palette to the network component. In this case, user must know the M-Bus device address (primary or secondary).
- Automatic: by using the discovery action in the network component. For the first commissioning, it is recommended to search by the secondary address and then assign the primary address. All new devices have factory default primary address set to 0.
WARNING! ALL discovered devices are placed in the DiscoveredDevices folder. In this folder, devices are read-only, for normal use they must be moved from this folder and placed directly to another MbusFolder under the MbusIpNetwork component.
The MbusIpDevice component has the following slots:
- Status: component’s current status;
- Fault Cause: fault cause description;
- Enabled: enables/disables the M-Bus IP device;
- Last Read Success: last proper success device read time;
- Poll Frequency: device read frequency (times defined in the network component);
- Address Mode: defines the device communication type address (Primary or Secondary);
- Primary Address: device primary address;
- Secondary: device secondary address;
- Retry Count: number of error messages (CRC error, lost messages) before device down;
- Initialization Delay: delay time after initialization message;
- Response Timeout: device response time from the device request;
- Inter Message Delay: time between messages sent to the device,;
- Manufacturer: manufacturer description read from device (read-only);
- Device Type Id: M-Bus device type ID read from device (read-only);
- Read Trigger: remote force device data read trigger.
The MbusIpDevice component has the following actions:
- Read: forces the device data read;
- Set Primary Address: sets the primary address to the device (range from 0 to 250); this action automatically sets the Address Mode to the primary address;
- Discover Points: decodes the device message and creates points according to the device specification.
M-Bus IP Device Points
The iSMA_Mbus kit does not have the device points components available in the Sedona Palette for the user’s use. The device points are added automatically during the points discovery process. In the discovery process response message is decoded, and based on this information the iSMA-B-AAC20 creates corresponding points components. The iSMA_Mbus kit uses two types of components:
- Numeric: for numeric values,
- String: for values other than numeric like description, time, etc.
Note: The M-Bus device always responses by a full message, so the number of components has no influence on the network traffic. To maintain the order the user can delete unused components.