合宙4G DTU+国网dlt645-2007协议抄表

                        <p>工作中有的客户有这种需求,以前用的是安徽或者南京某公司产品,用起来还可以,就是太贵大于1000块,性价比很低</p><p>前一阵接触到合宙的dtu,准备用mqtt协议自己做套抄表系统,这样也方便平时上班</p><p>表是从淘宝上买的库存表一块25块包邮的.</p><p><br></p><p>思路:合宙dtu-发送到中国移动平台(mqtt协议)-用c#写个mqtt协议接收程序-解析dlt645-2007协议</p><p><br></p><p>-------2019-04-07 23:08更新---------------</p><p>645-2007协议报文</p><div style="font-family: &quot;lucida Grande&quot;, Verdana, &quot;Microsoft YaHei&quot;;">读当前正向有功总电量(假设表号为<span t="7" data="12345678" style="border-bottom: 1px dashed rgb(204, 204, 204); z-index: 1;">12345678</span>)</div><div style="font-family: &quot;lucida Grande&quot;, Verdana, &quot;Microsoft YaHei&quot;;">FEFEFEFE6878563412000068110433333433C616</div><div style="font-family: &quot;lucida Grande&quot;, Verdana, &quot;Microsoft YaHei&quot;;"><br></div><div style="font-family: &quot;lucida Grande&quot;, Verdana, &quot;Microsoft YaHei&quot;;">前导字节(固定)FEFEFEFE</div><div style="font-family: &quot;lucida Grande&quot;, Verdana, &quot;Microsoft YaHei&quot;;">起始符(固定)68</div><div style="font-family: &quot;lucida Grande&quot;, Verdana, &quot;Microsoft YaHei&quot;;">地址(根据读出的结果)<span t="7" data="785634120000" style="border-bottom: 1px dashed rgb(204, 204, 204); z-index: 1;">785634120000</span></div><div style="font-family: &quot;lucida Grande&quot;, Verdana, &quot;Microsoft YaHei&quot;;">结束符(固定)68</div><div style="font-family: &quot;lucida Grande&quot;, Verdana, &quot;Microsoft YaHei&quot;;">控制码()11</div><div style="font-family: &quot;lucida Grande&quot;, Verdana, &quot;Microsoft YaHei&quot;;">数据长度()04</div><div style="font-family: &quot;lucida Grande&quot;, Verdana, &quot;Microsoft YaHei&quot;;">数据内容()<span t="7" data="33333433" style="border-bottom: 1px dashed rgb(204, 204, 204); z-index: 1;">33333433</span></div><div style="font-family: &quot;lucida Grande&quot;, Verdana, &quot;Microsoft YaHei&quot;;">校验和()C6</div><div style="font-family: &quot;lucida Grande&quot;, Verdana, &quot;Microsoft YaHei&quot;;">结束符16</div><p><br></p><p>这个最近正在做,有进展下面会更新的.</p>

上次更新 2021-01-28