cj/t-188 Water Meter Protocol analysisthis article example Explain the analytical process of cj/t-188 Water Meter Protocol, the following data is not specified, meaning hexadecimal.
 
data send:
fe fe fe fe 68, at 1F The
described below:
    FE FE fe FE: protocol header (1-4 groups).
68: Frame start character.
    10: Instrument type, this instance refers to a cold water meter and can also be defined as:
ten : Cold water meter
One: Life Hot water meter
A: Direct Drinking water meter
13: Water Meter
20: Heat meter (record heat)
+: Heat meter (cooling capacity)
30: Gas Meter
40: Watt Hour meter
44 33 22 11 00: Reverse is 0011223344 (in the form of BCD), indicating the table number.
33 78: Reverse is 7833 (in the form of BCD code), indicating the factory code.
01: The control code represents the reading meter data, followed by fixed data field length, data identification and serial number.
03: Data field length (fixed).
1F 90: Data identification (fixed).
00: Serial number (fixed).
80: Cumulative and, 68+10+ -+ -+ A+ One+xx+ -+ ++ on+Geneva+1F+ -+00=80.
16; Terminator.
Reply data:
Fe fe fe FE-------------- -------1F 16
The description is as follows:
Fe fe fe fe : protocol header (1-4 groups).
68: Frame start character.
10: Instrument type.
44 33 22 11 00: Reverse is 0011223344 (in the form of BCD), indicating the table number.
33 78: Reverse is 7833(in the form of BCD code), indicating the factory code.
81: Actually for the control code +80, we can simply think that only 81 is correct, not 81 are abnormal, do not parse.
16: Data field length, in decimal 22, indicates that there are 22 valid data behind.
1F 90: Data identification(fixed).
00: Serial number (fixed).
the: Reverse is 556677.00(in the form of a BCD code), indicating cumulative dosage.
2C : Cubic meters, other units see attached 1.
the: Reverse is 556677.00(in the form of a BCD code), indicatingdosage this month. 2C: cubic meters, other units see attached 1. 31 01 22 11 05 15 20:2015-05-11 22:01:31, indicating real time.
21 84: Status, two bytes, 1th byte is defined as follows, and the 2nd byte is customized by the manufacturer. 68: Cumulative and,68+10 + -+ -+ A+ One+xx+ -+ ++Bayi+ -+1F+ -+xx+xx+ the+ the+ -+2C+xx+ the+ the+2C+ to+ on+ A+ One+ to+ the+ -+ ++ -= 08. 16; Terminator.
attached: Unit code
original articles, reproduced please indicate the sourcehttp://user.qzone.qq.com/2756567163.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
cj/t-188 Water Meter Protocol analysis