Reading all messages (including history, maxima, etc.) it more demanding action because the order of individual messages has to be kept. In the reading mode of all messages there has to be set the variable FcbAttr to 1 (see FCB flag handling).
The PmCommData object can be used only for reading the current state (only values that can be received by the "Reading of measured values (F4 meter)" message). The PmCommMsg object must be used for reading the history data.
This is the basic message for reading the data. If the variable FcbAttr is set to 0 in this message, then reading only these data is required and the next following messages cannot be called. If it is set to 1, then the next messages have to be called.
There are following variables on the Data-received page: Header of M-BUS message Energy (accumulated energy [GJ]), Volume (accumulated volume for energy calculation [m3]), VolumeWaterMeter (accumulated volume of watermeter [m3]), TemperForward (Forward temperature [°C]), TemperReturn (Return temperature [°C]), TemperDiff (Temperature difference [°C]), OnTime (number of days since switched on), OperTime (number of days of operation time), Flow (instantaneous flow [m3/h]), Power (instantaneous power [kW]), Date (current date and time), PulseCount1 (pulse counter, input 1), PulseCount2 (pulse counter, input 2).
This message has to be called 37-times one after the other and the history of 37 monthly reading is sequentially read.
There are following variables on the Data-received page: Header of M-BUS message Energy (accumulated energy [GJ]), Volume (accumulated volume for energy calculation [m3]), VolumeWaterMeter (accumulated volume of watermeter [m3]), PulseCount1 (accumulated pulse number, input 1), PulseCount2 (accumulated pulse number, input 2), StorageNr (index of history, 3-39), Date (history date and time).
The message can be called only if the meter includes the card for measuring maxima of flows and powers. This message has to be called 128-times one after the other and the history of maxima of 6-hours (the number of histories and the range of hours can be set even in a different way) is sequentially read.
There are following variables on the Data-received page: Header of M-BUS message StorageNr (index of history, 1-128), Date (history date and time), PowerMax (power maximum [kW]), PowerDate (power maximum date and time), FlowMax (flow maximum [m3/h]), FlowDate (flow maximum date and time), TemperForwardMax (forward temperature maximum [C]), TemperForwardDate (forward temperature maximum date and time).