Mbus Driver Guide

MBus Command

This enables operators to assign commands to a device. In normal operation this is not expected to be used. Please only use in conjunction with Primary addressed devices.

Properties

When using a meter that has several readout modes, the active points and histories may be spread across several modes. The data polling mechanism of this driver will search the command list to find a command that is capable of changing the mode to the required new mode(given by the Readout Mode Number and Mode Change Capability. it will then output this command in order to change the mode.

Notes on Command Construction

  • A command can be applied to a device or to extend an existing command

  • The command values do not include the initial header, checksum(CS) and end of message(EOM), these are computed and added by the workbench.

    e.g. 68h 05h 05h 68h 51h 00h 0Fh A1h CS 16h.

    Header = 68h 05h 05h 68h 51h 00h

    Data = 0Fh A1h (in this example the 0Fh indicates manufacturer specific and the A1h is a mode change

    Checksum = CS

    EOM= 16h.

    The above example has the capability to change the input mode of the meter so the "Mode Change" is required to be set.

  • It is possible to string together commands by adding the MBusCommand components to each other