this articleThe analytic process of cj/t-188 Water meter Protocol is illustrated by examples, the following data are not specified, meaning hexadecimal.
Data sending:fe fe fe fe----each of the 1F
The description is as follows:
Fe fe fe fe : protocol header (1-4 groups).
68: Frame start character.
20: Instrument Type, this instance refers to the cold water meter, 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).
01: Serial Number (fixed).
91: Cumulative and, 68+20+ -+ -+ A+ One+xx+ -+ ++ on+Geneva+1F+ -+01=91.
16; Terminator.
Reply data:
Fe fe FE the - - - A Onexx - + Bayi2E1F - on + About the A to
+
About the
A
to +
In Geneva, the one-to-one- ten -one-off
About the A -
+
About
the
A
*
+
About
the
A2C about About the A about - -Geneva - A About -
xx
25 26 27 28 29 30 31 32 33 34 The All-in-a-all-in-a-
about
56 57 58
The description is as follows:
Fe fe fe fe : protocol header (1-4 groups). 68: Frame start character.
20: 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.
2 e: The data field length, in decimal 46, indicates that there are 46 valid data behind.
1F 90: Data identification(fixed).
01: Serial Number (fixed).
78 56 34 12 05: Clearing Day Calories (123456.78-kwh).
78 56 34 12 05: Current Heat ( 123456.78-kwh).
78 56 34 12 17: Thermal Power (123456.78-KW).
78 56 34 12 35: Instantaneous heat (123456.78-mmm/h).
2 C: Current cumulative Flow (123456.78-MMM).
56 34 12: Water supply temperature (1234.56-0c). (note 1)
56 34 12: Backwater temperature (1234.56-0c). (note 1)
56 34 12: Instrument Cumulative Working time (123456-H).
& nbsp; 00 00: status, two bytes, 00 00 is normal, 01 00 indicates Undervoltage.
91: Cumulative sum, 68+20+44+33+22+11+00+33+78+81+2e+1f+90+01+78+56+34+12+05+78+56+34+12+05+78+56+34+12+17+78+56+34+12+35+78+56+34 +12+2c+56+34+12+56+34+12+56+34+12+20+14+03+18+12+56+59+00+00=06.
16: Terminator.
Note 1: Here is the Celsius symbol, in order to prevent confusion, all values and units in this article are "-" separated.
NOTE 2: The unit symbol can view the log: http://user.qzone.qq.com/2756567163/blog/1436472675
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 Cold Heat Meter Protocol analysis