...
Communication implements data reading from devices that support the M-Bus protocol by the Rev. 4.8 specification. Communication was tested with MULTICAL® III, MULTICAL® 5 measuring devices by KARMSTRUP Company, CALSTREEM EEM-C measuring device by Danfoss Company, and PolluTherm Pt500 by Sensus.
The communication was also verified against the water flow meter Sensus MeiStream 150 with communication module HRI-Mei using an EthMBus-5 converter manufactured by JC-e (it was necessary to configure a converter to TCP mode and use a TCP/IP-TCP line category).
...
| Blok kódu |
|---|
| language | esl |
|---|
| theme | Confluence |
|---|
|
; command Clearing Rotation Counters
; sent request and received response (dataheader is partfirst is4 boldbytes, header/footer areis normal)last and received response:2 bytes)
;L:L.Sensus_Mei REQ-<68><08><08><68><73><00><51><0F><02><1F><20><7A><8E><16>
;L:L.Sensus_Mei RSP-<E5>
TEXT _stAdr = %Chr(%StrToI("16#00#")) ; station address
TEXT _val
_val := %Chr(%StrToI("16#73#")) + _stAdr + %Chr(%StrToI("16#51#")) + %Chr(%StrToI("16#0F#")) + %Chr(%StrToI("16#02#")) + %Chr(%StrToI("16#1F#")) + %Chr(%StrToI("16#20#")) + %Chr(%StrToI("16#7A#"))
M.Mei_write := _val |
...
| Info |
|---|
|
You can read a blog about Mblogs about the M-Bus protocol: |
| Info |
|---|
| title | An example of communication |
|---|
|
The attached ZIP contains the configuration of the line, station, and I/O tags with the M-Bus protocol that communicate with the Sensus MeiStream 150 flowmeter with the HRI-Mei communication module and using an EthMBus-5 converter manufactured by JC-e in UDP mode (the converter has an IP address of 192.168.1.1 in the line configuration). | View file |
|---|
| name | Sensus_HRI_Mei.7z |
|---|
| height | 150 |
|---|
|
|
Changes and modifications
...